:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-card{display:flex;align-items:center;gap:12px;width:306px;min-height:84px;padding:12px;border:1px solid #14141420;border-radius:16px;background:#fff;box-shadow:0 3px 12px #00000006;color:#111;text-align:left;font:inherit;cursor:pointer;transition:transform 180ms,border-color 180ms,box-shadow 180ms;flex-shrink:0}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-card:hover{transform:translateY(-1px);border-color:#1115;box-shadow:0 5px 16px #0000000d}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-card:focus-visible,:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-player :focus-visible{outline:3px solid #ffda00;outline-offset:3px}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-thumb{position:relative;display:block;width:92px;height:58px;flex:0 0 92px;overflow:hidden;border-radius:9px;background:#242424}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-thumb img{display:block;width:100%;height:100%;object-fit:cover;margin:0;padding:0;border:0}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-play{position:absolute;left:5px;bottom:5px;width:24px;height:24px;border-radius:50%;background:#ffda00;display:grid;place-items:center;box-shadow:0 1px 5px #0002}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-play:after{content:'';display:block;margin-left:2px;border-left:8px solid #111;border-top:5px solid transparent;border-bottom:5px solid transparent}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-copy{display:block;flex:1;min-width:0}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-copy strong{display:block;color:#111;font-size:15px;font-weight:600;line-height:1.35;white-space:nowrap;letter-spacing:-.3px}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-copy small{display:block;color:#747479;font-size:12px;line-height:1.45;margin-top:3px;white-space:nowrap;letter-spacing:0}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-arrow{display:block;flex:0 0 16px;width:16px;color:#222;font:24px/1 Arial,sans-serif;text-align:center}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-heading{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:30px;align-items:center;scroll-margin-top:80px}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-heading>div{max-width:680px}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-panel{margin-top:22px!important}
/* Container width, rather than window width, decides whether the intro can share a row. */
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) #pu-stage-1{container-type:inline-size;container-name:mg-builder-intro}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) #pu-stage-1 .pu-head.mg-explainer-builder-head{display:block}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head h1{white-space:normal}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .mg-explainer-card{width:100%;max-width:390px;margin-top:17px}
@container mg-builder-intro (min-width:600px){
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) #pu-stage-1 .pu-head.mg-explainer-builder-head{display:grid;grid-template-columns:minmax(0,1fr) 248px;column-gap:24px;row-gap:0;align-items:center}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .pu-h1{grid-column:1;grid-row:1}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .pu-sub{grid-column:1;grid-row:2}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .mg-explainer-card{grid-column:2;grid-row:1 / span 2;width:248px;min-height:80px;padding:10px;gap:10px;margin-top:0}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .mg-explainer-thumb{width:70px;flex-basis:70px;height:56px}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .mg-explainer-copy strong{font-size:13px;letter-spacing:-.2px}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .mg-explainer-copy small{font-size:11px}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .mg-explainer-arrow{flex-basis:14px;width:14px}
}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-player{--mg-room-w:calc(100vw - 32px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));--mg-room-h:calc(var(--mg-window-height,100dvh) - 160px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));--mg-video-h:min(720px,var(--mg-room-h),calc(var(--mg-room-w) * 16 / 9));display:none;grid-template-rows:44px auto 78px;gap:8px;width:max(200px,calc(var(--mg-video-h) * 9 / 16));max-width:var(--mg-room-w);max-height:none;padding:0;border:0;margin:auto;overflow:visible;background:transparent;color:white;font-family:Inter,Arial,sans-serif;box-shadow:none}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-player[open]{display:grid;animation:mg-player-in 200ms ease-out}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-player::backdrop{background:rgba(10,10,12,.84);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);animation:mg-backdrop-in 200ms ease-out}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-top{height:44px;display:flex;justify-content:flex-end}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-close{width:44px;height:44px;min-width:44px;min-height:44px;display:grid;place-items:center;padding:0;margin:0;background:transparent;border:0;box-shadow:none;color:white;cursor:pointer}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-close svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-close{border-radius:8px}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-close:hover{background:#ffffff12}

:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-frame{position:relative;justify-self:center;width:calc(var(--mg-video-h) * 9 / 16);height:var(--mg-video-h);border-radius:20px;overflow:hidden;background:#f5f5f5;box-shadow:0 18px 54px #0004}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-frame video{display:block;width:100%;height:100%;aspect-ratio:9/16;object-fit:contain;padding:0;margin:0;border:0;background:#f5f5f5}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-actions{display:grid;grid-template-rows:48px 24px;gap:6px;height:78px;width:100%;margin:0;padding:0}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-action{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:48px;min-height:48px;padding:0 18px;border:1px solid #ffffff38;border-radius:13px;background:#ffffff0a;color:#fff;text-decoration:none;font:600 14px/20px Inter,Arial,sans-serif;white-space:nowrap;cursor:pointer;transition:background 180ms,color 180ms,border-color 180ms;box-shadow:none;margin:0}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-player[data-state=ended] .mg-explainer-action{background:#ffda00;border-color:#ffda00;color:#111}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-replay{display:block;justify-self:center;height:24px;min-height:24px;width:auto;border:0;border-radius:0;background:transparent;color:#ffffffb3;padding:0 8px;margin:0;font:400 12px/24px Inter,Arial,sans-serif;cursor:pointer;box-shadow:none}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-feedback{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% - 32px);padding:16px 12px;text-align:center;border-radius:14px;background:rgb(255 255 255 / .96);color:#161616;box-shadow:0 4px 20px #0001}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-message{display:block;font:500 13px/1.45 Inter,Arial,sans-serif}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-start,:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-retry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;margin:10px 0 0;border:0;border-radius:12px;background:#ffda00;color:#111;font:600 14px/20px Inter,Arial,sans-serif;white-space:nowrap;cursor:pointer}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-spinner{display:block;width:20px;height:20px;margin:0 auto 9px;border:2px solid #1112;border-top-color:#111;border-radius:50%;animation:mg-loading 900ms linear infinite}
:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-player [hidden]{display:none!important}
@keyframes mg-loading{to{transform:rotate(360deg)}}
@keyframes mg-player-in{from{opacity:0;transform:translateY(5px) scale(.985)}to{opacity:1;transform:none}}
@keyframes mg-backdrop-in{from{opacity:0}to{opacity:1}}
@media(max-width:767px){:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-heading{display:block;scroll-margin-top:72px}:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-heading>.mg-explainer-card{margin-top:18px}:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-card{width:100%;min-height:84px;padding:12px;border-radius:16px;gap:12px}:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .mg-explainer-card{max-width:none}:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head h1{white-space:normal}:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-panel{margin-top:16px!important}}
@media(prefers-reduced-motion:reduce){:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-player[open],:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-player::backdrop{animation:none}:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-card,:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-action{transition:none}:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-card:hover{transform:none}}

/* A side close control frees 52px of height without touching the video content. */
@media(max-height:600px){
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-player{--mg-room-h:calc(var(--mg-window-height,100dvh) - 92px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));--mg-video-h:min(720px,var(--mg-room-h),calc((var(--mg-room-w) - 96px) * 16 / 9));grid-template-rows:auto 66px;gap:6px}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-top{position:absolute;top:0;right:-48px;width:44px;height:44px}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-actions{height:66px;grid-template-rows:44px 20px;gap:2px}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-action{height:44px;min-height:44px}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-replay{height:20px;min-height:20px;line-height:20px}
}
@media(prefers-reduced-motion:reduce){:is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-spinner{animation:none}}
@media(max-width:767px){
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) #pu-stage-1 .pu-head.mg-explainer-builder-head{display:block}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .mg-explainer-card{width:100%;max-width:none;margin-top:17px;padding:12px;gap:12px;min-height:84px}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .mg-explainer-thumb{width:92px;flex-basis:92px;height:58px}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .mg-explainer-copy strong{font-size:15px}
 :is(body.mg-production-explainer-scope, #mg-explainer-dialog) .mg-explainer-builder-head .mg-explainer-copy small{font-size:12px}
}
