
/* v135 · Magnetism 3D Lab embeds */
.m3d-group-v135{display:grid;gap:18px;margin:22px 0 8px}
.m3d-sim-v135{border:1px solid #dbe4f0;border-radius:22px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);overflow:hidden;box-shadow:0 12px 28px rgba(15,23,42,.055)}
.m3d-head-v135{padding:20px 22px 14px}
.m3d-kicker-v135{margin:0 0 7px;font-size:.73rem;font-weight:850;letter-spacing:.09em;color:#315bb8;text-transform:uppercase}
.m3d-head-v135 h3{margin:0 0 8px;font-size:1.18rem;line-height:1.3;color:#16233a}
.m3d-head-v135 p{margin:0;color:#59677c;line-height:1.65}
.m3d-player-v135{margin:0 20px;border:1px solid #dfe7f2;border-radius:18px;background:#f4f7fb;overflow:hidden;min-height:180px}
.m3d-placeholder-v135{min-height:180px;display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:22px}
.m3d-play-v135{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#e9effb;color:#315bb8;font-size:1.05rem}
.m3d-placeholder-v135 strong{display:block;color:#17233b;margin-bottom:4px}.m3d-placeholder-v135 p{margin:0;color:#66758b;font-size:.93rem;line-height:1.5}
.m3d-load-v135{border:0;border-radius:12px;background:#315bb8;color:#fff;font:inherit;font-weight:800;padding:11px 15px;cursor:pointer;min-height:44px}
.m3d-load-v135:hover{filter:brightness(.96)}
.m3d-frame-v135{display:block;width:100%;height:650px;border:0;background:#fff}
.m3d-links-v135{padding:9px 22px 0}.m3d-links-v135 a{font-size:.88rem;font-weight:750;color:#315bb8;text-decoration:none}.m3d-links-v135 a:hover{text-decoration:underline}
.m3d-task-v135{margin:16px 20px 20px;padding:17px 18px;border-radius:16px;background:#f8fafc;border:1px solid #e6ebf2}
.m3d-task-v135 span{display:inline-block;margin-bottom:6px;font-size:.7rem;font-weight:850;letter-spacing:.08em;color:#64748b}.m3d-task-v135 h4{margin:0 0 8px;color:#17233b;font-size:1rem}.m3d-task-v135 p{margin:0;color:#566579;line-height:1.6}
.m3d-note-v135{margin:16px 0 0;padding:13px 15px;border-left:3px solid #315bb8;background:#f3f6fd;border-radius:0 12px 12px 0;color:#435168;line-height:1.55}
@media(max-width:760px){.m3d-head-v135{padding:18px 17px 12px}.m3d-player-v135{margin:0 15px}.m3d-task-v135{margin:14px 15px 16px}.m3d-placeholder-v135{grid-template-columns:auto 1fr;padding:18px 16px}.m3d-load-v135{grid-column:1/-1;width:100%}.m3d-frame-v135{height:560px}.m3d-links-v135{padding-left:17px;padding-right:17px}}
@media(max-width:480px){.m3d-frame-v135{height:520px}.m3d-play-v135{width:42px;height:42px}}

/* v137 · Stable in-page embed + full-editor handoff */
.m3d-editor-callout-v137{
  margin:14px 20px 0;
  padding:14px 15px;
  border:1px solid #dbe4f0;
  border-radius:15px;
  background:#f7f9fd;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.m3d-editor-callout-v137>div{min-width:0}
.m3d-editor-callout-v137 strong{display:block;color:#17233b;font-size:.92rem;margin-bottom:3px}
.m3d-editor-callout-v137 span{display:block;color:#607086;font-size:.84rem;line-height:1.45}
.m3d-editor-link-v137{
  flex:0 0 auto;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  background:#315bb8;
  color:#fff!important;
  text-decoration:none!important;
  font-size:.86rem;
  font-weight:800;
  line-height:1.25;
  text-align:center;
}
.m3d-editor-link-v137:hover{filter:brightness(.96)}
@media (min-width:980px){
  .m3d-group-v135{
    width:min(960px, calc(100vw - 56px));
    max-width:none;
    position:relative;
    left:50%;
    transform:translateX(-50%);
  }
  .m3d-frame-v135{height:680px}
}
@media(max-width:760px){
  .m3d-editor-callout-v137{margin:12px 15px 0;align-items:stretch;flex-direction:column}
  .m3d-editor-link-v137{width:100%}
}
