:root{
  --bg:#070a18; --bg-2:#0a1030; --card:#0e1535; --card-2:#131c45; --line:rgba(150,170,255,.14);
  --text:#f2f4ff; --muted:#a9b3d6; --blue:#3b82f6; --violet:#8b5cf6; --cyan:#22d3c5; --ice:#a5f3fc;
  --grad:linear-gradient(110deg,#2563eb,#8b5cf6);
  --r:20px; --wrap:1120px;
  --f-head:"Sora",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-body:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;
}
@property --a{syntax:"<angle>";inherits:false;initial-value:0deg}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:80px}
body{margin:0;background:var(--bg);color:var(--text);font:400 1rem/1.65 var(--f-body);min-height:100vh;display:flex;flex-direction:column;overflow-x:hidden}
main{flex:1}
img,video,svg{max-width:100%}
img,video{display:block}
a{color:var(--ice)}
h1,h2,h3{font-family:var(--f-head);line-height:1.12;margin:0 0 .6em;letter-spacing:-.025em}
h1{font-size:clamp(2.3rem,7.2vw,4.6rem);font-weight:700;letter-spacing:-.04em}
h2{font-size:clamp(1.7rem,4.4vw,2.6rem);font-weight:600}
h3{font-size:1.05rem;font-weight:600;letter-spacing:-.01em}
p{margin:0 0 1em}
.wrap{width:min(100% - 2.5rem,var(--wrap));margin-inline:auto}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;background:#fff;color:#000;padding:.6rem 1rem;z-index:100}
.skip:focus{left:.5rem;top:.5rem}
:focus-visible{outline:3px solid var(--cyan);outline-offset:3px;border-radius:8px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:46px;padding:.7rem 1.35rem;border-radius:14px;font:700 .92rem var(--f-body);text-decoration:none;border:1px solid transparent;cursor:pointer;color:#fff;transition:transform .18s,filter .18s,border-color .18s,background .18s}
.btn-primary{background:var(--grad);box-shadow:0 10px 30px -10px rgba(79,70,229,.7)}
.btn-primary:hover{transform:translateY(-2px);filter:brightness(1.1)}
.btn-ghost{background:rgba(255,255,255,.03);border-color:var(--line);color:var(--text)}
.btn-ghost:hover{border-color:var(--ice);background:rgba(165,243,252,.06)}
.btn-lg{min-height:54px;padding:.85rem 1.7rem;font-size:1rem}
.btn-block{width:100%}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(7,10,24,.78);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;justify-content:space-between;min-height:70px;gap:1rem}
.brand img{height:32px;width:auto}
.nav{display:flex;align-items:center;gap:2rem}
.nav ul{display:flex;gap:1.7rem;list-style:none;margin:0;padding:0}
.nav ul a{color:var(--muted);text-decoration:none;font-weight:600;font-size:.9rem;transition:color .15s}
.nav ul a:hover{color:var(--text)}
.nav-cta{display:flex;gap:.6rem}
.nav-cta .btn{min-height:42px;padding:.55rem 1.1rem}
.menu-btn{display:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:transparent;cursor:pointer;position:relative}
.menu-btn .bars,.menu-btn .bars::before,.menu-btn .bars::after{display:block;width:20px;height:2px;background:var(--text);position:absolute;left:11px;transition:transform .2s,opacity .2s}
.menu-btn .bars{top:21px}
.menu-btn .bars::before{content:"";top:-6px;left:0}
.menu-btn .bars::after{content:"";top:6px;left:0}
.menu-btn[aria-expanded="true"] .bars{background:transparent}
.menu-btn[aria-expanded="true"] .bars::before{transform:translateY(6px) rotate(45deg)}
.menu-btn[aria-expanded="true"] .bars::after{transform:translateY(-6px) rotate(-45deg)}
@media (max-width:860px){
  .menu-btn{display:block}
  .nav{position:absolute;inset:70px 0 auto 0;flex-direction:column;align-items:stretch;gap:1rem;padding:1.25rem;background:var(--bg-2);border-bottom:1px solid var(--line)}
  .js .nav{display:none}
  .js .nav.open{display:flex}
  .nav ul{flex-direction:column;gap:0}
  .nav ul a{display:block;padding:.9rem 0;font-size:1.05rem;border-bottom:1px solid var(--line)}
  .nav-cta .btn{flex:1}
}

