/* Espace stagiaire : même interface, périmètre réduit */
body.sg-locked #app { visibility: hidden; }
.sg-gate { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: flex-start; justify-content: center; padding: 20px; background: radial-gradient(ellipse 100% 65% at -5% 0%, #075073 0%, transparent 62%), radial-gradient(ellipse 100% 65% at 110% 30%, #4a0e72 0%, transparent 65%), #08091c; overflow: auto; }
.sg-gate[hidden] { display: none; }
.sg-box { width: 100%; max-width: 520px; margin: auto; background: rgba(20, 14, 40, 0.9); border: 1px solid rgba(255, 140, 220, 0.35); border-radius: 24px; padding: 22px 18px; color: #f4f1ff; text-align: center; }
.sg-box h1 { font: 800 1.5rem/1.15 Inter, sans-serif; margin: 6px 0; }
.sg-box p { color: #b3a9d0; line-height: 1.5; margin: 6px 0; }
.sg-box .grp { font-size: 0.72rem; letter-spacing: 0.16em; font-weight: 800; color: #ff9bdc; text-transform: uppercase; }
.sg-brand { font: italic 900 30px/0.86 Impact, 'Arial Black', sans-serif; color: #fff; text-shadow: 3px 3px #100b18, 0 0 12px #ff65bb; margin-bottom: 14px; }
.sg-brand span { display: block; color: #ff79d2; margin-top: 3px; }
.sg-big { font-size: 3rem; }
.sg-names { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 14px; }
.sg-name { display: grid; grid-template-columns: 40px 1fr; align-items: center; column-gap: 10px; min-height: 64px; padding: 8px 10px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); color: #fff; font: 700 1rem Inter, sans-serif; text-align: left; min-width: 0; }
.sg-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-name:disabled { opacity: 0.4; }
.sg-name small { grid-column: 2; font-size: 0.66rem; color: #b3a9d0; font-weight: 600; }
.sg-avatar { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; object-position: 50% 18%; border: 2px solid rgba(255, 140, 220, 0.55); background: #2a1b4a; flex: 0 0 auto; display: inline-block; }
.sg-hud { position: fixed; top: calc(env(safe-area-inset-top) + 8px); right: 12px; z-index: 2500; text-align: right; font: italic 900 14px Impact, 'Arial Black', sans-serif; color: #fff; text-shadow: 2px 2px #000; pointer-events: none; }
.sg-hud[hidden] { display: none; }
.sg-hud .sg-group { display: block; letter-spacing: 1px; max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-hud .sg-timer { display: block; color: #53ff8b; font-size: 24px; text-shadow: 2px 2px #040709, 0 0 8px #042; font-variant-numeric: tabular-nums; }
.sg-hud .sg-timer.warn { color: #ffd84d; } .sg-hud .sg-timer.over { color: #ff4d5e; }
.sg-me { display: flex; align-items: center; gap: 12px; }
.sg-me .sg-avatar { width: 56px; height: 56px; border-radius: 16px; }
.sg-me strong { font-size: 1.3rem; }
/* Périmètre : rien d'autre que l'atelier de révision */
[data-screen="home"] #btn-start, [data-screen="home"] #btn-history, [data-screen="home"] #btn-circ, [data-screen="home"] #btn-free, [data-screen="home"] #btn-reset-all, [data-screen="home"] #home-resume,
[data-screen="atelier"] .field, [data-screen="eval"] .home-btn, [data-screen="session"], .city-launch, .city-mini-hud, .ultimate-plateau-launch { display: none !important; }
[data-screen="home"] .grow { grid-template-columns: 1fr !important; }
#at-again, [data-go="history"] { display: none !important; }
/* Mode salle */
.sg-teams { display: grid; gap: 10px; margin-top: 14px; }
.sg-team { display: grid; gap: 6px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(125, 245, 230, 0.3); background: rgba(255, 255, 255, 0.06); color: #fff; text-align: left; font: 700 1.05rem Inter, sans-serif; }
.sg-team:disabled { opacity: 0.4; }
.sg-team small { color: #b3a9d0; font-weight: 500; font-size: 0.8rem; }
.sg-members { display: flex; gap: 4px; flex-wrap: wrap; }
.sg-members .sg-avatar { width: 34px; height: 34px; border-radius: 10px; }
.sg-input { width: 100%; min-height: 56px; margin: 12px 0; border-radius: 16px; border: 2px solid rgba(255, 140, 220, 0.5); background: #0d0a1e; color: #fff; font: 700 1.2rem Inter, sans-serif; text-align: center; }
.sg-input:focus { outline: none; border-color: #7dffe0; }
.sg-me-card { display: grid; gap: 12px; }
.sg-team-head { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.sg-team-name { font-size: 1.35rem; display: block; }
.sg-activity { border: 1px solid rgba(125, 245, 230, 0.35); border-radius: 16px; padding: 12px; background: rgba(125, 245, 230, 0.06); }
.sg-activity-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 0 10px; }
.sg-activity-row strong { font-size: 1.2rem; }
.sg-round { font: italic 900 1.3rem Impact, 'Arial Black', sans-serif; color: #53ff8b; text-shadow: 2px 2px #000; }
.sg-who label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; font-weight: 800; color: #ff9bdc; text-transform: uppercase; margin-bottom: 8px; }
.sg-who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sg-who-btn { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 10px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); color: #fff; font: 700 0.95rem Inter, sans-serif; text-align: left; }
.sg-who-btn .sg-avatar { width: 36px; height: 36px; border-radius: 11px; }
.sg-who-btn.on { background: linear-gradient(115deg, #ff5fc1, #8f6bff); border-color: transparent; }
.sg-notice { text-align: left; }
.sg-notice h1, .sg-notice h2 { text-align: left; } .sg-notice h2 { font-size: 1.1rem; margin: 14px 0 6px; }
.sg-steps, .sg-rules { margin: 8px 0 0; padding-left: 20px; color: #d8d2ea; line-height: 1.5; }
.sg-steps li, .sg-rules li { margin-bottom: 8px; }
.sg-notice .draw { margin-top: 16px; }
.sg-toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 24px); transform: translate(-50%, 20px); z-index: 4000; background: #0d0a1e; color: #fff; border: 1px solid #7dffe0; border-radius: 999px; padding: 10px 18px; font-weight: 700; opacity: 0; transition: all 0.3s; max-width: 90vw; text-align: center; }
.sg-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* rôles d'équipe */
.sg-roles { display: grid; gap: 8px; margin: 12px 0 8px; }
.sg-role { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); }
.sg-role img, .sg-jur-av img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 2px solid rgba(255,255,255,0.2); }
.sg-jur-av { display: flex; } .sg-jur-av img { margin-right: -12px; } .sg-jur-av img:last-child { margin-right: 0; }
.sg-role small { font: italic 900 11px Impact, 'Arial Black', sans-serif; letter-spacing: 2px; color: #ff79d2; display: block; }
.sg-role strong { font-size: 1.05rem; display: block; color: #fff; }
.sg-role span { font-size: 0.75rem; color: #b9b0d4; display: block; }
.sg-role.cand { border-color: #ff6bcd; background: linear-gradient(140deg, rgba(255,95,193,0.25), rgba(143,107,255,0.22)); box-shadow: 0 0 16px rgba(255,95,193,0.3); }
.sg-role.pil { border-color: rgba(76,201,240,0.6); } .sg-role.pil small { color: #4cc9f0; }
.sg-role.jur small { color: #ffd166; }
.sg-next { width: 100%; margin-top: 6px; }
.sg-tally .grp { margin-bottom: 8px; }
.sg-tally-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.sg-tally-btn { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); color: #fff; font-size: 0.8rem; font-weight: 700; }
.sg-tally-btn img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.sg-tally-btn.cand { border-style: dashed; }
.sg-tally-btn.on { border-color: #3ddc84; background: rgba(61,220,132,0.2); box-shadow: 0 0 12px rgba(61,220,132,0.35); }
.sg-tally-btn.on::after { content: '✓'; color: #3ddc84; font-weight: 900; }

/* mode salle : pas de roue radio, l'équipe ne voit que sa carte et son activité */
body.sg-salle #moov-radio, body.sg-salle #moov-radio-v3, body.sg-salle [data-screen="atelier"] .atelier-hint { display: none !important; }
.sg-back-team { width: 100%; margin: 0 0 14px; }
body.sg-salle [data-screen="atelier"] > .stack, body.sg-salle [data-screen="atelier"] > .field, body.sg-salle [data-screen="atelier"] .top .back { display: none !important; }
body.sg-salle [data-screen="atelier"] .top.with-back { padding-left: 0; }
body.sg-salle [data-screen="atelier"] .top.with-back { display: block; text-align: center; padding-left: 0; }
body.sg-salle [data-screen="atelier"] .top .sub { max-width: 320px; margin: 0 auto; }

/* réponse tapée obligatoire */
.sg-answer .grp { margin-bottom: 8px; }
.sg-textarea { width: 100%; min-height: 84px; border-radius: 14px; border: 1.5px solid rgba(255,140,220,0.5); background: #0d0a1e; color: #fff; font: 500 1rem/1.4 Inter, sans-serif; padding: 12px; resize: vertical; margin-bottom: 10px; }
.sg-textarea.shake { animation: sg-shake .4s; border-color: #ff4f80; }
@keyframes sg-shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.sg-bool { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.sg-bool-btn { min-height: 64px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); color: #fff; font: italic 900 1.3rem Impact, 'Arial Black', sans-serif; letter-spacing: 1px; }
.sg-bool-btn:active { background: linear-gradient(115deg, #ff5fc1, #8f6bff); }
.sg-given { font-size: 1.05rem; color: #fff; font-weight: 600; margin: 4px 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.06); }
.sg-auto { font-weight: 800; margin: 6px 0 10px; } .sg-auto.ok { color: #3ddc84; } .sg-auto.ko { color: #ff6b8b; } .sg-auto small { font-weight: 500; color: #b9b0d4; }
#train-body.sg-locked-answer .quiz-reveal, #train-body.sg-locked-answer .ans-btn, #train-body.sg-locked-answer .quiz-answer, #train-body.sg-locked-answer .trate, #train-body.sg-locked-answer .sg-tally { display: none !important; }
#train-body.sg-indiv #t-rate, #train-body.sg-indiv.sg-pending #t-draw, #train-body.sg-indiv.sg-pending .quiz-next { display: none !important; }
#train-body.sg-indiv .card:has(#t-rate) { display: none !important; }
/* parcours individuel */
body.sg-guided #moov-radio, body.sg-guided #moov-radio-v3, body.sg-guided [data-screen="atelier"] .atelier-hint, body.sg-guided [data-screen="atelier"] > .stack, body.sg-guided [data-screen="atelier"] > .field, body.sg-guided [data-screen="atelier"] .top .back { display: none !important; }
body.sg-guided [data-screen="atelier"] .top.with-back { display: block; text-align: center; padding-left: 0; }
.sg-tiles { display: grid; gap: 10px; margin-top: 12px; }
.sg-tile { display: grid; gap: 2px; text-align: left; padding: 14px 16px; border-radius: 18px; border: 1.5px solid rgba(255,140,220,0.35); background: linear-gradient(140deg, rgba(255,95,193,0.16), rgba(143,107,255,0.14)); color: #fff; position: relative; }
.sg-tile strong { font: italic 900 1.1rem Impact, 'Arial Black', sans-serif; letter-spacing: 0.5px; }
.sg-tile span { font-size: 0.78rem; color: #c9c0e6; }
.sg-tile em { font-style: normal; font-size: 0.72rem; color: #3ddc84; font-weight: 700; }
.sg-tile::after { content: '›'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: #ff79d2; }
.sg-code { display: block; width: 100%; box-sizing: border-box; text-align: center; font: 800 1.7rem/1 Inter, sans-serif; letter-spacing: 0.35em; text-indent: 0.35em; text-transform: uppercase; height: 60px; margin: 14px 0; }
.sg-code::placeholder { color: rgba(255,255,255,0.3); letter-spacing: 0.35em; }
.sg-err { color: #ff6b8b; font-weight: 700; }
#train-body.sg-indiv.sg-pending .quiz-reveal, #train-body.sg-locked-answer .quiz-next { display: none !important; }

/* écran de travail individuel */
.sg-work { display: none; }
body.sg-working .sg-work { display: block; position: fixed; inset: 0; z-index: 2500; overflow: auto; background: radial-gradient(ellipse 100% 65% at -5% 0%, #075073 0%, transparent 62%), radial-gradient(ellipse 100% 65% at 110% 30%, #4a0e72 0%, transparent 65%), #08091c; padding: 16px 16px 40px; -webkit-overflow-scrolling: touch; }
body.sg-working #app { visibility: hidden; }
.sg-work-in { max-width: 560px; margin: 0 auto; display: grid; gap: 12px; }
.sg-work-head { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; padding-top: 44px; }
.sg-work-head h1 { font: 800 1.25rem/1.2 Inter, sans-serif; color: #fff; margin: 2px 0 0; }
.sg-work-head .grp { margin: 0; }
.sg-work-card { display: grid; gap: 10px; }
.sg-work-hint { color: #e8e3f5; font-size: 0.98rem; line-height: 1.45; margin: 0; }
.sg-work-text { min-height: 220px; font-size: 1.05rem; }
.sg-quick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.78rem; color: #b9b0d4; }
.sg-quick button { min-height: 34px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,140,220,0.5); background: rgba(255,255,255,0.06); color: #fff; font-weight: 700; font-size: 0.8rem; }
.sg-verdict { border-color: rgba(255,140,220,0.5); background: linear-gradient(140deg, rgba(255,95,193,0.2), rgba(143,107,255,0.18)); }
.sg-verdict-txt { font: 800 1.05rem/1.4 Inter, sans-serif; color: #fff; margin: 0 0 4px; }
.sg-copy { white-space: pre-wrap; font-weight: 500; }
.sg-bilan-group .grp { margin-bottom: 8px; }
.sg-bilan-item { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.sg-bilan-item strong { display: block; color: #fff; font-size: 0.95rem; }
.sg-bilan-item small { display: block; color: #b9b0d4; font-size: 0.78rem; margin-top: 2px; }
.sg-bilan-item ul { margin: 4px 0 0; padding-left: 16px; color: #d8d2ea; font-size: 0.82rem; line-height: 1.4; }
.sg-bilan-mark { font-weight: 900; font-size: 1.1rem; text-align: center; }
.sg-bilan-item.ok .sg-bilan-mark { color: #3ddc84; } .sg-bilan-item.ko .sg-bilan-mark { color: #ff4f80; }
.sg-bilan-item.ko strong { color: #ffb3c6; }
.sg-work-actions { margin-top: 4px; }

.sg-avgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 14px; }
.sg-avbox { max-width: 440px; }
.sg-avh { text-align: left; font: italic 900 1rem Impact, 'Arial Black', sans-serif; letter-spacing: 1.5px; color: #ff79d2; margin: 14px 0 4px; text-transform: uppercase; }
.sg-avfoot { position: sticky; bottom: -22px; padding: 12px 0 4px; background: linear-gradient(transparent, rgba(20,14,40,0.95) 30%); }
.sg-avpick { background: rgba(255,255,255,0.05); }
.draw.pulse { animation: sg-pulse 1.2s ease-in-out 2; }
@keyframes sg-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.sg-avpick { padding: 0; border-radius: 14px; border: 2px solid transparent; background: none; overflow: hidden; aspect-ratio: 1; }
.sg-avpick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-avpick.on { border-color: #ff6bcd; box-shadow: 0 0 14px rgba(255,95,193,0.6); }
.sg-tile-fb { border-color: #ffd166; background: linear-gradient(140deg, rgba(255,209,102,0.2), rgba(255,95,193,0.12)); margin-bottom: 10px; }
.sg-tile-fb em { color: #ffd166; }
.sg-fb { display: grid; gap: 6px; }
.sg-fb-label { color: #fff; font-weight: 600; margin: 0; }
.sg-fb-miss { color: #ffb3c6; margin: 0; font-size: 0.9rem; }
.sg-fb-text { border-left: 4px solid #ff4f80; background: rgba(255,79,128,0.12); border-radius: 12px; padding: 10px 12px; }
.sg-fb-text small { display: block; color: #ff6b8b; font-weight: 800; letter-spacing: 1.5px; font-size: 0.62rem; margin-bottom: 4px; }
.sg-fb-text p { margin: 0; color: #fff; font-weight: 600; line-height: 1.45; white-space: pre-wrap; }

/* accueil vidéo */
.sg-gate.sg-gate-video { padding: 0; align-items: stretch; background: #000; overflow: hidden; }
.sg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sg-video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,25,0.15) 0%, rgba(5,8,25,0.1) 35%, rgba(10,6,30,0.78) 70%, rgba(10,6,30,0.96) 100%); }
.sg-welcome { position: relative; z-index: 1; margin-top: auto; width: 100%; max-width: 520px; margin-left: auto; margin-right: auto; padding: 24px 22px calc(28px + env(safe-area-inset-bottom)); display: grid; gap: 10px; color: #fff; }
.sg-w-brand { opacity: 0; animation: sg-in .8s ease-out 1.2s forwards; }
.sg-w-kicker { font-size: 0.72rem; letter-spacing: 0.2em; font-weight: 800; color: #4cc9f0; text-transform: uppercase; margin: 0; opacity: 0; animation: sg-in .8s ease-out 1.6s forwards; }
.sg-w-title { font: italic 900 2.1rem/1.02 Impact, 'Arial Black', sans-serif; margin: 0; text-shadow: 3px 3px 0 #1a0b2e, 0 0 24px rgba(255,95,193,0.55); letter-spacing: 0.5px; }
.sg-w-title span { display: block; opacity: 0; transform: translateY(18px); animation: sg-up .7s cubic-bezier(.2,.9,.3,1.2) forwards; }
.sg-w-title span:nth-child(1) { animation-delay: 2s; color: #ff79d2; } .sg-w-title span:nth-child(2) { animation-delay: 2.35s; } .sg-w-title span:nth-child(3) { animation-delay: 2.7s; color: #ffd166; }
.sg-w-line { font-size: 1.02rem; line-height: 1.45; font-weight: 600; margin: 4px 0 0; opacity: 0; animation: sg-in .9s ease-out 3.6s forwards; text-shadow: 0 2px 8px #000; }
.sg-w-line2 { font-size: 0.9rem; color: #d8d2ea; margin: 0; opacity: 0; animation: sg-in .9s ease-out 4.4s forwards; text-shadow: 0 2px 8px #000; }
.sg-w-start { margin-top: 10px; opacity: 0; transform: translateY(14px); animation: sg-up .7s cubic-bezier(.2,.9,.3,1.2) 5.3s forwards; font-size: 1.15rem; letter-spacing: 2px; }
@keyframes sg-in { to { opacity: 1; } }
@keyframes sg-up { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .sg-w-brand, .sg-w-kicker, .sg-w-title span, .sg-w-line, .sg-w-line2, .sg-w-start { animation: none; opacity: 1; transform: none; } }

.sg-profile h1 { font-size: 1.7rem; }
.sg-prof-av { position: relative; width: 148px; height: 148px; margin: 14px auto 10px; }
.sg-prof-av img { width: 100%; height: 100%; border-radius: 32px; object-fit: cover; border: 3px solid #ff6bcd; box-shadow: 0 0 28px rgba(255,95,193,0.55); }
.sg-pen { position: absolute; right: -8px; bottom: -8px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: linear-gradient(115deg, #ff5fc1, #8f6bff); color: #fff; font-size: 1.3rem; box-shadow: 0 4px 14px rgba(0,0,0,0.5); }
.sg-avtabs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin: 10px 0 12px; }
.sg-avtabs button { min-height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); color: #fff; font-weight: 700; }
.sg-avtabs button.on { background: linear-gradient(115deg, #ff5fc1, #8f6bff); border-color: transparent; }

/* carte du circuit */
.sg-map { margin: 12px 0 4px; border-radius: 18px; overflow: hidden; border: 1.5px solid rgba(255,140,220,0.35); background: #0a1a2a; }
.sg-map-world { position: relative; aspect-ratio: 960 / 700; }
.sg-map-world svg { width: 100%; height: 100%; display: block; }
.sg-map-node { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; background: #1a0b2e; color: #fff; font: 900 0.9rem Inter, sans-serif; box-shadow: 0 0 0 4px rgba(26,11,46,0.5), 0 4px 10px rgba(0,0,0,0.5); padding: 0; }
.sg-map-node.done { background: #1f9d63; border-color: #8df5c1; }
.sg-map-node.next { background: linear-gradient(140deg, #ff5fc1, #8f6bff); border-color: #ffd166; animation: sg-pulse-node 1.4s ease-in-out infinite; }
@keyframes sg-pulse-node { 0%,100% { box-shadow: 0 0 0 4px rgba(255,209,102,0.25); } 50% { box-shadow: 0 0 0 12px rgba(255,209,102,0); } }
.sg-map-truck { position: absolute; transform: translate(-50%, -150%); font-size: 1.5rem; filter: drop-shadow(0 3px 4px rgba(0,0,0,0.6)); pointer-events: none; animation: sg-bob 1.6s ease-in-out infinite; }
@keyframes sg-bob { 0%,100% { transform: translate(-50%, -150%); } 50% { transform: translate(-50%, -170%); } }
.sg-map-cap { display: grid; gap: 2px; padding: 10px 14px; margin: 0; background: rgba(20,14,40,0.95); }
.sg-map-cap small { font-size: 0.62rem; letter-spacing: 2px; color: #ff79d2; font-weight: 800; }
.sg-map-cap strong { color: #fff; font-size: 0.95rem; }
.sg-map-cap span { color: #b9b0d4; font-size: 0.78rem; }
@media (min-width: 700px) { .sg-box { max-width: 560px; } .sg-tiles { grid-template-columns: 1fr 1fr; } }

/* série de 10 */
.sg-work-head h1 small { font-size: 0.9rem; color: #b9b0d4; font-weight: 600; }
.sg-q-card { display: grid; gap: 12px; }
.sg-q-text { font-size: 1.25rem; line-height: 1.45; color: #fff; margin: 0; font-weight: 600; }
.sg-q-card .sg-answer { display: grid; gap: 8px; }
.sg-skip { width: 100%; }
.sg-official { border-color: rgba(61,220,132,0.4); background: rgba(61,220,132,0.08); }
.sg-official-txt { color: #fff; font-weight: 700; font-size: 1.05rem; margin: 2px 0 0; }
.sg-rev-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.sg-rev-item:first-child { border-top: 0; }
.sg-rev-item small { font-size: 0.64rem; letter-spacing: 1px; color: #ff79d2; font-weight: 800; text-transform: uppercase; }
.sg-rev-item p { margin: 2px 0; font-size: 0.88rem; color: #e8e3f5; }
.sg-rev-ans { color: #fff !important; font-weight: 700; }
.sg-rev-skip { color: #ffd166 !important; font-weight: 700; }
.sg-rev-off { color: #ff6b8b !important; font-weight: 600; }
.sg-rev-mark { font-weight: 900; font-size: 1.3rem; } .sg-rev-mark.ok { color: #3ddc84; } .sg-rev-mark.ko { color: #ff4f80; }
.sg-work-in .quiz-progress { padding: 0 4px; }
.sg-quick { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.sg-pa { min-height: 52px; min-width: 72px; border-radius: 14px; border: 2px solid #3ddc84; background: rgba(61,220,132,0.14); color: #3ddc84; font: italic 900 1.3rem Impact, 'Arial Black', sans-serif; letter-spacing: 2px; }
.sg-pa:active { background: #3ddc84; color: #06230f; }

/* carte du circuit : mêmes pastilles que la carte de l'examen */
.sg-map-world.city-map-world { width: 100% !important; }
/* accueil d'étape */
.sg-intro-card { position: relative; display: grid; gap: 8px; padding-top: 22px; overflow: hidden; }
.sg-intro-num { position: absolute; right: 8px; top: -18px; font: italic 900 7rem/1 Impact, 'Arial Black', sans-serif; color: rgba(255,121,210,0.14); pointer-events: none; }
.sg-intro-what { color: #fff; font-size: 1.08rem; line-height: 1.5; font-weight: 600; margin: 0 0 6px; }
.sg-intro-how { color: #d8d2ea; font-size: 0.98rem; line-height: 1.5; margin: 0 0 6px; }
.sg-intro-punch { margin: 6px 0 0; padding: 12px 14px; border-left: 4px solid #ffd166; border-radius: 12px; background: rgba(255,209,102,0.1); color: #ffd166; font: italic 900 1.1rem/1.3 Impact, 'Arial Black', sans-serif; letter-spacing: 0.5px; }
.sg-intro-go { font-size: 1.1rem; letter-spacing: 2px; }
.sg-intro .sg-intro-card { animation: sg-up .5s cubic-bezier(.2,.9,.3,1.2) both; }
/* tirage au sort */
.sg-roll-card { display: grid; justify-items: center; gap: 10px; padding: 26px 16px; text-align: center; }
.sg-roll-num { width: 168px; height: 168px; display: grid; place-items: center; border-radius: 50%; border: 4px solid #ff6bcd; background: radial-gradient(circle at 30% 25%, #3a1a5e, #12091f); color: #fff; font: italic 900 5.4rem/1 Impact, 'Arial Black', sans-serif; text-shadow: 0 0 22px rgba(255,95,193,0.8); box-shadow: 0 0 34px rgba(255,95,193,0.45), inset 0 0 24px rgba(143,107,255,0.4); }
.sg-roll-num.rolling { animation: sg-roll-shake .18s linear infinite; }
.sg-roll-num.landed { border-color: #ffd166; animation: sg-roll-land .6s cubic-bezier(.2,1.6,.4,1) both; box-shadow: 0 0 44px rgba(255,209,102,0.65); }
@keyframes sg-roll-shake { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-4px) rotate(2deg); } }
@keyframes sg-roll-land { 0% { transform: scale(0.7); } 60% { transform: scale(1.14); } 100% { transform: scale(1); } }
.sg-roll-title { font: 800 1.15rem/1.3 Inter, sans-serif; color: #fff; margin: 4px 0 0; min-height: 3em; }
@media (prefers-reduced-motion: reduce) { .sg-roll-num.rolling, .sg-roll-num.landed, .sg-intro .sg-intro-card { animation: none; } }

/* accueil vidéo, version chorégraphiée */
.sg-video-shade { background: linear-gradient(180deg, rgba(5,8,25,0.05) 0%, rgba(5,8,25,0) 40%, rgba(10,6,30,0.35) 100%) !important; }
.sg-w-skip { position: absolute; z-index: 3; top: calc(env(safe-area-inset-top) + 14px); right: 14px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); background: rgba(10,6,30,0.45); color: #fff; font: 700 0.82rem Inter, sans-serif; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sg-w-skip[hidden] { display: none; }
.sg-w-stage { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.sg-w-scene { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; padding: 0 22px; }
.sg-wl { display: block; width: max-content; max-width: 100%; opacity: 0; font: italic 900 clamp(1.5rem, 7.6vw, 3.4rem)/1.05 Impact, 'Arial Black', sans-serif; letter-spacing: 0.5px; color: #fff; text-shadow: 3px 3px 0 #1a0b2e, 0 0 26px rgba(0,0,0,0.75); transition: transform .75s cubic-bezier(.16,1,.3,1), opacity .5s ease; will-change: transform, opacity; }
.sg-wl.big { font-size: clamp(2rem, 10.5vw, 4.6rem); }
.sg-wl.small { font-size: clamp(1.05rem, 5vw, 2rem); font-style: normal; font-family: Inter, sans-serif; font-weight: 800; }
.sg-wl.pink { color: #ff79d2; } .sg-wl.gold { color: #ffd166; }
.sg-wl.from-l { transform: translateX(-115vw) skewX(-8deg); justify-self: start; }
.sg-wl.from-r { transform: translateX(115vw) skewX(8deg); justify-self: end; text-align: right; }
.sg-wl.show { transform: translateX(0) skewX(0); opacity: 1; }
.sg-wl.from-l.gone { transform: translateX(115vw) skewX(-8deg); opacity: 0; }
.sg-wl.from-r.gone { transform: translateX(-115vw) skewX(8deg); opacity: 0; }
.sg-w-final { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px calc(30px + env(safe-area-inset-bottom)); display: grid; gap: 10px; justify-items: center; text-align: center; opacity: 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(10,6,30,0.82) 45%); transition: opacity .9s ease; max-width: 640px; margin: 0 auto; }
.sg-w-final.show { opacity: 1; pointer-events: auto; }
.sg-w-final .sg-w-kicker, .sg-w-final .sg-w-line, .sg-w-final .sg-w-start { opacity: 1; animation: none; transform: none; }
.sg-w-brandbig { margin: 0; font: italic 900 clamp(2.6rem, 14vw, 6rem)/0.95 Impact, 'Arial Black', sans-serif; letter-spacing: 2px; color: #fff; text-shadow: 4px 4px 0 #ff2fa8, 8px 8px 0 #1a0b2e, 0 0 40px rgba(255,95,193,0.7); transform: scale(0.6); opacity: 0; }
.sg-w-final.show .sg-w-brandbig { animation: sg-brand-in 1s cubic-bezier(.2,1.5,.35,1) .15s forwards; }
@keyframes sg-brand-in { to { transform: scale(1); opacity: 1; } }
.sg-w-final .sg-w-start { width: 100%; max-width: 420px; }
.sg-w-final.show .sg-w-start { animation: sg-pulse 1.6s ease-in-out 1.2s infinite; }
@media (prefers-reduced-motion: reduce) { .sg-wl { transition: none; } .sg-w-brandbig { transform: none; opacity: 1; } .sg-w-final.show .sg-w-brandbig, .sg-w-final.show .sg-w-start { animation: none; } }
/* accueil : rien ne sort de l'écran, quelle que soit la largeur */
.sg-w-scene, .sg-w-final { grid-template-columns: minmax(0, 1fr); box-sizing: border-box; }
.sg-w-final { width: 100%; left: 50%; right: auto; transform: translateX(-50%); }
.sg-w-final > * { min-width: 0; max-width: 100%; }
.sg-wl { white-space: normal; overflow-wrap: break-word; }
.sg-wl.big { font-size: clamp(1.7rem, 8.2vw, 4.4rem); }
.sg-w-brandbig { font-size: clamp(2rem, 11.5vw, 5.6rem); letter-spacing: 0; text-shadow: 3px 3px 0 #ff2fa8, 6px 6px 0 #1a0b2e, 0 0 40px rgba(255,95,193,0.7); }
.sg-w-final .sg-w-line { font-size: clamp(0.9rem, 3.9vw, 1.1rem); }

.sg-w-sound { position: absolute; z-index: 3; top: calc(env(safe-area-inset-top) + 14px); left: 14px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); background: rgba(10,6,30,0.45); color: #fff; font: 700 0.82rem Inter, sans-serif; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sg-w-brandbig.team { font-size: clamp(1.9rem, 10vw, 5rem); overflow-wrap: anywhere; line-height: 1.02; color: #ffd166; text-shadow: 3px 3px 0 #ff2fa8, 6px 6px 0 #1a0b2e, 0 0 40px rgba(255,209,102,0.55); }

/* équipe : membres et avatars avant le nom d'équipe */
.sg-teambox { max-width: 520px; }
.sg-team-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.sg-team-member { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); color: #fff; min-width: 0; }
.sg-team-member strong { font-size: 0.9rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-tm-av { position: relative; width: 68px; height: 68px; }
.sg-tm-av img { width: 100%; height: 100%; border-radius: 18px; object-fit: cover; border: 2px solid #ff6bcd; }
.sg-tm-av i { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(115deg, #ff5fc1, #8f6bff); border: 2px solid #fff; font-style: normal; font-size: 0.78rem; }
.sg-team-h { font: 800 1.1rem Inter, sans-serif; color: #fff; margin: 16px 0 2px; }
.sg-avfoot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: center; }
.sg-av-rand { margin: 0; white-space: nowrap; min-height: 46px; padding: 0 14px; }
.sg-avfoot .draw { margin: 0; }

/* missions d'équipe */
.sg-mis-h { margin: 14px 0 0; }
.sg-tile.done { border-color: rgba(61,220,132,0.6); }
.sg-other { display: block; margin: 14px auto 0; opacity: 0.85; }
.sg-pairs { display: grid; gap: 8px; margin: 8px 0 10px; }
.sg-pair { padding: 10px 12px; border-radius: 14px; border: 1.5px solid rgba(255,140,220,0.4); background: rgba(255,255,255,0.05); }
.sg-pair small { display: block; font: italic 900 0.72rem Impact, 'Arial Black', sans-serif; letter-spacing: 2px; color: #ff79d2; margin-bottom: 6px; }
.sg-pair div { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-pair span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; }
.sg-pair img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.sg-ord { margin: 6px 0 10px; padding-left: 26px; display: grid; gap: 6px; color: #fff; font-weight: 600; font-size: 0.95rem; line-height: 1.35; overflow-wrap: anywhere; }
.sg-ord.res li.ok { color: #8df5c1; } .sg-ord.res li.ko { color: #ffb3c6; }
.sg-ord small { display: block; font-weight: 500; font-size: 0.75rem; color: #b9b0d4; }
.sg-cards { display: grid; gap: 8px; }
.sg-cardbtn { text-align: left; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(255,140,220,0.45); background: linear-gradient(140deg, rgba(255,95,193,0.14), rgba(143,107,255,0.14)); color: #fff; font: 600 0.95rem/1.35 Inter, sans-serif; overflow-wrap: anywhere; }
.sg-cardbtn:active { background: linear-gradient(115deg, #ff5fc1, #8f6bff); }
.sg-turn { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; text-align: center; }
.sg-turn.solo { grid-template-columns: minmax(0, 1fr); }
.sg-turn > div { display: grid; justify-items: center; gap: 2px; min-width: 0; }
.sg-turn img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; border: 2px solid #ff6bcd; }
.sg-turn small { font-size: 0.6rem; letter-spacing: 1.5px; font-weight: 800; color: #ff79d2; }
.sg-turn strong { color: #fff; font-size: 1.05rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-turn > span { font-size: 1.6rem; color: #ffd166; }
.sg-bool-btn.ok { border-color: #3ddc84; color: #3ddc84; } .sg-bool-btn.ko { border-color: #ff4f80; color: #ff6b8b; }
.sg-tick-h { margin-top: 14px; }
.sg-tick { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; text-align: left; padding: 10px 0; border: 0; border-top: 1px solid rgba(255,255,255,0.08); background: none; color: #fff; }
.sg-tick strong { display: block; font-size: 0.95rem; overflow-wrap: anywhere; } .sg-tick small { display: block; color: #b9b0d4; font-size: 0.78rem; line-height: 1.35; margin-top: 2px; overflow-wrap: anywhere; }
.sg-tickbox { width: 26px; height: 26px; border-radius: 8px; border: 2px solid rgba(255,255,255,0.4); display: grid; place-items: center; }
.sg-tick.on .sg-tickbox { background: #3ddc84; border-color: #3ddc84; } .sg-tick.on .sg-tickbox::after { content: '✓'; color: #06230f; font-weight: 900; }

/* glisser-déposer, tri, morceaux de phrase, mot manquant */
.sg-dnd { display: grid; gap: 8px; margin-top: 10px; }
.sg-dnd-item { display: grid; grid-template-columns: 44px 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 60px; padding: 6px 8px 6px 0; border-radius: 14px; border: 1.5px solid rgba(255,140,220,0.45); background: linear-gradient(140deg, rgba(255,95,193,0.14), rgba(143,107,255,0.14)); color: #fff; position: relative; }
.sg-dnd-item.drag { z-index: 5; border-color: #ffd166; box-shadow: 0 14px 30px rgba(0,0,0,0.55); background: linear-gradient(140deg, rgba(255,95,193,0.5), rgba(143,107,255,0.5)); }
.sg-dnd-grip { align-self: stretch; display: grid; place-items: center; font-size: 1.5rem; color: #ffd166; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.sg-dnd-n { font: italic 900 0.95rem Impact, 'Arial Black', sans-serif; color: #ff79d2; text-align: center; }
.sg-dnd-t { font: 600 0.92rem/1.35 Inter, sans-serif; overflow-wrap: anywhere; }
.sg-dnd-ar { display: grid; gap: 4px; }
.sg-dnd-ar button { width: 34px; height: 26px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; font-size: 0.7rem; padding: 0; }
.sg-dnd-ar button:disabled { opacity: 0.25; }
.sg-cardbtn small { display: block; font: italic 900 0.68rem Impact, 'Arial Black', sans-serif; letter-spacing: 2px; color: #ff79d2; margin-bottom: 2px; }
.sg-built { margin: 6px 0 10px; color: #fff; font: 600 1.05rem/1.5 Inter, sans-serif; overflow-wrap: anywhere; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-chip { min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid rgba(255,140,220,0.5); background: linear-gradient(140deg, rgba(255,95,193,0.16), rgba(143,107,255,0.16)); color: #fff; font: 700 0.98rem Inter, sans-serif; max-width: 100%; overflow-wrap: anywhere; }
.sg-hole { display: inline-block; min-width: 64px; text-align: center; padding: 0 8px; border-radius: 8px; background: rgba(255,209,102,0.2); border: 1.5px dashed #ffd166; color: #ffd166; }
.sg-bilan-item small { display: block; color: #b9b0d4; font-size: 0.78rem; font-weight: 500; overflow-wrap: anywhere; }

.sg-pending { position: fixed; left: 12px; right: 12px; top: calc(8px + env(safe-area-inset-top)); z-index: 9999; padding: 10px 14px; border-radius: 12px; background: #ffd166; color: #2a1c00; font: 700 0.85rem/1.3 Inter, sans-serif; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }

.sg-pending.send { background: #8fd3ff; color: #06202f; }
.sg-pending.ok { background: #3ddc84; color: #06230f; }

.sg-coach-line { margin: 8px 0 0; color: #ffd166; font: 800 0.9rem Inter, sans-serif; }
.sg-score-big { margin: 0 0 6px; font: italic 900 2.2rem Impact, 'Arial Black', sans-serif; color: #fff; letter-spacing: 1px; }

.sg-brand span { font-size: 0.5em; letter-spacing: 1px; margin-top: 6px; }
.sg-fb-text p { white-space: pre-wrap; overflow-wrap: anywhere; }

.sg-ord .sg-gap-li { color: #ffd166; font-weight: 800; letter-spacing: 3px; }

/* Les 12 fiches orales : visionneuse */
.sg-tile-deck{border-style:dashed}
.sg-deck-link{width:100%;margin:12px 0 0}
body.sg-deck-open{overflow:hidden}
.sg-deck{position:fixed;inset:0;z-index:9000;background:#0b1020;color:#fff;display:none;flex-direction:column}
body.sg-deck-open .sg-deck{display:flex}
.sg-deck-bar{display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;border-bottom:1px solid rgba(255,255,255,.12)}
.sg-deck-bar strong{flex:1;font-size:15px;line-height:1.25;min-width:0}
.sg-deck-x,.sg-deck-som{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:10px;padding:8px 12px;font:inherit;font-size:14px;cursor:pointer;flex:none}
.sg-deck-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:8px;touch-action:pan-y pinch-zoom}
.sg-deck-stage img{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,.5);user-select:none}
.sg-deck-nav{display:flex;align-items:center;justify-content:center;gap:24px;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
.sg-deck-nav button{width:56px;height:48px;border-radius:12px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff;font-size:28px;line-height:1;cursor:pointer}
.sg-deck-nav button:disabled{opacity:.3;cursor:default}
.sg-deck-nav span{min-width:64px;text-align:center;font-variant-numeric:tabular-nums}
.sg-deck-tip{display:none;margin:0 0 8px;text-align:center;font-size:12px;opacity:.65}
@media (orientation:portrait) and (max-width:700px){.sg-deck-tip{display:block}}
@media (orientation:landscape) and (max-height:500px){.sg-deck-bar{padding-top:6px;padding-bottom:6px}.sg-deck-nav{position:absolute;bottom:0;left:0;right:0;padding:6px;pointer-events:none}.sg-deck-nav button{pointer-events:auto;background:rgba(11,16,32,.75)}.sg-deck-nav span{background:rgba(11,16,32,.75);border-radius:8px;padding:4px 8px}.sg-deck-stage{padding:4px}}
.sg-deck-menu{flex:1;overflow:auto;padding:16px 16px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px;max-width:900px;width:100%;margin:0 auto;box-sizing:border-box}
.sg-deck-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.sg-deck-grid button{display:flex;align-items:center;gap:10px;text-align:left;background:#fff;color:#16213a;border:0;border-radius:14px;padding:12px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;min-height:64px}
.sg-deck-grid b{font-size:22px;color:#e2711d;font-weight:800}

/* Passage à l'oral */
body.sg-oral-open{overflow:hidden}
.sg-oral{position:fixed;inset:0;z-index:9500;overflow:auto;background:radial-gradient(900px 400px at 0% 0%,rgba(0,140,200,.3),transparent 60%),radial-gradient(700px 400px at 100% 0%,rgba(150,40,200,.35),transparent 60%),#070a1c;display:none}
body.sg-oral-open .sg-oral{display:block}
.sg-oral-in{max-width:560px;margin:0 auto;padding:calc(18px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}
.sg-oral .kick{margin:0;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#ff7ac6;font-style:italic}
.sg-oral .card p{margin:0 0 8px;line-height:1.45}
.sg-oral-fiche{display:inline-block;background:#f08a24;color:#1b1030;font-weight:800;border-radius:999px;padding:4px 10px;font-size:13px;margin:6px 0 4px}
.sg-oral-title{font-weight:700;font-size:17px;margin:0!important}
.sg-oral-big{font-family:"Bricolage Grotesque",Inter,sans-serif;font-size:26px;font-weight:800;margin:6px 0 0!important}
.sg-oral-me{text-align:center;align-items:center}
.sg-oral-me img{width:84px;height:84px;border-radius:20px}
.sg-oral-thanks{text-align:center}
.sg-oral-plan{display:flex;flex-direction:column;gap:8px}
.sg-oral-pl{display:flex;align-items:center;gap:12px;text-align:left;border-radius:14px;padding:12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.05);color:#fff;font:600 15px Inter,sans-serif;cursor:pointer}
.sg-oral-pl i{width:26px;height:26px;border-radius:8px;border:2px solid rgba(255,255,255,.35);flex:none;display:grid;place-items:center;font-style:normal}
.sg-oral-pl.on{border-color:#3ddc84;background:rgba(61,220,132,.12)}.sg-oral-pl.on i{background:#3ddc84;border-color:#3ddc84;color:#06301a}
.sg-oral-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.sg-oral-chip{border-radius:999px;padding:10px 14px;font:600 14px Inter,sans-serif;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);color:#fff;cursor:pointer}
.sg-oral-chip.on{background:#3ddc84;border-color:#3ddc84;color:#06301a}
.sg-oral-chip.soft.on{background:#ffd36b;border-color:#ffd36b;color:#3a2700}
.sg-oral-opt{display:inline-block;margin-left:6px;border-radius:999px;padding:2px 8px;font-size:11px;background:rgba(255,255,255,.1);letter-spacing:0}
.sg-oral-plan-ro{margin:0;padding-left:20px;line-height:1.6}
.sg-oral-cmt{border-left:3px solid #3ddc84;padding:8px 10px;margin:0 0 8px;background:rgba(255,255,255,.04);border-radius:0 10px 10px 0}
.sg-oral-err{color:#ff8fa3;margin:0;min-height:0;font-size:14px}
.sg-oral .btn-secondary{width:100%}

/* simulateur de conduite : votre passage approche */
body.sg-sim-open{overflow:hidden}
.sg-simcall{position:fixed;inset:0;z-index:9700;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(7,10,28,.92)}
body.sg-sim-open .sg-simcall{display:flex}
.sg-simcall-in{max-width:440px;width:100%;border-radius:22px;padding:24px 20px;text-align:center;background:linear-gradient(160deg,#2a1640,#13183a);border:2px solid #ffb547;box-shadow:0 0 0 6px rgba(255,181,71,.18),0 20px 60px rgba(0,0,0,.5);animation:sgsim 1.4s ease-in-out infinite}
@keyframes sgsim{50%{box-shadow:0 0 0 12px rgba(255,181,71,.08),0 20px 60px rgba(0,0,0,.5)}}
.sg-simcall-title{font-family:"Bricolage Grotesque",Inter,sans-serif;font-size:26px;font-weight:800;margin:0 0 10px;color:#ffd38a}
.sg-simcall-txt{font-size:17px;line-height:1.45;margin:0 0 14px}
.sg-simcall-clock{font-family:"Bricolage Grotesque",Inter,sans-serif;font-size:40px;font-weight:800;margin:4px 0 6px;font-variant-numeric:tabular-nums}
.sg-simcall .draw{width:100%;margin-top:12px}
.sg-simbar{position:fixed;left:0;right:0;top:0;z-index:9600;border:0;border-bottom:2px solid #ffb547;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;font:600 15px Inter,sans-serif;color:#fff;background:#14102a;cursor:pointer;text-align:left}
.sg-simbar b{font-family:"Bricolage Grotesque",Inter,sans-serif;font-size:20px;color:#ffd38a;font-variant-numeric:tabular-nums}
.sg-simbar[hidden]{display:none}
