/* Espace Jeunesse : univers coloré, doux et lisible (6-17 ans). Tout est préfixé jn- pour ne pas toucher au reste du site. */
.jn-page { --jn-ink: #22344A; --jn-bg: #FFF9EE; --jn-card: #fff; --jn-r: 22px;
  --jn-font: "Nunito", "Baloo 2", ui-rounded, "Trebuchet MS", "Segoe UI", system-ui, sans-serif; background: var(--jn-bg); color: var(--jn-ink); font-family: var(--jn-font); }
.jn-page main { background: var(--jn-bg); }
.jn-page [data-c], .jn-hero[data-c] { --c: #FFC93C; --soft: #FFF4CF; --ink: #6B4A00; }
.jn-page [data-c="sun"] { --c: #FFC93C; --soft: #FFF4CF; --ink: #6B4A00; }
.jn-page [data-c="sky"] { --c: #3AA0FF; --soft: #E3F2FF; --ink: #0B4F8A; }
.jn-page [data-c="coral"] { --c: #FF6B5E; --soft: #FFE6E3; --ink: #9A2418; }
.jn-page [data-c="mint"] { --c: #2BC6A0; --soft: #D9F7EE; --ink: #0A6B53; }
.jn-page [data-c="grape"] { --c: #7B5BE0; --soft: #ECE6FD; --ink: #3E2A94; }
.jn-page .sr { position: absolute; left: -9999px; }
.jn-wrap { max-width: 1160px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 28px); }
.jn-narrow { max-width: 860px; }
.jn-center { text-align: center; margin-top: 28px; }
.jn-muted { color: #5B6776; }
.jn-section { padding-block: clamp(32px, 5vw, 60px); }
.jn-alt { background: #fff; border-block: 3px dashed #F2E3C2; }
.jn-h2 { font: 800 clamp(1.5rem, 3vw, 2rem)/1.15 var(--jn-font); color: var(--jn-ink); margin: 0 0 22px; letter-spacing: -.01em; }
.jn-h2 small { font: 700 .9rem var(--jn-font); color: #5B6776; margin-left: 8px; }
.jn-more { color: #0B4F8A; font-weight: 800; text-decoration: none; }
.jn-more:hover { text-decoration: underline; }

/* ------- boutons / pastilles */
.jn-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: 800 1rem/1 var(--jn-font); padding: 14px 22px; border-radius: 999px; color: #fff; background: #FF6B5E; text-decoration: none; box-shadow: 0 5px 0 #C9463B; transition: transform .12s, box-shadow .12s; }
.jn-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #C9463B; color: #fff; }
.jn-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #C9463B; }
.jn-btn:focus-visible, .jn-ans:focus-visible, .jn-chip:focus-visible, .jn-tile:focus-visible, .jn-card:focus-visible, .jn-key:focus-visible, .jn-cell:focus-visible, .jn-mcard:focus-visible { outline: 4px solid #22344A; outline-offset: 3px; }
.jn-btn-big { font-size: 1.15rem; padding: 18px 30px; }
.jn-btn-ghost { background: #fff; color: #22344A; box-shadow: 0 5px 0 #D9DEE5; border: 2px solid #22344A; }
.jn-btn-ghost:hover { color: #22344A; box-shadow: 0 7px 0 #D9DEE5; }
.jn-small { font-size: .85rem; padding: 10px 16px; }
.jn-btn.done { background: #2BC6A0; box-shadow: 0 5px 0 #1A9378; }
.jn-chip { display: inline-flex; gap: 6px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 2px solid #E8DDBF; color: #22344A; font-weight: 800; font-size: .92rem; text-decoration: none; }
.jn-chip.on, .jn-chip:hover { background: var(--c, #FFC93C); border-color: var(--c, #FFC93C); color: #22344A; }
.jn-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.jn-tag { display: inline-block; background: var(--soft, #FFF4CF); color: var(--ink, #6B4A00); font: 800 .75rem/1 var(--jn-font); padding: 7px 11px; border-radius: 999px; }
.jn-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.jn-done { background: #2BC6A0; color: #fff; font: 800 .75rem/1 var(--jn-font); padding: 7px 11px; border-radius: 999px; }

/* ------- héros */
.jn-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--soft, #FFF4CF), #fff 70%); border-bottom: 6px solid var(--c, #FFC93C); padding-block: clamp(34px, 6vw, 70px); }
.jn-hero-in { position: relative; z-index: 2; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.jn-hero h1 { font: 800 clamp(2rem, 5vw, 3.4rem)/1.05 var(--jn-font); color: #22344A; margin: 6px 0 14px; letter-spacing: -.02em; max-width: 18ch; }
.jn-hero-home h1 { max-width: 16ch; }
.jn-hero-home { background: linear-gradient(135deg, #FFE7A1 0%, #FFD0C9 45%, #CFE8FF 100%); }
.jn-kick { margin: 0; text-transform: uppercase; letter-spacing: .12em; font: 800 .78rem/1 var(--jn-font); color: var(--ink, #6B4A00); }
.jn-lede { font: 600 clamp(1.05rem, 2vw, 1.3rem)/1.5 var(--jn-font); color: #3A4A5E; max-width: 52ch; margin: 0; }
.jn-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.jn-crumb { font: 700 .85rem var(--jn-font); margin-bottom: 14px; color: #5B6776; }
.jn-crumb a { color: #0B4F8A; text-decoration: none; } .jn-crumb a:hover { text-decoration: underline; }
.jn-blob { position: absolute; border-radius: 50%; opacity: .55; z-index: 1; }
.jn-blob.b1 { width: 260px; height: 260px; background: var(--c, #FFC93C); right: -60px; top: -80px; }
.jn-blob.b2 { width: 140px; height: 140px; background: #fff; left: 42%; bottom: -60px; opacity: .7; }
.jn-blob.b3 { width: 90px; height: 90px; background: var(--c, #FFC93C); left: -30px; bottom: 20px; opacity: .35; }
.jn-hero-owl { flex: none; filter: drop-shadow(0 10px 14px rgba(34, 52, 74, .2)); animation: jn-bob 4s ease-in-out infinite; }
.jn-hero-owl svg { display: block; max-width: 100%; height: auto; }
.jn-float { position: absolute; z-index: 1; font-size: 2.2rem; animation: jn-bob 5s ease-in-out infinite; opacity: .85; }
.jn-float.f1 { right: 26%; top: 12%; } .jn-float.f2 { left: 46%; top: 12%; animation-delay: .8s; } .jn-float.f3 { right: 28%; bottom: 14%; animation-delay: 1.4s; } .jn-float.f4 { left: 52%; bottom: 8%; animation-delay: 2s; }
@keyframes jn-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

/* ------- niveaux, tuiles, cartes */
.jn-levels, .jn-tiles, .jn-cards { display: grid; gap: 20px; }
.jn-levels { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.jn-level { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--jn-r); background: var(--soft); border: 3px solid var(--c); color: #22344A; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.jn-level:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 14px 0 -4px var(--c); }
.jn-level-ico { font-size: 2.6rem; } .jn-level strong { font: 800 1.5rem var(--jn-font); } .jn-level em { font-style: normal; font-weight: 800; color: var(--ink); }
.jn-level small { font-weight: 800; color: var(--ink); margin-top: 6px; }
.jn-tiles { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.jn-tiles-5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.jn-tile { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; border-radius: var(--jn-r); background: var(--c); color: #fff; text-decoration: none; font-weight: 700; line-height: 1.35; box-shadow: 0 7px 0 rgba(0, 0, 0, .18); transition: transform .15s; position: relative; }
.jn-tile[data-c="sun"] { color: #3B2A00; }
.jn-tile:hover { transform: translateY(-5px) rotate(.6deg); } .jn-tile strong { font: 800 1.25rem/1.15 var(--jn-font); }
.jn-tile-ico { font-size: 2.2rem; line-height: 1; } .jn-tile .jn-tag { align-self: flex-start; margin-top: 6px; background: rgba(255,255,255,.88); color: #22344A; }
.jn-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.jn-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--jn-r); background: #fff; border: 3px solid var(--c); color: #22344A; text-decoration: none; position: relative; transition: transform .15s, box-shadow .15s; }
.jn-card:hover { transform: translateY(-5px); box-shadow: 0 12px 0 -3px var(--c); }
.jn-card strong { font: 800 1.2rem/1.15 var(--jn-font); } .jn-card em { font-style: normal; font-weight: 700; color: var(--ink); }
.jn-card-t { font-weight: 600; line-height: 1.45; margin-top: 8px; color: #3A4A5E; font-size: .95rem; }
.jn-card-ico { font-size: 2.2rem; }
.jn-avatar { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c); color: #fff; font: 800 1.4rem var(--jn-font); flex: none; box-shadow: inset 0 -5px 0 rgba(0,0,0,.14); }
[data-c="sun"] > .jn-avatar, .jn-avatar[data-c="sun"] { color: #3B2A00; }
.jn-avatar.sm { width: 44px; height: 44px; font-size: 1rem; } .jn-avatar.big { width: 96px; height: 96px; font-size: 2rem; }
.jn-author-feature { display: flex; gap: 22px; align-items: center; padding: 26px; border-radius: var(--jn-r); background: var(--soft); border: 3px solid var(--c); color: #22344A; text-decoration: none; }
.jn-author-feature .jn-avatar { width: 96px; height: 96px; font-size: 2rem; } .jn-author-feature small { display: block; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.jn-author-feature strong { display: block; font: 800 1.7rem var(--jn-font); } .jn-author-feature em { display: block; font-style: normal; font-weight: 700; margin-bottom: 6px; }
.jn-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.jn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.jn-list a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #fff; border: 2px solid var(--soft); text-decoration: none; color: #22344A; }
.jn-list a:hover { border-color: var(--c); } .jn-list small { display: block; font-weight: 600; color: #5B6776; font-size: .85rem; line-height: 1.35; margin-top: 3px; }
.jn-ico { display: grid; place-items: center; font-size: 1.7rem; width: 54px; height: 54px; border-radius: 16px; background: var(--soft); flex: none; }
.jn-passport { padding: 26px; border-radius: var(--jn-r); background: var(--soft); border: 3px dashed var(--c); }
.jn-pp { font: 800 1.05rem var(--jn-font); margin-bottom: 16px; } .jn-pp-n { display: inline-block; min-width: 1.4em; padding: 2px 8px; border-radius: 10px; background: var(--c); color: #fff; }
.jn-parents { text-align: center; max-width: 760px; }

/* ------- parcours */
.jn-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; position: relative; }
.jn-path li a { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--jn-r); background: #fff; border: 3px solid var(--soft); text-decoration: none; color: #22344A; transition: transform .15s, border-color .15s; }
.jn-path li a:hover { transform: translateX(6px); border-color: var(--c); }
.jn-path li.done a { background: var(--soft); border-color: var(--c); }
.jn-step { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff; font: 800 1.2rem var(--jn-font); }
.jn-path-ico { font-size: 2.2rem; flex: none; } .jn-path-t strong { display: block; font: 800 1.15rem/1.2 var(--jn-font); } .jn-path-t small { display: block; font-weight: 600; color: #5B6776; margin-top: 4px; line-height: 1.4; }

/* ------- leçon */
.jn-lesson-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.jn-lesson { background: #fff; border-radius: var(--jn-r); padding: clamp(20px, 4vw, 40px); border: 3px solid var(--soft); }
.jn-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.jn-prose { font: 600 1.12rem/1.75 var(--jn-font); color: #2A3A4E; }
.jn-prose h2, .jn-prose h3, .jn-lesson h2 { font: 800 1.4rem/1.2 var(--jn-font); color: #22344A; margin: 1.6em 0 .5em; }
.jn-prose h3 { font-size: 1.15rem; color: var(--ink); } .jn-prose p { margin: 0 0 1em; } .jn-prose li { margin-bottom: .5em; }
.jn-prose strong { color: #22344A; } .jn-prose ul, .jn-prose ol { padding-left: 1.3em; } .jn-prose a { color: #0B4F8A; }
.jn-fact, .jn-challenge { margin: 26px 0; padding: 18px 22px; border-radius: 18px; background: var(--soft); border-left: 8px solid var(--c); color: #22344A; font-weight: 700; line-height: 1.55; }
.jn-fact p, .jn-challenge p { margin: 6px 0 0; font-weight: 600; }
.jn-mini { margin-top: 34px; padding: 22px; border-radius: 18px; background: #F5F2FF; border: 3px dashed #7B5BE0; } .jn-mini h2 { margin-top: 0 !important; }
.jn-readdone { margin: 34px 0 10px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-weight: 800; color: #0A6B53; }
.jn-prevnext { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 20px; border-top: 3px dotted #E8DDBF; }
.jn-prevnext a { font-weight: 800; color: #0B4F8A; text-decoration: none; max-width: 48%; } .jn-prevnext a:hover { text-decoration: underline; }
.jn-side { display: grid; gap: 18px; position: sticky; top: 16px; }
.jn-box { background: #fff; border-radius: 20px; padding: 20px; border: 3px solid #F2E3C2; } .jn-box h3 { font: 800 1.05rem var(--jn-font); margin: 0 0 12px; }
.jn-mini-author { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; text-decoration: none; color: #22344A; } .jn-mini-author:hover { background: var(--soft); } .jn-mini-author small { display: block; font-weight: 600; color: #5B6776; }
.jn-toc { margin: 0; padding-left: 1.2em; font-weight: 700; font-size: .9rem; line-height: 1.35; } .jn-toc li { margin-bottom: 7px; } .jn-toc a { color: #22344A; text-decoration: none; } .jn-toc a:hover { text-decoration: underline; } .jn-toc .cur a { color: #FF6B5E; font-weight: 800; }
.jn-owlbox { text-align: center; background: #FFF4CF; border-color: #FFC93C; } .jn-owlbox p { font-weight: 700; font-style: italic; margin: 8px 0 0; }
.jn-author-head { display: flex; gap: 20px; align-items: center; margin-bottom: 14px; } .jn-big { font: 700 1.2rem/1.55 var(--jn-font); margin: 8px 0 0; }
.jn-books { font: 700 1.05rem/1.7 var(--jn-font); padding-left: 1.2em; }
.jn-steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.jn-steps li { counter-increment: s; background: var(--soft); border-radius: 16px; padding: 14px 16px 14px 62px; position: relative; font-weight: 700; line-height: 1.5; }
.jn-steps li::before { content: counter(s); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 800; }
.jn-steps label { cursor: pointer; display: flex; gap: 10px; align-items: flex-start; } .jn-steps input { margin-top: 5px; width: 20px; height: 20px; flex: none; accent-color: #2BC6A0; }
.jn-draft { width: 100%; border: 3px solid #E8DDBF; border-radius: 16px; padding: 16px; font: 600 1.1rem/1.6 var(--jn-font); background: #FFFDF6; background-image: repeating-linear-gradient(transparent 0 1.6em, #EFE4C6 1.6em calc(1.6em + 1px)); resize: vertical; color: #22344A; }
.jn-draft:focus { outline: 4px solid #3AA0FF; border-color: #3AA0FF; }

/* ------- quiz & jeux */
.jn-quizbox, .jn-gamebox { background: #fff; border-radius: 28px; padding: clamp(20px, 4vw, 38px); border: 4px solid #22344A; box-shadow: 0 10px 0 #22344A; }
.jn-setup fieldset { border: 0; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; } .jn-setup legend { font: 800 1.15rem var(--jn-font); margin-bottom: 12px; padding: 0; }
.jn-opt { cursor: pointer; } .jn-opt input { position: absolute; opacity: 0; } .jn-opt span { display: inline-block; padding: 12px 18px; border-radius: 999px; background: #F3F6FA; border: 3px solid #E1E7EF; font-weight: 800; }
.jn-opt input:checked + span { background: #FFC93C; border-color: #22344A; } .jn-opt input:focus-visible + span { outline: 4px solid #3AA0FF; }
.jn-qprog { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-weight: 800; margin-bottom: 18px; } .jn-qbar { flex: 1; height: 12px; border-radius: 99px; background: #E9EDF2; overflow: hidden; } .jn-qbar i { display: block; height: 100%; background: #2BC6A0; transition: width .3s; }
.jn-q { font: 800 clamp(1.3rem, 3vw, 1.7rem)/1.3 var(--jn-font); margin: 0 0 22px; }
.jn-answers { display: grid; gap: 12px; } .jn-ans { display: flex; gap: 14px; align-items: center; text-align: left; padding: 15px 18px; border-radius: 18px; border: 3px solid #D9DEE5; background: #fff; font: 700 1.05rem/1.35 var(--jn-font); color: #22344A; cursor: pointer; transition: transform .1s; }
.jn-ans:hover:not(:disabled) { transform: translateX(5px); border-color: #3AA0FF; background: #E3F2FF; } .jn-ans-k { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #FFC93C; font-weight: 800; }
.jn-ans.good { background: #D9F7EE; border-color: #2BC6A0; } .jn-ans.bad { background: #FFE6E3; border-color: #FF6B5E; animation: jn-shake .35s; } .jn-ans:disabled { cursor: default; }
.jn-fb { margin-top: 20px; padding: 0; font-weight: 700; line-height: 1.5; } .jn-fb.ok, .jn-fb.ko { padding: 14px 18px; border-radius: 16px; } .jn-fb.ok { background: #D9F7EE; color: #0A6B53; } .jn-fb.ko { background: #FFE6E3; color: #9A2418; }
@keyframes jn-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-7px); } 75% { transform: translateX(7px); } }
.jn-result { text-align: center; padding: 20px 0; } .jn-score { font: 800 4rem/1 var(--jn-font); color: #7B5BE0; } .jn-stars { font: 800 1.3rem var(--jn-font); }
.jn-clues { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; } .jn-clues li { background: #FFF4CF; border-radius: 16px; padding: 14px 18px; font-weight: 700; animation: jn-pop .3s; } .jn-clues li span { display: inline-block; background: #FFC93C; border-radius: 99px; padding: 3px 10px; font-size: .75rem; font-weight: 800; margin-right: 8px; }
@keyframes jn-pop { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.jn-hint { font-weight: 700; font-size: 1.05rem; }
.jn-memo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .jn-mcard { position: relative; aspect-ratio: 1 / 1.05; border: 0; border-radius: 18px; cursor: pointer; padding: 6px; font: 800 .88rem/1.2 var(--jn-font); color: #22344A; background: #7B5BE0; display: grid; place-items: center; box-shadow: 0 5px 0 #4F3AA0; }
.jn-mcard .back { font-size: 2.2rem; color: #fff; } .jn-mcard .front { display: none; } .jn-mcard.up, .jn-mcard.ok { background: #FFF4CF; box-shadow: 0 5px 0 #E3C45C; } .jn-mcard.b.up, .jn-mcard.b.ok { background: #E3F2FF; box-shadow: 0 5px 0 #8DC4F5; }
.jn-mcard.up .back, .jn-mcard.ok .back { display: none; } .jn-mcard.up .front, .jn-mcard.ok .front { display: block; } .jn-mcard.ok { opacity: .7; }
.jn-ws { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 22px; align-items: start; } .jn-wsgrid { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 3px; }
.jn-cell { aspect-ratio: 1; border: 0; border-radius: 8px; background: #F3F6FA; font: 800 clamp(.78rem, 2.4vw, 1.15rem) var(--jn-font); color: #22344A; cursor: pointer; padding: 0; } .jn-cell:hover { background: #E3F2FF; }
.jn-cell.sel { background: #FFC93C; } .jn-cell.found { background: #2BC6A0; color: #fff; } .jn-cell.wrong { background: #FF6B5E; color: #fff; }
.jn-wslist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font: 800 .9rem var(--jn-font); } .jn-wslist li { background: #F3F6FA; padding: 8px 12px; border-radius: 12px; } .jn-wslist li.found { background: #D9F7EE; text-decoration: line-through; color: #0A6B53; }
.jn-word { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; } .jn-word span { width: clamp(28px, 7vw, 46px); height: clamp(40px, 9vw, 58px); border-bottom: 5px solid #22344A; display: grid; place-items: end center; font: 800 clamp(1.4rem, 5vw, 2.2rem) var(--jn-font); }
.jn-keys { display: flex; flex-wrap: wrap; gap: 8px; } .jn-key { width: 44px; height: 48px; border-radius: 12px; border: 0; background: #E3F2FF; font: 800 1.1rem var(--jn-font); color: #22344A; cursor: pointer; box-shadow: 0 4px 0 #8DC4F5; } .jn-key:disabled { opacity: .5; box-shadow: none; } .jn-key.good { background: #2BC6A0; color: #fff; } .jn-key.bad { background: #FF6B5E; color: #fff; }
.jn-order { display: grid; gap: 10px; } .jn-ev-btn { display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px 18px; border-radius: 16px; border: 3px solid #D9DEE5; background: #fff; font: 700 1rem/1.35 var(--jn-font); color: #22344A; cursor: pointer; } .jn-ev-btn:hover:not(.ok) { border-color: #3AA0FF; background: #E3F2FF; }
.jn-ev-btn.ok { background: #D9F7EE; border-color: #2BC6A0; cursor: default; } .jn-ev-btn.bad { animation: jn-shake .35s; background: #FFE6E3; border-color: #FF6B5E; } .jn-ev-year { flex: none; min-width: 3.4em; font: 800 1.1rem var(--jn-font); color: #0A6B53; }

/* ------- dictionnaire, lectures, frise, passeport */
.jn-search input { width: 100%; padding: 16px 22px; border-radius: 999px; border: 4px solid #22344A; font: 700 1.1rem var(--jn-font); background: #fff; } .jn-search input:focus { outline: 4px solid #3AA0FF; }
.jn-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; } .jn-az a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #FFC93C; color: #22344A; font-weight: 800; text-decoration: none; } .jn-az a:hover { background: #FF6B5E; color: #fff; }
.jn-gloss { margin: 0; } .jn-gl-l { font: 800 2rem var(--jn-font); color: #FF6B5E; margin: 28px 0 8px; } .jn-gl { background: #fff; border: 3px solid #F2E3C2; border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.jn-gl dt { font: 800 1.15rem var(--jn-font); color: #22344A; } .jn-gl dd { margin: 4px 0 0; font-weight: 600; line-height: 1.55; } .jn-gl em { display: block; margin-top: 6px; color: #0B4F8A; font-weight: 700; font-style: normal; }
.jn-empty { text-align: center; font-weight: 700; padding: 30px; }
.jn-books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; margin-bottom: 40px; }
.jn-book { display: flex; gap: 16px; background: #fff; border: 3px solid var(--soft); border-radius: 20px; padding: 16px; } .jn-book strong { display: block; font: 800 1.08rem/1.2 var(--jn-font); } .jn-book em { display: block; font-style: normal; font-weight: 700; color: var(--ink); margin: 3px 0 6px; } .jn-book p { margin: 8px 0 0; font-weight: 600; font-size: .93rem; line-height: 1.45; color: #3A4A5E; }
.jn-cover { flex: none; width: 84px; height: 120px; border-radius: 6px 12px 12px 6px; background: var(--c); display: grid; place-items: center; padding: 8px; text-align: center; box-shadow: inset 8px 0 0 rgba(0,0,0,.15), 0 5px 0 rgba(0,0,0,.12); color: #fff; font: 800 .72rem/1.15 var(--jn-font); overflow: hidden; } [data-c="sun"] > .jn-cover { color: #3B2A00; }
.jn-timeline { list-style: none; margin: 0; padding: 0; position: relative; } .jn-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px; background: repeating-linear-gradient(#FFC93C 0 14px, transparent 14px 24px); border-radius: 4px; }
.jn-timeline li { position: relative; width: 50%; padding: 12px 36px; box-sizing: border-box; } .jn-timeline li.r { margin-left: 50%; } .jn-timeline li.l { text-align: right; }
.jn-timeline li::after { content: ""; position: absolute; top: 24px; width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 5px solid #fff; box-shadow: 0 0 0 3px var(--c); } .jn-timeline li.l::after { right: -11px; } .jn-timeline li.r::after { left: -11px; }
.jn-year { display: block; font: 800 1.9rem var(--jn-font); color: var(--ink); } .jn-ev { display: inline-block; background: #fff; border: 3px solid var(--soft); border-radius: 16px; padding: 10px 16px; font-weight: 700; line-height: 1.45; text-align: left; }
.jn-pp-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; } .jn-pp-card { background: #fff; border: 3px solid #E8DDBF; border-radius: 20px; padding: 18px; text-align: center; } .jn-pp-card strong { display: block; font: 800 2.6rem/1 var(--jn-font); color: #7B5BE0; } .jn-pp-card span { font-weight: 700; font-size: .85rem; }
.jn-bar { height: 18px; background: #E9EDF2; border-radius: 99px; margin: 22px 0; overflow: hidden; } .jn-bar span { display: block; height: 100%; background: linear-gradient(90deg, #FFC93C, #2BC6A0); border-radius: 99px; transition: width .6s; }
.jn-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; } .jn-badge { background: #fff; border: 3px dashed #D9DEE5; border-radius: 20px; padding: 16px 10px; text-align: center; opacity: .6; } .jn-badge.on { opacity: 1; border: 3px solid #FFC93C; background: #FFF9E0; }
.jn-badge-i { display: block; font-size: 2.4rem; } .jn-badge strong { display: block; font: 800 .95rem/1.15 var(--jn-font); margin-top: 6px; } .jn-badge small { display: block; font-weight: 600; margin-top: 4px; color: #5B6776; font-size: .78rem; }
.jn-lesson-checks { list-style: none; padding: 0; display: grid; gap: 8px; } .jn-lesson-checks a { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: #fff; border: 2px solid #F2E3C2; text-decoration: none; color: #22344A; font-weight: 700; }
.jn-check { width: 24px; height: 24px; border-radius: 50%; border: 3px solid #D9DEE5; flex: none; } .jn-lesson-checks .done .jn-check { background: #2BC6A0; border-color: #2BC6A0; } .jn-lesson-checks .done .jn-check::after { content: "✓"; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .8rem; }
.jn-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 9999; overflow: hidden; } .jn-confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; animation: jn-fall 2.6s ease-in forwards; }
@keyframes jn-fall { to { transform: translateY(105vh) rotate(720deg); opacity: .8; } }
@media (max-width: 860px) { .jn-hero-in { flex-direction: column; align-items: flex-start; } .jn-hero-owl svg { width: 130px; height: 130px; } .jn-two, .jn-lesson-grid, .jn-ws { grid-template-columns: 1fr; } .jn-side { position: static; }
  .jn-memo { grid-template-columns: repeat(4, 1fr); gap: 6px; } .jn-mcard { font-size: .62rem; } .jn-timeline::before { left: 18px; } .jn-timeline li, .jn-timeline li.r { width: 100%; margin-left: 0; padding: 10px 0 10px 48px; text-align: left; } .jn-timeline li::after, .jn-timeline li.l::after { left: 7px; right: auto; }
  .jn-author-feature { flex-direction: column; text-align: center; } .jn-wslist { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .jn-hero-owl, .jn-float, .jn-confetti i { animation: none; } .jn-btn, .jn-tile, .jn-card, .jn-level, .jn-path li a { transition: none; } }
@media print { .jn-page .masthead, .jn-page .topbar, .jn-page footer, .jn-hero-owl, .jn-side, .jn-tools, .jn-btn, .jn-mini, .jn-prevnext, .jn-readdone, .jn-blob, .jn-crumb, .ca-leafrail, .ticker, [class*="rail"] { display: none !important; }
  .jn-page, .jn-page main, .jn-lesson { background: #fff !important; border: 0; } .jn-hero { background: #fff !important; border: 0; padding: 0; } .jn-lesson-grid { display: block; } .jn-draft { min-height: 12cm; } }

/* ===== Contes, diplômes, certificats, journal de lecture, vrai ou faux ===== */
.jn-tale { position: relative; } .jn-tale.done { border-color: #2BC6A0; } .jn-tale .jn-done { background: #2BC6A0; color: #fff; padding: 3px 10px; border-radius: 99px; font: 800 .75rem var(--jn-font); }
.jn-story .jn-tale-text { font-size: 1.12em; } .jn-story .jn-tale-text p:first-child::first-letter { font: 800 3.2em/.8 var(--jn-font); float: left; color: var(--c); padding: 6px 10px 0 0; }
.jn-story .jn-tale-text p { margin: 0 0 1.1em; }
.jn-vf { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; } .jn-vfb { text-align: center; font-size: 1.4rem; justify-content: center; }
.jn-dips { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; margin-bottom: 34px; }
.jn-dip { background: #fff; border: 4px dashed #D9DEE5; border-radius: 24px; padding: 22px; text-align: center; transition: transform .2s; filter: grayscale(.6); }
.jn-dip.won { border: 4px solid var(--c); background: var(--soft); filter: none; box-shadow: 0 8px 0 var(--c); } .jn-dip:hover { transform: translateY(-3px); }
.jn-dip-ico { font-size: 3.2rem; line-height: 1; } .jn-dip h2 { font: 800 1.15rem/1.25 var(--jn-font); color: #22344A; margin: 10px 0 8px; } .jn-dip p { font-weight: 600; line-height: 1.5; margin: 0 0 8px; font-size: .95rem; }
.jn-dip .jn-bar.sm { height: 12px; margin: 12px 0 8px; } .jn-dip-state { font-weight: 800 !important; color: #22344A; }
.jn-certform { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; align-items: end; margin-bottom: 24px; background: #fff; padding: 18px; border-radius: 20px; border: 3px solid #E8DDBF; }
.jn-certform label { display: grid; gap: 6px; font-weight: 800; color: #22344A; } .jn-certform input { font: 700 1rem var(--jn-font); padding: 12px 14px; border: 3px solid #D9DEE5; border-radius: 12px; }
.jn-certform input:focus { outline: 3px solid #3AA0FF; border-color: #3AA0FF; }
.jn-locked { background: #FFF4D6; border: 3px solid #FFC93C; border-radius: 18px; padding: 16px 22px; margin-bottom: 20px; color: #5A4300; font-weight: 700; } .jn-locked ul { margin: 6px 0 12px; padding-left: 1.2em; }
.jn-cert { max-width: 980px; margin: 0 auto; aspect-ratio: 297 / 210; background: #FFFDF5; border-radius: 10px; padding: 14px; box-shadow: 0 14px 40px rgba(34,52,74,.18); border: 14px solid var(--c); position: relative; box-sizing: border-box; }
.jn-cert.preview::after { content: "APERÇU"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(3rem, 12vw, 9rem) var(--jn-font); color: rgba(34,52,74,.07); transform: rotate(-18deg); pointer-events: none; }
.jn-cert-in { height: 100%; border: 3px double var(--ink); border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; padding: 2% 5%; box-sizing: border-box; background: radial-gradient(circle at 50% 0, var(--soft), transparent 60%); }
.jn-cert-top { display: flex; align-items: center; gap: 12px; font: 800 clamp(.6rem, 1.5vw, .95rem) var(--jn-font); letter-spacing: .14em; color: var(--ink); } .jn-cert-owl svg { width: clamp(34px, 7vw, 70px); height: auto; }
.jn-cert-medal { font-size: clamp(2rem, 6vw, 4rem); line-height: 1; }
.jn-cert-t { font: 800 clamp(1.1rem, 3.6vw, 2.5rem)/1.15 var(--jn-font); color: var(--ink); margin: 0; }
.jn-cert-l { margin: 0; font: 700 clamp(.7rem, 1.6vw, 1.1rem) var(--jn-font); color: #5B6B7E; }
.jn-cert-name { margin: 0; font: 800 clamp(1.4rem, 5vw, 3.2rem)/1.1 Georgia, 'Times New Roman', serif; font-style: italic; color: #22344A; border-bottom: 3px solid var(--c); padding: 0 5%; min-width: 50%; }
.jn-cert-text { margin: 0; font: 700 clamp(.75rem, 1.9vw, 1.2rem)/1.4 var(--jn-font); color: #22344A; max-width: 88%; }
.jn-cert-foot { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; gap: 12px; font-weight: 800; font-size: clamp(.65rem, 1.5vw, 1rem); }
.jn-cert-foot > div { flex: 1; } .jn-cert-foot span { display: block; border-bottom: 2px solid #22344A; min-height: 1.4em; padding-bottom: 2px; } .jn-cert-foot small { color: #5B6B7E; font-weight: 700; font-size: .75em; }
.jn-cert-seal { flex: none !important; width: clamp(34px, 7vw, 66px); height: clamp(34px, 7vw, 66px); border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-size: clamp(1.1rem, 3vw, 2rem); box-shadow: 0 0 0 5px var(--soft); }
.jn-journal { background: #fff; border: 3px solid #E8DDBF; border-radius: 20px; padding: 16px; margin-bottom: 14px; }
.jn-j-row { display: grid; grid-template-columns: 2fr 1.5fr auto auto; gap: 10px; } .jn-j-row input, .jn-j-row select { font: 700 1rem var(--jn-font); padding: 12px; border: 3px solid #D9DEE5; border-radius: 12px; min-width: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.jn-booklog { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; } .jn-booklog li { display: flex; gap: 12px; align-items: center; background: #fff; border: 3px solid #F2E3C2; border-radius: 14px; padding: 10px 14px; font-weight: 600; }
.jn-bk-t { flex: 1; } .jn-bk-t em { color: #5B6B7E; margin-left: 6px; } .jn-bk-r { font-size: .85rem; } .jn-bk-x { border: 0; background: #FFE4E0; color: #B3261E; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; cursor: pointer; }
.jn-center { text-align: center; }
@media (max-width: 700px) { .jn-j-row { grid-template-columns: 1fr 1fr; } .jn-j-row input:first-of-type { grid-column: 1 / -1; } .jn-cert { border-width: 8px; padding: 6px; } }
@media print {
  body.jn-cert-page { background: #fff !important; } body.jn-cert-page .masthead, body.jn-cert-page .topbar, body.jn-cert-page footer, body.jn-cert-page .wrap:has(.ad-slot), body.jn-cert-page .jn-hero, body.jn-cert-page .ad-slot, body.jn-cert-page aside:not(.jn-cert), body.jn-cert-page .jn-certform, body.jn-cert-page .jn-locked { display: none !important; }
  body.jn-cert-page .jn-section, body.jn-cert-page .jn-wrap { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  body.jn-cert-page .jn-cert { box-shadow: none; width: 100%; max-width: none; aspect-ratio: auto; height: 188mm; overflow: hidden; page-break-inside: avoid; page-break-after: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.jn-cert-page .jn-cert-in { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { size: A4 landscape; margin: 8mm; }
}

/* ===== Guide des livres, affiliation, prix, tour du Canada, calendrier, bingo, FAQ, enseignants ===== */
.jn-finder { background: #fff; border: 4px solid #BFE0FF; border-radius: 26px; padding: 22px 24px; margin-bottom: 28px; box-shadow: 0 8px 0 #BFE0FF; }
.jn-finder .jn-h2 { margin-top: 0; } .jn-f-step { margin-bottom: 16px; } .jn-f-step > strong { display: block; font: 800 1.05rem var(--jn-font); color: #22344A; margin-bottom: 8px; }
.jn-chips { display: flex; flex-wrap: wrap; gap: 8px; } .jn-chips button { font: 700 .92rem var(--jn-font); padding: 9px 14px; border-radius: 99px; border: 3px solid #E3E8EF; background: #fff; color: #22344A; cursor: pointer; }
.jn-chips button:hover { border-color: #3AA0FF; } .jn-chips button.on { background: #22344A; border-color: #22344A; color: #fff; } .jn-chips button:focus-visible { outline: 3px solid #3AA0FF; outline-offset: 2px; }
.jn-f-last { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 0; } .jn-f-last input { flex: 1; min-width: 200px; font: 700 1rem var(--jn-font); padding: 12px 16px; border: 3px solid #D9DEE5; border-radius: 99px; }
.jn-f-count { font-weight: 800; color: #0B4F8A; } .jn-pick { margin-top: 18px; background: #FFF4D6; border: 3px dashed #FFC93C; border-radius: 20px; padding: 16px; } .jn-pick-t { display: block; font: 800 1.1rem var(--jn-font); margin-bottom: 10px; color: #5A4300; }
.jn-bkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; margin-bottom: 36px; } .jn-bkgrid.two { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
.jn-bk { display: flex; gap: 16px; background: #fff; border: 3px solid var(--soft); border-radius: 20px; padding: 16px; } .jn-bk[hidden] { display: none; } .jn-bk-b { min-width: 0; flex: 1; }
.jn-bk h3 { margin: 0; font: 800 1.08rem/1.25 var(--jn-font); } .jn-bk h3 a { color: #22344A; text-decoration: none; } .jn-bk h3 a:hover { text-decoration: underline; color: #0B4F8A; }
.jn-bk em { display: block; color: #5B6B7E; font-weight: 700; font-size: .92rem; margin-top: 2px; } .jn-bk p { margin: 8px 0 10px; font-weight: 600; line-height: 1.5; font-size: .95rem; }
a.jn-cover { text-decoration: none; color: inherit; } .jn-cover.big { width: 170px; height: 240px; font-size: 1.15rem; flex-direction: column; gap: 12px; align-content: center; } .jn-cover.big small { font-weight: 700; opacity: .85; font-size: .78rem; }
.jn-buy { margin: 24px 0; background: #F4F9FF; border: 3px solid #BFE0FF; border-radius: 18px; padding: 16px 18px; } .jn-buy.compact { margin: 0; padding: 0; border: 0; background: none; }
.jn-buy-t { display: block; font: 800 1.05rem var(--jn-font); color: #22344A; margin-bottom: 10px; } .jn-buy-row { display: flex; flex-wrap: wrap; gap: 8px; }
.jn-shop { display: inline-flex; align-items: center; gap: 6px; font: 800 .88rem var(--jn-font); padding: 9px 14px; border-radius: 12px; background: #22344A; color: #fff; text-decoration: none; } .jn-shop:hover { background: #0B4F8A; color: #fff; }
.jn-shop.lib { background: #fff; color: #0A6B53; border: 2px solid #2BC6A0; } .jn-shop.lib:hover { background: #E3F9F2; color: #0A6B53; } .jn-buy.compact .jn-shop { font-size: .76rem; padding: 6px 10px; border-radius: 9px; }
.jn-buy-note { display: block; margin-top: 10px; color: #5B6B7E; font-weight: 600; font-size: .8rem; line-height: 1.45; } p.jn-buy-note { max-width: 760px; margin: 0 auto 30px; }
.jn-bp-top { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 10px; } .jn-bp-meta { margin: 0 0 12px; display: grid; gap: 8px; } .jn-bp-meta div { display: flex; gap: 10px; } .jn-bp-meta dt { font-weight: 800; color: #5B6B7E; min-width: 120px; } .jn-bp-meta dd { margin: 0; font-weight: 800; color: #22344A; }
.jn-lnav-g { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; } .jn-lnav-g span { font-weight: 800; color: #5B6B7E; margin-right: 4px; }
.jn-lnav-g a { font: 700 .88rem var(--jn-font); padding: 8px 13px; border-radius: 99px; background: #fff; border: 3px solid #E3E8EF; color: #22344A; text-decoration: none; } .jn-lnav-g a:hover, .jn-lnav-g a.on { background: #22344A; border-color: #22344A; color: #fff; }
.jn-count-line { font-weight: 700; font-size: 1.05rem; margin: 0 0 20px; }
.jn-prizes { display: grid; gap: 16px; margin-bottom: 30px; } .jn-prize { display: flex; gap: 18px; background: #fff; border: 3px solid var(--soft); border-left: 10px solid var(--c); border-radius: 20px; padding: 18px 22px; }
.jn-prize-ico { font-size: 2.6rem; line-height: 1; } .jn-prize h2 { margin: 0 0 6px; font: 800 1.2rem/1.25 var(--jn-font); color: #22344A; } .jn-prize p { margin: 8px 0 0; font-weight: 600; line-height: 1.55; } .jn-prize-why { color: var(--ink); }
.jn-tour { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 16px; position: relative; } .jn-tour::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; border-left: 5px dotted #BFE0FF; }
.jn-stop { position: relative; display: flex; gap: 18px; } .jn-stop-n { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font: 800 1.4rem var(--jn-font); border: 5px solid #fff; box-shadow: 0 0 0 3px var(--c); z-index: 1; }
.jn-stop.done .jn-stop-n { background: #2BC6A0; box-shadow: 0 0 0 3px #2BC6A0; } .jn-stop-b { flex: 1; background: #fff; border: 3px solid var(--soft); border-radius: 20px; padding: 16px 20px; } .jn-stop.done .jn-stop-b { border-color: #2BC6A0; }
.jn-stop h2 { margin: 0 0 6px; font: 800 1.3rem var(--jn-font); color: #22344A; } .jn-stop p { margin: 8px 0; font-weight: 600; line-height: 1.55; } .jn-stop-do { background: var(--soft); border-radius: 12px; padding: 10px 14px; }
.jn-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; margin-bottom: 26px; } .jn-month { background: #fff; border: 3px solid var(--soft); border-top: 10px solid var(--c); border-radius: 20px; padding: 16px 20px; }
.jn-month.now { box-shadow: 0 0 0 5px #FFC93C; } .jn-month h2 { margin: 0 0 10px; font: 800 1.35rem var(--jn-font); color: #22344A; } .jn-month h2 small { font-size: .7rem; background: #FFC93C; color: #5A4300; padding: 3px 9px; border-radius: 99px; vertical-align: middle; }
.jn-month ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; } .jn-month li { font-weight: 600; line-height: 1.45; font-size: .95rem; } .jn-cal-d { display: block; font: 800 .75rem var(--jn-font); color: var(--ink); text-transform: uppercase; letter-spacing: .05em; }
.jn-bingo { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; } .jn-cell { aspect-ratio: 1; border: 3px solid #E8DDBF; background: #fff; border-radius: 14px; font: 700 clamp(.58rem, 1.5vw, .84rem)/1.2 var(--jn-font); color: #22344A; padding: 6px; cursor: pointer; display: grid; place-items: center; text-align: center; }
.jn-cell:hover { border-color: #FFC93C; } .jn-cell.free { background: #FFF4D6; } .jn-cell.on { background: #2BC6A0; border-color: #0A6B53; color: #fff; } .jn-cell:focus-visible { outline: 3px solid #3AA0FF; outline-offset: 2px; } .jn-bingo-msg { font: 800 1.2rem var(--jn-font); color: #0A6B53; min-height: 1.5em; }
.jn-faq { display: grid; gap: 10px; margin-bottom: 26px; } .jn-faq details { background: #fff; border: 3px solid #E8DDBF; border-radius: 16px; padding: 4px 18px; } .jn-faq details[open] { border-color: #3AA0FF; }
.jn-faq summary { font: 800 1.05rem/1.35 var(--jn-font); color: #22344A; cursor: pointer; padding: 12px 0; } .jn-faq p { margin: 0 0 14px; font-weight: 600; line-height: 1.6; }
.jn-cycles { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-bottom: 20px; } .jn-cycle { background: #fff; border: 3px solid var(--soft); border-top: 10px solid var(--c); border-radius: 20px; padding: 16px 20px; } .jn-cycle h2 { margin: 0 0 10px; font: 800 1.15rem var(--jn-font); color: #22344A; } .jn-cycle ul { padding-left: 1.2em; margin: 0; } .jn-cycle li { font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.jn-sheet { background: #fff; border: 3px solid #22344A; border-radius: 12px; padding: 24px 28px; max-width: 760px; margin: 0 auto 20px; font-weight: 600; line-height: 2; } .jn-sheet h3 { margin: 0 0 10px; font: 800 1.5rem var(--jn-font); text-align: center; } .jn-sheet-draw { border: 3px dashed #B8C2CE; border-radius: 12px; height: 200px; display: grid; place-items: start center; padding-top: 8px; color: #8A96A5; font-size: .85rem; }
.jn-home-parents { background: #22344A; color: #fff; border-radius: 26px; padding: 26px 30px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; } .jn-home-parents h2 { margin: 0 0 6px; font: 800 1.5rem var(--jn-font); color: #fff; } .jn-home-parents p { margin: 0; font-weight: 600; max-width: 620px; opacity: .92; } .jn-home-parents .jn-btn-ghost { background: #fff; }
@media (max-width: 700px) { .jn-bkgrid, .jn-bkgrid.two { grid-template-columns: 1fr; } .jn-bp-top { flex-direction: column; } .jn-bingo { gap: 4px; } .jn-cell { border-width: 2px; border-radius: 8px; padding: 2px; } .jn-prize { flex-direction: column; gap: 6px; } .jn-tour::before { left: 21px; } .jn-stop { gap: 10px; } .jn-stop-n { width: 46px; height: 46px; font-size: 1.1rem; } }
@media print { .jn-buy, .jn-finder, .jn-lnav, .jn-stop [data-stop-btn] { display: none !important; } .jn-bingo { gap: 0; } .jn-cell { border: 1.5px solid #000; border-radius: 0; color: #000 !important; background: #fff !important; font-size: 9pt; } .jn-cell.free { background: #eee !important; } .jn-sheet { border: 2px solid #000; max-width: none; } }

/* ===== Dons ===== */
.jn-don { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: #FFF4D6; border: 3px solid #FFC93C; border-radius: 20px; padding: 18px 22px; margin: 26px 0; color: #4A3800; }
.jn-don strong { font: 800 1.05rem/1.35 var(--jn-font); display: block; } .jn-don p { margin: 6px 0 0; font-weight: 600; line-height: 1.5; max-width: 640px; } .jn-don > div { flex: 1; min-width: 240px; }
.jn-donbox h2 { margin-top: 0; } .jn-donbox .field { margin-bottom: 14px; } .jn-donbox label { font-weight: 700; } .jn-donbox input[type=email], .jn-donbox input[type=text], .jn-donbox input:not([type]) { width: 100%; box-sizing: border-box; font: 600 1rem var(--jn-font); padding: 12px 14px; border: 3px solid #D9DEE5; border-radius: 12px; }
.jn-donbox .pay-amounts { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 10px; } .jn-donbox .pay-amounts legend { font-weight: 800; margin-bottom: 8px; }
.jn-donbox .pay-chip input { position: absolute; opacity: 0; } .jn-donbox .pay-chip span { display: inline-block; padding: 12px 20px; border: 3px solid #E3E8EF; border-radius: 14px; font: 800 1.1rem var(--jn-font); cursor: pointer; background: #fff; }
.jn-donbox .pay-chip input:checked + span { background: #22344A; border-color: #22344A; color: #fff; } .jn-donbox .pay-chip input:focus-visible + span { outline: 3px solid #3AA0FF; outline-offset: 2px; } .jn-donbox .check { display: block; margin: 0 0 14px; }
.jn-book strong a { color: inherit; text-decoration: none; } .jn-book strong a:hover { text-decoration: underline; color: #0B4F8A; } .jn-book .jn-buy.compact { margin-top: 8px; }
@media print { .jn-don { display: none !important; } }
