/* Vertical phone showreel — everything scoped to #mstage (400 x 800 logical px) */
#mstage{position:relative;width:var(--sw,400px);height:800px;overflow:hidden;background:#07070A;color:#F4F3EE;font-family:I,system-ui,sans-serif;-webkit-font-smoothing:antialiased;--tq:#22E4D0;--blue:#3D6BFF;--sky:#1FB2FF}
#mstage *{box-sizing:border-box;margin:0;padding:0}
#mstage #mcam{position:absolute;left:calc((var(--sw,400px) - 400px) / 2);top:0;width:400px;height:800px}
/* full-bleed layers reach the stage edges even when the stage is wider than the 400px content column */
#mstage #mbg,#mstage #m1bg,#mstage #mpanel,#mstage #mflash{left:calc((400px - var(--sw,400px)) / 2);width:var(--sw,400px)}
#mstage>.mfull{width:100% !important}
#mstage .mabs{position:absolute}
#mstage .mfull{position:absolute;left:0;top:0;width:400px;height:800px}
#mstage .msc{position:absolute;left:0;top:0;width:400px;height:800px;display:none}
#mstage .mdisp{font-family:U;font-weight:800;letter-spacing:-0.035em;line-height:1;white-space:nowrap}
#mstage .mmono{font-family:M;font-weight:500;letter-spacing:.16em;text-transform:uppercase;font-size:11px;white-space:nowrap}
#mstage .mm{display:inline-block;overflow:hidden;vertical-align:top;padding:.08em .02em .14em;margin:-.08em -.02em -.14em}
#mstage .mc{display:inline-block;white-space:pre}
#mstage .morb{position:absolute;left:0;top:0;width:760px;height:760px;border-radius:50%}
#mstage #m1line{display:none}
#mstage #mflash{background:#fff;opacity:0;pointer-events:none;z-index:30}
#mstage #mslab1,#mstage #mslab2{top:-100px;width:1500px;height:1000px;display:none;z-index:20}
#mstage #mslab2{background:#0E0E14;z-index:21}
#mstage #mcirci{position:absolute;border-radius:50%;background:var(--tq)}
#mstage #mtap{left:0;top:0;width:28px;height:28px;display:none;z-index:25;pointer-events:none}
#mstage #mtap i{position:absolute;inset:0;border-radius:50%;background:rgba(255,255,255,.9);box-shadow:0 4px 14px rgba(0,0,0,.5)}
#mstage #mtap::after{content:"";position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;border:2px solid #fff;transform:scale(var(--ring,0));opacity:var(--ro,0)}

/* logo (stacked) */
#mstage .mlogo{position:absolute;left:0;top:0;transform-origin:0 0;display:flex;flex-direction:column;align-items:center}
#mstage .mlogo-vn{margin-top:14px;letter-spacing:-.02em;color:#F4F3EE}
#mstage .mlogo-tech{font-weight:600;font-size:15px;letter-spacing:.5em;color:#B9B9C6;margin-top:8px;padding-left:.5em;white-space:nowrap}

/* S3 mini site */
#mstage #msite{position:absolute;left:20px;top:64px;width:360px;height:670px;border-radius:30px;background:#0E0E14;border:1px solid rgba(255,255,255,.1);overflow:hidden;box-shadow:0 50px 100px rgba(0,0,0,.7);transform-origin:50% 80%}
#mstage .msite-bar{height:48px;display:flex;align-items:center;justify-content:center;background:#15151D;border-bottom:1px solid rgba(255,255,255,.06)}
#mstage .msite-url{display:flex;align-items:center;gap:7px;width:250px;height:30px;border-radius:15px;background:#0A0A0F;padding:0 14px;font-family:M;font-size:12px;color:#c9c9d2}
#mstage #mcaret{display:block;width:1.5px;height:14px;background:var(--tq);margin-left:-4px}
#mstage .msite-nav{display:flex;align-items:center;justify-content:space-between;padding:14px 20px}
#mstage #mnavlogo{display:flex;align-items:center;gap:7px;opacity:0}
#mstage #mnavlogo b{font-family:U;font-weight:800;font-size:16px;letter-spacing:-.02em}
#mstage .mburger{display:grid;gap:5px}#mstage .mburger i{display:block;width:20px;height:2px;border-radius:1px;background:#F4F3EE}
#mstage #mhl{position:absolute;left:22px;top:124px;font-size:34px;line-height:1.08;white-space:normal}
#mstage #msub{position:absolute;left:22px;top:250px;width:310px;font-size:14.5px;line-height:1.5;color:#a4a4b2}
#mstage #mcta{position:absolute;left:22px;top:316px;height:46px;padding:0 22px;border-radius:23px;background:var(--tq);color:#07070A;font-weight:700;font-size:15px;display:flex;align-items:center;gap:8px}
#mstage #mheroimg{position:absolute;left:20px;top:384px;width:320px;height:150px;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#3D6BFF,#2B9BFF 45%,#1FB2FF)}
#mstage #msun{position:absolute;right:30px;top:18px;width:54px;height:54px;border-radius:50%;background:var(--tq);box-shadow:0 0 40px rgba(34,228,208,.6)}
#mstage #mgal{position:absolute;left:20px;top:552px;display:flex;gap:13px}
#mstage .mgt{position:relative;width:98px;height:76px;border-radius:12px;overflow:hidden}

