#world-new-interaction{margin:16px 0;color:#f6ede0}
.w52-lab{padding:clamp(12px,3vw,24px);border:1px solid #526b77;border-radius:15px;background:#102535;display:grid;gap:18px}
.w52-lab label{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#f0d4a2}
.w52-lab input[type=range]{flex:1;min-width:160px;accent-color:#d6b778}
.w52-readout{margin:12px 0;padding:12px 16px;border-radius:9px;background:#284052;color:#f7e5bd;line-height:1.7}
.w52-robot svg{display:block;width:min(100%,360px);height:auto;margin:auto}
.w52-pipeline,.w52-choices{display:flex;gap:10px;flex-wrap:wrap}
.w52-step{flex:1;min-width:115px;padding:18px 12px;border:1px solid #b99868;border-radius:10px;text-align:center;background:#1c3a48}
.w52-warning{border-color:#db8a78;background:#4e3038}
.w52-choices label{flex:1;min-width:170px;display:grid;gap:10px}
.w52-choices select,.w52-lab select{min-height:44px;background:#152b3b;color:#fff;border:1px solid #c4a878;border-radius:7px;padding:8px}
.w52-sentence{font-size:clamp(17px,3vw,24px);color:#fff;line-height:1.6;margin:0}
.w52-barchart{height:42px;border:1px solid #c9ab79;border-radius:7px;background:#183443;overflow:hidden}
.w52-bar{height:100%;background:linear-gradient(90deg,#68b7c7,#e5bf7f);transition:width .18s}

/* v52 richer world interactions */
.w52-lab-rich{background:linear-gradient(180deg,#102535,#0f2a36)}
.w52-control-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.w52-control-grid label{display:grid;gap:10px;align-items:start;background:#122d3b;border:1px solid #4f6772;padding:12px;border-radius:12px}
.w52-canvas{width:100%;height:auto;display:block;border-radius:12px;border:1px solid #58707a;background:#0f2431}
.w52-card{display:grid;gap:8px;padding:12px;border-radius:12px;border:1px solid #536973;background:#132d39;min-height:100px}
.w52-card-label{color:#e8c792;font-size:.9rem;letter-spacing:.02em}
.w52-pipeline-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.w52-stepbox{white-space:pre-wrap;line-height:1.55;color:#eef5f6}
.w52-helper{margin:0;color:#d4dee0;font-size:.92rem}
.w52-token-row,.w52-tag-buttons{display:flex;gap:10px;flex-wrap:wrap}
.w52-token,.w52-pill{min-height:42px;padding:9px 14px;border-radius:999px;border:1px solid #c4a878;background:#173646;color:#fff;cursor:pointer}
.w52-token.is-active{background:#3d3022;border-color:#f0c27a}
.w52-pill:hover,.w52-token:hover{filter:brightness(1.07)}
.w52-score-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.w52-meter{display:grid;gap:7px;padding:12px;border-radius:12px;border:1px solid #506774;background:#112936}
.w52-meter-row{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#f0d4a2}
.w52-meter-bar{height:14px;border-radius:999px;overflow:hidden;background:#1e4152;border:1px solid #3e5964}
.w52-meter-bar span{display:block;height:100%;background:linear-gradient(90deg,#66b8c8,#e8bf7f)}
.w52-dashboard{display:grid;gap:12px}
@media(max-width:650px){
  .w52-control-grid,.w52-pipeline-grid,.w52-score-grid{grid-template-columns:1fr}
  .w52-token,.w52-pill{width:100%;justify-content:center;text-align:center}
}