/* Hero */
.hero{position:relative;overflow:hidden;text-align:center;padding:clamp(3.5rem,9vw,7rem) 0 clamp(3rem,7vw,5rem);isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgba(150,170,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(150,170,255,.07) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 30%,#000,transparent 75%);mask-image:radial-gradient(ellipse 70% 60% at 50% 30%,#000,transparent 75%)}
.orb{position:absolute;z-index:-1;border-radius:50%;filter:blur(90px);opacity:.55;will-change:transform}
.orb-1{width:480px;height:480px;left:-120px;top:-160px;background:#1d4ed8;animation:drift 22s ease-in-out infinite alternate}
.orb-2{width:420px;height:420px;right:-100px;top:-120px;background:#6d28d9;animation:drift 26s ease-in-out infinite alternate-reverse}
.orb-3{width:300px;height:300px;left:40%;bottom:-180px;background:#0891b2;opacity:.3;animation:drift 30s ease-in-out infinite alternate}
@keyframes drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(60px,40px,0) scale(1.12)}}
.eyebrow{display:inline-flex;align-items:center;gap:.55rem;border:1px solid rgba(96,135,255,.35);background:rgba(21,36,74,.55);border-radius:999px;padding:.4rem .9rem;color:#c7d2fe;font-size:.78rem;font-weight:700;margin-bottom:1.4rem}
.eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 0 rgba(34,211,197,.6);animation:ping 2.2s ease-out infinite}
@keyframes ping{70%,100%{box-shadow:0 0 0 9px rgba(34,211,197,0)}}
.hero h1{max-width:15ch;margin-inline:auto}
.grad{background:linear-gradient(95deg,#60a5fa,#a78bfa 55%,#67e8f9);-webkit-background-clip:text;background-clip:text;color:transparent;background-size:200% 100%;animation:sheen 7s ease-in-out infinite alternate}
@keyframes sheen{to{background-position:100% 0}}
.lead{font-size:clamp(1.02rem,2.3vw,1.18rem);color:var(--muted);max-width:56ch;margin-inline:auto}
.cta-row{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;margin:1.8rem 0 1.1rem}
.micro{font-size:.8rem;color:#8590b8;margin:0}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;max-width:720px;margin:2.8rem auto 0}
.stat{padding:1.1rem .6rem;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.025);backdrop-filter:blur(6px)}
.stat strong{display:block;font:700 clamp(1.4rem,4vw,1.9rem) var(--f-head);letter-spacing:-.03em}
.stat span{color:var(--muted);font-size:.78rem}
/* one orchestrated entrance */
.js .hero-in>*{opacity:0;transform:translateY(18px);animation:rise .8s cubic-bezier(.2,.7,.2,1) forwards}
.js .hero-in>*:nth-child(2){animation-delay:.08s}
.js .hero-in>*:nth-child(3){animation-delay:.16s}
.js .hero-in>*:nth-child(4){animation-delay:.24s}
.js .hero-in>*:nth-child(5){animation-delay:.32s}
.js .hero-in>*:nth-child(6){animation-delay:.42s}
@keyframes rise{to{opacity:1;transform:none}}

/* Media stage (hidden until a file exists) */
.stage-section{padding:0 0 clamp(2.5rem,6vw,4rem)}
.stage{position:relative;width:100%;max-width:440px;margin-inline:auto;aspect-ratio:4/5;border-radius:30px;padding:2px;background:conic-gradient(from var(--a),#2563eb,#8b5cf6,#22d3c5,#2563eb);animation:spin 8s linear infinite;box-shadow:0 40px 90px -40px rgba(79,70,229,.7)}
@keyframes spin{to{--a:360deg}}
.stage-media{width:100%;height:100%;object-fit:cover;border-radius:28px;background:var(--card)}
.mute{position:absolute;right:14px;bottom:14px;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(7,10,24,.7);backdrop-filter:blur(6px);color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .15s,transform .15s}
.mute:hover{background:rgba(7,10,24,.92);transform:scale(1.06)}
.mute .i-on{display:none}
.mute[aria-pressed="false"] .i-on{display:block}
.mute[aria-pressed="false"] .i-off{display:none}

/* Sections */
.section{padding:clamp(3.2rem,7vw,5.5rem) 0}
.head{text-align:center;max-width:640px;margin:0 auto clamp(1.8rem,4vw,2.8rem)}
.head p{color:var(--muted)}
.kicker{display:block;color:#93c5fd;font-size:.8rem;font-weight:700;margin-bottom:.6rem}
.js .reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.js .reveal.in{opacity:1;transform:none}

/* Cards + spotlight */
.card{position:relative;background:linear-gradient(150deg,var(--card-2),var(--card) 60%);border:1px solid var(--line);border-radius:var(--r);padding:1.5rem;overflow:hidden;transition:border-color .25s,transform .25s}
.card::before{content:"";position:absolute;inset:0;background:radial-gradient(320px circle at var(--mx,50%) var(--my,0%),rgba(139,92,246,.18),transparent 65%);opacity:0;transition:opacity .3s;pointer-events:none}
.card:hover{border-color:rgba(139,142,255,.45)}
.card:hover::before{opacity:1}

/* Bento features */
.bento{display:grid;gap:.9rem;grid-template-columns:repeat(3,1fr)}
.bento .b-wide{grid-column:span 2}
.bento .b-full{grid-column:1/-1}
.ico{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:rgba(59,130,246,.14);color:#a5b4fc;margin-bottom:1.1rem;border:1px solid rgba(96,135,255,.25)}
.ico svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.card h3{margin-bottom:.4rem}
.card p{color:var(--muted);font-size:.93rem;margin:0}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.chip{border:1px solid var(--line);border-radius:999px;padding:.3rem .8rem;font-size:.82rem;font-weight:600;color:var(--ice);background:rgba(165,243,252,.05)}
@media (max-width:860px){.bento{grid-template-columns:repeat(2,1fr)}.bento .b-wide{grid-column:1/-1}}
@media (max-width:540px){.bento{grid-template-columns:1fr}}

/* Steps: real sequence with connecting line */
.steps{list-style:none;margin:0;padding:0;display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);counter-reset:s;position:relative}
.step{padding:1.4rem}
.step-n{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--grad);font:700 .95rem var(--f-head);margin-bottom:1rem;box-shadow:0 8px 20px -8px rgba(99,102,241,.8)}
@media (min-width:861px){.steps::before{content:"";position:absolute;left:12%;right:12%;top:2.3rem;height:1px;background:linear-gradient(90deg,transparent,rgba(139,142,255,.5),transparent)}.step{background:transparent;border-color:transparent}.step::before{display:none}}
@media (max-width:860px){.steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:540px){.steps{grid-template-columns:1fr}}

/* Plans */
.plans{display:grid;gap:1rem;grid-template-columns:repeat(3,1fr);align-items:stretch}
.plan{padding:1.7rem 1.5rem;display:flex;flex-direction:column}
.plan.featured{border:2px solid transparent;background:linear-gradient(var(--card-2),var(--card)) padding-box,conic-gradient(from var(--a),#2563eb,#8b5cf6,#22d3c5,#2563eb) border-box;animation:spin 9s linear infinite;box-shadow:0 30px 70px -40px rgba(99,102,241,.9)}
.tag{font-size:.78rem;font-weight:700;color:#c4b5fd}
.plan h3{font-size:1.5rem;margin:.2rem 0 .3rem}
.price{font:700 2.3rem var(--f-head);letter-spacing:-.05em;margin:.4rem 0 .2rem}
.desc{color:var(--muted);font-size:.9rem;margin-bottom:1.2rem;min-height:2.6em}
.plan ul{list-style:none;padding:0;margin:0 0 1.2rem;flex:1}
.plan li{display:flex;gap:.65rem;padding:.6rem 0;border-bottom:1px solid var(--line);font-size:.92rem;color:#dfe4ff}
.plan li::before{content:"";flex:none;width:16px;height:16px;margin-top:.2rem;border-radius:50%;background:rgba(34,211,197,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-5' fill='none' stroke='%2322d3c5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.total{display:flex;justify-content:space-between;align-items:baseline;padding:.8rem 1rem;margin-bottom:1.1rem;border-radius:14px;background:rgba(139,92,246,.1);border:1px dashed rgba(167,139,250,.4);font-size:.85rem;color:var(--muted)}
.total strong{font:700 1.15rem var(--f-head);color:var(--text)}
.fineprint{font-size:.8rem;color:#8590b8;text-align:center;margin:1.6rem auto 0;max-width:70ch}
@media (max-width:900px){.plans{grid-template-columns:1fr;max-width:480px;margin-inline:auto}}

/* Referrals */
.refgrid{display:grid;gap:.9rem;grid-template-columns:repeat(3,1fr)}
@media (max-width:860px){.refgrid{grid-template-columns:1fr}}
.panel{margin-top:.9rem;display:flex;gap:1.2rem;align-items:flex-start}
.panel .ico{flex:none;margin:0}

/* FAQ */
.faq{max-width:780px;margin:0 auto}
.faq details{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.05rem 1.3rem;margin-bottom:.7rem;transition:border-color .2s}
.faq details[open]{border-color:rgba(139,142,255,.45)}
.faq summary{cursor:pointer;font:600 1rem var(--f-head);list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--ice);font-size:1.5rem;line-height:1;transition:transform .25s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq p{margin:.8rem 0 0;color:var(--muted);font-size:.95rem}

/* Final CTA */
.final{position:relative;text-align:center;border-radius:28px;padding:clamp(2.4rem,6vw,4rem) 1.4rem;border:1px solid rgba(96,135,255,.35);background:radial-gradient(ellipse at 20% 0%,rgba(37,99,235,.35),transparent 60%),radial-gradient(ellipse at 85% 0%,rgba(124,58,237,.3),transparent 60%),var(--card);overflow:hidden}
.final p{color:var(--muted);max-width:50ch;margin-inline:auto}
.notice{font-size:.8rem;color:#8590b8;max-width:78ch;margin:1.4rem auto 0;text-align:center}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:2.5rem 0 1.5rem;background:var(--bg)}
.foot{display:flex;flex-wrap:wrap;gap:2rem;justify-content:space-between}
.foot-brand p{color:var(--muted);margin:.8rem 0 0;font-size:.92rem}
.foot ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem 1.4rem}
.foot a{color:var(--muted);text-decoration:none;font-weight:600;font-size:.92rem}
.foot a:hover{color:var(--text)}
.legal{margin-top:1.8rem;padding-top:1.2rem;border-top:1px solid var(--line);font-size:.8rem;color:#8590b8}
.legal p{margin:0 0 .4rem}

/* Auth */
.auth-card{width:100%;background:linear-gradient(150deg,var(--card-2),var(--card));border:1px solid var(--line);border-radius:24px;padding:clamp(1.4rem,4vw,2.2rem);box-shadow:0 40px 90px -50px rgba(79,70,229,.8)}
.auth-card.wide{max-width:640px;margin-inline:auto}
.auth-card h2{font-size:1.5rem;margin-bottom:.3rem}
.auth-sub{color:var(--muted);font-size:.93rem}
.field{margin-bottom:1.1rem}
.field label{display:block;font-weight:600;margin-bottom:.4rem;font-size:.88rem}
.opt{color:var(--muted);font-weight:500}
.field input[type=text],.field input[type=email],.field input[type=tel],.field input[type=password]{width:100%;min-height:50px;padding:.75rem .95rem;border-radius:13px;border:1px solid var(--line);background:rgba(7,10,24,.7);color:var(--text);font:inherit;transition:border-color .15s,box-shadow .15s}
.field input:focus{outline:0;border-color:var(--cyan);box-shadow:0 0 0 4px rgba(34,211,197,.14)}
.field input[aria-invalid=true]{border-color:#ff7a8a}
.hint{font-size:.78rem;color:#8590b8;margin:.4rem 0 0}
.err{color:#ff9aa6;font-size:.83rem;margin:.4rem 0 0}
.row2{display:grid;gap:0 1rem}
@media (min-width:520px){.row2{grid-template-columns:1fr 1fr}}
.field.check{display:grid;grid-template-columns:auto 1fr;gap:.2rem .7rem;align-items:start}
.field.check label{margin:0;font-weight:500;color:var(--muted)}
.field.check input{width:20px;height:20px;margin-top:.15rem;accent-color:#8b5cf6}
.field.check .err{grid-column:2}
.alert{padding:.8rem 1rem;border-radius:12px;font-size:.9rem;margin-bottom:1.2rem}
.alert-error{background:rgba(255,100,120,.12);border:1px solid rgba(255,120,140,.4);color:#ffc2c9}
.alert-success{background:rgba(34,211,197,.1);border:1px solid rgba(34,211,197,.4);color:#b8fbf4}
.swap{text-align:center;color:var(--muted);font-size:.9rem;margin:1.2rem 0 0}
.facts{margin:1.4rem 0}
.facts div{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 0;border-top:1px solid var(--line)}
.facts dt{color:var(--muted)}
.facts dd{margin:0;font-weight:600;text-align:right;word-break:break-all}
.facts .code{font-family:var(--f-head);letter-spacing:.12em;color:var(--ice)}
.note-line{color:var(--muted);font-size:.92rem}
.auth,.solo{padding:clamp(2rem,6vw,4rem) 1.25rem;display:grid;place-items:start center}

/* ===== Login / register ===== */
.page-authbox .ax{position:relative;isolation:isolate;overflow:hidden;flex:1;padding-bottom:1rem}
.page-authbox .ax::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgba(150,170,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(150,170,255,.06) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(ellipse 80% 55% at 50% 20%,#000,transparent 75%);mask-image:radial-gradient(ellipse 80% 55% at 50% 20%,#000,transparent 75%)}
.ax-top{display:flex;align-items:center;justify-content:space-between;padding-block:1rem}
.ax-top .brand img{height:30px;width:auto}
.ax-link{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .95rem;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.03);color:var(--text);font-weight:700;font-size:.9rem;text-decoration:none;transition:border-color .15s,background .15s}
.ax-link:hover{border-color:var(--ice);background:rgba(165,243,252,.06)}
.ax-link svg,.btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ax-card{position:relative;width:min(100% - 1.5rem,440px);margin:.6rem auto 0;padding:1.4rem 1.25rem;border-radius:24px;border:1px solid var(--line);background:linear-gradient(160deg,rgba(19,28,69,.92),rgba(14,21,53,.92));backdrop-filter:blur(10px);box-shadow:0 40px 90px -50px rgba(79,70,229,.85)}
.ax-card::before{content:"";position:absolute;left:14%;right:14%;top:-1px;height:2px;border-radius:2px;background:var(--grad)}
.ax-label{display:flex;align-items:center;gap:.6rem;margin:0 0 .6rem;font-size:.82rem;font-weight:700;color:#c4b5fd}
.ax-label::before{content:"";width:26px;height:3px;border-radius:3px;background:var(--grad)}
.ax-card h1{font-size:clamp(1.55rem,6vw,2rem);letter-spacing:-.03em;margin:0 0 .3rem}
.ax-sub{color:var(--muted);font-size:.92rem;margin:0 0 1.1rem}
.ax-card .field{margin-bottom:.85rem}
.lrow{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
.ctl{position:relative}
.ctl svg.lead{position:absolute;left:.85rem;top:50%;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:#7f8bbd;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;transition:stroke .15s}
.ctl:focus-within svg.lead{stroke:var(--cyan)}
.field .ctl input[type]{min-height:48px;padding:.6rem .85rem .6rem 2.65rem;font-size:16px;border-radius:13px}
.field .ctl.has-eye input[type]{padding-right:3rem}
.ax-eye{position:absolute;right:.35rem;top:50%;transform:translateY(-50%);width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:11px;background:transparent;color:#9aa6d6;cursor:pointer}
.ax-eye:hover{color:var(--ice);background:rgba(255,255,255,.05)}
.ax-eye svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ax-eye .i-hide{display:none}
.ax-eye[aria-pressed="true"] .i-hide{display:block}
.ax-eye[aria-pressed="true"] .i-show{display:none}
.meter{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem;margin:-.35rem 0 .35rem}
.meter i{height:4px;border-radius:4px;background:rgba(255,255,255,.1);transition:background .25s}
.meter[data-s="1"] i:nth-child(-n+1){background:#ff7a8a}
.meter[data-s="2"] i:nth-child(-n+2){background:#fbbf24}
.meter[data-s="3"] i:nth-child(-n+3){background:#22d3c5}
.meter[data-s="4"] i{background:#34d399}
.ax-card .hint{margin:0 0 .9rem}
.btn[disabled]{opacity:.7;cursor:wait}
.swap{text-align:center;color:var(--muted);font-size:.9rem;margin:1rem 0 0}
.ax-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1.2rem;margin:1.1rem 0 0;color:#8590b8;font-size:.82rem}
.ax-trust span{display:inline-flex;align-items:center;gap:.4rem}
.ax-trust svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ax-foot{text-align:center;color:#6f7aa6;font-size:.78rem;margin:.9rem 0 .5rem}
.ax-foot a{color:#8590b8;text-decoration:none}
.ax-foot a:hover{color:var(--text)}

/* ===== Onboarding (welcome) ===== */
.wl-hero{position:relative;display:grid;justify-items:center;align-content:center;text-align:center;padding:1rem 1.25rem;min-height:56vh;overflow:hidden;transition:min-height .7s cubic-bezier(.2,.7,.2,1),padding .7s}
.wl.go .wl-hero{min-height:0;padding:.4rem 1.25rem 1rem}
.wl-hero h1{font-size:clamp(1.9rem,7vw,3rem);margin:.7rem 0 .3rem;max-width:16ch;transition:font-size .6s}
.wl-hero p{color:var(--muted);margin:0}
.wl.go .wl-hero h1{font-size:clamp(1.4rem,5vw,1.9rem)}
.wl-hero h1,.wl-hero p{animation:in-up .7s cubic-bezier(.2,.7,.2,1) .9s both}
.wl-hero p{animation-delay:1.1s}
.wl-check{width:92px;height:92px;transition:width .6s,height .6s}
.wl.go .wl-check{width:52px;height:52px}
.wl-check svg,.m-check svg{width:100%;height:100%;display:block;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.wl-check circle,.m-check circle{stroke:var(--cyan);fill:rgba(34,211,197,.08);stroke-dasharray:151;stroke-dashoffset:151;animation:draw .9s .15s ease-out forwards}
.wl-check path,.m-check path{stroke:#fff;stroke-dasharray:40;stroke-dashoffset:40;animation:draw .5s .85s ease-out forwards}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes in-up{from{opacity:0;transform:translateY(14px)}}
.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.confetti i{position:absolute;top:-16px;border-radius:2px;opacity:0;animation:fall 2.6s ease-in forwards}
@keyframes fall{0%{opacity:1;transform:translateY(0) rotate(0)}100%{opacity:0;transform:translateY(62vh) rotate(540deg)}}
.confetti i:nth-child(1){left:39%;background:#8b5cf6;animation-delay:0.12s;width:8px;height:12px}
.confetti i:nth-child(2){left:76%;background:#22d3c5;animation-delay:0.24s;width:10px;height:14px}
.confetti i:nth-child(3){left:16%;background:#a5f3fc;animation-delay:0.36s;width:6px;height:16px}
.confetti i:nth-child(4){left:53%;background:#f472b6;animation-delay:0.48s;width:8px;height:10px}
.confetti i:nth-child(5){left:90%;background:#fbbf24;animation-delay:0.60s;width:10px;height:12px}
.confetti i:nth-child(6){left:30%;background:#3b82f6;animation-delay:0.72s;width:6px;height:14px}
.confetti i:nth-child(7){left:67%;background:#8b5cf6;animation-delay:0.00s;width:8px;height:16px}
.confetti i:nth-child(8){left:7%;background:#22d3c5;animation-delay:0.12s;width:10px;height:10px}
.confetti i:nth-child(9){left:44%;background:#a5f3fc;animation-delay:0.24s;width:6px;height:12px}
.confetti i:nth-child(10){left:81%;background:#f472b6;animation-delay:0.36s;width:8px;height:14px}
.confetti i:nth-child(11){left:21%;background:#fbbf24;animation-delay:0.48s;width:10px;height:16px}
.confetti i:nth-child(12){left:58%;background:#3b82f6;animation-delay:0.60s;width:6px;height:10px}
.confetti i:nth-child(13){left:95%;background:#8b5cf6;animation-delay:0.72s;width:8px;height:12px}
.confetti i:nth-child(14){left:35%;background:#22d3c5;animation-delay:0.00s;width:10px;height:14px}
.confetti i:nth-child(15){left:72%;background:#a5f3fc;animation-delay:0.12s;width:6px;height:16px}
.confetti i:nth-child(16){left:12%;background:#f472b6;animation-delay:0.24s;width:8px;height:10px}
.confetti i:nth-child(17){left:49%;background:#fbbf24;animation-delay:0.36s;width:10px;height:12px}
.confetti i:nth-child(18){left:86%;background:#3b82f6;animation-delay:0.48s;width:6px;height:14px}

.wl:not(.go) .wl-main{opacity:0;visibility:hidden;transform:translateY(18px);animation:wl-show .01s 3.4s forwards}
.wl:not(.go) .wl-hero{animation:wl-shrink .01s 3.4s forwards}
@keyframes wl-show{to{opacity:1;visibility:visible;transform:none}}
@keyframes wl-shrink{to{min-height:0}}
.wl.go .wl-main{transition:opacity .7s .15s,transform .7s .15s}
.wl-h{font-size:1.45rem;margin:0 0 .3rem}
.wl-skip{display:flex;justify-content:flex-end;margin-top:.9rem}
.wl-skip a{display:inline-flex;align-items:center;gap:.4rem;color:var(--muted);font-weight:700;font-size:.92rem;text-decoration:none;padding:.5rem .2rem}
.wl-skip a:hover{color:var(--text)}
.wl-skip svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Saved pop-up */
.modal{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:1.25rem;background:rgba(3,6,20,.76);backdrop-filter:blur(6px);animation:fade .25s ease both}
.modal-card{width:min(100%,400px);text-align:center;padding:1.8rem 1.4rem;border-radius:24px;border:1px solid rgba(96,135,255,.35);background:linear-gradient(160deg,var(--card-2),var(--card));box-shadow:0 40px 100px -30px rgba(79,70,229,.85);animation:pop .45s cubic-bezier(.2,1.2,.3,1) both}
@keyframes fade{from{opacity:0}}
@keyframes pop{from{opacity:0;transform:scale(.9) translateY(10px)}}
.m-check{width:72px;height:72px;margin:0 auto 1rem}
.modal-card h2{margin:0 0 .4rem;font-size:1.4rem}
.modal-card p{color:var(--muted);font-size:.95rem;margin:0 0 1.3rem}

/* Bank search combobox + select fallback */
.field .ctl select{width:100%;min-height:48px;padding:.6rem 2.4rem .6rem 2.65rem;border-radius:13px;border:1px solid var(--line);background:rgba(7,10,24,.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa6d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .85rem center/16px no-repeat;color:var(--text);font:inherit;font-size:16px;appearance:none;-webkit-appearance:none}
.field .ctl select:focus{outline:0;border-color:var(--cyan);box-shadow:0 0 0 4px rgba(34,211,197,.14)}
.field .ctl select option{background:#0b1233;color:var(--text)}
.combo-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:40;max-height:240px;overflow:auto;margin:0;padding:.35rem;list-style:none;background:#0b1233;border:1px solid rgba(139,142,255,.35);border-radius:14px;box-shadow:0 24px 60px -20px rgba(0,0,0,.8)}
.combo-list li{padding:.7rem .8rem;border-radius:10px;cursor:pointer;font-size:.95rem}
.combo-list li[aria-selected="true"],.combo-list li:hover{background:rgba(99,102,241,.24)}
.combo-list .combo-empty{color:var(--muted);cursor:default}
.combo-list .combo-empty:hover{background:none}

/* Account name lookup */
.name-ctl input[readonly]{background:rgba(34,211,197,.05)!important;cursor:default;color:var(--text)}
.name-ctl[data-state="ok"] input{border-color:var(--cyan)!important;font-weight:700}
.name-ctl[data-state="error"] input{border-color:#ff7a8a!important}
.name-status{position:absolute;right:.9rem;top:50%;transform:translateY(-50%);font-size:.78rem;font-weight:700;color:var(--cyan)}
.name-ctl[data-state="loading"] .name-status{color:var(--muted)}
.name-ctl[data-state="loading"] .name-status::before{content:"";display:inline-block;width:12px;height:12px;margin-right:.4rem;vertical-align:-2px;border:2px solid rgba(165,243,252,.3);border-top-color:var(--ice);border-radius:50%;animation:rot .8s linear infinite}
@keyframes rot{to{transform:rotate(360deg)}}
.name-ctl input[readonly]{padding-right:5.6rem!important;text-overflow:ellipsis}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .js .hero-in>*,.js .reveal{opacity:1!important;transform:none!important}
  .wl .wl-main{opacity:1!important;visibility:visible!important;transform:none!important}
  .wl .wl-hero{min-height:0!important}
  .wl-check circle,.wl-check path,.m-check circle,.m-check path{stroke-dashoffset:0!important}
  .confetti{display:none}
}

/* ===== Register: invite chip ===== */
.ax-invite{display:flex;align-items:center;gap:.55rem;margin:0 0 1rem;padding:.6rem .85rem;border-radius:13px;border:1px solid rgba(34,211,197,.3);background:rgba(34,211,197,.08);color:var(--ice);font-size:.9rem}
.ax-invite svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ax-invite strong{color:#fff}

/* ===== Member dashboard ===== */
@property --t{syntax:"<angle>";inherits:true;initial-value:0deg}
@keyframes vault-spin{to{--a:360deg}}
@keyframes vault-sweep{to{transform:rotate(360deg)}}
.page-dash{background:radial-gradient(120% 55% at 50% -8%,#16225f 0,var(--bg) 62%) fixed}
.dx{width:min(100% - 1.5rem,480px);margin-inline:auto;padding:.75rem 0 7rem}
.dx svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dx-main{display:grid;grid-template-columns:minmax(0,1fr);gap:.9rem;margin-top:.9rem}
.dx-top{display:flex;align-items:center;gap:.5rem}
.dx-top .brand img{height:28px;width:auto}
.dx-plan{margin-left:auto;padding:.45rem .8rem;border-radius:999px;border:1px solid rgba(96,165,250,.35);background:rgba(59,130,246,.1);font-size:.78rem;font-weight:600;color:var(--muted);white-space:nowrap}
.dx-plan strong{color:#60a5fa}
.dx-ib{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:13px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--text);cursor:pointer;transition:border-color .15s,background .15s}
.dx-ib:hover{border-color:var(--ice);background:rgba(165,243,252,.07)}
.dx-ib svg{width:20px;height:20px}
.dx-menuwrap{position:relative}
.dx-menu{position:absolute;right:0;top:calc(100% + .5rem);z-index:30;min-width:220px;padding:.4rem;border-radius:16px;border:1px solid var(--line);background:#0c1438;box-shadow:0 24px 60px -20px rgba(0,0,0,.8)}
.dx-menu[hidden]{display:none}
.dx-menu a,.dx-menu button{display:flex;align-items:center;gap:.65rem;width:100%;min-height:44px;padding:.5rem .75rem;border:0;border-radius:11px;background:transparent;color:var(--text);font:600 .9rem var(--f-body);text-decoration:none;text-align:left;cursor:pointer}
.dx-menu a:hover,.dx-menu button:hover{background:rgba(255,255,255,.06)}
.dx-menu svg{width:18px;height:18px;color:#9aa6d6}
.dx-menu form{margin:0}

.dx-hello{display:flex;align-items:center;gap:.8rem;padding:.8rem .9rem;border-radius:20px;border:1px solid var(--line);background:linear-gradient(150deg,rgba(19,28,69,.8),rgba(12,18,48,.8))}
.dx-av{width:52px;height:52px;flex:none;display:grid;place-items:center;border-radius:50%;font:700 1.2rem var(--f-head);color:#fff;background:var(--grad);box-shadow:0 0 0 3px rgba(59,130,246,.25),0 0 24px rgba(59,130,246,.35)}
.dx-hi{display:grid;line-height:1.25;min-width:0}
.dx-hi span{font-size:.82rem;color:var(--muted)}
.dx-hi strong{font:700 1.2rem var(--f-head);letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dx-hi em{font-style:normal;font-size:.78rem;color:#7f8bbd}
.dx-chip{margin-left:auto;display:grid;text-align:center;padding:.4rem .85rem;border-radius:14px;border:1px solid rgba(139,92,246,.4);background:rgba(139,92,246,.1);font:700 1rem var(--f-head);line-height:1.15}
.dx-chip small{font:500 .68rem var(--f-body);color:var(--muted)}

/* Wallet vault */
.vault{position:relative;isolation:isolate;overflow:hidden;padding:1.1rem 1.1rem 1.15rem;border-radius:26px;background:radial-gradient(90% 70% at 85% 0,rgba(139,92,246,.35),transparent 60%),radial-gradient(80% 80% at 0 100%,rgba(37,99,235,.35),transparent 60%),linear-gradient(160deg,#121b4d,#0a1030);box-shadow:0 30px 70px -35px rgba(79,70,229,.9)}
.vault::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--a),rgba(96,165,250,.15) 0,rgba(165,243,252,.95) 12%,rgba(139,92,246,.9) 24%,rgba(96,165,250,.15) 40%,rgba(96,165,250,.15) 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);animation:vault-spin 7s linear infinite}
.vault-top{display:flex;align-items:center;justify-content:space-between}
.vault-label{font-size:.85rem;font-weight:600;color:#b9c4ee;letter-spacing:.02em}
.vault-eye{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:#c7d0f5;cursor:pointer}
.vault-eye svg{width:19px;height:19px}
.vault-eye .i-hide{display:none}
.vault-eye[aria-pressed="true"] .i-hide{display:block}
.vault-eye[aria-pressed="true"] .i-show{display:none}
.vault-body{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.35rem 0 1rem}
.vault-fig{min-width:0}
.vault-amt{margin:0;font:700 clamp(2rem,10vw,2.6rem)/1.1 var(--f-head);letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.vault-note{margin:.35rem 0 0;font-size:.8rem;color:#9aa6d6}
.vault-ring{--t:0deg;position:relative;flex:none;width:104px;height:104px;border-radius:50%;background:conic-gradient(from -90deg,#3b82f6 0 var(--t),#8b5cf6 var(--t) 360deg);-webkit-mask:radial-gradient(circle,transparent 56%,#000 57.5%);mask:radial-gradient(circle,transparent 56%,#000 57.5%);transition:--t .7s cubic-bezier(.2,.8,.2,1),filter .4s}
.vault-ring.is-empty{background:conic-gradient(from -90deg,rgba(255,255,255,.08),rgba(255,255,255,.08))}
.vault-ring.is-empty::after{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 80%,rgba(165,243,252,.7) 100%);animation:vault-sweep 3.2s linear infinite}
.vault-body{position:relative}
.vault-core{position:absolute;right:calc(52px - 21px);top:50%;width:42px;height:42px;margin-top:-21px;display:grid;place-items:center;border-radius:50%;background:rgba(10,16,48,.9);border:1px solid var(--line);color:#c4b5fd;pointer-events:none}
.vault-core svg{width:20px;height:20px}
.vault[data-focus="task"] .vault-ring{--t:360deg}
.vault[data-focus="referral"] .vault-ring{--t:0deg}
.vault-chambers{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.chamber{position:relative;display:grid;gap:.2rem;padding:.75rem .85rem;border-radius:16px;border:1px solid var(--line);background:rgba(7,10,24,.45);color:var(--text);text-align:left;font:inherit;cursor:pointer;transition:transform .18s,border-color .2s,background .2s,opacity .2s}
.chamber:hover{transform:translateY(-2px)}
.ch-k{display:flex;align-items:center;gap:.45rem;font-size:.76rem;font-weight:600;color:#a9b3d6}
.ch-k i{width:9px;height:9px;border-radius:50%}
.ch-task .ch-k i{background:#3b82f6;box-shadow:0 0 10px #3b82f6}
.ch-ref .ch-k i{background:#8b5cf6;box-shadow:0 0 10px #8b5cf6}
.chamber strong{font:700 1.15rem var(--f-head);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.chamber[aria-pressed="true"]{transform:none}
.ch-task[aria-pressed="true"]{border-color:#60a5fa;background:rgba(59,130,246,.18);box-shadow:0 0 0 3px rgba(59,130,246,.18)}
.ch-ref[aria-pressed="true"]{border-color:#a78bfa;background:rgba(139,92,246,.2);box-shadow:0 0 0 3px rgba(139,92,246,.2)}
.vault[data-focus="task"] .ch-ref,.vault[data-focus="referral"] .ch-task{opacity:.55}
.vault-actions{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:.8rem}
.vault-actions .btn{min-height:48px}
.vault-actions svg,.dx-copy svg{width:18px;height:18px}
.vb-w{background:linear-gradient(110deg,#1d4ed8,#3b82f6);box-shadow:0 10px 26px -12px rgba(59,130,246,.9)}
.vb-p{background:linear-gradient(110deg,#6d28d9,#8b5cf6);box-shadow:0 10px 26px -12px rgba(139,92,246,.9)}
.vault[data-hidden="1"] .vault-ring{filter:blur(6px)}

/* Quick actions: 3 per row */
.dx-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.65rem}
.qa{display:grid;justify-items:center;align-content:center;gap:.5rem;min-height:104px;padding:.7rem .4rem;border-radius:20px;border:1px solid rgba(96,165,250,.28);background:linear-gradient(160deg,rgba(37,99,235,.22),rgba(12,18,48,.7));color:var(--text);font:inherit;cursor:pointer;transition:transform .18s,border-color .18s}
.qa:nth-child(even){border-color:rgba(139,92,246,.35);background:linear-gradient(160deg,rgba(124,58,237,.26),rgba(12,18,48,.7))}
.qa:hover{transform:translateY(-3px);border-color:var(--ice)}
.qa-ic{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.07);color:#93c5fd}
.qa:nth-child(even) .qa-ic{color:#c4b5fd}
.qa-ic svg{width:24px;height:24px}
.qa-tx{font-size:.78rem;font-weight:700;line-height:1.25;text-align:center}

/* Referral link */
.dx-ref{display:flex;align-items:center;gap:.7rem;padding:.8rem .9rem;border-radius:18px;border:1px dashed rgba(165,243,252,.35);background:rgba(165,243,252,.05)}
.dx-ref-tx{display:grid;min-width:0;flex:1}
.dx-ref-tx span{font-size:.76rem;color:var(--muted)}
.dx-ref-tx code{font:600 .84rem var(--f-body);color:var(--ice);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dx-copy{display:inline-flex;align-items:center;gap:.4rem;min-height:42px;padding:.5rem .9rem;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:var(--text);font:700 .85rem var(--f-body);cursor:pointer}
.dx-copy:hover{border-color:var(--ice)}

/* Today's sections */
.dx-sec h2{font-size:1.15rem;margin:0 0 .6rem}
.dx-lock{display:flex;align-items:center;gap:.8rem;padding:.9rem;border-radius:18px;border:1px solid var(--line);background:rgba(14,21,53,.7)}
.dx-tg{text-align:center;padding:28px 16px;display:flex;flex-direction:column;align-items:center;gap:10px}
.dx-tg-ic{width:56px;height:56px;display:grid;place-items:center;border-radius:16px;background:rgba(41,182,246,.16);color:#29b6f6}
.dx-tg-ic svg{width:30px;height:30px}
.dx-tg .btn svg{width:18px;height:18px;vertical-align:-3px;margin-right:6px}
.dx-lock-ic{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:14px;background:rgba(139,92,246,.16);color:#c4b5fd}
.dx-lock-ic svg{width:22px;height:22px}
.dx-lock div{flex:1;min-width:0}
.dx-lock strong{display:block;font-size:.92rem}
.dx-lock p{margin:.15rem 0 0;font-size:.8rem;color:var(--muted);line-height:1.4}
.dx-lock .btn{min-height:40px;padding:.4rem .9rem;flex:none}
.dx-legal{margin:.2rem 0 0;text-align:center;font-size:.75rem;color:#6f7aa6}

/* Bottom navigation */
.dx-nav{position:fixed;left:0;right:0;bottom:0;z-index:40;width:min(100% - 1rem,480px);margin:0 auto .5rem;margin-bottom:calc(.5rem + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:repeat(5,1fr);gap:.2rem;padding:.4rem;border-radius:24px;border:1px solid var(--line);background:rgba(10,16,48,.9);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 20px 50px -20px rgba(0,0,0,.9)}
.dx-nav a,.dx-nav button{display:grid;justify-items:center;gap:.15rem;padding:.5rem .2rem;border:1px solid transparent;border-radius:18px;background:transparent;color:#8f9bc8;font:600 .7rem var(--f-body);text-decoration:none;cursor:pointer}
.dx-nav svg{width:24px;height:24px}
.dx-nav .on{color:#fff;border-color:rgba(59,130,246,.6);background:rgba(59,130,246,.16);box-shadow:0 0 22px rgba(59,130,246,.35)}
.dx-nav .on svg{color:#60a5fa}
.dx-toast{position:fixed;left:50%;bottom:6.5rem;z-index:60;max-width:calc(100% - 2rem);padding:.7rem 1.1rem;border-radius:999px;border:1px solid var(--line);background:#101a46;color:var(--text);font-size:.85rem;font-weight:600;opacity:0;transform:translate(-50%,10px);pointer-events:none;transition:opacity .2s,transform .2s}
.dx-toast.show{opacity:1;transform:translate(-50%,0)}
@media (prefers-reduced-motion:reduce){.vault::before,.vault-ring.is-empty::after{animation:none}.vault-ring{transition:none}.qa,.chamber{transition:none}}

/* ===== Member pages: sub-header, activity cards, sheets, lists ===== */
.dx-sub{display:flex;align-items:center;gap:.75rem}
.dx-sub h1{margin:0;font-size:1.35rem}
.dx-sub-tx{margin:0;font-size:.85rem;color:var(--muted);line-height:1.5}
.dx-h2{margin:.4rem 0 -.2rem;font-size:1rem;color:#c7d0f5}
.dx-sumbar .dx-hi strong{font-size:1.35rem}
.dx-sec-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}
.dx-sec-h h2{margin:0}
.dx-sec-h a{font-size:.85rem;font-weight:600;color:#60a5fa;text-decoration:none}
.mrow{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(132px,1fr);gap:.65rem;overflow-x:auto;padding-bottom:.3rem;scrollbar-width:none}
.mrow::-webkit-scrollbar{display:none}
.mlink{display:block;text-decoration:none;color:inherit}
.act-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.7rem}
.mrow .act{width:100%}
.act{position:relative;display:grid;gap:.45rem;align-content:start;min-height:132px;padding:.55rem;border-radius:18px;border:1px solid var(--line);background:rgba(12,18,48,.85);color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:transform .18s,border-color .18s}
.act:hover{transform:translateY(-2px);border-color:var(--ice)}
.act-th{display:grid;place-items:center;height:72px;border-radius:13px;color:#fff}
.act-th svg{width:30px;height:30px;padding:8px;box-sizing:content-box;border-radius:50%;background:rgba(5,8,24,.55)}
.th0 .act-th{background:linear-gradient(135deg,#1d4ed8,#22d3ee)}
.th1 .act-th{background:linear-gradient(135deg,#6d28d9,#3b82f6)}
.th2 .act-th{background:linear-gradient(135deg,#0e7490,#6366f1)}
.th3 .act-th{background:linear-gradient(135deg,#7c3aed,#ec4899)}
.act-name{font-weight:700;font-size:.88rem}
.act-badge{display:inline-flex;align-items:center;gap:.3rem;font-size:.8rem;font-weight:700;color:#fcd34d}
.act-badge svg{width:14px;height:14px}
.act[data-state="done"]{opacity:.65}
.act[data-state="done"] .act-badge{color:#34d399}
.ck{display:grid;justify-items:center;gap:.7rem;padding:1.6rem 1.1rem;border-radius:24px;border:1px solid var(--line);background:radial-gradient(90% 80% at 50% 0,rgba(139,92,246,.28),transparent 65%),rgba(12,18,48,.85);text-align:center}
.ck h2{margin:0;font-size:1.3rem}
.ck-ic{width:68px;height:68px;display:grid;place-items:center;border-radius:22px;background:var(--grad);color:#fff;box-shadow:0 12px 34px -12px rgba(99,102,241,.9)}
.ck-ic svg{width:34px;height:34px}
.ck-amt{margin:0;font:700 2rem var(--f-head);letter-spacing:-.03em}
.ck-btn{width:100%;min-height:50px;gap:.5rem}
.ck-btn[data-state="done"],.ck-btn:disabled{opacity:.6;pointer-events:none}
.dx-modal{position:fixed;inset:0;z-index:80;display:grid;align-items:end;justify-items:center;padding:1rem;background:rgba(3,5,16,.72);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.dx-modal[hidden]{display:none}
.dx-sheet{width:min(100%,440px);display:grid;justify-items:center;gap:.7rem;padding:1.4rem 1.2rem;border-radius:26px;border:1px solid var(--line);background:#0c1438;text-align:center}
.dx-sheet h3{margin:0;font-size:1.2rem}
.dx-sheet p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.5}
.dx-sheet .btn{width:100%}
.dx-bar{width:100%;height:10px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}
.dx-bar i{display:block;height:100%;width:100%;transform-origin:left;transform:scaleX(0);background:var(--grad);transition-property:transform;transition-timing-function:linear}
.pl{display:grid;gap:.8rem;padding:1.1rem;border-radius:22px;border:1px solid var(--line);background:rgba(12,18,48,.85)}
.pl-cur{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(59,130,246,.15)}
.pl-top{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.pl-top h2{margin:0;font-size:1.25rem}
.pl-top span{font-size:.78rem;color:var(--muted)}
.pl-top strong{font:700 1.4rem var(--f-head)}
.pl ul{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}
.pl li{display:flex;gap:.55rem;align-items:flex-start;font-size:.86rem;line-height:1.4;color:#d4dbf7}
.pl li svg{width:17px;height:17px;flex:none;margin-top:.1rem;color:#34d399}
.pl-badge{justify-self:start;padding:.4rem .8rem;border-radius:99px;background:rgba(59,130,246,.15);color:#93c5fd;font-size:.8rem;font-weight:700}
.dx-list{display:grid;gap:.5rem}
.dx-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.75rem .9rem;border-radius:16px;border:1px solid var(--line);background:rgba(12,18,48,.8)}
.dx-row div{display:grid;min-width:0}
.dx-row strong{font-size:.9rem}
.dx-row span{font-size:.74rem;color:var(--muted)}
.dx-row em{font-style:normal;font-weight:700;font-size:.9rem;white-space:nowrap}
.pos,.st-paid,.st-approved{color:#34d399}
.neg,.st-rejected{color:#f87171}
.st-pending{color:#fcd34d}
.wd-form{display:grid;gap:.6rem}
.wd-form label{font-weight:600;font-size:.9rem}
.wd-form input{min-height:50px;padding:.6rem .9rem;border-radius:14px;border:1px solid var(--line);background:rgba(5,8,24,.7);color:var(--text);font:600 1.1rem var(--f-body)}
.wd-form input:focus{outline:2px solid var(--ice);outline-offset:2px}
.dx-main>.btn{min-height:48px}
.dx-lock-ic:empty{display:none}

/* ===== Daily spin + dashboard spin banner ===== */
.wheel-wrap{position:relative;width:280px;max-width:100%;aspect-ratio:1;margin:.3rem auto}
.wheel{position:relative;width:100%;height:100%;border-radius:50%;border:6px solid #0c1438;box-shadow:0 0 0 2px rgba(165,243,252,.45),0 0 60px -12px rgba(99,102,241,.9);overflow:hidden}
.wheel-lb{position:absolute;left:50%;top:50%;width:84px;margin:-9px 0 0 -42px;text-align:center;font:700 .82rem/1.1 var(--f-head);color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.6)}
.wheel-ptr{position:absolute;top:-10px;left:50%;z-index:3;margin-left:-13px;border:13px solid transparent;border-top:22px solid #fcd34d;border-bottom:0;filter:drop-shadow(0 2px 4px rgba(0,0,0,.5))}
.wheel-hub{position:absolute;left:50%;top:50%;z-index:2;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:#0c1438;border:3px solid #fcd34d}
.dx-spin{display:flex;align-items:center;gap:.8rem;padding:.8rem .9rem;border-radius:18px;border:1px solid rgba(252,211,77,.35);background:linear-gradient(135deg,rgba(252,211,77,.1),rgba(124,58,237,.18));color:var(--text);text-decoration:none}
.dx-spin .dx-lock-ic{background:rgba(252,211,77,.15);color:#fcd34d}
.dx-spin strong{display:block;font-size:.95rem}
.dx-spin p{margin:.1rem 0 0;font-size:.8rem;color:var(--muted)}

/* ===== Terms / privacy ===== */
.legal{width:min(100% - 2rem,760px);margin:2rem auto 4rem;color:#d4dbf7;line-height:1.7}
.legal h1{font-size:clamp(1.8rem,6vw,2.4rem);margin:0 0 .3rem}
.legal h2{font-size:1.15rem;margin:1.8rem 0 .4rem;color:#fff}
.legal p,.legal li{font-size:.95rem}
.legal ul{padding-left:1.2rem;display:grid;gap:.3rem}
.legal .upd{color:var(--muted);font-size:.85rem}
.legal a{color:var(--ice)}

/* ===== Mobile-first safeguards: nothing may be wider than the screen ===== */
html,body{overflow-x:hidden}
.dx{overflow-x:clip;max-width:100%}
.dx-main>*{min-width:0}
.dx-ref-tx code{display:block;max-width:100%}
.qa{text-decoration:none}
.qa-tx{text-decoration:none}
.dx-spin,.mlink{text-decoration:none}
@media (max-width:380px){.qa-tx{font-size:.72rem}.act-grid{gap:.55rem}.vault-amt{font-size:1.9rem}.vault-ring{width:88px;height:88px}.vault-core{right:calc(44px - 21px)}}
@media (max-width:400px){.dx-plan{min-width:0;padding:.4rem .6rem;font-size:.7rem;overflow:hidden;text-overflow:ellipsis}.dx-top .brand img{height:24px}}

/* ===== Member buttons: plain .btn had no background (browser grey). Primary gradient by default ===== */
.dx .btn:not(.btn-ghost):not(.vb-w):not(.vb-p){background:var(--grad);border-color:transparent;color:#fff;box-shadow:0 10px 30px -12px rgba(79,70,229,.8)}
.dx .btn:not(.btn-ghost):not(.vb-w):not(.vb-p):hover{filter:brightness(1.1)}
.dx .btn:disabled,.dx .btn[disabled]{opacity:.55;cursor:not-allowed;box-shadow:none}
.wd-form .btn,.dx-main>.btn,.ck-btn,.pl .btn{width:100%}
.dx-sheet .dx-warn{padding:.65rem .8rem;border-radius:12px;border:1px solid rgba(252,211,77,.4);background:rgba(252,211,77,.08);color:#fde68a;font-size:.82rem;line-height:1.45}
.dx-count{margin:0;font-size:.85rem;font-weight:600;color:#c7d0f5}
.dx-media{position:relative;width:100%;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#000}
.dx-media[hidden]{display:none}
.dx-media iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.dx-media.is-audio{aspect-ratio:auto;height:84px;display:grid;place-items:center;background:linear-gradient(135deg,#1d4ed8,#7c3aed);color:#fff;font-weight:700;padding:0 1rem;text-align:center}

/* ===== Account pages: bell badge, links, notifications, form controls ===== */
.dx-bell{position:relative}
.dx-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:99px;background:#ef4444;color:#fff;font:700 .65rem var(--f-body)}
.dx-rowlink{color:var(--text);text-decoration:none}
.dx-rowlink em{color:#60a5fa}
.dx-notif div{gap:.15rem}
.dx-notif p{margin:0;font-size:.82rem;color:#c7d0f5;line-height:1.45}
.dx-notif.is-new{border-color:rgba(96,165,250,.6);background:rgba(37,99,235,.14)}
.wd-form select,.wd-form textarea,.legal .wd-form input{min-height:50px;padding:.6rem .9rem;border-radius:14px;border:1px solid var(--line);background:rgba(5,8,24,.7);color:var(--text);font:500 1rem var(--f-body);width:100%}
.wd-form textarea{min-height:130px;resize:vertical}
.wd-form select:focus,.wd-form textarea:focus{outline:2px solid var(--ice);outline-offset:2px}
.legal .wd-form{margin:1.2rem 0}
.legal ol{padding-left:1.2rem;display:grid;gap:.3rem}
.sr{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.dx-top .brand{margin-right:auto}

/* ===== Plans: swipeable cards ===== */
.pl-wrap{display:grid;gap:.8rem}
.pl-track{display:grid;grid-auto-flow:column;grid-auto-columns:88%;gap:.8rem;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:.2rem .2rem .6rem;scrollbar-width:none}
.pl-track::-webkit-scrollbar{display:none}
.pl-track .pl{scroll-snap-align:center;min-width:0;align-content:start}
.pl-dots{display:flex;justify-content:center;gap:.5rem}
.pl-dot{width:9px;height:9px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.22);cursor:pointer;transition:width .2s,background .2s}
.pl-dot.on{width:26px;background:linear-gradient(90deg,#3b82f6,#8b5cf6)}
.pl{border-radius:24px}
.pl-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem}
.pl-emblem{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid var(--line)}
.pl-emblem svg{width:38px;height:38px;fill:none;stroke:none}
.pl-name h2{margin:0;font-size:1.25rem}
.pl-name span{font-size:.78rem;color:var(--muted)}
.pl-price{font:700 1.3rem var(--f-head);white-space:nowrap}
.pl-list{gap:.2rem}
.pl-list li{align-items:center;padding:.38rem 0}
.pl-ic{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:10px;background:rgba(52,211,153,.12);color:#34d399}
.pl .pl-ic svg{width:17px;height:17px;margin:0;color:inherit}
.pl-list li.is-off{color:#7f8bbd}
.pl-list li.is-off .pl-ic{background:rgba(255,255,255,.05);color:#7f8bbd}
.pl-list li.pl-total{margin-top:.5rem;padding:.8rem .85rem;border-radius:16px;border:1px solid rgba(96,165,250,.45);background:linear-gradient(135deg,rgba(37,99,235,.22),rgba(124,58,237,.22))}
.pl-total .pl-ic{width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.12);color:#fff}
.pl .pl-total .pl-ic svg{width:21px;height:21px}
.pl-total-tx{display:grid;line-height:1.15}
.pl-total-tx small{font-size:.74rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#c7d0f5}
.pl-total-tx strong{font:800 1.5rem var(--f-head);letter-spacing:-.02em;color:#fff}
.pl-pro{border-color:rgba(139,92,246,.45);background:linear-gradient(160deg,rgba(124,58,237,.18),rgba(12,18,48,.9) 55%)}
.pl-ultra{border-color:rgba(252,211,77,.55);background:linear-gradient(160deg,rgba(251,191,36,.14),rgba(12,18,48,.92) 55%);box-shadow:0 0 0 1px rgba(252,211,77,.15),0 24px 60px -30px rgba(251,191,36,.6)}
.pl-ultra .pl-emblem{background:rgba(251,191,36,.12);border-color:rgba(252,211,77,.4)}
.pl-ultra .pl-ic{background:rgba(252,211,77,.14);color:#fcd34d}
.pl-ultra .pl-list li.is-off .pl-ic{background:rgba(255,255,255,.05);color:#7f8bbd}
.pl-ultra li.pl-total{border-color:rgba(252,211,77,.6);background:linear-gradient(135deg,rgba(251,191,36,.22),rgba(124,58,237,.18))}
.pl-ultra .pl-total-tx strong{background:linear-gradient(180deg,#fff3b0,#fbbf24);-webkit-background-clip:text;background-clip:text;color:transparent}
.pl-ultra .pl-total .pl-ic{background:rgba(251,191,36,.2);color:#fde68a}
@media (min-width:640px){.pl-track{grid-auto-columns:46%}}

/* ===== Dashboard: ring always turning, scrollable menu, picture avatar ===== */
.vault-ring{animation:vault-sweep 8s linear infinite}
@media (prefers-reduced-motion:reduce){.vault-ring{animation:none}}
.dx-menu{max-height:min(72vh,540px);overflow-y:auto}
.dx-av-img{object-fit:cover;background:#0c1438}
.pl-track{position:relative}

/* ===== Check-in 30-day streak ===== */
.ck-days{display:grid;gap:.6rem;padding:1rem;border-radius:22px;border:1px solid var(--line);background:rgba(12,18,48,.85)}
.ck-days-h{display:flex;align-items:center;justify-content:space-between}
.ck-days-h h2{margin:0;font-size:1.05rem}
.ck-days-h span{font-weight:700;color:#93c5fd}
.ck-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.4rem}
.ck-day{display:grid;place-items:center;aspect-ratio:1;border-radius:12px;border:1px solid var(--line);background:rgba(5,8,24,.6);color:#7f8bbd;font:600 .8rem var(--f-body)}
.ck-day b{font-weight:600}
.ck-day svg{display:none;width:58%;height:58%}
.ck-day.is-on{border-color:transparent;background:var(--grad);color:#fff;animation:ck-pop .35s ease}
.ck-day.is-on b{display:none}
.ck-day.is-on svg{display:block}
@keyframes ck-pop{0%{transform:scale(.7)}60%{transform:scale(1.12)}100%{transform:scale(1)}}

/* ===== Spin page: plan lines ===== */
.spin-plans{list-style:none;margin:.3rem 0 0;padding:0;display:grid;gap:.5rem;width:100%}
.spin-plan{display:block;width:100%;padding:.7rem .9rem;border-radius:14px;border:1px solid var(--line);background:rgba(5,8,24,.55);color:var(--text);font:600 .92rem var(--f-body);text-align:center}
button.spin-plan{cursor:pointer}
button.spin-plan:hover{border-color:var(--ice)}
.spin-plan.is-own{color:var(--muted)}

/* ===== Profile ===== */
.pf-hero{display:grid;justify-items:center;gap:.35rem;padding:1.6rem 1rem 1.2rem;border-radius:26px;border:1px solid var(--line);background:radial-gradient(90% 90% at 50% 0,rgba(139,92,246,.3),transparent 65%),rgba(12,18,48,.85);text-align:center}
.pf-avatar-form{margin:0}
.pf-avatar{position:relative;width:112px;height:112px}
.pf-av{width:112px;height:112px;border-radius:50%;object-fit:cover;display:grid;place-items:center;font:700 2.6rem var(--f-head);color:#fff;background:var(--grad);box-shadow:0 0 0 4px rgba(59,130,246,.3),0 0 40px rgba(99,102,241,.5)}
.pf-cam{position:absolute;right:-2px;bottom:-2px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--grad);color:#fff;border:3px solid #0c1438;cursor:pointer}
.pf-cam svg{width:18px;height:18px}
.pf-hero h2{margin:.55rem 0 0;font-size:1.4rem}
.pf-user{margin:0;color:var(--muted)}
.pf-plan{padding:.35rem .9rem;border-radius:99px;font-size:.8rem;font-weight:700;border:1px solid rgba(96,165,250,.5);background:rgba(59,130,246,.15);color:#93c5fd}
.pf-plan-pro{border-color:rgba(167,139,250,.6);background:rgba(139,92,246,.18);color:#c4b5fd}
.pf-plan-ultra{border-color:rgba(252,211,77,.6);background:rgba(251,191,36,.15);color:#fde68a}
.pf-remove{margin:0}
.pf-remove button{background:none;border:0;padding:.3rem;color:#f87171;font:600 .82rem var(--f-body);text-decoration:underline;cursor:pointer}
.pf-hint{margin:0;font-size:.8rem;line-height:1.5;color:var(--muted)}
.pf-stats{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.pf-stats div{display:grid;gap:.1rem;padding:.8rem .9rem;border-radius:16px;border:1px solid var(--line);background:rgba(12,18,48,.8)}
.pf-stats span{font-size:.76rem;color:var(--muted)}
.pf-stats strong{font:700 1.05rem var(--f-head)}
.pf-card{display:grid;gap:.7rem;padding:1rem;border-radius:20px;border:1px solid var(--line);background:rgba(12,18,48,.85)}
.pf-card h3{margin:0;font-size:1rem}
.pf-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.55rem 0;border-top:1px solid var(--line)}
.pf-row span{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--muted)}
.pf-row svg{width:18px;height:18px}
.pf-row strong{font-size:.9rem;text-align:right;overflow-wrap:anywhere}

/* ===== Balance ring: a bright light always travels around it, so the turning shows even when the ring is one solid colour ===== */
.vault-ring::after{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 58%,rgba(165,243,252,.35) 72%,rgba(255,255,255,.95) 88%,transparent 90%,transparent 100%)}
.vault-ring.is-empty::after{animation:none}

/* ===== Clip cards: YouTube preview picture + title ===== */
.act-th.has-img{position:relative;height:auto;aspect-ratio:16/9;overflow:hidden;background:#05081a}
.act-th.has-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.act-play{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;display:grid;place-items:center;border-radius:50%;background:rgba(5,8,24,.62);border:1.5px solid rgba(255,255,255,.7);color:#fff}
.act-play svg{width:20px;height:20px;padding:0;box-sizing:border-box;background:none;border-radius:0;margin-left:2px}
.act-video .act-name,.act-music .act-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3;min-height:2.6em}

/* The hidden attribute must always win (e.g. Visit link is not shown on clips and music) */
.dx [hidden]{display:none !important}

/* ===== Plans: one fixed screen. No page scrolling, only sideways swiping between plans ===== */
body.page-plans{overflow:hidden;height:100vh;height:100dvh}
.page-plans .dx{height:100vh;height:100dvh;padding:.6rem 0 0;display:flex;flex-direction:column;overflow:hidden}
.page-plans .dx-main{flex:1;min-height:0;margin-top:.4rem;display:flex;flex-direction:column;gap:.4rem;padding-bottom:calc(5.6rem + env(safe-area-inset-bottom,0px))}
.page-plans .dx-sub h1{font-size:1.2rem}
.page-plans .pl-intro{font-size:.75rem;line-height:1.35}
.page-plans .pl-wrap{flex:1;min-height:0;display:flex;flex-direction:column;gap:.4rem}
.page-plans .pl-track{flex:1;min-height:0;align-items:stretch;overflow-y:hidden;padding-bottom:.2rem}
.page-plans .pl{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:.35rem;padding:.7rem .8rem;border-radius:22px;font-size:clamp(.68rem,1.8vh,.88rem)}
.page-plans .pl-top{gap:.6rem}
.page-plans .pl-emblem{width:clamp(38px,6vh,52px);height:clamp(38px,6vh,52px);border-radius:15px}
.page-plans .pl-emblem svg{width:78%;height:78%}
.page-plans .pl-name h2{font-size:clamp(1rem,2.6vh,1.2rem)}
.page-plans .pl-price{font-size:clamp(1.05rem,2.8vh,1.3rem)}
.page-plans .pl-list{gap:0;flex:1;min-height:0;display:flex;flex-direction:column;justify-content:space-evenly}
.page-plans .pl-list li{padding:.08rem 0;font-size:inherit;line-height:1.25;gap:.5rem}
.page-plans .pl .pl-ic{width:clamp(20px,3.4vh,28px);height:clamp(20px,3.4vh,28px);border-radius:8px}
.page-plans .pl .pl-ic svg{width:60%;height:60%}
.page-plans .pl-list li.pl-total{margin-top:.2rem;padding:.45rem .6rem}
.page-plans .pl .pl-total .pl-ic{width:clamp(28px,4.6vh,38px);height:clamp(28px,4.6vh,38px)}
.page-plans .pl-total-tx small{font-size:clamp(.6rem,1.4vh,.72rem)}
.page-plans .pl-total-tx strong{font-size:clamp(1.05rem,3vh,1.45rem)}
.page-plans .pl .btn,.page-plans .pl-badge{min-height:clamp(38px,5.6vh,48px);flex:none}
.page-plans .pl-badge{display:flex;align-items:center;justify-content:center}
.page-plans .pl-dots{flex:none;padding:.1rem 0}
.page-plans .pl-track{grid-template-rows:minmax(0,1fr)}

/* ===== Upgrade payments ===== */
.pay-list{display:grid;gap:.7rem}
.pay-list form{margin:0}
.pay-opt{display:grid;gap:.25rem;width:100%;text-align:left;padding:1rem;border-radius:18px;border:1px solid var(--line);background:linear-gradient(160deg,rgba(19,28,69,.85),rgba(12,18,48,.9));color:var(--text);font:inherit;cursor:pointer}
.pay-opt strong{font:700 1.02rem var(--f-head)}
.pay-opt span{font-size:.82rem;color:var(--muted);line-height:1.4}
.pay-opt:hover{border-color:var(--ice)}
.pay-num{display:flex;align-items:center;gap:.5rem;font-size:1.05rem;letter-spacing:.02em}

/* ===== Withdraw (Pro and Ultra): choose a wallet ===== */
.wd-lbl{font-weight:600;font-size:.9rem}
.wd-wallets{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.wd-wallet{display:block;cursor:pointer}
.wd-wallet span{display:grid;gap:.15rem;padding:.8rem .9rem;border-radius:16px;border:1.5px solid var(--line);background:rgba(5,8,24,.55);transition:border-color .15s,background .15s}
.wd-wallet small{font-size:.76rem;color:var(--muted)}
.wd-wallet strong{font:700 1.1rem var(--f-head)}
.wd-wallet input:checked + span{border-color:#60a5fa;background:rgba(37,99,235,.2);box-shadow:0 0 0 3px rgba(59,130,246,.18)}
.wd-wallet:nth-child(2) input:checked + span{border-color:#a78bfa;background:rgba(124,58,237,.22);box-shadow:0 0 0 3px rgba(139,92,246,.2)}
.wd-paid .btn svg{width:18px;height:18px}
.ck-form{width:100%;margin:0}

/* ===== Manual bank transfer payment ===== */
.pay-warn{display:flex;gap:.7rem;align-items:flex-start;padding:.85rem 1rem;border-radius:18px;border:1px solid rgba(248,113,113,.5);background:rgba(127,29,29,.28);color:#fecaca}
.pay-warn svg{width:22px;height:22px;flex:none;margin-top:.1rem}
.pay-warn p{margin:0;font-size:.88rem;line-height:1.5}
.pay-card{display:grid;gap:0;padding:1rem 1.1rem;border-radius:22px;border:1px solid var(--line);background:linear-gradient(160deg,rgba(19,28,69,.9),rgba(12,18,48,.95))}
.pay-card h3{margin:0 0 .4rem;font-size:1.05rem;color:#c4b5fd}
.pay-line{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 0;border-top:1px solid var(--line)}
.pay-line:first-of-type{border-top:0}
.pay-line span{font-size:.85rem;color:var(--muted)}
.pay-line strong{text-align:right;font-size:.95rem;overflow-wrap:anywhere}
.pay-big{font:700 1.25rem var(--f-head);letter-spacing:.04em}
.pay-amt{font:700 1.25rem var(--f-head);color:#fcd34d}
.pay-copy{display:flex;align-items:center;justify-content:center;gap:.55rem;width:100%;min-height:52px;border-radius:16px;border:1px solid rgba(139,92,246,.55);background:rgba(124,58,237,.16);color:#ddd6fe;font:700 .98rem var(--f-body);cursor:pointer}
.pay-copy svg{width:20px;height:20px}
.pay-after{text-align:center}
.pay-proof{display:grid;gap:.55rem}
.pay-proof label{font-weight:600;font-size:.9rem}
.pay-proof input[type=text],.pay-proof input:not([type]){min-height:50px;padding:.6rem .9rem;border-radius:14px;border:1px solid var(--line);background:rgba(5,8,24,.7);color:var(--text);font:500 1rem var(--f-body)}
.pay-proof input:focus{outline:2px solid var(--ice);outline-offset:2px}
.pay-drop{display:grid;justify-items:center;gap:.3rem;padding:1.4rem 1rem;border-radius:20px;border:2px dashed rgba(139,92,246,.5);background:rgba(124,58,237,.08);text-align:center;cursor:pointer}
.pay-drop svg{width:34px;height:34px;color:#c4b5fd}
.pay-drop strong{font-size:.98rem;overflow-wrap:anywhere}
.pay-drop span{font-size:.78rem;color:var(--muted)}
.pay-req{color:#f87171}
.pay-proof small{color:var(--muted);font-weight:500}

/* Homepage picture: show the whole image at its own shape instead of cropping it into a tall frame */
.stage.stage-img{aspect-ratio:auto;max-width:520px}
.stage-img .stage-media{display:block;height:auto;object-fit:contain}
