/* Extension de l'atelier. Pas de modification du court libre ni du mode projection. */
.quiz-invite-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px }
#point-shortcut { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; color: #204e48; font-size: .86rem; font-weight: 680; text-underline-offset: .2em }
.quiz-formats:has(#joue-le-point:not([hidden])) { grid-template-columns: repeat(3,minmax(0,1fr)) }
#point-setup:has(#point-scene-choice[hidden]) { display: block }
#point-setup-note { font-size: .86rem; line-height: 1.4; color: #35554b }
.quiz-play.point-play { grid-template-areas: "map story" "map picks"; grid-template-rows: auto 1fr }
.point-play #quiz-court { height: clamp(256px,39vh,326px) }
.point-play #quiz-ask { font-size: 1rem }
#point-reply { padding: 8px 10px; margin: 8px 0; border-left: 3px solid #377f83; border-radius: 4px; background: #eaf3f2; color: #214a4b; font-size: .9rem; line-height: 1.4 }
#point-reply strong { display: block; font-size: .75rem; letter-spacing: .03em }
.point-play #quiz-options button { min-height: 50px; touch-action: manipulation }
.point-play #quiz-options [data-point-choice="0"] .quiz-letter { border-radius: 50%; background: #e4f59f; color: #28442d; border-color: #9fb76c }
.point-play #quiz-options [data-point-choice="1"] .quiz-letter { background: #c4e6f4; color: #163e53; border-color: #78a7ba }
.point-pin { color: #e4f59f }.point-pin[data-pin="1"] { color: #bce3f7 }
.point-pin :is(circle,rect) { fill: currentColor; stroke: #163b40; stroke-width: .8 }
.point-pin path { fill: none; stroke: currentColor; stroke-width: 1.2 }
.point-pin text { fill: #15323d; text-anchor: middle; font: 800 8px system-ui,sans-serif }
#point-incoming { fill: none; stroke: #a7efff; stroke-width: 2; stroke-dasharray: 3.5 2.5; stroke-linecap: round }
#point-incoming-key { color: #c2f4ff }#point-incoming-key::before { content: ''; width: 14px; border-top: 2px dashed }
#quiz-progress [data-result="played"] { background: #d3eadc; color: #1c4d3e; border-color: #629b80 }
.point-summary { border-top-color: #427c68 }.point-summary[data-issue="perdu"],.point-summary[data-issue="pression"] { border-top-color: #a56a45 }
.point-summary .point-lesson { margin: 12px 0 16px; padding: 10px 12px; background: #ecf4e9; border-radius: 5px }
.point-lesson strong { display: block; color: #244e40 }
#point-history { list-style: none; margin: 8px 0; padding: 0 }
#point-history li { display: grid; grid-template-columns: 1.65rem minmax(0,1fr); align-items: start; gap: 8px; padding: 8px 0; border-top: 1px solid var(--at-line); line-height: 1.4 }
.point-index { display: grid; place-items: center; min-height: 1.65rem; border-radius: 50%; background: #e6eee6; color: #2a5346; font-size: .85rem; font-weight: 720 }
#point-history li strong { font-size: .91rem }#point-history li p { color: #405955; font-size: .86rem; max-width: 72ch }
#point-history button { min-height: 44px; padding: 3px 4px; background: transparent; border: 0; color: #285d4f; font-size: .82rem; text-decoration: underline; text-underline-offset: .15em }
.point-replay button:not(.quiz-primary) { background: white; color: #245247; border: 1px solid #93ad9d }
.point-summary .point-foot { font-size: .82rem; color: #4a6057 }
.point-foot a { display: inline-flex; align-items: center; min-height: 44px; color: #285d4f; text-decoration: underline }
@media(max-width:740px) {
  .quiz-play.point-play { grid-template-columns: minmax(105px,.8fr) minmax(0,1.2fr); grid-template-areas: "story story" "map picks"; gap: 10px 8px }
  .point-mark :is(rect,text) { transform: scale(1.55); transform-origin: 0 0 }
  .point-play .quiz-map { align-self: stretch }
  .point-play #quiz-court { height: 226px }
  .point-play #quiz-options button { padding: 7px; gap: 6px; min-height: 52px; font-size: .86rem }
  .point-play .quiz-letter { width: 1.4rem; height: 1.4rem }
  #point-reply { font-size: .84rem; margin: 6px 0 }
  .point-summary .point-replay { gap: 6px }
}
@media(max-width:600px) {
  .quiz-formats:has(#joue-le-point:not([hidden])) { grid-template-columns: 1fr; gap: 4px }
  .quiz-formats:has(#joue-le-point:not([hidden])) label { min-height: 44px }
  .quiz-formats:has(#joue-le-point:not([hidden])) label > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px }
  #quiz-level-form:has([value="point"]:checked) .quiz-tier { min-height: 46px }
  #quiz-level-form:has([value="point"]:checked) .quiz-tier:not(:has(:checked)) .quiz-tier-copy {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}