/* plans */
#mstage .mpf{display:flex;align-items:center;gap:12px;font-size:15.5px;font-weight:500;color:#ECEBE6;white-space:nowrap}
#mstage .mill{position:absolute;inset:0}
#mstage .mcard{background:linear-gradient(180deg,#1A1A24,#121219);border:1px solid rgba(255,255,255,.09);border-radius:16px;box-shadow:0 24px 50px rgba(0,0,0,.5)}
#mstage .mrow{display:flex;gap:18px}
#mstage .mtl{position:relative;width:108px;height:64px;border-radius:11px;overflow:hidden}
#mstage .mform{position:absolute;left:0;top:78px;width:360px;height:54px;display:flex;align-items:center;gap:10px;padding:0 8px 0 14px}
#mstage .minput{flex:1;display:flex;align-items:center;font-size:13px;color:#e6e6ea;height:36px;border-radius:9px;background:#0B0B10;border:1px solid rgba(255,255,255,.1);padding:0 10px;overflow:hidden;white-space:nowrap}
#mstage .mtc{display:block;width:1.5px;height:15px;margin-left:1px}
#mstage .msend{position:relative;flex:none;width:86px;height:36px;border-radius:18px;color:#07070A;font-weight:700;font-size:13px;overflow:hidden}
#mstage .msend span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
#mstage .mstars{position:absolute;left:0;top:144px;display:flex;align-items:center;gap:3px;color:#FFB020;font-size:16px}
#mstage .mstars span{display:inline-block}
#mstage .mstars em{font-style:normal;font-family:M;font-size:9px;letter-spacing:.2em;text-transform:uppercase;color:#8a8a98;margin-left:10px}
#mstage .madm{display:flex;gap:12px;padding:12px}
#mstage .mpv{width:150px;flex:none}
#mstage .mpvh{height:84px;border-radius:10px;padding:12px;transition:background .3s}
#mstage .mpvh i{display:block;height:9px;width:90px;border-radius:3px;background:#07070A}
#mstage .mpvh i.s{width:60px;margin-top:6px}
#mstage .mpvh b{display:block;width:50px;height:16px;border-radius:8px;background:#07070A;margin-top:10px}
#mstage .mpvt{display:flex;gap:6px;margin-top:8px}
#mstage .mpvt i{flex:1;height:40px;border-radius:7px;background:linear-gradient(135deg,#22E4D0,#3D6BFF)}
#mstage .mctl{flex:1;display:grid;gap:7px}
#mstage .msw{position:relative;display:flex;gap:8px}
#mstage .msw i{display:block;width:18px;height:18px;border-radius:50%}
#mstage .mring{position:absolute;left:-3px;top:-3px;width:24px;height:24px;border-radius:50%;border:2px solid #fff}
#mstage .mtgr{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#dcdce4}
#mstage .mtog{position:relative;width:32px;height:18px;border-radius:9px;background:#2b2b36}
#mstage .mtog i{position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff;display:block}
#mstage .mpub{position:relative;height:30px;border-radius:9px;color:#fff;font-weight:700;font-size:12px;overflow:hidden}
#mstage .mpub span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
#mstage .mpay{position:absolute;left:0;top:0;width:172px;height:106px;border-radius:14px;overflow:hidden;background:linear-gradient(125deg,#1FB2FF,#1E6BFF 50%,#3D6BFF);padding:12px;color:#fff;box-shadow:0 24px 50px rgba(0,0,0,.55)}
#mstage .mpay-glow{position:absolute;right:-60px;top:-80px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.12)}
#mstage .mchip{position:absolute;left:12px;top:36px;width:32px;height:24px;border-radius:5px;background:linear-gradient(135deg,#F7E08A,#C9A54A)}
#mstage .mnum{position:absolute;left:12px;bottom:12px;font-family:M;font-size:13px;letter-spacing:.1em}
#mstage .mshine{position:absolute;top:-60px;left:0;width:70px;height:240px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent)}
#mstage .mchart{position:absolute;right:0;top:0;width:176px;height:106px;overflow:hidden}
#mstage .mchd{display:flex;justify-content:space-between;padding:10px 12px 2px}
#mstage .mrvn{padding:0 12px;font-size:20px}
#mstage .mtoast{position:absolute;left:0;top:118px;width:360px;height:50px;border-radius:13px;background:linear-gradient(180deg,#1C1C26,#14141B);border:1px solid rgba(255,255,255,.09);box-shadow:0 18px 40px rgba(0,0,0,.5);display:flex;align-items:center;gap:11px;padding:0 12px;transform-origin:50% 0}
#mstage .mtic{flex:none;width:28px;height:28px;border-radius:8px}
#mstage .mtoast>div,#mstage .mtoast em{transition:opacity .2s}
#mstage .mtoast b{display:block;font-size:13px;font-weight:600}
#mstage .mtoast span{display:block;font-size:11px;color:#9a9aa8}
#mstage .mtoast em{margin-left:auto;font-style:normal;font-family:M;font-size:9px;color:#77778a}

