/* Mate Add — dark teal UI. Plain CSS (no Tailwind needed). */
:root{
  --bg:#031116; --bg2:#06242a; --panel:rgba(255,255,255,.045); --panel2:rgba(255,255,255,.07);
  --line:rgba(255,255,255,.09); --text:#f2fbfa; --muted:#9db4b8; --dim:#6f8a8f;
  --mint:#2fe6c2; --mint2:#16c9a6; --mint-ink:#032b25; --danger:#ff6b6b; --warn:#ffbd59;
  --r:18px; --side:248px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.m-body{margin:0;min-height:100vh;color:var(--text);font:400 15px/1.45 Inter,"SF Pro Text",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  background:radial-gradient(1200px 700px at 85% -10%,#0b4a4a 0,transparent 60%),radial-gradient(900px 600px at -10% 110%,#08343a 0,transparent 55%),linear-gradient(160deg,var(--bg2),var(--bg) 60%);background-attachment:fixed}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit;color:inherit}
.ic{width:1.25em;height:1.25em;flex:none;display:inline-block;vertical-align:middle}
h1,h2,h3,p{margin:0}

/* ---------- shell ---------- */
.m-shell{display:flex;min-height:100vh}
.m-side{position:fixed;inset:0 auto 0 0;width:var(--side);padding:22px 14px;display:flex;flex-direction:column;border-right:1px solid var(--line);background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.012));backdrop-filter:blur(14px);z-index:30}
.m-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:21px;letter-spacing:-.01em;padding:4px 10px 22px}
.m-brand .ic{width:40px;height:28px}
.m-brand b{color:var(--mint);font-weight:700}
.m-nav{display:grid;gap:4px}
.m-nav a,.m-nav button{display:flex;align-items:center;gap:14px;width:100%;padding:12px 16px;border:0;background:none;border-radius:12px;color:var(--muted);font-size:15px;font-weight:500;cursor:pointer;text-align:left;transition:background .15s,color .15s}
.m-nav a:hover,.m-nav button:hover{background:var(--panel);color:var(--text)}
.m-nav a.is-on{background:var(--panel2);color:var(--text)}
.m-nav a.is-on .ic{color:var(--mint)}
.m-nav .ic{width:22px;height:22px}
.m-side-foot{margin-top:auto;padding-top:14px;border-top:1px solid var(--line)}
.m-main{flex:1;min-width:0;margin-left:var(--side);padding:26px 34px 40px}
.m-wrap{max-width:1120px;margin:0 auto}

