.workshop{--ink:#edf5f4;--muted:#aabdbb;--accent:#adf1cf;background:#111c20;color:var(--ink);border-radius:20px;overflow:hidden;box-shadow:0 24px 60px #10262025}.workshop *{box-sizing:border-box}.workshop button{font:inherit;cursor:pointer}.workshop button:focus-visible,.workshop canvas:focus-visible{outline:3px solid #bdf5cf;outline-offset:-4px}.workshop-top{display:flex;align-items:center;justify-content:space-between;padding:19px 24px;border-bottom:1px solid #ffffff16;gap:16px}.workshop-brand{letter-spacing:.17em;font-size:12px;color:var(--accent);font-weight:800}.workshop-top strong{font-size:18px}.workshop-progress{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}.workshop-progress progress{accent-color:var(--accent);width:100px;height:5px}.workshop-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px}.workshop-view{position:relative;min-width:0;min-height:550px;background:radial-gradient(ellipse at 50% 30%,#36403f,#182123)}.workshop canvas{width:100%;height:550px;display:block;touch-action:none}.workshop-view-label{pointer-events:none;position:absolute;left:22px;top:20px;font-size:11px;letter-spacing:.18em;color:#d5e8e0;text-shadow:0 1px 3px #000}.workshop-view-label b{display:block;margin-top:8px;letter-spacing:0;font-size:18px;font-weight:500}.workshop-toolbar{position:absolute;bottom:18px;left:18px;right:18px;display:flex;justify-content:center;flex-wrap:wrap;gap:6px}.workshop button.wk-small{background:#152328de;border:1px solid #a3c5b742;color:#eefaf3;border-radius:8px;min-height:38px;padding:7px 12px;font-size:12px;backdrop-filter:blur(8px)}.workshop button[aria-pressed=true]{background:#b6e9cc;color:#152b20;border-color:#b6e9cc}.workshop-panel{padding:24px;background:#17262a;border-left:1px solid #ffffff13}.workshop-panel h2{font-size:23px;line-height:1.25;margin:8px 0 12px;color:var(--ink)}.workshop-panel p{font-size:13px;line-height:1.65;color:var(--muted)}.workshop-kicker{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--accent)}.workshop-instruction{color:#edf5f4!important;font-size:14px!important}.workshop-meter{margin:20px 0;padding:15px;border:1px solid #bad4ca29;border-radius:10px;background:#102024}.workshop-meter .wk-value{font-variant-numeric:tabular-nums;font-family:ui-monospace,monospace;font-size:24px;color:#c8f3db;display:block;margin:4px 0}.workshop-meter small{font-size:11px;color:var(--muted)}.workshop-readout{font-size:12px;line-height:1.9;min-height:50px;font-variant-numeric:tabular-nums}.workshop-actions{display:grid;gap:8px}.workshop button.wk-primary{background:#b4edcb;border:0;border-radius:9px;padding:13px 15px;color:#122d21;font-weight:750}.workshop button.wk-secondary{background:transparent;border:1px solid #9db9ad50;border-radius:9px;padding:10px;color:#e2ede7;font-size:12px}.workshop-nudge{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:14px 0}.workshop-nudge button{min-height:38px;background:#22383b;border:1px solid #a3c5b730;color:#eaf5ef;border-radius:6px;font-size:12px}.workshop-nudge span{align-self:center;text-align:center;font:10px ui-monospace,monospace;color:var(--muted)}.workshop-status{min-height:40px;margin:12px 0;font-size:12px;line-height:1.55;color:#f5d695}.workshop-status.success{color:#b6efcc}.workshop-status:empty{min-height:0}.workshop-brief{padding-bottom:15px;border-bottom:1px solid #ffffff19}.workshop-foot{padding:12px 22px;display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);border-top:1px solid #ffffff13}.workshop-choices{display:grid;gap:8px;margin-top:16px}.workshop-choices button{background:#22383b;border:1px solid #9db9ad50;border-radius:8px;padding:12px;color:#f0f8f3;text-align:left;font-size:13px}.workshop-result{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#081412dd;backdrop-filter:blur(10px);z-index:3;padding:20px;overflow:auto}.workshop-result[hidden]{display:none}.workshop-result>div{max-width:500px;width:100%;padding:20px}.workshop-result h2{font-size:34px;line-height:1.12;color:#e7f4ec}.workshop-result p{font-size:14px;color:#b7cfc1}.workshop-result ul{padding-left:20px;font-size:13px;line-height:1.8}.workshop-result .workshop-actions{margin-top:24px}.workshop:fullscreen{border-radius:0;display:flex;flex-direction:column}.workshop:fullscreen .workshop-layout{flex:1}.workshop:fullscreen canvas{height:calc(100vh - 112px)}.workshop:fullscreen .workshop-panel{overflow:auto}.workshop-error{padding:24px;line-height:1.6}.game-card-meta{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:#4d7661}.workshop-summary-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.workshop-summary-metrics div{background:#29443880;padding:12px;border-radius:8px;font-size:12px}.workshop-summary-metrics strong{display:block;font-size:22px}.workshop-helper{margin:14px 0 0;font-size:11px!important}.workshop-zoom{display:flex;gap:5px;justify-content:center}.workshop details{color:var(--muted);font-size:12px;margin:14px 0}.workshop summary{cursor:pointer}.workshop-loading{padding:40px;text-align:center;color:#d6e8dc}@media(max-width:900px){.workshop-layout{grid-template-columns:minmax(0,1fr) 285px}.workshop-panel{padding:18px}.workshop canvas{height:510px}.workshop-view{min-height:510px}}@media(max-width:680px){.workshop-top{padding:14px 16px}.workshop-layout{display:flex;flex-direction:column}.workshop-view{min-height:360px}.workshop canvas{height:360px}.workshop-panel{border-left:0;border-top:1px solid #ffffff16;padding:20px}.workshop-panel h2{font-size:23px}.workshop-progress progress{width:55px}.workshop-brand{font-size:10px}.workshop-toolbar{bottom:12px;left:8px;right:8px;gap:4px}.workshop button.wk-small{padding:7px 9px;font-size:11px;min-height:36px}.workshop-foot{flex-direction:column;gap:4px}.workshop:fullscreen{overflow:auto}.workshop:fullscreen canvas{height:52vh}.workshop:fullscreen .workshop-view{min-height:52vh}.workshop:fullscreen .workshop-layout{flex:0}.workshop-nudge{max-width:290px}.workshop-result h2{font-size:27px}}@media(prefers-reduced-motion:reduce){.workshop *{scroll-behavior:auto!important}}
.workshop-layout{align-items:start}.workshop-view{height:660px;min-height:660px}.workshop canvas{height:660px}.workshop-panel{height:660px;overflow-y:auto}.workshop:fullscreen .workshop-view,.workshop:fullscreen .workshop-panel{height:calc(100vh - 112px)}@media(max-width:680px){.workshop-view{height:360px;min-height:360px}.workshop canvas{height:360px}.workshop-panel{height:auto;overflow:visible}.workshop:fullscreen .workshop-view{height:52vh}.workshop:fullscreen .workshop-panel{height:auto}}
.workshop-share-copy{width:100%;min-height:100px;color:#e6f3e9;background:#132821;border:1px solid #82ac95;border-radius:8px;padding:10px;font:13px/1.5 sans-serif}.workshop #wk-share-status{margin:0;font-size:12px}.workshop-result .workshop-actions{gap:8px}.workshop-result>div{max-height:100%;overflow-y:auto}


/* M-05 : l'introduction reste entièrement accessible dans une vue courte. */
.workshop-result { align-items: flex-start; overscroll-behavior: contain; }
.workshop-result > div { flex: 0 1 500px; min-height: 0; margin: auto; overflow-y: auto; }
.workshop-result .workshop-actions { flex-shrink: 0; padding-bottom: 12px; }

/* En colonne, la scène et les consignes occupent chacune toute la largeur. */
@media (max-width: 680px), (orientation: portrait) and (max-width: 900px) {
  .workshop .workshop-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .workshop .workshop-view, .workshop .workshop-panel {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .workshop .workshop-panel { height: auto; overflow: visible; }
}