/* lineup */
#mstage .mlc{position:absolute;left:24px;width:352px;height:170px;border-radius:20px;padding:18px 20px;background:linear-gradient(180deg,#191922,#111117);border:1px solid rgba(255,255,255,.09);overflow:hidden;box-shadow:0 30px 60px rgba(0,0,0,.55)}
#mstage .mlc::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--c)}
#mstage .mlc.is-feat{border:1.5px solid var(--c);background:linear-gradient(180deg,#132044,#0E1124);box-shadow:0 30px 80px -20px rgba(61,107,255,.5)}
#mstage .mlc-price{position:absolute;right:20px;top:18px;display:flex;align-items:flex-start;gap:2px}
#mstage .mlc.is-feat .mlc-price{top:18px}
#mstage .mlc-f{display:flex;flex-direction:column;gap:5px;margin-top:14px;font-size:13px;color:#cfcfd8}
#mstage .mbadge{position:absolute;right:18px;bottom:16px;font-family:M;font-size:9px;letter-spacing:.16em;text-transform:uppercase;background:var(--blue);color:#fff;padding:5px 9px;border-radius:12px}
#mstage .mlshine{position:absolute;top:-100px;left:0;width:80px;height:400px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent)}

/* end */
#mstage #mectab{height:56px;padding:0 30px;border-radius:28px;background:var(--tq);color:#07070A;font-weight:700;font-size:18px;display:flex;align-items:center;gap:10px;cursor:pointer;box-shadow:0 16px 40px -8px rgba(34,228,208,.6)}

/* hud */
#mstage #mhud{position:absolute;left:calc((var(--sw,400px) - 352px) / 2);width:352px;bottom:40px;pointer-events:none;mix-blend-mode:difference;color:#fff}
#mstage #mhch{display:none}
#mstage #mhbar{margin-top:8px;height:2px;background:rgba(255,255,255,.2)}
#mstage #mhprog{display:block;height:2px;width:0;background:#fff}
#mstage #mgrain{position:absolute;left:0;top:0;width:100%;height:800px;opacity:.09;mix-blend-mode:overlay;pointer-events:none}

/* end screen: plan rows + secondary buttons */
#mstage .mec{position:relative;height:78px;border-radius:18px;padding:0 16px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:linear-gradient(180deg,rgba(26,26,36,.94),rgba(16,16,23,.94));border:1px solid rgba(255,255,255,.1);overflow:hidden;cursor:pointer}
#mstage .mec::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--c)}
#mstage .mec.is-feat{border-color:rgba(61,107,255,.65);background:linear-gradient(180deg,rgba(20,32,66,.96),rgba(14,17,36,.96));box-shadow:0 20px 50px -18px rgba(61,107,255,.6)}
#mstage .mec-l{min-width:0}
#mstage .mec-b{display:inline-block;font-size:8px;padding:4px 7px;border-radius:9px;background:var(--c);color:#fff;letter-spacing:.12em;margin-right:7px;vertical-align:1px}
#mstage .mec-t{margin-top:7px;font-size:11.5px;color:#a9a9b6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#mstage .mec-r{flex:none;display:flex;align-items:flex-start;gap:2px}
#mstage .mec-r i{font-style:normal;align-self:center;margin-left:8px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1.5px solid rgba(255,255,255,.22);font-size:13px}
#mstage .mec.is-feat .mec-r i{background:var(--c);border-color:var(--c);color:#fff}
#mstage .meb2{flex:1;height:46px;border-radius:23px;border:1.5px solid rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14.5px;color:#f4f3ee;background:rgba(7,7,10,.35);cursor:pointer}