/* top bar */
.m-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.m-top h1{font-size:26px;font-weight:700;letter-spacing:-.015em}
.m-top p{color:var(--muted);margin-top:2px;font-size:14px}
.m-top-r{display:flex;align-items:center;gap:14px;position:relative}
.m-mbrand{display:none}
.m-mtop{display:none;align-items:center;justify-content:space-between;margin-bottom:14px}
.m-mtop-r{display:flex;align-items:center;gap:8px;position:relative}
.m-level-m{display:none}
.m-bell{width:42px;height:42px;border-radius:50%;border:0;background:none;display:grid;place-items:center;color:var(--text);cursor:pointer}
.m-bell:hover{background:var(--panel)}
.m-bell .ic{width:24px;height:24px}
.m-pop{position:absolute;right:0;top:50px;width:250px;padding:14px 16px;border-radius:14px;background:#0a2a30;border:1px solid var(--line);box-shadow:0 18px 40px #0008;font-size:13.5px;color:var(--muted);z-index:40}
.m-pop b{display:block;color:var(--text);margin-bottom:2px}
.m-avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:19px;color:var(--mint-ink);background:linear-gradient(145deg,#9bf5e1,#2fe6c2 55%,#16b79b);border:3px solid rgba(255,255,255,.75);flex:none}
.m-level{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:999px;border:1px solid rgba(47,230,194,.55);background:rgba(47,230,194,.1);color:var(--mint);font-weight:600;font-size:14px;white-space:nowrap}
.m-level .ic{width:18px;height:18px}

/* cards */
.m-card{border:1px solid var(--line);border-radius:var(--r);background:linear-gradient(180deg,var(--panel2),var(--panel));box-shadow:0 12px 30px -18px #000a}
.m-stat{display:flex;align-items:center;gap:18px;padding:20px 22px}
.m-stat.is-mint{border-color:rgba(47,230,194,.5);background:linear-gradient(120deg,rgba(47,230,194,.16),rgba(47,230,194,.05))}
.m-ico{width:60px;height:60px;border-radius:16px;display:grid;place-items:center;flex:none;background:rgba(255,255,255,.08);border:1px solid var(--line);color:#e8fffb}
.m-ico .ic{width:28px;height:28px}
.m-stat small{display:block;color:var(--muted);font-size:14px}
.m-stat strong{display:block;font-size:30px;font-weight:700;letter-spacing:-.02em;margin-top:2px}
.m-stat .m-go{margin-left:auto}
.m-grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.m-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:46px;padding:0 22px;border:0;border-radius:12px;background:var(--mint);color:var(--mint-ink);font-weight:700;font-size:15px;cursor:pointer;box-shadow:0 8px 22px -10px rgba(47,230,194,.8);transition:filter .15s,transform .15s}
.m-btn:hover{filter:brightness(1.06);transform:translateY(-1px)}
.m-btn .ic{width:19px;height:19px}
.m-btn.is-sm{height:40px;padding:0 18px;font-size:14px}
.m-btn.is-block{width:100%}
.m-btn.is-ghost{background:transparent;color:var(--mint);border:1px solid rgba(47,230,194,.6);box-shadow:none}
.m-btn[disabled]{background:#2a4046;color:#7e969b;box-shadow:none;cursor:not-allowed;transform:none;filter:none}

/* hero */
.m-hero{position:relative;overflow:hidden;margin-top:18px;padding:44px 48px;min-height:280px;border-radius:22px;border:1px solid var(--line);background:linear-gradient(100deg,rgba(6,28,34,.95) 30%,rgba(8,70,70,.55)),radial-gradient(500px 300px at 85% 40%,rgba(47,230,194,.35),transparent 70%)}
.m-hero h2{font-size:44px;line-height:1.1;font-weight:800;letter-spacing:-.025em;max-width:560px}
.m-hero h2 span{color:var(--mint)}
.m-hero p{margin:14px 0 24px;color:#c4d6d8;font-size:19px;max-width:420px;line-height:1.4}
.m-hero .m-btn{height:56px;padding:0 30px;font-size:19px;border-radius:14px}
.m-hero-art{position:absolute;right:-10px;top:50%;transform:translateY(-50%);width:58%;max-width:600px;height:130%;pointer-events:none}

/* sections */
.m-sec{display:flex;align-items:center;justify-content:space-between;margin:30px 0 14px}
.m-sec h3{font-size:19px;font-weight:700}
.m-sec a{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:14px}
.m-sec a .ic{width:15px;height:15px}
.m-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.m-q{display:block;padding:22px 20px 20px;transition:transform .15s,border-color .15s}
.m-q:hover{transform:translateY(-2px);border-color:rgba(47,230,194,.45)}
.m-q .m-qi{width:64px;height:64px;border-radius:16px;display:grid;place-items:center;color:#fff;margin-bottom:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
.m-q .m-qi .ic{width:30px;height:30px}
.m-q b{display:block;font-size:19px;font-weight:700}
.m-q span{color:var(--muted);font-size:14.5px}
.t-green{background:linear-gradient(145deg,#2fd98b,#17a566)}.t-purple{background:linear-gradient(145deg,#7b5cf0,#5a3fd6)}.t-orange{background:linear-gradient(145deg,#ffc06a,#f59a2b)}.t-blue{background:linear-gradient(145deg,#4aa0ff,#2b72e6)}

.m-empty{display:grid;justify-items:center;text-align:center;gap:6px;padding:36px 20px}
.m-empty .ic{width:58px;height:58px;color:#bfd1d4;margin-bottom:8px}
.m-empty b{font-size:18px}
.m-empty span{color:var(--muted)}
.m-act{display:flex;align-items:center;gap:14px;padding:14px 18px;border-top:1px solid var(--line)}
.m-act:first-child{border-top:0}
.m-act .m-ai{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(47,230,194,.12);color:var(--mint);flex:none}
.m-act b{display:block;font-size:15px}
.m-act small{color:var(--muted);font-size:13px}
.m-act em{margin-left:auto;font-style:normal;font-weight:700;color:var(--mint);white-space:nowrap}
.m-help{display:flex;align-items:center;gap:18px;margin-top:18px;padding:18px 22px}
.m-help .m-ico{width:52px;height:52px;background:none;border:0;color:#cfe3e5}
.m-help b{display:block;font-size:17px}
.m-help p{color:var(--muted);font-size:14.5px}
.m-help .m-btn{margin-left:auto}

/* pills & forms */
.m-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:999px;font-size:12.5px;font-weight:700;background:rgba(255,255,255,.08);color:var(--muted)}
.m-pill.is-ok{background:rgba(47,230,194,.15);color:var(--mint)}.m-pill.is-wait{background:rgba(255,189,89,.15);color:var(--warn)}.m-pill.is-bad{background:rgba(255,107,107,.15);color:var(--danger)}
.m-form{display:grid;gap:16px}
.m-field{display:grid;gap:7px}
.m-field label{font-size:13.5px;color:var(--muted);font-weight:600}
.m-in{display:flex;align-items:center;gap:12px;height:54px;padding:0 16px;border-radius:14px;border:1px solid var(--line);background:rgba(2,14,18,.55);transition:border-color .15s,box-shadow .15s}
.m-in:focus-within{border-color:rgba(47,230,194,.7);box-shadow:0 0 0 3px rgba(47,230,194,.13)}
.m-in .ic{color:var(--mint);width:20px;height:20px}
.m-in input,.m-in select{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:15.5px}
.m-in select option{color:#111;background:#fff}
.m-in input::placeholder{color:#6a8286}
.m-in input:disabled{opacity:1;-webkit-text-fill-color:var(--text)}
.m-in input[type=file]{padding-top:15px;font-size:14px;color:var(--muted)}
.m-in input[type=file]::file-selector-button{margin-right:12px;padding:7px 14px;border:0;border-radius:9px;background:rgba(47,230,194,.16);color:var(--mint);font-weight:600;cursor:pointer}
.m-err{color:var(--danger);font-size:13.5px}
.m-alert{padding:13px 16px;border-radius:14px;font-size:14.5px;border:1px solid var(--line);background:var(--panel)}
.m-alert.is-bad{border-color:rgba(255,107,107,.5);background:rgba(255,107,107,.1);color:#ffc9c9}
.m-alert.is-ok{border-color:rgba(47,230,194,.5);background:rgba(47,230,194,.1);color:#bff7ea}
.m-alert.is-warn{border-color:rgba(255,189,89,.5);background:rgba(255,189,89,.09);color:#ffe2b0}
.m-hint{color:var(--dim);font-size:13px}
.m-narrow{max-width:520px;margin:0 auto}
.m-panel{padding:26px}

/* lists */
.m-list{overflow:hidden}
.m-row{display:flex;align-items:center;gap:14px;padding:15px 18px;border-top:1px solid var(--line)}
.m-row:first-child{border-top:0}
.m-num{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:700;background:rgba(47,230,194,.14);color:var(--mint);flex:none}
.m-row b{display:block}.m-row small{color:var(--muted);font-size:13px;word-break:break-all}
.m-row .m-amt{margin-left:auto;text-align:right;display:grid;gap:4px;justify-items:end}
.m-row .m-amt strong{font-size:17px}
.m-stats3{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.m-mini{padding:18px 20px}
.m-mini small{display:block;color:var(--muted);font-size:13.5px}
.m-mini strong{display:block;font-size:24px;margin-top:4px;letter-spacing:-.01em}
button.m-mini{text-align:left;width:100%;cursor:pointer;font:inherit;color:inherit}
.m-mini.is-mint{border-color:rgba(47,230,194,.5);background:linear-gradient(120deg,rgba(47,230,194,.16),rgba(47,230,194,.05))}

/* watch */
.m-videos{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}
.m-vid{padding:12px;display:grid;gap:12px}
.m-vid video{width:100%;aspect-ratio:16/10;border-radius:12px;background:#000;object-fit:cover;display:block}
.m-vid-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 4px 4px}
.m-vid-foot b{font-size:15px}

/* invite */
.m-copy{display:flex;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:rgba(2,14,18,.55)}
.m-copy input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:0 16px;height:54px;font-size:14.5px}
.m-copy button{display:flex;align-items:center;gap:8px;border:0;padding:0 20px;background:var(--warn);color:#2b1c00;font-weight:700;cursor:pointer}

/* auth / bare */
.m-bare{min-height:100vh;display:grid;place-items:center;padding:28px 18px}
.m-auth{width:100%;max-width:440px}
.m-auth .m-brand{justify-content:center;padding:0 0 22px;font-size:26px}
.m-auth .m-brand .ic{width:52px;height:36px}
.m-auth h1{font-size:26px;text-align:center;font-weight:700}
.m-auth .m-sub{text-align:center;color:var(--muted);margin:6px 0 24px}
.m-auth .m-foot{text-align:center;color:var(--muted);margin-top:18px}
.m-auth .m-foot a{color:var(--mint);font-weight:700}
.m-wa{position:fixed;right:18px;bottom:18px;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;box-shadow:0 10px 26px -8px #25d366aa;z-index:50}
.m-wa .ic{width:28px;height:28px}
.m-status-ico{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:rgba(47,230,194,.14);color:var(--mint)}
.m-status-ico .ic{width:36px;height:36px}
.m-acc{padding:16px 18px;border-radius:14px;border:1px solid rgba(47,230,194,.45);background:rgba(47,230,194,.08);display:grid;gap:4px;text-align:center}
.m-acc b{color:var(--mint)}

/* bottom nav (mobile) */
.m-bnav{display:none}

@media (max-width:1100px){
  .m-quick{grid-template-columns:repeat(2,1fr)}
  .m-hero h2{font-size:36px}
  .m-stats3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .m-side{display:none}
  .m-main{margin-left:0;padding:16px 16px calc(96px + env(safe-area-inset-bottom))}
  .m-mbrand{display:flex;align-items:center;gap:9px;font-weight:700;font-size:21px}
  .m-mbrand .ic{width:38px;height:27px}.m-mbrand b{color:var(--mint)}
  .m-top{flex-wrap:wrap;gap:6px 12px;margin-bottom:16px}
  .m-top-r{display:none}
  .m-mtop{display:flex}
  .m-level-m{display:inline-flex}
  .m-top{flex-wrap:nowrap;align-items:flex-start}
  .m-top h1{font-size:21px}
  .m-top p{font-size:13.5px}
  .m-top-r .m-avatar{width:42px;height:42px;font-size:16px;border-width:2px}
  .m-bell{width:38px;height:38px}
  .m-level{height:32px;padding:0 12px;font-size:13px}
  .m-grid2{grid-template-columns:1fr;gap:12px}
  .m-stat{padding:14px 16px;gap:14px}
  .m-ico{width:48px;height:48px;border-radius:13px}.m-ico .ic{width:24px;height:24px}
  .m-stat strong{font-size:24px}
  .m-hero{padding:22px 20px;min-height:0;margin-top:12px}
  .m-hero h2{font-size:27px;max-width:200px}
  .m-hero p{font-size:14px;max-width:210px;margin:10px 0 16px}
  .m-hero .m-btn{height:44px;font-size:15px;padding:0 18px}
  .m-hero-art{width:62%;right:-26px;opacity:.95}
  .m-sec{margin:22px 0 12px}.m-sec h3{font-size:17px}
  .m-quick{grid-template-columns:1fr 1fr;gap:12px}
  .m-q{display:flex;align-items:center;gap:12px;padding:14px}
  .m-q .m-qi{width:48px;height:48px;border-radius:13px;margin:0;flex:none}.m-q .m-qi .ic{width:24px;height:24px}
  .m-q b{font-size:15px}.m-q span{font-size:11.5px;display:block;line-height:1.25}
  .m-help{flex-wrap:wrap;padding:14px 16px;gap:12px}
  .m-help .m-btn{width:100%;margin:0}
  .m-panel{padding:18px}
  .m-bnav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(4,22,27,.92);backdrop-filter:blur(16px);border-top:1px solid var(--line)}
  .m-bnav a{flex:1;display:grid;justify-items:center;gap:3px;padding:6px 0;color:var(--dim);font-size:11.5px;font-weight:500}
  .m-bnav a .ic{width:24px;height:24px}
  .m-bnav a.is-on{color:var(--mint)}
  .m-wa{bottom:86px}
}
@media (max-width:420px){
  .m-stats3{gap:10px}.m-mini{padding:14px}.m-mini strong{font-size:20px}
  .m-hero h2{font-size:25px}
}

.m-level-m{display:none}
@media (max-width:900px){.m-level-m{display:inline-flex;margin-left:auto}.m-top>div:first-child{min-width:0}}
.m-bare{padding-bottom:96px}
@media (max-width:900px){.m-wa{width:50px;height:50px;right:14px}.m-wa .ic{width:25px;height:25px}}

.m-mini-btn{margin-top:12px;width:100%;height:38px;font-size:13.5px}

.m-slider{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin-bottom:10px}
.m-slider::-webkit-scrollbar{display:none}
.m-slide{flex:0 0 100%;scroll-snap-align:center}
.m-dots{display:flex;justify-content:center;gap:7px;margin-bottom:16px}
.m-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.25);cursor:pointer;transition:width .2s,background .2s}
.m-dots i.is-on{width:20px;border-radius:6px;background:var(--mint)}
.m-slide{flex:0 0 86%;scroll-snap-align:start}
.m-slider{scroll-padding-left:0}
.m-slider::after{content:"";flex:0 0 1px}
@media (min-width:901px){.m-slide{flex-basis:78%}}

/* watch room */
.m-steps{display:flex;align-items:center;justify-content:space-around;gap:10px;padding:16px 22px;margin-bottom:22px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(180deg,var(--panel2),var(--panel))}
.m-step{display:flex;align-items:center;gap:12px;font-size:15.5px;font-weight:500}
.m-step b{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--mint);color:var(--mint);font-size:16px;flex:none}
.m-step .ic{width:24px;height:24px;color:#e3f6f3}
.m-step-arr{color:var(--dim);width:22px;height:22px}
.m-vgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.m-vcard{padding:10px 10px 14px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,var(--panel2),var(--panel));display:grid;gap:12px;align-content:start;transition:border-color .2s,box-shadow .2s}
.m-vcard.is-active{border-color:var(--mint);box-shadow:0 0 0 1px var(--mint),0 0 26px -6px rgba(47,230,194,.55)}
.m-vthumb{position:relative;border-radius:12px;overflow:hidden;background:#000;aspect-ratio:16/10}
.m-vthumb video{width:100%;height:100%;object-fit:cover;display:block}
.m-vplay{position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;border:0;display:grid;place-items:center;color:#fff;background:rgba(10,20,24,.62);backdrop-filter:blur(4px);box-shadow:0 0 0 2px rgba(255,255,255,.7) inset;cursor:pointer;transition:transform .15s}
.m-vplay:hover{transform:scale(1.06)}
.m-vplay .ic{width:26px;height:26px;margin-left:3px}
.m-vdur{position:absolute;right:10px;bottom:10px;padding:3px 9px;border-radius:8px;background:rgba(5,16,20,.78);font-size:13px;font-weight:600;pointer-events:none}
.m-vcard h3{font-size:17px;font-weight:600;padding:0 6px}
.m-vprog{display:flex;align-items:center;gap:12px;padding:0 6px;font-size:13.5px;color:var(--muted)}
.m-bar{flex:1;height:7px;border-radius:6px;background:rgba(255,255,255,.1);overflow:hidden}
.m-bar i{display:block;height:100%;width:0;border-radius:6px;background:linear-gradient(90deg,var(--mint2),var(--mint));transition:width .25s}
.m-vcard.is-ready .m-vprog span,.m-vcard.is-done .m-vprog span{color:var(--mint)}
.m-vcard .m-btn{margin:0 4px}
@media (max-width:1100px){.m-vgrid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){
  .m-steps{padding:14px 10px;gap:4px;align-items:flex-start}
  .m-step{flex-direction:column;gap:6px;text-align:center;font-size:12px;flex:1}
  .m-step b{width:30px;height:30px;font-size:14px}
  .m-step .ic{width:26px;height:26px}
  .m-step-arr{width:16px;height:16px;margin-top:28px}
  .m-vgrid{grid-template-columns:1fr;gap:14px}
}
/* watch room — compact on mobile */
@media (max-width:900px){
  .m-steps{padding:8px 6px;margin-bottom:12px;align-items:center;border-radius:14px}
  .m-step{flex-direction:row;gap:6px;font-size:11px;line-height:1.15;text-align:left;justify-content:center}
  .m-step b{width:20px;height:20px;font-size:11px;border-width:1.5px}
  .m-step .ic{display:none}
  .m-step-arr{width:13px;height:13px;margin-top:0}
  .m-vgrid{grid-template-columns:1fr 1fr;gap:10px}
  .m-vcard{padding:6px 6px 8px;gap:7px;border-radius:14px}
  .m-vthumb{aspect-ratio:4/3;border-radius:10px}
  .m-vplay{width:42px;height:42px}.m-vplay .ic{width:18px;height:18px}
  .m-vdur{right:6px;bottom:6px;font-size:11px;padding:2px 6px}
  .m-vcard h3{font-size:14px;padding:0 3px}
  .m-vprog{padding:0 3px;gap:6px;font-size:11px}
  .m-vprog .m-bar{height:5px}
  .m-vcard .m-btn{margin:0;height:34px;font-size:12.5px;padding:0 6px;border-radius:10px;gap:5px}
  .m-vcard .m-btn .ic{width:14px;height:14px}
}
@media (max-width:340px){.m-vgrid{grid-template-columns:1fr}}

/* playing card opens full width (same card format, bigger player) */
.m-vcard.is-open{grid-column:1/-1}
.m-vcard.is-open .m-vthumb{aspect-ratio:16/9}
.m-vcard.is-open .m-vdur{display:none}
@media (max-width:900px){
  .m-vcard.is-open h3{font-size:16px}
  .m-vcard.is-open .m-vprog{font-size:12.5px}
  .m-vcard.is-open .m-btn{height:42px;font-size:14px}
}
.m-vgrid{grid-auto-flow:row dense}

/* turnover */
.m-bal{position:relative;overflow:hidden;padding:22px 24px 24px;min-height:190px;display:grid;align-content:start;gap:12px}
.m-bal.is-teal{border-color:rgba(47,230,194,.5);background:linear-gradient(120deg,rgba(47,230,194,.2),rgba(47,230,194,.05) 70%)}
.m-bal.is-violet{border-color:rgba(130,110,255,.4);background:linear-gradient(120deg,rgba(110,90,240,.22),rgba(90,70,200,.06) 70%)}
.m-bal-h{display:flex;align-items:center;gap:14px;font-size:18px}
.m-bal-h .m-ico{width:46px;height:46px;border-radius:50%}
.m-bal.is-teal .m-ico{background:rgba(47,230,194,.18);color:var(--mint)}
.m-bal.is-violet .m-ico{background:rgba(140,120,255,.22);color:#c7b9ff}
.m-bal-h .m-ico .ic{width:22px;height:22px}
.m-bal-v{font-size:42px;font-weight:700;letter-spacing:-.02em;position:relative;z-index:1}
.m-bal .m-btn{justify-self:start;position:relative;z-index:1}
.m-bal .m-hint{position:relative;z-index:1;max-width:60%}
.m-bal-art{position:absolute;right:6px;bottom:4px;width:44%;max-width:230px;pointer-events:none}
.m-stat2{display:flex;align-items:center;gap:18px;padding:20px 24px}
.m-stat2 small{display:block;color:var(--muted);font-size:15px}
.m-stat2 strong{display:block;font-size:26px;font-weight:700;letter-spacing:-.01em;margin-top:2px}
.m-ico.is-green{background:rgba(47,230,194,.16);color:var(--mint);border-color:rgba(47,230,194,.3);border-radius:50%}
.m-ico.is-amber{background:rgba(255,189,89,.14);color:var(--warn);border-color:rgba(255,189,89,.3);border-radius:50%}
.m-ico.is-violet-s{background:rgba(130,110,255,.18);color:#c7b9ff;border-color:rgba(130,110,255,.3);border-radius:50%;width:48px;height:48px}
.m-hist{margin-top:16px;padding:20px 22px}
.m-hist-h{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.m-hist-h h3{font-size:19px;font-weight:600}
.m-hist-h a{margin-left:auto;color:var(--mint);font-weight:600;font-size:15px}
.m-hist-empty{display:grid;justify-items:center;text-align:center;gap:6px;padding:34px 16px;border:1px dashed rgba(255,255,255,.14);border-radius:14px}
.m-hist-empty .ic{width:56px;height:56px;color:#bfd1d4;margin-bottom:6px}
.m-hist-empty b{font-size:18px}.m-hist-empty span{color:var(--muted)}
.m-hist .m-row{padding-left:4px;padding-right:4px}
.m-foot-note{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;color:var(--dim);font-size:13.5px}
.m-foot-note .ic{width:17px;height:17px}
@media (max-width:900px){
  .m-bal{padding:16px 16px 18px;min-height:0;gap:8px}
  .m-bal-h{font-size:15px;gap:10px}.m-bal-h .m-ico{width:36px;height:36px}.m-bal-h .m-ico .ic{width:18px;height:18px}
  .m-bal-v{font-size:28px}
  .m-bal-art{width:34%;right:2px}
  .m-bal .m-hint{max-width:62%;font-size:12px}
  .m-stat2{padding:14px;gap:10px;flex-direction:column;align-items:flex-start}
  .m-stat2 small{font-size:12px}.m-stat2 strong{font-size:18px}
  .m-grid2.m-two{grid-template-columns:1fr 1fr}
  .m-hist{padding:14px}.m-hist-h h3{font-size:16px}.m-hist-h a{font-size:13px}
}
@media (max-width:900px){
  .m-stat2{flex-direction:row;align-items:center;gap:10px;padding:12px}
  .m-stat2 .m-ico{width:38px;height:38px}.m-stat2 .m-ico .ic{width:18px;height:18px}
  .m-stat2 small{font-size:11px;white-space:nowrap}.m-stat2 strong{font-size:16px;white-space:nowrap}
  .m-hist-h{gap:10px}.m-hist-h .m-ico{width:36px;height:36px}.m-hist-h h3{font-size:15px;white-space:nowrap}.m-hist-h a{font-size:12.5px;white-space:nowrap}
}
/* turnover — extra compact on mobile */
@media (max-width:900px){
  .m-grid2.m-bals{gap:8px}
  .m-bal{padding:12px 14px;gap:4px;min-height:0}
  .m-bal-h{font-size:13.5px;gap:8px}.m-bal-h .m-ico{width:28px;height:28px}.m-bal-h .m-ico .ic{width:15px;height:15px}
  .m-bal-v{font-size:22px;line-height:1.1}
  .m-bal .m-btn.is-sm{height:32px;padding:0 14px;font-size:13px;margin-top:2px}
  .m-bal-art{width:20%;max-width:84px;right:10px;bottom:8px}
  .m-bal .m-hint{font-size:11px;max-width:70%}
  .m-grid2.m-two{margin-top:8px !important;gap:8px}
  .m-stat2{padding:10px 12px}.m-stat2 .m-ico{width:32px;height:32px}.m-stat2 .m-ico .ic{width:16px;height:16px}.m-stat2 strong{font-size:15px}
  .m-hist{margin-top:8px;padding:12px}
  .m-hist-h{margin-bottom:8px}.m-hist-h .m-ico{width:30px;height:30px}.m-hist-h .m-ico .ic{width:16px;height:16px}
  .m-hist-h h3{font-size:14px}.m-hist-h a{font-size:12px}
  .m-hist-empty{padding:16px 10px;gap:3px}.m-hist-empty .ic{width:36px;height:36px;margin-bottom:2px}.m-hist-empty b{font-size:14.5px}.m-hist-empty span{font-size:12px}
  .m-foot-note{margin-top:10px;font-size:11.5px}
  .m-hist .m-row{padding:10px 2px;gap:10px}.m-hist .m-row b{font-size:14px}
}

.m-wachan strong{font-size:22px}
.m-sub2{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.m-ico.is-wa{background:rgba(37,211,102,.16);border-color:rgba(37,211,102,.4);color:#25d366}
.m-ico.is-wa .ic{width:28px;height:28px}
/* home — compact on mobile */
@media (max-width:900px){
  .m-top{margin-bottom:10px}
  .m-grid2{gap:8px}
  .m-stat{padding:10px 12px;gap:10px}
  .m-stat .m-ico{width:40px;height:40px;border-radius:11px}.m-stat .m-ico .ic{width:20px;height:20px}
  .m-ico.is-wa .ic{width:22px;height:22px}
  .m-stat small{font-size:12px}.m-stat strong{font-size:19px;margin-top:0}
  .m-wachan strong{font-size:16px}.m-sub2{font-size:11px}
  .m-stat .m-btn.is-sm{height:34px;padding:0 14px;font-size:13px}
  .m-hero{padding:14px 16px;margin-top:8px;border-radius:18px}
  .m-hero h2{font-size:22px;max-width:190px}
  .m-hero p{font-size:12.5px;margin:6px 0 12px;max-width:190px}
  .m-hero .m-btn{height:38px;font-size:14px;padding:0 16px;border-radius:11px}
  .m-hero-art{width:56%;right:-24px}
  .m-sec{margin:14px 0 8px}.m-sec h3{font-size:15.5px}.m-sec a{font-size:12.5px}
  .m-quick{gap:8px}
  .m-q{padding:10px;gap:10px;border-radius:14px}
  .m-q .m-qi{width:38px;height:38px;border-radius:11px}.m-q .m-qi .ic{width:19px;height:19px}
  .m-q b{font-size:14px}.m-q span{font-size:10.5px}
  .m-empty{padding:16px 12px;gap:2px}.m-empty .ic{width:34px;height:34px;margin-bottom:2px}.m-empty b{font-size:14px}.m-empty span{font-size:12px}
  .m-act{padding:9px 12px;gap:10px}.m-act .m-ai{width:34px;height:34px}.m-act b{font-size:13.5px}.m-act small{font-size:11.5px}
  .m-help{margin-top:10px;padding:10px 12px;gap:8px 10px}
  .m-help .m-ico{width:36px;height:36px}.m-help b{font-size:14px}.m-help p{font-size:12px}
  .m-help .m-btn{height:34px;font-size:13px}
}

@media (max-width:900px){
  .m-homeflow{display:flex;flex-direction:column;gap:8px}
  .m-homeflow>*{order:4}
  .m-homeflow .m-hgrid{order:1;display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .m-homeflow .m-hgrid::-webkit-scrollbar{display:none}
  .m-homeflow .m-hgrid .m-slide{flex:0 0 86%;scroll-snap-align:start}
  .m-homeflow .m-hdots{order:1;margin:-2px 0 0}
  .m-homeflow .m-hhero{order:2;margin-top:0}
  .m-homeflow .m-sec{margin:6px 0 0}
}

.m-hdots{display:none}
@media (max-width:900px){.m-hdots{display:flex}}
.m-bal .m-hint{max-width:46%}@media (max-width:900px){.m-bal .m-hint{max-width:70%}}

/* withdraw */
.m-wd{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
.m-wd-left{display:grid;gap:14px;min-width:0}
.m-wd-left .m-slider{margin:0}
.m-wd-left .m-slide{flex:0 0 100%}
.m-wd-left .m-bal{min-height:230px;padding:26px 28px;align-content:center}
.m-bal-l{font-size:18px;color:#cfe7e4}
.m-wd-left .m-bal-v{font-size:46px}
.m-wd-left .m-bal-art{width:46%;max-width:240px;right:14px;bottom:12px}
.m-wd-left .m-dots{margin:-4px 0 0}
.m-check{display:flex;align-items:center;gap:16px;padding:20px 22px}
.m-check-i{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--mint);color:var(--mint);flex:none}
.m-check-i .ic{width:26px;height:26px}
.m-check b{display:block;font-size:19px;margin-bottom:2px}.m-check p{color:var(--muted);font-size:15px}
.m-wd-form{padding:26px}
.m-wd-form h2{font-size:23px;font-weight:700;margin-bottom:16px}
.m-in.has-pre{padding-left:0}.m-pre{align-self:stretch;display:grid;place-items:center;padding:0 18px;border-right:1px solid var(--line);font-weight:600;font-size:17px}
.m-opts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.m-opt{position:relative;cursor:pointer}
.m-opt input{position:absolute;opacity:0;inset:0;cursor:pointer}
.m-opt-in{display:flex;align-items:center;gap:12px;height:62px;padding:0 16px;border-radius:14px;border:1px solid var(--line);background:rgba(2,14,18,.55);transition:border-color .15s,box-shadow .15s}
.m-opt-in b{font-weight:600;font-size:15.5px;flex:1}
.m-opt input:checked+.m-opt-in{border-color:var(--mint);box-shadow:0 0 0 1px var(--mint),0 0 20px -8px rgba(47,230,194,.7);background:rgba(47,230,194,.08)}
.m-opt input:focus-visible+.m-opt-in{outline:2px solid var(--mint);outline-offset:2px}
.m-radio{width:26px;height:26px;border-radius:50%;border:2px solid #52686c;display:grid;place-items:center;flex:none}
.m-opt input:checked+.m-opt-in .m-radio{background:var(--mint);border-color:var(--mint)}
.m-opt input:checked+.m-opt-in .m-radio:after{content:"";width:6px;height:11px;border:solid var(--mint-ink);border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px)}
.m-logo{font-style:normal;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:800;flex:none}
.m-logo.is-ep{background:#fff;color:#2dbd45;font-size:22px;font-family:Georgia,serif}
.m-logo.is-jc{background:linear-gradient(135deg,#ef3b3b,#f8b400);color:#fff;font-size:10px;letter-spacing:-.02em;transform:skewX(-8deg);border-radius:10px}
.m-wd-form .m-btn{height:56px;font-size:18px;border-radius:14px}
@media (max-width:900px){
  .m-wd{grid-template-columns:1fr;gap:10px}
  .m-wd-left{gap:8px}
  .m-wd-left .m-slide{flex:0 0 100%}
  .m-wd-left .m-bal{min-height:0;padding:14px 16px;align-content:center;gap:2px}
  .m-bal-l{font-size:13px}
  .m-wd-left .m-bal-v{font-size:28px}
  .m-wd-left .m-bal-art{width:30%;max-width:110px;right:8px;bottom:6px}
  .m-check{padding:12px 14px;gap:12px}.m-check-i{width:38px;height:38px}.m-check-i .ic{width:19px;height:19px}.m-check b{font-size:15px}.m-check p{font-size:12.5px}
  .m-wd-form{padding:14px}.m-wd-form h2{font-size:17px;margin-bottom:8px}
  .m-wd-form .m-form{gap:10px}
  .m-wd-form .m-in{height:46px}.m-wd-form .m-in input{font-size:14.5px}
  .m-wd-form .m-field{gap:5px}.m-wd-form .m-field label{font-size:12.5px}
  .m-opt-in{height:50px;padding:0 10px;gap:8px}.m-opt-in b{font-size:13px}.m-logo{width:28px;height:28px}.m-radio{width:22px;height:22px}
  .m-wd-form .m-btn{height:48px;font-size:16px}
}

.m-logo{width:38px;height:38px;border-radius:50%;background:none;transform:none}
.m-logo use{pointer-events:none}
.m-opt-in .m-logo[class]{font-size:0}
@media (max-width:900px){.m-opt-in .m-logo{width:30px;height:30px}}
.m-opt-in .m-logo{border-radius:0;overflow:visible;width:40px;height:40px}@media (max-width:900px){.m-opt-in .m-logo{width:32px;height:32px}}

@media (max-width:900px){
  .m-grid2.m-bals{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .m-grid2.m-bals::-webkit-scrollbar{display:none}
  .m-grid2.m-bals .m-slide{flex:0 0 88%;scroll-snap-align:start}
  .m-bals+.m-hdots{margin:2px 0 0}
  .m-wd-left .m-slide{flex:0 0 90%;scroll-snap-align:start}
}

img.m-logo{width:40px;height:40px;border-radius:10px;object-fit:cover;background:#fff;display:block;flex:none}
.m-opt-in .m-logo.m-logo{border-radius:10px}
@media (max-width:900px){img.m-logo{width:32px;height:32px;border-radius:8px}}
/* team */
.m-team-top{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.6fr);gap:16px}
.m-tcount{display:grid;align-content:center;gap:14px;padding:22px 24px}
.m-tcount .m-ico{width:64px;height:64px}
.m-tcount .m-ico .ic{width:30px;height:30px}
.m-tcount small{display:block;color:var(--muted);font-size:17px}
.m-tcount strong{display:block;font-size:42px;font-weight:700;margin-top:4px}
.m-grow{position:relative;overflow:hidden;display:flex;align-items:center;padding:26px 30px;min-height:190px;border-color:rgba(130,110,255,.35);background:linear-gradient(120deg,rgba(47,230,194,.1),rgba(110,90,240,.2))}
.m-grow-t{position:relative;z-index:1;max-width:52%;display:grid;gap:10px;justify-items:start}
.m-grow h2{font-size:34px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.m-grow h2 span{color:var(--mint)}
.m-grow p{color:#cfe0e2;font-size:17px}
.m-grow .m-btn{margin-top:4px}
.m-grow-art{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:44%;max-width:340px;pointer-events:none}
.m-members{margin-top:16px;padding:20px 22px}
.m-members h3{font-size:20px;font-weight:700;padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:6px}
.m-members-empty{display:grid;justify-items:center;text-align:center;gap:6px;padding:26px 10px 18px}
.m-people-art{width:260px;max-width:70%;margin-bottom:6px}
.m-members-empty b{font-size:22px}.m-members-empty span{color:var(--muted);font-size:16px}
.m-members-foot{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;padding-top:14px;border-top:1px solid var(--line);color:var(--dim);font-size:13.5px}
.m-members-foot .ic{width:17px;height:17px}
@media (max-width:900px){
  .m-team-top{grid-template-columns:1fr;gap:8px}
  .m-tcount{display:flex;align-items:center;gap:12px;padding:10px 14px}
  .m-tcount .m-ico{width:44px;height:44px}.m-tcount .m-ico .ic{width:22px;height:22px}
  .m-tcount small{font-size:12px}.m-tcount strong{font-size:22px;margin-top:0}
  .m-grow{padding:14px 16px;min-height:0}
  .m-grow-t{max-width:60%;gap:6px}
  .m-grow h2{font-size:20px}.m-grow p{font-size:12.5px}
  .m-grow .m-btn.is-sm{height:34px;font-size:13px;padding:0 14px}
  .m-grow-art{width:42%;right:2px}
  .m-members{margin-top:8px;padding:12px 14px}
  .m-members h3{font-size:16px;padding-bottom:8px}
  .m-members-empty{padding:12px 6px 8px;gap:3px}.m-people-art{width:170px}.m-members-empty b{font-size:16px}.m-members-empty span{font-size:12.5px}
  .m-members-foot{font-size:11.5px;margin-top:4px;padding-top:8px}
}
.m-members h3+.m-row{border-top:0}
/* profile */
.m-prof{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px;align-items:start}
.m-pcard{position:relative;overflow:hidden;display:grid;justify-items:center;text-align:center;gap:10px;padding:44px 24px;min-height:340px;align-content:center;background:radial-gradient(260px 200px at 85% 8%,rgba(130,110,255,.25),transparent 70%),radial-gradient(240px 200px at 10% 90%,rgba(47,230,194,.2),transparent 70%),linear-gradient(180deg,var(--panel2),var(--panel))}
.m-pav{width:128px;height:128px;border-radius:50%;display:grid;place-items:center;font-size:46px;font-weight:700;color:#e9fffb;border:4px solid var(--mint);background:radial-gradient(circle at 35% 25%,#1c6f68,#0a2e33);box-shadow:0 0 36px -6px rgba(47,230,194,.6)}
.m-pwho h2{font-size:30px;font-weight:700;margin-top:8px}.m-pwho p{color:var(--muted);font-size:18px;margin-top:2px;word-break:break-all}
.m-pcard .m-level{margin-top:6px}
.m-pinfo{padding:26px 28px}
.m-pinfo h3{font-size:23px;font-weight:700;margin-bottom:12px}
.m-prow{display:flex;align-items:center;gap:16px;padding:14px 0;border-top:1px solid var(--line)}
.m-pico{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.07);border:1px solid var(--line);color:#dff3f1;flex:none}
.m-pico .ic{width:22px;height:22px}
.m-plab{width:110px;color:var(--muted);font-size:16px;flex:none}
.m-pval{font-weight:500;font-size:17px;min-width:0;word-break:break-all}
.m-pval.is-empty{color:var(--muted);font-weight:400}
.m-logout{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:58px;margin-top:14px;border-radius:16px;border:1.5px solid rgba(255,255,255,.7);background:transparent;color:#fff;font-weight:600;font-size:18px;cursor:pointer;transition:background .15s,border-color .15s}
.m-logout:hover{background:rgba(255,255,255,.06);border-color:var(--mint)}
.m-logout .ic{width:22px;height:22px}
@media (max-width:900px){
  .m-prof{grid-template-columns:1fr;gap:8px}
  .m-pcard{display:flex;align-items:center;text-align:left;gap:12px;padding:12px 14px;min-height:0;justify-items:initial}
  .m-pav{width:56px;height:56px;font-size:21px;border-width:3px;flex:none}
  .m-pwho{flex:1;min-width:0}.m-pwho h2{font-size:17px;margin-top:0}.m-pwho p{font-size:12px}
  .m-pcard .m-level{margin-top:0;height:30px;padding:0 10px;font-size:12px;flex:none}
  .m-pinfo{padding:12px 14px}.m-pinfo h3{font-size:16px;margin-bottom:4px}
  .m-prow{padding:9px 0;gap:10px}.m-pico{width:36px;height:36px;border-radius:10px}.m-pico .ic{width:18px;height:18px}
  .m-plab{width:70px;font-size:13px}.m-pval{font-size:14px}
  .m-logout{height:46px;font-size:15px;margin-top:8px;border-radius:14px}
}
/* membership popup + status */
.m-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(2,10,13,.72);backdrop-filter:blur(6px)}
.m-modal[hidden]{display:none}
.m-modal-card{width:100%;max-width:380px;padding:26px 24px 20px;text-align:center;border-radius:22px;border:1px solid var(--line);background:linear-gradient(180deg,#0c2c33,#071a20);box-shadow:0 30px 70px -20px #000}
.m-modal-ico{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:rgba(47,230,194,.14);color:var(--mint)}
.m-modal-ico .ic{width:26px;height:26px}
.m-modal-card h3{font-size:20px;font-weight:700}
.m-modal-card p{color:var(--muted);margin:8px 0 18px;font-size:14.5px}
.m-modal-actions{display:grid;gap:10px}
.m-mstat{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:16px;border:1px solid var(--line);background:linear-gradient(180deg,var(--panel2),var(--panel))}
.m-mstat .m-mstat-i{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:none;background:rgba(255,255,255,.08)}
.m-mstat .m-mstat-i .ic{width:22px;height:22px}
.m-mstat b{display:block;font-size:16px}.m-mstat small{color:var(--muted);font-size:13px}
.m-mstat .m-btn{margin-left:auto;flex:none}
.m-mstat.is-pending{border-color:rgba(255,189,89,.5);background:rgba(255,189,89,.08)}.m-mstat.is-pending .m-mstat-i{background:rgba(255,189,89,.18);color:var(--warn)}
.m-mstat.is-active{border-color:rgba(47,230,194,.5);background:rgba(47,230,194,.08)}.m-mstat.is-active .m-mstat-i{background:rgba(47,230,194,.18);color:var(--mint)}
.m-mstat.is-bad{border-color:rgba(255,107,107,.5);background:rgba(255,107,107,.08)}.m-mstat.is-bad .m-mstat-i{background:rgba(255,107,107,.18);color:var(--danger)}
.m-mstat.is-none .m-mstat-i{color:var(--mint);background:rgba(47,230,194,.14)}
.m-pkgs{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin-top:14px}
.m-pkg{display:grid;gap:12px;padding:20px;text-align:left}
.m-pkg h3{font-size:18px;font-weight:700}
.m-pkg strong{font-size:30px;letter-spacing:-.02em}.m-pkg small{color:var(--muted);font-weight:500;font-size:14px}
.m-pkg.is-picked{border-color:var(--mint);box-shadow:0 0 0 1px var(--mint)}
.m-pay-wrap{max-width:520px}
@media (max-width:900px){
  .m-modal-card{padding:20px 18px 16px}.m-mstat{padding:10px 12px}.m-mstat .m-mstat-i{width:38px;height:38px}
  .m-pkgs{grid-template-columns:1fr 1fr;gap:8px}.m-pkg{padding:12px;gap:8px}.m-pkg h3{font-size:14px}.m-pkg strong{font-size:20px}
  .m-wa{bottom:88px;right:12px}
}

@media (max-width:900px){.has-wa .m-main{padding-bottom:calc(150px + env(safe-area-inset-bottom))}}
@media (min-width:901px){.has-wa .m-main{padding-bottom:90px}}
/* split auth layout (register / login) */
.m-split{min-height:100vh;display:flex;flex-direction:column;padding:26px 40px 30px}
.m-split-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.m-brand.is-wide{padding:0;font-size:22px;letter-spacing:.14em;font-weight:700}
.m-brand.is-wide .ic{width:46px;height:34px}
.m-brand.is-wide b{font-weight:400;color:var(--text)}
.m-split-alt{color:var(--muted);font-size:15px}
.m-split-alt a,.m-split-foot a{color:var(--mint);font-weight:600;display:inline-flex;align-items:center;gap:6px}
.m-split-alt .ic,.m-split-foot .ic{width:16px;height:16px}
.m-split-body{flex:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:30px;align-items:center;margin-top:10px}
.m-split-hero{position:relative;display:grid;gap:10px;justify-items:start;align-content:end;min-height:560px}
.m-crystal{position:absolute;left:0;top:0;width:min(78%,440px);filter:drop-shadow(0 20px 40px rgba(47,230,194,.25))}
.m-split-copy{position:relative;z-index:1;margin-top:330px}
.m-split-copy h2{font-size:48px;line-height:1.08;font-weight:500;letter-spacing:-.02em}
.m-split-copy h2 span{display:block;color:var(--mint);font-weight:700}
.m-split-copy i{display:block;width:60px;height:3px;border-radius:3px;background:var(--mint);margin:20px 0 14px}
.m-split-copy p{color:#c9dadc;font-size:18px;max-width:380px}
.m-split-main{display:grid;justify-items:center}
.m-split-card{width:100%;max-width:640px;padding:36px 38px 26px;border-radius:26px;border:1px solid rgba(47,230,194,.45);background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));box-shadow:0 0 60px -26px rgba(47,230,194,.7),0 30px 60px -30px #000}
.m-split-card h1{font-size:38px;font-weight:600;letter-spacing:-.02em}
.m-split-card h1 span{color:var(--mint);font-weight:700}
.m-split-card .m-sub{color:var(--muted);font-size:18px;margin:6px 0 22px}
.m-fgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px 14px}
.m-eye{border:0;background:none;color:#cfe3e5;cursor:pointer;display:grid;place-items:center;padding:0 2px}
.m-eye .ic{width:22px;height:22px}
.m-in .m-eye+*{margin:0}
.m-invited{display:flex;align-items:center;gap:12px;height:54px;padding:0 16px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.04)}
.m-invited .ic{width:22px;height:22px;color:#cfe3e5}
.m-invited b{color:#fff}
.m-split-foot{display:flex;align-items:center;justify-content:center;gap:10px;margin:18px 0 8px;color:var(--muted)}
@media (max-width:1000px){
  .m-split{padding:16px 16px 20px}
  .m-split-top{justify-content:center}
  .m-split-alt{display:none}
  .m-split-body{grid-template-columns:1fr;margin-top:6px}
  .m-split-hero{display:none}
  .m-brand.is-wide{font-size:15px;flex-direction:column;gap:2px}
  .m-brand.is-wide .ic{width:38px;height:28px}
  .m-split-card{padding:16px 14px 14px;border-radius:20px;max-width:480px}
  .m-split-card h1{font-size:24px;text-align:center}
  .m-split-card .m-sub{text-align:center;font-size:13.5px;margin:2px 0 12px}
  .m-fgrid{grid-template-columns:1fr;gap:10px}
  .m-split-card .m-in{height:46px}
  .m-split-card .m-form{gap:10px}
  .m-invited{height:46px}
  .m-split-foot{margin:12px 0 4px;font-size:14px}
}
/* packages */
.m-psteps{display:flex;align-items:center;justify-content:center;gap:14px;max-width:760px;margin:0 auto 18px;padding:14px 22px;border-radius:18px;border:1px solid rgba(47,230,194,.3);background:rgba(255,255,255,.035)}
.m-pstep{display:flex;align-items:center;gap:10px;font-size:15px;white-space:nowrap}
.m-pstep b{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:2px solid #4f6a70;color:#cfe3e5;font-size:16px;flex:none}
.m-pstep.is-now b{border-color:var(--mint);color:var(--mint)}
.m-pstep.is-done b{background:var(--mint);border-color:var(--mint);color:var(--mint-ink)}
.m-pstep b .ic{width:18px;height:18px}
.m-pline{flex:1;height:2px;min-width:20px;background:#3c565c;border-radius:2px}
.m-pk{display:flex;flex-wrap:wrap;justify-content:center;gap:18px}
.m-pkc{--tc:#9aa6b4;flex:0 0 calc(33.333% - 12px);max-width:380px;position:relative;overflow:hidden;border-radius:20px;border:1.5px solid var(--tc);background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(0,0,0,.25)),radial-gradient(240px 160px at 50% 18%,color-mix(in srgb,var(--tc) 28%,transparent),transparent 70%);padding:22px 20px 20px;text-align:center;display:grid;gap:6px;justify-items:center;box-shadow:0 18px 40px -26px var(--tc)}
.m-pkc.t-silver{--tc:#aeb7c2}.m-pkc.t-gold{--tc:#d9a62e}.m-pkc.t-diamond{--tc:#35aeea}.m-pkc.t-special{--tc:#8a55f2}.m-pkc.t-super{--tc:#3fe0bd}
.m-pkc.t-super{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(0,0,0,.25)),radial-gradient(240px 160px at 30% 18%,rgba(140,110,255,.3),transparent 70%),radial-gradient(240px 160px at 75% 20%,rgba(47,230,194,.28),transparent 70%)}
.m-emblem{width:112px;height:112px;margin-bottom:2px}
.m-pkc-b{display:grid;gap:4px;justify-items:center;width:100%}
.m-pkc-b small{color:var(--muted);font-size:14px}
.m-pkc-b h3{font-size:22px;font-weight:600}
.m-pkc-b strong{font-size:38px;font-weight:700;letter-spacing:-.02em;margin:2px 0 8px}
.m-pkc-b .m-btn{height:50px;font-size:17px;border-radius:14px}
@media (max-width:1000px){.m-pkc{flex-basis:calc(50% - 9px)}}
@media (max-width:900px){
  .m-psteps{padding:8px 10px;gap:6px;margin-bottom:10px;border-radius:14px}
  .m-pstep{gap:5px;font-size:10.5px}.m-pstep b{width:22px;height:22px;font-size:11px;border-width:1.5px}.m-pstep b .ic{width:12px;height:12px}
  .m-pline{min-width:8px}
  .m-pk{gap:8px}
  .m-pkc{flex-basis:calc(50% - 4px);padding:12px 10px 10px;border-radius:16px;gap:2px}
  .m-emblem{width:66px;height:66px}
  .m-pkc-b small{font-size:11px}.m-pkc-b h3{font-size:14px}.m-pkc-b strong{font-size:21px;margin:0 0 6px}
  .m-pkc-b .m-btn{height:36px;font-size:13px;border-radius:11px}
  .m-pkc:last-child:nth-child(odd){flex-basis:100%;max-width:none;grid-template-columns:auto 1fr;justify-items:start;text-align:left;gap:0 14px;padding:12px 14px}
  .m-pkc:last-child:nth-child(odd) .m-pkc-b{justify-items:start}
  .m-pkc:last-child:nth-child(odd) .m-emblem{width:84px;height:84px}
}
/* packages — extra compact on mobile */
@media (max-width:900px){
  .m-psteps{padding:6px 8px;margin-bottom:8px}
  .m-pk{gap:6px}
  .m-pkc{flex-basis:calc(50% - 3px);padding:8px 8px 8px;border-radius:14px;gap:0}
  .m-emblem{width:48px;height:48px;margin-bottom:0}
  .m-pkc-b{gap:1px}
  .m-pkc-b small{font-size:10px;line-height:1.1}
  .m-pkc-b h3{font-size:13px;line-height:1.2}
  .m-pkc-b strong{font-size:18px;margin:0 0 4px;line-height:1.15}
  .m-pkc-b .m-btn{height:30px;font-size:12px;border-radius:9px;padding:0 6px}
  .m-pkc:last-child:nth-child(odd){padding:8px 12px;gap:0 12px}
  .m-pkc:last-child:nth-child(odd) .m-emblem{width:60px;height:60px}
  .m-pkc:last-child:nth-child(odd) .m-pkc-b .m-btn{width:auto;padding:0 18px;justify-self:start}
}
/* payment page */
.m-payg{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:18px;align-items:start;max-width:980px;margin:0 auto}
.m-payl{display:grid;gap:14px}
.m-paypkc{flex:none;max-width:none;width:100%}
.m-payswap{color:var(--mint);font-weight:600;font-size:14px;text-decoration:underline;margin-top:2px}
.m-payacc{display:flex;align-items:center;gap:16px;padding:18px 20px;border-color:rgba(47,230,194,.4);background:rgba(47,230,194,.07)}
.m-payacc small{display:block;color:var(--muted);font-size:14px;margin-bottom:4px}
.m-payacc p{font-size:15px;color:var(--muted)}.m-payacc p b{color:var(--mint);margin-left:6px;font-size:16px}
.m-payf{padding:26px}
.m-payf h2{font-size:23px;font-weight:700;margin-bottom:14px}
@media (max-width:900px){
  .m-payg{grid-template-columns:1fr;gap:8px}
  .m-payl{gap:8px}
  .m-paypkc{display:grid;grid-template-columns:auto 1fr;justify-items:start;text-align:left;gap:0 12px;padding:10px 14px}
  .m-paypkc .m-emblem{width:60px;height:60px}
  .m-paypkc .m-pkc-b{justify-items:start}
  .m-paypkc .m-pkc-b strong{font-size:20px;margin:0}
  .m-payswap{font-size:12px}
  .m-payacc{padding:10px 14px;gap:12px}.m-payacc .m-ico{width:38px;height:38px}.m-payacc .m-ico .ic{width:19px;height:19px}
  .m-payacc small{font-size:12px;margin-bottom:2px}.m-payacc p{font-size:13px}.m-payacc p b{font-size:14px}
  .m-payf{padding:14px}.m-payf h2{font-size:17px;margin-bottom:8px}
  .m-payf .m-form{gap:10px}.m-payf .m-in{height:46px}.m-payf .m-field{gap:5px}.m-payf .m-field label{font-size:12.5px}
}

.m-payico{width:54px;height:54px;border-radius:14px;background:#fff;object-fit:cover;flex:none;display:block}
@media (max-width:900px){.m-payico{width:42px;height:42px;border-radius:11px}}
/* file inputs: show "Choose file" + file name fully */
.m-in:has(input[type=file]),.m-payf .m-in:has(input[type=file]),.m-wd-form .m-in:has(input[type=file]){height:auto;min-height:52px;padding:7px 10px}
.m-in input[type=file]{padding:0;height:auto;min-height:36px;line-height:36px;font-size:14px;color:var(--muted);cursor:pointer;overflow:hidden;text-overflow:ellipsis}
.m-in input[type=file]::file-selector-button{margin-right:12px;height:36px;padding:0 16px;border:0;border-radius:10px;background:rgba(47,230,194,.16);color:var(--mint);font-weight:600;cursor:pointer}
.m-login-card{max-width:540px}
/* invite */
.m-inv{display:grid;gap:16px;max-width:860px}
.m-inv-hero{min-height:170px}
.m-inv-link{display:grid;gap:12px}
.m-inv-l{font-size:14px;color:var(--muted);font-weight:600}
.m-inv-wa{background:#25d366;color:#fff;box-shadow:0 8px 22px -10px #25d366}
.m-inv-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.m-inv-step{display:flex;align-items:center;gap:14px;padding:16px 18px}
.m-inv-step b{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--mint);color:var(--mint);flex:none}
.m-inv-step h4{font-size:15px;font-weight:600}.m-inv-step p{color:var(--muted);font-size:13px;margin-top:2px}
@media (max-width:900px){
  .m-inv{gap:8px}.m-inv-hero{min-height:0}
  .m-inv-link{padding:12px 14px;gap:8px}
  .m-copy input{height:44px;font-size:13px}.m-copy button{padding:0 14px}
  .m-inv-wa{height:44px}
  .m-inv-steps{grid-template-columns:1fr;gap:6px}
  .m-inv-step{padding:9px 12px;gap:10px}.m-inv-step b{width:28px;height:28px;font-size:13px}.m-inv-step h4{font-size:13.5px}.m-inv-step p{font-size:11.5px}
}
/* help & support */
.m-sup{display:grid;gap:16px;max-width:860px}
.m-sup-hero{min-height:170px}
.m-sup-links{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.m-sup-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:14px 16px;padding:20px 22px;transition:transform .15s,border-color .15s}
.m-sup-card:hover{transform:translateY(-2px);border-color:rgba(47,230,194,.5)}
.m-sup-card .m-ico{width:56px;height:56px;border-radius:16px}
.m-sup-card b{display:block;font-size:19px}
.m-sup-card p{color:var(--muted);font-size:14px;margin-top:2px}
.m-sup-cta{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;height:44px;border-radius:12px;background:var(--mint);color:var(--mint-ink);font-weight:700}
.m-sup-cta .ic{width:17px;height:17px}
@media (max-width:900px){
  .m-sup{gap:8px}.m-sup-hero{min-height:0}
  .m-sup-links{grid-template-columns:1fr;gap:8px}
  .m-sup-card{padding:12px 14px;gap:8px 12px}.m-sup-card .m-ico{width:44px;height:44px;border-radius:12px}.m-sup-card b{font-size:15px}.m-sup-card p{font-size:12px}
  .m-sup-cta{height:38px;font-size:14px}
}
