:root{--orange:#ff4d00;--green:#086734;--blue:#ea5405;--dark:#3e311f;--card:#fff;--line:#e5e5e5;--shadow:0 14px 30px rgba(105,33,0,.19)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;font-family:Arial,"Noto Sans Ethiopic",sans-serif;color:#141414;background:#fa4a00}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #158542;outline-offset:3px}[hidden]{display:none!important}
.loading-page{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#fff;transition:opacity .36s ease,visibility .36s ease}.loading-page.done{opacity:0;visibility:hidden;pointer-events:none}.splash-center{width:min(80vw,360px);display:flex;align-items:center;flex-direction:column;transform:translateY(-4vh)}.splash-logo{width:156px;height:156px;border-radius:50%;background:radial-gradient(circle at 37% 24%,#ffad22,#fb5800 49%,#e53a02);display:flex;align-items:center;justify-content:center;color:#007035;font-size:37px;font-weight:1000;font-style:italic;letter-spacing:-2.1px;-webkit-text-stroke:2.5px white;text-shadow:1px 4px 0 #03472d,0 7px 12px #bc3200;position:relative;filter:drop-shadow(0 3px 2px #f7af7d)}.logo-leaf{position:absolute;font-size:14px;color:#0d9f40;top:25px;left:88px;-webkit-text-stroke:0}.loading-track{margin-top:62px;width:100%;height:14px;border-radius:15px;background:#dadcdd;overflow:hidden}.loading-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#078737,#045523);border-radius:15px;transition:width .09s linear}.loading-percent{font-size:18px;margin-top:16px;color:#555}
.app-shell{min-height:100vh;background:linear-gradient(180deg,#fe6005 0,#ff4d00 65%,#f84500 100%);max-width:680px;margin:auto;padding-bottom:12px;position:relative;overflow:hidden}.hero{height:305px;position:relative;padding-top:20px}.hero:before{content:"";position:absolute;inset:-55px -15% 30px;border-radius:0 0 50% 50%;background:radial-gradient(circle at 50% 60%,rgba(255,211,3,.48),transparent 43%)}.hero-art{position:absolute;top:28px;left:50%;width:min(90%,470px);height:251px;object-fit:contain;transform:translateX(-50%);filter:drop-shadow(0 8px 10px rgba(122,32,0,.1))}.hero-badge{position:absolute;bottom:4px;left:50%;transform:translateX(-50%) rotate(-7deg);padding:13px 16px;background:radial-gradient(circle at 30% 10%,#ffb714,#ff6300 65%,#e33200);border:5px solid #ff8d1f;border-radius:50%;height:91px;min-width:128px;display:grid;place-items:center;font-size:29px;font-weight:1000;font-style:italic;color:#077539;letter-spacing:-1px;-webkit-text-stroke:1.6px white;text-shadow:1px 2px 0 #004d2e;box-shadow:0 8px 18px rgba(83,14,0,.28)}.language-wrap{position:absolute;z-index:4;top:15px;right:17px}.language-toggle{border:0;background:white;color:#0b642e;font-size:16px;font-weight:bold;padding:11px 14px;border-radius:12px;box-shadow:0 4px 7px #9946003d}.language-menu{position:absolute;top:calc(100% + 7px);right:0;background:#fff;min-width:146px;border-radius:12px;padding:5px;box-shadow:0 8px 25px #5428005a}.language-menu button{border:0;background:transparent;display:block;width:100%;padding:12px 10px;text-align:left;border-radius:8px}.language-menu button:hover{background:#fff1e5}
.form-card{position:relative;z-index:1;width:calc(100% - 32px);max-width:540px;margin:7px auto 18px;background:#fff;border-radius:25px;padding:22px 24px 22px;box-shadow:var(--shadow)}.tabs{display:flex;align-items:center;justify-content:space-between;margin:0 7px 18px}.tab{position:relative;border:0;background:transparent;padding:10px 11px 13px;font-size:21px;font-weight:700;color:#171717}.tab.active{color:#007239}.tab.active:after{content:"";position:absolute;height:3px;bottom:2px;left:6px;right:6px;border-radius:4px;background:#007239}.form-panel{display:flex;flex-direction:column}.field{height:64px;display:flex;align-items:center;gap:14px;border-bottom:1px solid #dedede;margin:0 2px;padding:0 10px;min-width:0}.field input{border:0;background:transparent;outline:0;box-shadow:none;width:100%;min-width:0;font-size:16px;color:#171717}.field input::placeholder{color:#858585;opacity:1}.field input:focus-visible{outline:0}.field:focus-within{border-bottom-color:#f65104}.prefix{padding-right:12px;border-right:1px solid #555;color:#161616;font-size:17px;white-space:nowrap}.eye{background:transparent;border:0;font-size:19px;color:#8b929c;padding:8px;opacity:.9}.person-icon{color:#95999e;font-size:24px}.primary-button{border:0;color:white;display:block;width:100%;height:54px;background:linear-gradient(180deg,#fc7f18 0%,#f94700 52%,#d93200 100%);border-radius:35px;box-shadow:0 10px 21px #e36a3c70;margin:26px 0 5px;font-size:20px;font-weight:700}.primary-button:disabled{opacity:.65;cursor:wait}.switch-link{align-self:center;background:transparent;border:0;color:#1c1c1c;margin-top:15px;font-size:15px;padding:10px}.switch-link:hover{text-decoration:underline}.form-message{font-size:14px;padding:10px 12px;border-radius:9px;background:#fff0eb;color:#a92300;margin:12px 0 0}.form-message.success{color:#00692f;background:#e7fff0}.footer{text-align:center;color:#fff9;font-size:12px;padding:8px 0}.home-card{text-align:center;min-height:330px}.home-check{border-radius:50%;width:55px;height:55px;margin:5px auto;background:#e8fff1;color:#07823e;font-size:34px;display:grid;place-items:center}.home-card h1{font-size:24px}.home-card>p{color:#666}.account-line{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e5e5e5;padding:17px 0;font-size:14px;text-align:left}.account-line strong{font-size:15px;color:#095a28}.home-note{font-size:12px;line-height:1.5}
@media(min-width:680px){body{background:#fff0df}.app-shell{min-height:100vh;box-shadow:0 3px 18px #0002}.hero{height:330px}.hero-art{height:265px}.hero-badge{bottom:4px}.form-card{padding:27px 35px}}@media(max-width:360px){.hero{height:265px}.hero-art{height:216px}.hero-badge{height:78px;min-width:115px;font-size:25px}.form-card{padding:19px 16px;border-radius:22px}.tab{font-size:19px}.field{height:59px}.field input{font-size:15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
/* Sprite V2 mobile dashboard: preserve V1 auth styles. */
body[data-page="home"]{background:#effff1}
body[data-page="home"] .app-shell{background:#effff1;overflow:visible;padding:0;min-height:100dvh}
body[data-page="home"] .hero,body[data-page="home"] .footer{display:none}
.dashboard{font-family:Arial,"Noto Sans Ethiopic",sans-serif;color:#292f38;background:#effff1;min-height:100dvh;padding-bottom:calc(86px + env(safe-area-inset-bottom, 0px));width:100%}
.dashboard .screen-top{position:sticky;top:0;z-index:7;background:#f2630c;color:#fff;height:54px;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:700;border-bottom:1px solid #ffffff47}
.dashboard .screen-top:has(+ .dashboard-content #screenHome:not([hidden])){display:none}
.dashboard .back-link{position:absolute;left:12px;top:1px;border:none;color:white;background:transparent;font-size:39px;font-weight:200;height:50px;line-height:1;cursor:pointer}
.dashboard-content{padding:0 14px 15px}.screen-view{min-height:calc(100dvh - 145px)}
.home-banner{margin:18px 0 13px;border-radius:8px;overflow:hidden;background:#f46a0b;position:relative;box-shadow:0 1px 3px #0002}.home-banner img{display:block;width:100%;height:auto;aspect-ratio:750 / 340;object-fit:cover}.banner-dots{display:flex;position:absolute;gap:5px;bottom:10px;left:50%;transform:translateX(-50%)}.banner-dots span{width:7px;height:4px;border-radius:6px;background:#ffffff80}.banner-dots span.on{background:white;width:34px}
.quick-actions{background:#fff;display:grid;grid-template-columns:repeat(4,1fr);border-radius:16px;gap:2px;margin-bottom:14px;padding:12px 2px 7px}.quick-actions button{display:flex;flex-direction:column;align-items:center;gap:7px;border:0;background:transparent;color:#426c3c;font-size:13px;padding:3px 0 8px}.quick-icon{height:42px;display:grid;place-items:center}.quick-icon svg{width:29px;height:29px;fill:none;stroke:#168041;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sample-strip{margin:6px 4px 11px;font-size:11px;line-height:1.35;color:#745f4e;text-align:center}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 11px}.product-card{background:#fff;border-radius:13px;overflow:hidden;padding:5px 5px 10px;box-shadow:0 1px 3px #d69d6940;min-width:0;display:flex;flex-direction:column;align-items:stretch}.product-cover{position:relative;aspect-ratio:1.12/1;border-radius:7px;overflow:hidden;background:#ff850d}.product-cover img{display:block;width:100%;height:100%;object-fit:cover}.product-cover:after{content:"";position:absolute;bottom:0;left:0;right:0;height:28%;background:linear-gradient(transparent, #0008)}.product-cover strong{position:absolute;z-index:1;bottom:7px;left:0;right:0;color:#fff;font-size:18px;text-align:center;font-weight:400;text-shadow:0 1px 3px #0008}.product-stats{display:grid;gap:6px;padding-top:8px}.product-stats div{display:flex;justify-content:space-between;align-items:center;gap:2px;background:#effff1;min-height:27px;font-size:12px;padding:3px 5px;color:#75543e}.product-stats b{font-size:12px;font-weight:500;white-space:nowrap}.plan-price{text-align:center;color:#bd4907;font-size:19px;font-weight:750;padding:11px 0 7px}.buy-btn{align-self:center;border:0;min-width:112px;max-width:100%;border-radius:40px;padding:8px 13px;font-size:13px;color:white;background:linear-gradient(90deg,#ff981d,#ed4b03);box-shadow:0 3px 5px #b94b1d55}.buy-btn.inactive{background:#c6c8d1;box-shadow:none;cursor:not-allowed}.plan-unavailable{padding:20px 0;color:#8f806f;text-align:center;font-size:13px}
.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:min(100%,680px);z-index:11;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;background:#fff;min-height:68px;padding:5px 2px calc(7px + env(safe-area-inset-bottom, 0px));border-top:1px solid #d6d8db;box-shadow:0 -3px 12px #0000000a}.nav-item{display:flex;flex-direction:column;align-items:center;gap:2px;color:#9a9fa5;border:0;background:transparent;padding:3px 0 1px;font-size:12px;min-width:0}.nav-item.active{color:#11803e}.nav-item svg{width:27px;height:29px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.nav-item.active svg{stroke-width:2.6}
#screenIncome{padding:21px 2px 0}.balance-box{height:152px;background:#078b48;color:white;border-radius:15px;padding:24px 26px;display:flex;flex-direction:column;gap:23px}.balance-box span{font-size:18px}.balance-box strong{font-size:27px;font-weight:400;text-align:center}.income-panel{background:white;min-height:calc(100dvh - 385px);margin-top:20px;border-radius:16px;padding:22px 20px 20px;display:flex;flex-direction:column}.seg-tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid #f17826;border-radius:3px;overflow:hidden}.seg{font-size:14px;background:white;border:0;padding:13px 2px;color:#865d3d}.seg.active{background:#078b48;color:white;font-weight:600}.empty-result{flex:1;min-height:230px;display:grid;place-items:center;color:#dedede;font-family:Georgia,serif;font-size:35px;font-weight:900;letter-spacing:2px}
#screenTeam{padding:15px 2px}.team-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.team-logo{width:116px;height:116px;flex:0 0 116px;background:#078b48;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#13823e;font-weight:1000;font-style:italic;font-size:30px;-webkit-text-stroke:1.7px #fff;text-shadow:1px 2px 1px #004528;letter-spacing:-1.2px}.team-metrics{flex:1;min-width:0}.team-metrics>div{display:flex;flex-direction:column;align-items:flex-end;gap:3px;border-bottom:1px solid #d8dade;padding:7px 0}.team-metrics span{font-size:13px;color:#74583d}.team-metrics b{font-size:22px;color:#c9530b}.team-level-tabs{background:#078b48;border-radius:10px;padding:6px;display:grid;grid-template-columns:repeat(3,1fr);gap:2px}.team-level{color:#fff4e0;background:transparent;border:0;border-radius:8px;min-width:0;display:flex;flex-direction:column;gap:3px;padding:9px 0}.team-level strong{font-size:17px;font-weight:500}.team-level small{font-size:11px}.team-level.active{background:white;color:#81532e}.team-disclaimer{color:#717985;font-size:10px;line-height:1.4;padding:0 5px}.team-people{display:grid;gap:12px}.team-person{display:flex;align-items:center;gap:10px;background:#fff;border-radius:11px;padding:10px;box-shadow:0 1px 5px #0001}.team-person-body{flex:1;min-width:0}.team-person-name{font-size:14px;font-weight:700;padding-bottom:6px;border-bottom:1px solid #edeef0}.team-person-stats{display:flex;gap:25px;font-size:12px;color:#8c8c8c;padding-top:7px}.team-person-time{color:#94999e;font-size:11px;padding-top:5px}.team-person-logo{height:77px;width:77px;background:#078b48;border-radius:7px;display:grid;place-items:center;color:#0a7834;-webkit-text-stroke:1px white;font-style:italic;font-weight:900;box-shadow:0 1px 3px #0002}.team-none{background:white;min-height:200px;border-radius:10px;display:grid;place-items:center;color:#999;line-height:1.5;padding:15px;text-align:center}
#screenShare{background:#078b48;margin:0 -14px;padding:14px 14px 23px;min-height:calc(100dvh - 122px)}#screenShare>.share-intro,#screenShare>.qr-card,#screenShare>.share-details{background:white;border-radius:12px;margin-bottom:13px} .share-intro{text-align:center;padding:21px 12px}.share-intro h2{font-size:18px;font-weight:500;color:#b45210;margin:9px 0 14px}.share-intro p{font-size:14px;color:#9b9b9b;line-height:1.45;margin:0}.qr-card{text-align:center;min-height:310px;padding:25px 14px 22px}.qr-card h3{font-size:17px;font-weight:400;margin:0 0 26px}.qr-box{display:grid;place-items:center;min-height:220px}.qr-box svg{width:min(230px,90%);height:auto;background:#fff;image-rendering:pixelated}.share-details{padding:20px 15px 27px}.copy-row{background:#effff1;border-radius:11px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin-bottom:9px;min-height:55px}.copy-row>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#a94a10;font-weight:700;font-size:13px}.copy-row button{background:#078b48;color:white;border:0;border-radius:5px;padding:8px 11px;font-size:12px;flex-shrink:0}.share-advice{background:#fff9f2;margin:13px 0 0;padding:18px 7px;text-align:center;font-size:14px;line-height:1.55}.commission-row{display:flex;justify-content:space-between;align-items:center;padding:13px 18px;background:#fff3e6}.commission-row:nth-of-type(2n){background:#ffdbb3}.commission-row strong{font-weight:500}.disclaimer{font-size:11px;line-height:1.5;color:#777;margin:12px 3px 0}
#screenMy{background:#fff;margin:0 -14px;padding:0 14px 22px}.my-header{margin:0 -14px;background:linear-gradient(120deg,#fc8c0f,#e94704);min-height:215px;color:#fff;display:flex;align-items:flex-start;gap:14px;padding:32px 18px 70px;position:relative}.my-header:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 50%,#ff790044,transparent 50%);pointer-events:none}.my-logo{height:100px;width:100px;border-radius:50%;flex:0 0 100px;border:2px solid #fff7;background:#078b48;display:grid;place-items:center;color:#0f7b3c;-webkit-text-stroke:1.3px white;font-size:23px;font-style:italic;font-weight:900;position:relative}.my-logo small{position:absolute;bottom:-16px;background:#fff0d9;color:#ba500c;border-radius:20px;padding:3px 14px;font-size:10px;-webkit-text-stroke:0;font-weight:600}.my-info{position:relative;flex:1;min-width:0;padding-top:7px}.my-number{font-size:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.my-id{font-size:10px;background:#fff0cf;color:#985321;border-radius:15px;padding:4px 8px;width:max-content;margin:12px 0 16px}.my-progress{height:12px;border-radius:10px;background:#fff;width:92%;display:inline-block;vertical-align:middle;overflow:hidden}.my-progress span{display:block;width:0;background:#f90;height:100%}.my-progress-text{font-size:11px;position:absolute;bottom:-20px;right:0}.my-balance{position:relative;display:grid;grid-template-columns:1fr 1fr;background:white;border-radius:12px;min-height:107px;margin:-36px 0 16px;box-shadow:0 1px 7px #0002}.my-balance button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;font-size:14px}.my-balance button:first-child{border-right:1px solid #effff1}.my-balance strong{font-size:18px}.my-menu{display:grid;gap:9px}.my-menu button{border:0;border-radius:12px;background:#effff1;display:flex;align-items:center;gap:17px;min-height:60px;padding:12px 18px;color:#242830;text-align:left}.my-menu button>span{font-size:24px;color:#222;width:24px;text-align:center}.my-menu button b{font-size:14px;font-weight:400;flex:1}.my-menu button i{font-size:25px;color:#b4b8be;font-style:normal}
.info-modal[hidden],.toast[hidden]{display:none!important}.info-modal{position:fixed;z-index:30;inset:0;background:#351a10a3;display:grid;place-items:center;padding:20px}.info-dialog{background:#fff;width:min(420px,100%);position:relative;border-radius:17px;padding:30px 20px 22px;box-shadow:0 12px 60px #0004;text-align:center}.info-dialog h2{font-size:22px;margin:8px 0 15px;color:#078b48}.info-dialog p{line-height:1.55;font-size:14px;color:#665342;overflow-wrap:anywhere}.modal-x{position:absolute;right:8px;top:6px;border:0;background:transparent;font-size:28px;color:#717981}.modal-okay{border:0;background:#078b48;color:white;padding:10px 33px;border-radius:20px;margin-top:10px}.toast{position:fixed;z-index:35;bottom:90px;left:50%;transform:translateX(-50%);width:max-content;max-width:90vw;text-align:center;background:#165d34;color:#fff;border-radius:19px;padding:11px 19px;font-size:13px;box-shadow:0 6px 18px #0003}
@media(min-width:681px){.dashboard .bottom-nav{max-width:680px}.dashboard{box-shadow:0 2px 15px #0001}.dashboard .screen-top{top:0}}
@media(max-width:375px){.dashboard-content{padding-left:11px;padding-right:11px}.product-stats div{font-size:11px}.product-stats b{font-size:11px}.team-logo{width:100px;height:100px;flex-basis:100px;font-size:27px}.quick-actions button{font-size:12px}.product-grid{gap:10px}}

/* V3 — Sprite unified orange / citrus / leaf-green visual identity.
   This section only alters presentation; the original V2 behavior is retained. */
:root{--orange:#f76407;--green:#08763b;--blue:#f76407;--dark:#443021;--card:#fff;--line:#f5deca}
body[data-page="home"]{background:#effff1}
body[data-page="home"] .app-shell,.dashboard{background:#effff1}
.dashboard .screen-top{background:linear-gradient(90deg,#ed4e05,#ff8517);border-bottom-color:#ffca93}
.home-banner{background:#ed5f08;box-shadow:0 2px 8px #bd550d21}
.quick-actions{border:1px solid #ffe3c9;box-shadow:0 2px 8px #c9682910}
.quick-actions button{color:#347241}.quick-actions button .quick-icon svg{stroke:#128344}
.product-card{border:1px solid #f8dfc7;box-shadow:0 2px 7px #c45d2420}
.product-cover{background:#e86a04}
.product-stats div{background:#fff4e9;color:#795341}
.plan-price{color:#be4b07}
.buy-btn:not(.inactive){background:linear-gradient(115deg,#ff9829,#ef5002);box-shadow:0 4px 9px #b4481760}
.bottom-nav{border-top:1px solid #f2d8be;box-shadow:0 -3px 12px #c75a1c0c}
.nav-item{color:#948b80}.nav-item.active{color:#0a7538}
.balance-box{background:linear-gradient(125deg,#ff8f18,#e84d06);box-shadow:0 5px 14px #bc5d2320}
.seg-tabs{border-color:#eb5e0c}.seg{color:#85461d}.seg.active{background:#ee5d06;color:white}
.team-logo,.team-person-logo,.my-logo{background:radial-gradient(circle at 35% 25%,#ffb524,#ff6a04 62%,#d94703);color:#0a6935;border-color:#fff9}
.team-metrics span{color:#875e40}.team-metrics b{color:#bb4807}
.team-level-tabs{background:linear-gradient(90deg,#ef650a,#ff9324)}
.team-level{color:#effff1}.team-level.active{color:#c04b08}
#screenShare{background:linear-gradient(160deg,#ff9216 0%,#f15f08 55%,#d84303 100%)}
.share-intro h2{color:#c2510d}
.copy-row{background:#effff1}.copy-row>span{color:#a4440b}.copy-row button{background:#14763d}
.share-advice,.commission-row{background:#fff9f1}.commission-row:nth-of-type(2n){background:#ffe1be}
.my-header{background:linear-gradient(135deg,#ffae1c 0%,#f76605 55%,#df4305 100%)}
.my-logo small,.my-id{background:#fff0cf;color:#a64509}
.my-menu button{background:#effff1;border:1px solid #fce3c9}
.my-menu button>span{color:#0e7c3d}
.info-dialog h2{color:#cb4a06}.modal-okay{background:#ed5e05}.toast{background:#146939}

/* V4 — customer-provided Sprite photo, keeping the V3 UI and functionality. */
.home-banner img{width:100%;height:auto;aspect-ratio:900/436;object-fit:cover}
@media(max-width:380px){.home-banner{margin-top:12px}}

/* V5 — Sprite orange soft drink only: no Highland mineral-water bottle. */
.splash-center{width:min(88vw,390px);transform:translateY(-2vh)}
.splash-product{display:block;width:min(80vw,332px);height:auto;max-height:48vh;object-fit:contain;border-radius:20px;box-shadow:0 5px 22px rgba(161,64,2,.15)}
.splash-center .loading-track{margin-top:34px;max-width:360px}
@media(max-height:650px){.splash-product{max-height:40vh}.splash-center .loading-track{margin-top:22px}}


/* MIRINDA V6 — compact mobile UI (~15–20% less height/size across all screens).
   Visual-only changes. No account, API, ledger, purchases or payment logic touched.
   Keep natural page width and fixed navigation; avoid zoom/transform that breaks touch. */
:root{--compact-ui:0.84}
/* Loading splash */
.splash-center{width:min(78vw,320px);transform:translateY(-1vh)}
.splash-product{width:min(69vw,270px);max-height:37vh;border-radius:15px}
.splash-center .loading-track{height:11px;margin-top:24px;max-width:296px}
.loading-percent{font-size:15px;margin-top:11px}
/* Login and register */
.app-shell{max-width:600px}
.hero{height:254px;padding-top:12px}
.hero-art{width:min(82%,390px);height:205px;top:18px}
.hero-badge{min-width:108px;height:74px;bottom:2px;padding:9px 11px;border-width:4px;font-size:24px}
.language-wrap{top:11px;right:14px}
.language-toggle{font-size:13px;padding:9px 11px;border-radius:10px}
.form-card{width:calc(100% - 38px);max-width:466px;margin:5px auto 14px;padding:17px 20px 18px;border-radius:20px}
.tabs{margin:0 5px 12px}
.tab{font-size:18px;padding:7px 8px 10px}
.field{height:53px;gap:11px;padding:0 7px}
.field input{font-size:14px}
.prefix{font-size:14px;padding-right:10px}
.eye{font-size:16px;padding:7px}
.person-icon{font-size:20px}
.primary-button{height:47px;font-size:17px;margin:20px 0 3px}
.switch-link{margin-top:9px;font-size:13px;padding:8px}
.form-message{font-size:12px;padding:8px 10px}
/* Whole authenticated app */
.dashboard{padding-bottom:calc(67px + env(safe-area-inset-bottom, 0px))}
.dashboard .screen-top{height:46px;font-size:16px}
.dashboard .back-link{font-size:32px;height:43px;left:10px}
.dashboard-content{padding:0 11px 10px}
.screen-view{min-height:calc(100dvh - 115px)}
/* Home banner, buttons and products */
.home-banner{margin:11px 0 9px;border-radius:7px}
.home-banner img{aspect-ratio:2.42/1;object-fit:cover}
.banner-dots{bottom:7px}.banner-dots span.on{width:26px}
.quick-actions{border-radius:12px;margin-bottom:8px;padding:7px 2px 4px}
.quick-actions button{font-size:11px;gap:3px;padding:2px 0 5px}
.quick-icon{height:33px}.quick-icon svg{width:24px;height:24px}
.sample-strip{font-size:10px;margin:4px 3px 7px}
.product-grid{gap:9px 8px}
.product-card{border-radius:10px;padding:4px 4px 8px}
.product-cover{aspect-ratio:1.26/1;border-radius:6px}
.product-cover strong{font-size:15px;bottom:5px}
.product-stats{gap:4px;padding-top:5px}
.product-stats div{min-height:23px;font-size:10.5px;padding:2px 4px}
.product-stats b{font-size:10.5px}
.plan-price{font-size:16px;padding:7px 0 5px}
.buy-btn{font-size:11px;min-width:95px;padding:7px 10px}
.plan-unavailable{font-size:11px;padding:14px 0}
/* Always keep the five navigation items visible and usable. */
.bottom-nav{width:min(100%,600px);min-height:60px;padding:4px 2px calc(6px + env(safe-area-inset-bottom, 0px))}
.nav-item{font-size:10.5px;gap:1px;padding:3px 0 2px;min-height:48px;justify-content:center}
.nav-item svg{width:23px;height:24px}
/* Income / Balance */
#screenIncome{padding:14px 1px 0}
.balance-box{height:125px;border-radius:12px;padding:19px 21px;gap:18px}
.balance-box span{font-size:15px}.balance-box strong{font-size:22px}
.income-panel{min-height:calc(100dvh - 315px);margin-top:14px;border-radius:13px;padding:15px 14px}
.seg{font-size:12px;padding:11px 2px}
.empty-result{font-size:28px;min-height:165px;letter-spacing:1px}
/* Team */
#screenTeam{padding:11px 1px}
.team-summary{gap:10px;margin-bottom:12px}
.team-logo{width:88px;height:88px;flex:0 0 88px;font-size:23px}
.team-metrics>div{padding:5px 0;gap:2px}
.team-metrics span{font-size:11px}.team-metrics b{font-size:18px}
.team-level-tabs{padding:5px;border-radius:8px}
.team-level{padding:7px 0;gap:2px}
.team-level strong{font-size:15px}.team-level small{font-size:9.5px}
.team-disclaimer{font-size:9px}
.team-people{gap:9px}.team-person{padding:8px;gap:8px;border-radius:9px}
.team-person-name{font-size:12px;padding-bottom:4px}
.team-person-stats{font-size:10px;gap:14px;padding-top:5px}
.team-person-time{font-size:9.5px;padding-top:4px}
.team-person-logo{height:59px;width:59px;font-size:12px}
.team-none{min-height:145px;font-size:12px}
/* Share, QR and referral controls */
#screenShare{margin:0 -11px;padding:11px 11px 18px;min-height:calc(100dvh - 105px)}
#screenShare>.share-intro,#screenShare>.qr-card,#screenShare>.share-details{margin-bottom:10px;border-radius:10px}
.share-intro{padding:15px 9px}.share-intro h2{font-size:15px;margin:6px 0 10px}.share-intro p{font-size:12px}
.qr-card{min-height:250px;padding:19px 10px 16px}
.qr-card h3{font-size:15px;margin-bottom:16px}
.qr-box{min-height:182px}.qr-box svg{width:min(185px,85%)}
.share-details{padding:14px 11px 19px}
.copy-row{min-height:47px;padding:7px 9px;gap:9px;margin-bottom:7px;border-radius:9px}
.copy-row>span{font-size:11px}.copy-row button{font-size:11px;padding:7px 9px}
.share-advice{font-size:12px;padding:14px 7px;margin-top:10px}
.commission-row{font-size:12px;padding:10px 14px}
.disclaimer{font-size:10px}
/* My / Profile and settings */
#screenMy{margin:0 -11px;padding:0 11px 16px}
.my-header{margin:0 -11px;min-height:174px;padding:25px 14px 51px;gap:11px}
.my-logo{height:78px;width:78px;flex:0 0 78px;font-size:19px}
.my-logo small{font-size:9px;bottom:-12px;padding:2px 10px}
.my-info{padding-top:4px}.my-number{font-size:18px}.my-id{font-size:9px;margin:9px 0 11px;padding:3px 6px}
.my-progress{height:9px}.my-progress-text{font-size:10px;bottom:-16px}
.my-balance{min-height:88px;margin:-30px 0 12px;border-radius:10px}
.my-balance button{font-size:12px;gap:6px}.my-balance strong{font-size:16px}
.my-menu{gap:7px}
.my-menu button{min-height:49px;padding:9px 13px;gap:12px;border-radius:10px}
.my-menu button>span{font-size:20px;width:22px}.my-menu button b{font-size:12px}.my-menu button i{font-size:21px}
/* Dialogs and status */
.info-dialog{width:min(365px,100%);border-radius:14px;padding:23px 16px 18px}
.info-dialog h2{font-size:18px}.info-dialog p{font-size:12px}
.modal-okay{padding:9px 27px;font-size:12px}.toast{font-size:11px;padding:9px 15px;bottom:75px}
/* Small phones: keep text readable and stop clipped cards */
@media(max-width:375px){
  .dashboard-content{padding-left:9px;padding-right:9px}
  #screenShare,#screenMy{margin-left:-9px;margin-right:-9px}
  #screenShare{padding-left:9px;padding-right:9px}
  #screenMy{padding-left:9px;padding-right:9px}
  .hero{height:235px}.hero-art{height:192px}
  .hero-badge{min-width:100px;height:68px;font-size:22px}
  .form-card{width:calc(100% - 28px);padding:15px 14px 17px}
  .product-stats div,.product-stats b{font-size:10px}
  .team-logo{width:78px;height:78px;flex-basis:78px;font-size:21px}
  .my-logo{width:70px;height:70px;flex-basis:70px;font-size:17px}
  .my-number{font-size:16px}
}
@media(min-width:680px){.hero{height:270px}.hero-art{height:220px}.form-card{padding:19px 24px}}


/* Sprite V7: requested targeted photo / sizing changes only. */
/* Small increase relative to V6; do not overshrink the loading artwork. */
.loading-page .splash-center{width:min(85vw,345px)}
.loading-page .splash-product{width:min(77vw,307px);max-height:42vh;border-radius:15px}
.loading-page .loading-track{width:100%;max-width:310px;margin-top:25px}
/* Put the user's orange-soda photograph directly above both Login and Register. */
.app-shell > .hero{height:clamp(245px,68vw,292px);padding:0;overflow:hidden}
.app-shell > .hero::before{display:none}
.app-shell > .hero .hero-art{left:0;top:0;transform:none;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;filter:none}
.app-shell > .hero .hero-badge{display:none}
.app-shell > .hero .language-wrap{z-index:5;top:12px;right:12px}
.app-shell > .form-card{margin-top:-10px}
@media(max-width:375px){.app-shell > .hero{height:245px}.loading-page .splash-product{max-height:40vh}}
@media(min-width:680px){.app-shell > .hero{height:292px}}

/* Sprite V8: only home hero carousel; keep existing banner dimensions. */
.home-banner.mirinda-carousel { position:relative; overflow:hidden; aspect-ratio:900/372; }
.mirinda-carousel .banner-slides { width:100%;height:100%; position:relative; }
.mirinda-carousel .banner-slide {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;visibility:hidden;transition:opacity .55s ease, visibility .55s ease;}
.mirinda-carousel .banner-slide.is-active {opacity:1;visibility:visible;}
.mirinda-carousel .banner-dots {bottom:8px;z-index:4;display:flex;align-items:center;gap:6px;}
.mirinda-carousel .banner-dot {appearance:none;background:rgba(255,255,255,.56);border:0;width:8px;height:5px;border-radius:5px;padding:0;cursor:pointer;box-shadow:0 0 2px #6f330b66;transition:width .2s ease,background .2s ease;}
.mirinda-carousel .banner-dot.is-active {width:29px;background:#fff;}
.mirinda-carousel .banner-dot:focus-visible {outline:2px solid #ffffff;outline-offset:4px;}
@media(prefers-reduced-motion:reduce){.mirinda-carousel .banner-slide{transition:none;}}


/* MIRINDA V10 — Home slider pictures: always show entire images.
   The former 900/372 letterbox compressed square pictures into a narrow strip.
   A taller 4:3 panel allows the user's complete photo to be visible.
   Pagination has its own footer so it never hides a logo or caption. */
.home-banner.mirinda-carousel {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0ca64b;
}
.mirinda-carousel .banner-slides {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  flex-shrink: 0;
  background: #0ca64b;
}
.mirinda-carousel .banner-slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  aspect-ratio: auto;
}
.mirinda-carousel .banner-dots {
  position: relative;
  inset: auto;
  bottom: auto;
  left: auto;
  transform: none;
  margin: 0;
  width: 100%;
  flex-shrink: 0;
  min-height: 24px;
  background: #0ca64b;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
  gap: 7px;
}
.mirinda-carousel .banner-dot {background: rgba(255,255,255,.50);}
.mirinda-carousel .banner-dot.is-active {background: #fff;}


/* MIRINDA V11 — HD icons and richer My page texts */
.language-toggle{display:inline-flex;align-items:center;gap:8px}
.language-toggle .inline-icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:0 0 18px}
.my-menu{gap:9px}
.my-menu button{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:10px 14px;border-radius:12px;gap:12px;background:#fff;box-shadow:0 6px 16px rgba(0,0,0,.06)}
.my-menu-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(180deg,#fff4e9,#ffe3c4);color:#14853b;border:1px solid rgba(248,116,20,.18)}
.my-menu-icon svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.my-menu-text{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-width:0;flex:1}
.my-menu-text b{font-size:12.5px;color:#353535;line-height:1.2}
.my-menu-text small{font-size:9.5px;color:#8b7a6a;line-height:1.25;white-space:normal;text-align:left}
.my-menu-arrow{font-style:normal;font-size:22px;line-height:1;color:#b3aa9e;flex:0 0 auto}
@media(max-width:375px){
  .my-menu button{padding:9px 12px;gap:10px;min-height:55px}
  .my-menu-icon{width:35px;height:35px;flex-basis:35px}
  .my-menu-icon svg{width:20px;height:20px}
  .my-menu-text b{font-size:12px}
  .my-menu-text small{font-size:9px}
}


/* MIRINDA V12 — circular loading ring and My page icon cards */
.loading-page{background:#ededed}
.loading-page .splash-center{width:min(84vw,360px);transform:none;gap:0}
.splash-circle-wrap{position:relative;width:168px;height:168px;display:grid;place-items:center}
.splash-orbit{position:absolute;inset:0;width:168px;height:168px;transform:rotate(-90deg)}
.orbit-track,.orbit-progress{fill:none;stroke-linecap:round;stroke-width:6}
.orbit-track{stroke:#d5d5d5}
.orbit-progress{stroke:#2a84e9;stroke-dasharray:427.26;stroke-dashoffset:427.26;transition:stroke-dashoffset .09s linear}
.loading-page .splash-logo{width:120px;height:120px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#ffb43a,#ff770d 54%,#f25700);display:flex;align-items:center;justify-content:center;color:#0f7d3d;font-size:29px;font-weight:1000;font-style:italic;letter-spacing:-1.4px;-webkit-text-stroke:2px #fff;text-shadow:0 2px 0 #0b5d2e,0 6px 10px rgba(177,75,0,.28);box-shadow:0 5px 18px rgba(0,0,0,.10)}
.loading-page .loading-track{margin-top:30px;width:min(72vw,370px);height:14px;border-radius:20px;background:#d8d8d8;overflow:hidden}
.loading-page .loading-track span{background:linear-gradient(90deg,#1d82ea,#3177e8)}
.loading-page .loading-percent{font-size:18px;color:#5a5a5a;margin-top:12px}
/* My page cards */
#screenMy{background:#fff;margin:0 -11px;padding:0 11px 18px}
.my-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.my-menu button{border:0;background:#f3f4f7;border-radius:16px;min-height:122px;padding:16px 14px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:14px;box-shadow:none}
.my-card-icon{display:grid;place-items:center;color:#111;width:52px;height:52px;flex:0 0 auto}
.my-card-icon svg{width:46px;height:46px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.my-menu button b{font-size:14px;font-weight:500;line-height:1.35;color:#222;text-align:left}
.my-menu .my-menu-text,.my-menu .my-menu-arrow,.my-menu small{display:none !important}
.my-menu button:last-child{grid-column:1 / 2}
@media(max-width:390px){
  .my-menu{gap:12px 12px}
  .my-menu button{min-height:112px;padding:14px 12px;border-radius:14px}
  .my-card-icon{width:48px;height:48px}
  .my-card-icon svg{width:42px;height:42px}
  .my-menu button b{font-size:13px}
}


/* Sprite V13: moving arc circles the logo throughout loading (not just a static fill). */
.loading-page .splash-circle-wrap { isolation:isolate; }
.loading-page .splash-orbit,
.loading-page .splash-spinner { position:absolute; inset:0; width:168px; height:168px; pointer-events:none; }
.loading-page .splash-orbit { transform:rotate(-90deg); }
.loading-page .splash-spinner { z-index:2; transform-origin:center center; animation:mirinda-ring-spin 1.35s linear infinite; }
.loading-page .orbit-track {stroke:#dedede;}
.loading-page .orbit-progress {stroke:#129047;stroke-linecap:round;}
.loading-page .orbit-spinner {fill:none;stroke:#ff7a08;stroke-width:7;stroke-linecap:round;stroke-dasharray:54 373.26;}
.loading-page .splash-logo { z-index:3; }
/* When 100% is reached, show a complete clean ring instead of a moving arc. */
.loading-page.ring-finished .splash-spinner { animation:none; opacity:0; }
@keyframes mirinda-ring-spin {from{transform:rotate(-90deg);}to{transform:rotate(270deg);}}

/* Sprite V14 — show the actual Sprite brand artwork inside the loading ring. */
.loading-page .splash-logo {
  overflow:hidden; position:relative; display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 36% 25%,#ffba3e 0%,#ff8e10 42%,#f34b00 100%);
  color:transparent; text-shadow:none; -webkit-text-stroke:0;
  border:2px solid rgba(255,255,255,.48);
}
.loading-page .splash-logo img {
  display:block; width:100px; max-width:86%; height:auto; max-height:95px;
  object-fit:contain; filter:drop-shadow(0 2px 1px rgba(0,85,33,.16));
}
/* Prevent the transient loading graphic from overlaying the Register form at 100%. */
.loading-page[hidden]{display:none!important}
.app-shell[aria-hidden="true"]{visibility:hidden}

/* Sprite V15: user's supplied circle logo, smaller loading area only. */
.loading-page .splash-center { width:min(78vw,295px); gap:0; }
.loading-page .splash-circle-wrap { width:142px; height:142px; }
.loading-page .splash-orbit,
.loading-page .splash-spinner { width:142px; height:142px; }
.loading-page .splash-logo {
  width:111px;height:111px;min-width:111px;min-height:111px;
  padding:0;margin:0;border:0;background:transparent;box-shadow:none;
  border-radius:50%;filter:none;overflow:hidden;
}
.loading-page .splash-logo img {
  display:block;width:100%;height:100%;max-height:none;max-width:none;
  object-fit:contain;filter:none;border-radius:50%;
}
.loading-page .loading-track {width:min(70vw,275px);max-width:275px;height:10px;margin-top:22px;}
.loading-page .loading-percent {font-size:16px;margin-top:10px;}
@media (max-width:360px) {
  .loading-page .splash-circle-wrap{width:130px;height:130px}
  .loading-page .splash-orbit,.loading-page .splash-spinner{width:130px;height:130px}
  .loading-page .splash-logo{width:102px;height:102px;min-width:102px;min-height:102px}
  .loading-page .loading-track{width:min(70vw,252px)}
}


/* MIRINDA V16: user-requested compact loading, and a FULL uncropped brand logo.
   Previous V15 cut the word MIRINDA because of incorrect source dimensions.
   Only the loading widget is touched, no changes to the dashboard or auth. */
.loading-page .splash-center{
  width:min(82vw,260px);
  transform:translateY(-1vh);
  display:flex;flex-direction:column;align-items:center;
  gap:0;
}
.loading-page .splash-circle-wrap{
  width:106px;height:106px;
  flex:0 0 106px;
  position:relative;display:grid;place-items:center;
}
.loading-page .splash-orbit,
.loading-page .splash-spinner{
  position:absolute;
  width:106px;height:106px;
  inset:0;
}
.loading-page .splash-logo{
  width:82px;height:82px;
  min-width:82px;min-height:82px;
  display:grid;place-items:center;
  border:0;padding:0;margin:0;
  border-radius:50%;background:transparent;
  box-shadow:none;filter:none;overflow:hidden;
}
.loading-page .splash-logo img{
  width:100%;height:100%;
  max-width:none;max-height:none;
  object-fit:contain;
  border-radius:50%;filter:none;
}
.loading-page .loading-track{
  width:min(61vw,202px);
  max-width:202px;
  height:9px;
  margin-top:25px;
}
.loading-page .loading-percent{
  font-size:14px;
  margin-top:10px;
}
@media (max-width:360px){
  .loading-page .splash-center{width:min(85vw,245px)}
  .loading-page .splash-circle-wrap{width:100px;height:100px;flex-basis:100px}
  .loading-page .splash-orbit,.loading-page .splash-spinner{width:100px;height:100px}
  .loading-page .splash-logo{width:78px;height:78px;min-width:78px;min-height:78px}
  .loading-page .loading-track{width:min(61vw,190px)}
}


/* MIRINDA V17 — targeted smaller LOADING logo, mobile and all screens. */
#loadingPage .splash-center {
  width: min(78vw, 244px);
  max-width: 244px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-1vh);
}
#loadingPage .splash-circle-wrap {
  width: 98px;
  height: 98px;
  flex: 0 0 98px;
  position: relative;
  display: grid;
  place-items: center;
}
#loadingPage .splash-circle-wrap .splash-orbit,
#loadingPage .splash-circle-wrap .splash-spinner {
  position: absolute;
  inset: 0;
  width: 98px;
  height: 98px;
  margin: 0;
  pointer-events: none;
}
#loadingPage .splash-circle-wrap .splash-logo {
  width: 74px;
  height: 74px;
  min-width: 74px;
  min-height: 74px;
  box-shadow: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  position: relative;
  z-index: 3;
}
#loadingPage .splash-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  border-radius: 50%;
}
#loadingPage .loading-track {
  width: min(60vw, 194px);
  max-width: 194px;
  height: 9px;
  margin-top: 24px;
}
#loadingPage .loading-percent {
  font-size: 13px;
  margin-top: 9px;
}
@media(max-width:360px) {
  #loadingPage .splash-circle-wrap{width:94px;height:94px;flex-basis:94px}
  #loadingPage .splash-circle-wrap .splash-orbit,
  #loadingPage .splash-circle-wrap .splash-spinner{width:94px;height:94px}
  #loadingPage .splash-circle-wrap .splash-logo{width:70px;height:70px;min-width:70px;min-height:70px}
}


/* V21 Income layout */
.income-simple{padding:14px 10px 18px}
.income-empty{min-height:64vh;display:flex;align-items:center;justify-content:center;color:#d8d8d8;font-size:46px;font-weight:600;letter-spacing:2px;text-transform:uppercase;text-shadow:0 1px 0 #efefef}
.income-purchase-card{display:grid;grid-template-columns:124px 1fr;gap:14px;background:#fff;border-radius:18px;padding:14px;box-shadow:0 2px 4px #00000010;border:1px solid #ececec;align-items:start}
.income-purchase-thumb-wrap{position:relative;border-radius:12px;overflow:hidden;background:#f5f5f5;height:120px}
.income-purchase-thumb{width:100%;height:100%;object-fit:cover;display:block}
.income-purchase-name{position:absolute;left:0;right:0;bottom:0;padding:10px 8px;color:#fff;font-size:14px;line-height:1.15;background:linear-gradient(transparent,#000000a6)}
.income-purchase-info{display:grid;gap:0}
.income-purchase-row{display:flex;justify-content:space-between;gap:12px;padding:13px 2px;border-bottom:1px solid #ececec;color:#2d2d2d;font-size:14px}
.income-purchase-row:last-child{border-bottom:0}
.income-purchase-row strong{font-size:14px;font-weight:500;white-space:nowrap}
@media (max-width:370px){.income-purchase-card{grid-template-columns:110px 1fr;padding:12px;gap:10px}.income-purchase-thumb-wrap{height:110px}.income-purchase-row{font-size:13px;padding:11px 2px}}

.quick-actions a.quick-withdraw-link{display:flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;border:0;background:transparent;color:#347241;font-size:11px;padding:2px 0 5px}

/* SPRITE V52 theme layer - original functionality preserved */
:root{--sprite-green:#078b48;--sprite-dark:#075d36;--sprite-lime:#d5f448;--primary:#078b48;--primary-color:#078b48;--brand:#078b48;--accent:#a8d832}
body{accent-color:#078b48}
button[type=submit],.primary-btn,.btn-primary,.auth-submit,.login-btn,.register-btn{background:linear-gradient(125deg,#0aa45b,#05753e)!important;color:white!important}
.auth-page,.login-page,.register-page{background:linear-gradient(145deg,#087d45,#0cba67)!important}
a:hover{color:#078b48}
