/* Mobile-first visual system. */
:root{--surface:#20132c;--surface-raised:#2b1a39;--line:#493052;--muted:#bdaacb;--accent:#e3a1df;--app-bottom:76px}
html{scroll-padding-bottom:100px}
body.mobileapp{max-width:600px;font-size:16px;line-height:1.55;background:radial-gradient(ellipse at 100% 0,#40204b66,transparent 38%),#130b1d}
button,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{min-height:44px;border-radius:12px;font-size:14px;line-height:1.4}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #f0b6ea;outline-offset:3px}
input,select,textarea{font-size:16px;min-height:48px;border-radius:12px;padding:12px;max-width:100%}
input[type=checkbox],input[type=radio]{min-height:0;flex-shrink:0}
textarea{line-height:1.6;min-height:116px}
.mobileapp .shell>header{position:sticky;top:0;z-index:25;height:68px;padding:12px 18px;background:#160c21eb;backdrop-filter:blur(18px);border-bottom:1px solid #452d4c66}
.mobilebrand{font-size:21px;letter-spacing:-.5px;white-space:nowrap}
.headeractions{gap:6px;min-width:0}.balancechip{font-size:12px;padding:8px 10px;min-height:38px;white-space:nowrap;border-color:#684374;background:#33203e}
.menubutton{height:44px;width:36px;min-width:36px;padding:4px;font-size:22px}
main{padding:18px 16px 24px;min-height:calc(100dvh - 200px)}
.mobilewelcome{margin:0 0 18px}.mobilewelcome h1{font-size:27px;line-height:1.3;margin:0 0 8px;letter-spacing:-.6px}.mobilewelcome p{font-size:14px;line-height:1.6;margin:0;color:#bfadca}
.pagetitle{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;margin:0 0 20px}
.pagetitle h1{font-size:25px;line-height:1.3;letter-spacing:-.5px;margin:0 0 8px}.pagetitle .muted{font-size:14px;line-height:1.6}
.pagetitle>button{white-space:nowrap;min-height:40px;padding:9px 12px;background:#2b1a39;border-color:#5a3b65;font-size:13px}
.card,.nearby-panel,.mobiletask,.rewardhero,.quota-banner{border-radius:18px;border-color:#493052;background-color:var(--surface);box-shadow:none}
.card{padding:18px;margin-bottom:14px}.card h2{font-size:18px;line-height:1.45;margin-top:0}.card h3{font-size:16px;line-height:1.5}.muted{font-size:14px;line-height:1.6}
.row{gap:10px}.row>*{min-width:0}.tag{font-size:12px;line-height:1.5;padding:4px 8px;border-radius:8px}
.primary{background:linear-gradient(115deg,#a34bb5,#bf68b4);border-color:#cb80c5;box-shadow:0 4px 14px #a34bb516}
.walletstrip{padding:20px;border-radius:20px;gap:14px;background:linear-gradient(125deg,#573066,#2e1a3d);border-color:#7a4b86;margin-bottom:12px;align-items:center}
.walletstrip>div{min-width:0}.walletstrip>div>span{font-size:14px;color:#e0c6e7}.walletstrip b{font-size:36px;line-height:1.15;margin-top:6px}.walletstrip>button{flex-shrink:0;white-space:nowrap;padding:10px 14px;background:#ffffff10;border-color:#b886be80}
.money-display{display:flex!important;flex-direction:column;gap:3px;min-width:0;max-width:100%;overflow-wrap:normal!important;word-break:normal!important;overflow-x:auto;scrollbar-width:none}
.money-display>.money-code{font-size:12px!important;font-weight:500;line-height:1.25!important;letter-spacing:.6px;color:#cbb2d4!important;white-space:nowrap}
.money-display>.money-value{display:block;white-space:nowrap;line-height:1.2!important;font-size:inherit!important;font-weight:inherit!important;font-variant-numeric:tabular-nums;letter-spacing:-.6px;color:inherit!important;overflow-wrap:normal!important}
.quota-banner{padding:12px 15px;gap:12px;margin:0 0 18px;background:#251732;border-color:#48304f;align-items:center}.quota-banner b{font-size:14px}.quota-banner span{font-size:12px;line-height:1.5;margin-top:3px;color:#bdaacb}.quota-banner .textbtn{flex-shrink:0;min-width:44px;font-size:14px}
.nearby-panel{padding:14px;margin-bottom:0}.nearby-panel .row{align-items:center;flex-wrap:nowrap}.nearby-panel .row>div{flex:1;line-height:1.45}.nearby-panel b{font-size:14px}.nearby-panel .textbtn{flex-shrink:0;font-size:13px}.nearby-controls{gap:8px;margin-top:12px}.nearby-controls select{width:37%;font-size:14px;min-height:46px;padding:10px}.nearby-controls button{min-height:46px;font-size:14px;padding:10px}.nearby-panel .muted{font-size:12px;margin:10px 0 0}
.quicklinks{gap:9px;margin:14px 0 20px}.quicklinks button{display:flex;flex-direction:column;gap:6px;min-height:74px;padding:12px 5px;background:#251733;border-color:#48304f;font-size:13px}.quicklinks span{font-size:22px;line-height:1.1}.quicklinks .quick-label{font-size:13px;color:inherit}
.sectionhead{margin:24px 0 12px;gap:12px;align-items:center}.sectionhead h2{font-size:19px;margin:0}.sectionhead .textbtn{font-size:14px;white-space:nowrap}
.mobilelist{display:grid;gap:12px}.mobiletask{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:15px;background:#21132e}
.task-symbol{width:34px;height:38px;font-size:23px;border-radius:11px}.taskbody .row{gap:8px;align-items:start;flex-wrap:wrap}.tasktype,.distance{font-size:12px;line-height:1.45}.distance{margin-inline-start:auto}.taskbody h3{font-size:16px;line-height:1.5;margin:9px 0 7px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:break-word}.taskbody p{font-size:13px;line-height:1.55;margin:0 0 13px;color:#bba7c9}
.earnbutton{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;font-size:13px;padding:11px 12px;line-height:1.3}.earnbutton strong{font-size:16px;white-space:nowrap;overflow-wrap:normal;line-height:1.3}
.tabs{gap:6px;padding:5px;background:#24162f;border:1px solid #493052;border-radius:14px;margin:0 0 16px}.tabs button{flex:1;min-width:0;min-height:43px;padding:10px 8px;border-radius:10px;border:0;font-size:14px;background:transparent;line-height:1.4}.tabs button.active{background:#6d3e7b;color:#fff;box-shadow:none}
.tasksearch{margin:15px 0 0;background:#251733;border-color:#573661}.categorychips{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:14px 16px;scroll-snap-type:x proximity}.categorychips button{flex:0 0 auto;min-height:40px;padding:9px 13px;font-size:14px;white-space:nowrap;scroll-snap-align:start}.listmeta{font-size:12px;margin:0 0 13px;line-height:1.5;align-items:start}.listmeta>span:last-child{text-align:end;max-width:48%}
.stats{gap:10px;margin-bottom:18px}.stats .card{padding:16px;min-width:0;margin:0}.stats .muted{font-size:13px}.stats strong{font-size:28px;line-height:1.3;margin:7px 0;overflow-wrap:normal;word-break:normal}.stats .money-display{font-size:29px}
body[data-page=invite] .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-page=invite] .stats>.card:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px}body[data-page=invite] .stats>.card:last-child .money-display{align-items:flex-end;font-size:27px;margin:0}
.rewardhero{padding:20px;border-radius:20px;margin:0 0 18px;background:linear-gradient(135deg,#4d285b,#271633);border-color:#795087}.rewardhero h1{font-size:25px;line-height:1.35;margin:12px 0 18px;letter-spacing:-.5px}.rewardhero .eyebrow{font-size:12px;letter-spacing:1px}.rewardhero>p{font-size:14px;line-height:1.75;margin:14px 0 0;color:#d2bcdb}
.invite-earnings{gap:10px;margin:0}.invite-earnings>div{padding:15px 12px;min-width:0;background:#261433;border-color:#795087;border-radius:14px}.invite-earnings>div>span{font-size:13px;line-height:1.5;min-height:38px}.invite-earnings strong{font-size:29px;margin:8px 0 0;line-height:1.25;overflow-wrap:normal}.invite-earnings .money-display{font-size:29px}.invite-earnings .money-code{margin-bottom:1px}
.code{font-size:13px;line-height:1.65;padding:12px;overflow-wrap:anywhere;border-radius:12px;background:#160e21}.sharegrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sharegrid button{min-height:44px;font-size:12px;overflow-wrap:anywhere}.referral-person{padding:16px 0}.referral-person .row{align-items:start;flex-wrap:wrap}
body[data-page=wallet] .stats{grid-template-columns:1fr!important}body[data-page=wallet] .stats>.card:first-child{padding:21px;background:linear-gradient(130deg,#593369,#2d1a3b);border-color:#81568f;display:flex;flex-direction:column;gap:5px}body[data-page=wallet] .stats>.card:first-child .money-display{font-size:40px;margin:5px 0}body[data-page=wallet] .stats>.card:first-child button{margin-top:13px;min-height:48px}body[data-page=wallet] .stats>.card:nth-child(2){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 14px}body[data-page=wallet] .stats>.card:nth-child(2) strong{grid-column:2;grid-row:1/3;align-items:flex-end;font-size:25px;margin:0}body[data-page=wallet] .stats>.card:nth-child(2)>.muted:last-child{grid-column:1;font-size:12px}
.payoutcard .row{align-items:start;flex-wrap:wrap}.payoutcard .row h2{margin-bottom:0}.payoutcard p{font-size:14px;line-height:1.75;margin:14px 0}.payoutcard button{margin-top:0;min-height:48px}.progress{height:7px;border-radius:8px;overflow:hidden;background:#3a2348}.progress>div{background:linear-gradient(90deg,#a657ba,#e6a4dc)}
body[data-page=rewards] .stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}body[data-page=rewards] .stats .card{padding:13px 9px}body[data-page=rewards] .stats strong{font-size:22px}body[data-page=rewards] .grid{grid-template-columns:1fr!important;gap:12px}body[data-page=rewards] .grid .card{margin:0}body[data-page=rewards] .grid .price{font-size:22px}body[data-page=rewards] .grid .row:last-child{margin-top:12px}.ad-card{padding:16px;gap:12px}.ad-copy h3{font-size:16px}.ad-copy p{font-size:14px}.ad-bottom{gap:10px;flex-wrap:wrap}.ad-bottom strong{font-size:21px;white-space:nowrap}.ad-bottom a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;padding:10px 14px}
.ranking-board .podium{gap:7px;margin:20px 0 16px}.ranking-board .podiumcard{padding:16px 5px}.ranking-board .podiumcard h3{font-size:14px}.ranking-board .ranking-money strong{font-size:20px}.ranking-board .ranking-money small{font-size:11px}.ranking-list-row{padding:15px 12px;gap:10px}.ranking-person h3{font-size:14px}.ranking-earnings strong{font-size:19px}.ranking-tasks,.ranking-caption{font-size:12px}.ranking-self{display:grid;gap:8px}.twocol{display:grid;grid-template-columns:1fr;gap:0}.reviewcard{padding:17px}.reviewcard p{font-size:14px;line-height:1.8}.starpicker{display:flex;gap:6px;margin:8px 0 16px}.starpicker button{flex:1;min-height:44px;font-size:24px;padding:6px;border-radius:10px}.stars{font-size:18px}.reviewimage{max-height:220px}.tablewrap{overflow-x:auto;border-radius:10px}table{font-size:13px;line-height:1.6}th,td{padding:12px 8px;min-width:76px}td:first-child{min-width:135px;max-width:230px;overflow-wrap:anywhere}
.mobileapp aside{inset:auto auto 0 50%;width:100%;max-width:600px;height:calc(var(--app-bottom) + env(safe-area-inset-bottom));padding:5px 10px max(7px,env(safe-area-inset-bottom));transform:translateX(-50%);border:0;border-top:1px solid #614068;border-radius:22px 22px 0 0;background:#261b32f5;box-shadow:0 -8px 35px #0002;z-index:40;backdrop-filter:blur(20px)}
nav{gap:3px}nav a,nav a.active{width:20%;padding:8px 3px 6px;min-height:58px;border-radius:13px;font-size:12px;line-height:1.35;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}nav a i{font-size:22px;line-height:1.1;margin:0}nav a.active{background:#8f4d9b38;color:#f6c0ed}
footer{padding:22px 16px calc(var(--app-bottom) + env(safe-area-inset-bottom) + 25px);font-size:11px;line-height:1.7;overflow-wrap:anywhere}.source-note{font-size:12px;line-height:1.7;margin-top:18px}
#isolated-chat[style*="110px"]{bottom:calc(80px + env(safe-area-inset-bottom))!important;right:max(0px,calc((100vw - 600px)/2))!important}
#toast{bottom:calc(var(--app-bottom) + env(safe-area-inset-bottom) + 20px);max-width:calc(100vw - 32px);width:max-content;padding:13px 18px;border-radius:13px;font-size:14px;line-height:1.6;z-index:10020}
@media(max-width:640px){
 .backdrop,.flow-backdrop{padding:0;align-items:flex-end;z-index:100;background:#08040fc7;backdrop-filter:blur(5px)}
 .dialog,.flow-dialog{width:100%;max-width:600px;max-height:calc(100dvh - 28px);padding:20px 18px 0;margin:0;border-radius:24px 24px 0 0;border:1px solid #745080;border-bottom:0;overflow-y:auto;overscroll-behavior:contain;background:#20132c}
 .dialoghead{position:sticky;top:-20px;z-index:3;padding:18px 0 13px;margin:0 0 15px;background:#20132c;border-bottom:1px solid #493052;align-items:center;gap:12px}.dialoghead h2{font-size:19px;line-height:1.4;margin:0}.dialoghead .close{width:40px;height:40px;min-width:40px;padding:0;border:1px solid #674371;background:#2f1d3c;border-radius:12px;font-size:25px;flex-shrink:0}
 .dialog>.actions,.flow-dialog>.actions{display:flex;flex-direction:column;gap:9px;position:sticky;bottom:0;z-index:4;padding:15px 0 calc(17px + env(safe-area-inset-bottom));margin:20px 0 0;border-top:1px solid #50325c;background:#20132c}.actions>button{width:100%;min-height:47px;white-space:normal;line-height:1.45;margin:0}.actions>.primary{order:-1}.dialog p,.dialog li{font-size:14px;line-height:1.75}.dialog h3{font-size:17px;line-height:1.5}.dialog label{font-size:14px;margin-bottom:7px}.detailbox{padding:15px;border-radius:14px;background:#2c1b3b;border-color:#52335f;margin:15px 0}.flowsteps{gap:8px;margin-bottom:20px}.flowsteps span{font-size:12px;line-height:1.4;gap:5px}.flowsteps b{width:23px;min-width:23px;height:23px;font-size:12px}.flowtitle,.flowtaskhead h2{font-size:21px;line-height:1.5;letter-spacing:-.3px}.flowtaskhead .row{flex-wrap:wrap;gap:12px}.flowprice{font-size:27px;white-space:nowrap}.flowchecklist{padding-inline-start:21px}.flowchecklist li{margin-bottom:9px}.flowhint{padding:13px;font-size:14px;line-height:1.7}.payoutchoice{min-height:72px;padding:14px;gap:12px}.payoutchoice b{font-size:16px}.payoutchoice small{font-size:12px;line-height:1.5}.payoutchoice>span{font-size:25px}.payoutchoices{gap:10px;margin:15px 0}.photoactions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.photoactions button{min-height:47px;font-size:14px}.sharegrid{gap:8px}
}
@media(min-width:641px){.backdrop{padding:24px}.dialog{border-radius:24px;max-width:560px;max-height:90dvh}.flow-dialog{border-radius:24px;max-width:560px}.flow-backdrop{align-items:center}}
@media(max-width:360px){main{padding-inline:13px}.mobileapp .shell>header{padding-inline:14px}.mobilebrand{font-size:19px}.balancechip{font-size:11px;padding:8px}.headeractions{gap:3px}.mobilewelcome h1{font-size:25px}.walletstrip{padding:17px}.walletstrip b{font-size:32px}.invite-earnings strong,.invite-earnings .money-display{font-size:25px}.rewardhero{padding:17px}.rewardhero h1{font-size:23px}.invite-earnings>div{padding:13px 10px}.invite-earnings>div>span{font-size:12px}.earnbutton{font-size:12px;padding:10px}.earnbutton strong{font-size:14px}.quicklinks{gap:7px}nav a,nav a.active{font-size:11px}.pagetitle h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Keep a real task visible on the home screen, rather than stacking controls. */
body[data-page=home] .nearby-panel .nearby-controls,body[data-page=home] .nearby-panel>.muted{display:none}
body[data-page=home] .nearby-panel{padding:10px 14px}
body[data-page=home] .nearby-panel .row{min-height:40px}
body[data-page=home] .quicklinks{margin:12px 0 16px}
body[data-page=home] .quicklinks button{min-height:64px;padding:9px 4px}
body[data-page=home] .quicklinks span{font-size:20px}
body[data-page=home] .quicklinks .quick-label{font-size:13px}
body[data-page=home] .sectionhead{margin-top:20px}
body[data-page=invite] .stats>.card:last-child{padding-inline-end:78px}
body:has(#modal:not(:empty)) #isolated-chat[style*="110px"],body.intro-active #isolated-chat[style*="110px"]{visibility:hidden}
nav a,nav a.active{height:100%;padding:5px 2px}
.nav-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:2.5em;line-height:1.25;overflow-wrap:anywhere;text-align:center}
.ranking-board .podiumcard .ranking-money strong{white-space:nowrap;font-size:clamp(15px,4.8vw,23px);max-width:100%;overflow-x:auto;scrollbar-width:none}
body[data-page=home] main{padding-top:14px}
body[data-page=home] .mobilewelcome{margin-bottom:14px}
body[data-page=home] .walletstrip{padding:18px}
body[data-page=home] .walletstrip b{font-size:34px}
body[data-page=home] .quota-banner{padding:10px 14px}
body[data-page=home] .quicklinks{margin-bottom:12px}
body[data-page=home] .sectionhead{margin-top:18px}
/* A statement remains a separate paper card; it does not inherit the app surface. */
.reviewcard .proof-link{display:inline-flex;align-items:center;min-height:40px;padding:7px 0;border:0;border-radius:0;color:#e6a1df;background:none;box-shadow:none;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.backdrop.proof-backdrop{align-items:center;padding:20px}
.dialog.proof-dialog{width:100%;max-width:390px;max-height:90dvh;border:1px solid #745080;border-radius:22px;padding:20px;background:#20132c}
.proof-dialog .dialoghead{position:static;margin:0 0 16px;padding:0 0 13px}
.proof-dialog .proofsample{position:relative;padding:26px 16px;background:repeating-linear-gradient(135deg,#faf8fc,#faf8fc 18px,#f1edf5 18px,#f1edf5 19px);color:#3a2842;border:1px dashed #b49cbd;border-radius:14px;box-shadow:none;overflow:hidden}
.proofsample .eyebrow{color:#785a84;font-size:12px;letter-spacing:2px}.proofsample h2{color:#3a2842;font-size:18px;line-height:1.5;margin:12px 0}.proofsample .balance{font-size:34px;line-height:1.3;color:#5b316a;font-weight:750;white-space:nowrap}.proofsample p{font-size:14px;color:#725a7c}.proofsample strong{display:inline-block;border:2px solid #996577;border-radius:5px;color:#996577;background:transparent;padding:6px 13px;font-size:14px;transform:rotate(-5deg);margin:15px 0 0}
.proof-dialog>.actions{position:static;padding:16px 0 0;margin:0;border:0;background:transparent}.proof-dialog>.actions button{min-height:44px}
body[data-page=tasks] .quota-banner span{display:none}
body[data-page=tasks] .quota-banner{padding:8px 14px;margin-bottom:15px}
.location-settings{margin-top:5px;border-top:1px solid #493052;padding-top:4px}
.location-settings summary{font-size:13px;line-height:1.5;min-height:29px;display:flex;align-items:center;justify-content:space-between;color:#d3b3dd;cursor:pointer;list-style:none}
.location-settings summary:after{content:'⌄';font-size:17px}.location-settings[open] summary:after{content:'⌃'}.location-settings summary::-webkit-details-marker{display:none}.location-settings .nearby-controls{margin-top:8px}.location-settings>.muted{font-size:12px;line-height:1.6;margin-top:8px}
.ranking-shortcut{position:fixed;right:max(16px,calc((100vw - 600px)/2 + 16px));bottom:calc(172px + env(safe-area-inset-bottom));z-index:2147482000;width:68px;min-height:52px;padding:6px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #a36db0;border-radius:15px;background:linear-gradient(135deg,#784288,#4a285e);color:#fae6fb;box-shadow:0 5px 18px #0003;font-size:11px;line-height:1.3}
.ranking-shortcut>span:first-child{font-size:20px;line-height:1}.ranking-shortcut>span:last-child{max-width:100%;overflow-wrap:anywhere;text-align:center}
body:has(#modal:not(:empty)) .ranking-shortcut,body.intro-active .ranking-shortcut,[data-i18n-loading] .ranking-shortcut{visibility:hidden}
.ranking-shortcut{z-index:2147483100}
body:has(#isolated-chat[style*="100dvh"]) .ranking-shortcut{visibility:hidden}
