/* Playful city: sky blue, apricot and sunshine. Traffic colours stay semantic. */
:root{--ink:#28404e;--muted:#5d7f92;--purple:#52a7d9;--yellow:#65b7e6;--yellow-soft:#ecf6fc;--line:#dbecf6;--bg:#f5fafd;--shadow:0 6px 0 #dbe9f1;font-family:"Noto Sans Arabic",Tahoma,Arial,sans-serif}
body{background:radial-gradient(ellipse at 92% 8%,#e2f6ff 0,transparent 42%),radial-gradient(ellipse at 3% 60%,#ffece5 0,transparent 38%),#f5fafd}
::selection{background:#d9edf9;color:#254a5f}
button,a,input,select,textarea{transition:background-color .15s,box-shadow .15s,transform .15s}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,#map:focus-visible{outline:3px solid #83c5eb;outline-offset:3px}
.top{background:#fff;border-bottom:2px solid #e0eff8;box-shadow:0 3px 0 #eaf4fa}.brand{color:#335a71}.brand small{color:#7595a7}.logo{background:linear-gradient(145deg,#9bd0ef,#51a7d9);color:#fff;border:2px solid #4793bf;box-shadow:0 4px 0 #37799f;border-radius:16px}.top nav button{color:#608397;border:1px solid transparent;border-radius:14px}.top nav .selected,.top nav button:hover{background:#e8f4fb;color:#4286ae;border-color:#cfe8f7;box-shadow:0 3px 0 #d4e8f4}.stars{background:#fff2c9;border:2px solid #f2db8b;color:#7c5b15;box-shadow:0 3px 0 #f2e1b3;border-radius:15px}.profile{border:2px solid #8fc5e5;background:#e7f4fb;box-shadow:0 3px 0 #c9e6f6}
h1{color:#2b4d61}h1 span,.eyebrow{color:#5daedd}.eyebrow{font-weight:800}.heading p,p{color:var(--muted)}
.primary{background:linear-gradient(180deg,#81c4ea,#55aadb);color:#fff;border:2px solid #4695c3;border-radius:16px;box-shadow:0 5px 0 #337499;text-shadow:0 1px 0 #326a8a55}.primary:hover{background:linear-gradient(180deg,#94cdee,#60b4e5);color:#fff;box-shadow:0 5px 0 #337499}.primary:active{transform:translateY(3px);box-shadow:0 2px 0 #337499}
.secondary{background:#e9f4fb;color:#457997;border:1px solid #cee5f3;border-radius:12px;box-shadow:0 2px 0 #d3e7f3}.secondary:hover{background:#d7ecf9}.x,#dismissOffer,#toggleMission{background:#e9f4fb;color:#4b7a96;border-radius:10px}
.mapcard,.sidecard{border:2px solid #d7e8f2;border-radius:24px;box-shadow:0 6px 0 #deebf2;background:#fff}.mapbar{background:#fbfdfe;border-bottom:2px solid #e7f2f8;color:#35576b}.mapbar>div>svg{color:#6db4dd}.mapactions select{background:#e8f4fb;color:#54829c;border:1px solid #d1e6f2;border-radius:12px;box-shadow:0 2px 0 #ddecf5}.map-expand{background:#65b2de;color:#fff;border:1px solid #4791bc;border-radius:12px;box-shadow:0 3px 0 #367498}.map-expand:hover{background:#77bfe9}.mapbar>div:first-child::after{color:#819eaf}
#map{background:#d9ebf1}.tiles img{filter:saturate(.9) brightness(1.035)}
.zoom{background:#fbfdfe;border:2px solid #d1e5f0;border-radius:17px;box-shadow:0 4px 0 #8bb1c73b;padding:5px}.zoom button{color:#53829e;border-radius:11px}.zoom button:hover{background:#e4f2fb}.zoom #locate{background:#65b2df;color:#fff;box-shadow:0 3px 0 #4185ad;margin-bottom:6px}.zoom #plus{background:#e4f5ff;color:#367ca3}.zoom #minus{background:#eff7fc;color:#608faa}.street-controls button{border:1px solid #d6e6f0;background:#fbfdfe;color:#507a92;border-radius:12px;box-shadow:0 3px 0 #afc7d52b}.street-controls button[aria-pressed=true]{background:#68b3df;color:white;border-color:#509bc6}.mapstatus{background:#fbfdfe;color:#537183;border:1px solid #d9e9f2;border-radius:13px;box-shadow:0 3px 0 #a2c2d42b}.mapstatus i{background:#7cbee4}.mapstatus[data-state=offline] i{background:#95adbb}.legend{border:1px solid #d7e7f1;border-radius:12px;color:#547283;background:#fbfdfe}.credit{background:#ffffffed;color:#608295}.zonePin{background:#fcfeff;color:#507285;border:2px solid #fff;box-shadow:0 3px 0 #a0bac940}.zonePin.clear{background:#e2faee}.zonePin.busy{background:#fff2d6}.zonePin.jam{background:#ffe4eb}.actor b{background:#5ea9d4;color:#fff;border-color:#e8f4fb;border-radius:10px}.actor.interactive-player b{border-color:#c3e3f5;box-shadow:0 3px 0 #6e9fbc30}.actor.interactive-player:hover b{background:#428ab4}
.mission-card{background:linear-gradient(160deg,#fff,#f6fbfe);border:2px solid #c7e2f2;border-top:5px solid #87c6eb;border-radius:23px;box-shadow:0 5px 0 #cde3ef}.mission-label{color:#5489a8}.mission-reward{background:#ffebc6;color:#8c5d18;border:1px solid #f7d79c}.mission-card h2{color:#355f77}.mission-rule span{background:#e7f4fb;color:#628aa1}.mission-shortcuts button{background:#e5f2fa;color:#568098;border:1px solid #d1e6f2;border-radius:11px}.mission-shortcuts button:nth-child(2){background:#e6f5ff;color:#3e7d9b;border-color:#c8e5f6}.mission-shortcuts button:nth-child(3){background:#fff0e6;color:#a16d4e;border-color:#f2dcca}.is-fullscreen .mission-card{box-shadow:0 5px 0 #9ab3c13b,0 12px 26px #41667b12}.mapcard.is-fullscreen{border:0;border-radius:0;box-shadow:none;background:#fbfdfe}.is-fullscreen .mapbar{border-bottom:2px solid #d7e9f3}
.iconbox{border-radius:13px}.iconbox.green{background:#dff6f2;color:#3e9b86}.iconbox.purple{background:#e6f3fb;color:#60a3ca}.taxi-icon{background:#fff0cf;color:#b78526}.cardheading h2{color:#45697e}.cardheading small,.row small{color:#819eaf}.row{color:#5a7a8c;border-color:#e8f2f7}.row:hover{color:#569fca}.pill:not(.clear):not(.busy):not(.jam){background:#eaf4fa;color:#829fb0}.friends-card:hover,.taxi-card:hover{border-color:#a6cee5}.faces img,.faces span{background:#e4f2fb;color:#5898bd}.faces img:nth-child(2){background:#ffe5e4}.faces img:nth-child(3){background:#def4ff}
.auth-gate{background:radial-gradient(ellipse at 10% 18%,#d3eaf8,transparent 48%),radial-gradient(ellipse at 90% 85%,#d2f3ff,transparent 45%),linear-gradient(135deg,#f5fafd,#fff0eb)}.auth-card{background:#fff;border:2px solid #d4e8f4;border-top:6px solid #86c6eb;border-radius:28px;box-shadow:0 8px 0 #c3deee55,0 20px 55px #56819a16}.auth-brand{color:#508cae}.auth-brand svg{background:#e4f2fb;color:#64a9d1;border:1px solid #c5e3f5;border-radius:12px}.auth-brand span{color:#85a1b1}.auth-card h1{color:#406980}.auth-switch{color:#589cc3}.auth-card #authError{color:#b73861}.form input,.form select,.form textarea{background:#fafdfe;border:1px solid #d3e3ed;border-radius:12px;color:#425e6f;accent-color:#63aed9}.choices button{background:#eaf4fa;color:#52798f;border-radius:12px}.choices button[aria-pressed=true]{background:#dceef9;outline-color:#7fc1e8}.code{background:#edf7fc;color:#6192af;border:1px dashed #bbdbed}.map-player-card{background:#edf4ff;border:1px solid #d7e4fa}.account-setup{background:#eaf5fb;border:2px solid #c8e4f5;border-radius:20px}.account-setup p{color:#5e88a1}.account-request{border-color:#dcebf3}
.shop-hero{background:radial-gradient(ellipse at right bottom,#9cd1ef,transparent 70%),linear-gradient(130deg,#5da7d2,#4184ab);border:2px solid #70aacc;border-radius:20px;box-shadow:0 4px 0 #c5dfee}.shop-hero .shop-balance{color:#ffefb6}.shop-hero small,.shop-hero span{color:#ecf6fc}.shop-tabs{background:#eaf4fa;border-radius:14px}.shop-tabs button{color:#799bae;border-radius:11px}.shop-tabs button[aria-pressed=true]{background:#fff;color:#669fc0;box-shadow:0 3px 0 #c8deeb}.shop-item{border:2px solid #e0eff7;border-radius:18px;background:#fff}.shop-item-art{background:radial-gradient(ellipse at center,#fff 12%,#e4f2fb 100%);border-radius:13px}.shop-item:nth-child(4n+2) .shop-item-art{background:radial-gradient(ellipse at center,#fff,#dff4ff)}.shop-item:nth-child(4n+3) .shop-item-art{background:radial-gradient(ellipse at center,#fff,#ffeadf)}.shop-item strong{color:#598096}.shop-item>small{color:#8aa5b4}.outfit-card{background:#f8fcfe;border:2px solid #d9eaf4;border-radius:20px}.outfit-stage{background:radial-gradient(ellipse at 28% 24%,#fff6df,transparent 55%),linear-gradient(135deg,#e0f0fa,#dff4ff)}.outfit-summary li{background:#e7f4fb;color:#729cb5}
.adcard,#nearby,.offerbody,.place-offer{background:linear-gradient(120deg,#fff7e6,#ffe8dc);color:#936044;border:2px solid #f4dac6;border-radius:18px}.adcard>strong{background:#eba779;color:#fff}.adcard>span small,.offerbody p,.place-offer span{color:#b28568}#nearby{box-shadow:0 5px 0 #b8846e25,0 12px 32px #714c3818}#toast{background:#5287a6;color:white;border:2px solid #80acc6;border-radius:16px;box-shadow:0 4px 0 #3b657d}dialog{border:2px solid #cbe2ef;border-radius:25px;background:#fff;box-shadow:0 8px 0 #47677a33,0 25px 65px #30465233}dialog::backdrop{background:#21384688}.panelhead h2{color:#52788e}.panelhead .x{border:1px solid #cee2ee}.request-count{background:#f080a1;color:#fff}#adminPlaces{background:#dff0fa;color:#6997b2}footer,footer button{color:#8ba8b9}footer span{color:#9bc7e1}
@media(prefers-reduced-motion:reduce){button,a,input,select,textarea{transition:none}}
.cardheading small,.row small{color:#608397}.auth-brand span{color:#64879c}.shop-item>small,.shop-item small{color:#678a9e}.shop-tabs button{color:#60879e}.outfit-summary li{color:#57829b}footer,footer button{color:#678a9e}.mapbar>div:first-child::after{color:#64879c}

.mission-card[hidden],.restore-mission[hidden]{display:none}.restore-mission{position:absolute;z-index:6;right:max(12px,env(safe-area-inset-right));bottom:calc(56px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:7px;padding:10px 14px;background:#fbfdfe;color:#5287a6;border:2px solid #c8e1ef;border-radius:15px;box-shadow:0 3px 0 #a7cadf70;font-weight:800;font-size:14px}.restore-mission svg{width:18px;height:18px}.restore-mission:hover{background:#e3f2fa}#toggleMission{min-width:32px;min-height:32px}

/* Cartoon sky identity: blue, warm apricot and sunshine. */
:root{--ink:#24485f;--muted:#627c8f;--purple:#2287bb;--yellow:#f2b94b;--yellow-soft:#fff3d2;--line:#d0e6f2;--bg:#f3fbff;--shadow:0 6px 0 #d8ebf5}
body{background:radial-gradient(ellipse at 92% 8%,#d8f3ff,transparent 42%),radial-gradient(ellipse at 3% 60%,#fff0dc,transparent 38%),#f3fbff}
.logo{background:linear-gradient(145deg,#71ccef,#369bcf);border-color:#2785b5;box-shadow:0 4px 0 #246c93;color:white}.top nav .selected,.top nav button:hover{background:#e0f3fc;color:#287da6;border-color:#b9dfef;box-shadow:0 3px 0 #cde8f4}
.primary{background:linear-gradient(180deg,#ffcc76,#f7af50);border-color:#e19a3d;color:#61451f;box-shadow:0 5px 0 #c38332;text-shadow:none}.primary:hover{background:linear-gradient(180deg,#ffd58a,#f9b85e);color:#61451f;box-shadow:0 5px 0 #c38332}.primary:active{box-shadow:0 2px 0 #c38332}
h1{color:#28516e}h1 span,.eyebrow{color:#328eb9}.map-expand{background:#4ba9d7;color:white;border-color:#2c8dbb;box-shadow:0 3px 0 #247399}.map-expand:hover{background:#64b8e0}.zoom #locate{background:#4ba9d7;box-shadow:0 3px 0 #247399}.zoom #plus{background:#fff1cc;color:#aa741d}.zoom #minus{background:#e3f4fc;color:#378db5}.mission-card{border-top-color:#76c7e8}.mission-reward{background:#fff0c9;color:#8a641d}.mission-rule span{background:#e7f5fc;color:#397da1}.shop-hero{background:radial-gradient(ellipse at right bottom,#94d9ee,transparent 70%),linear-gradient(130deg,#4ba9d7,#317fa9);border-color:#6bb4d5}.auth-gate{background:radial-gradient(ellipse at 10% 18%,#c6eaff,transparent 48%),radial-gradient(ellipse at 90% 85%,#fff0cc,transparent 45%),linear-gradient(135deg,#f2fbff,#fff5e9)}.auth-card{border-top-color:#7bc8e7}

.brand .logo{width:48px;height:54px;background:none;border:0;box-shadow:none;border-radius:0}.brand .logo img{display:block;width:100%;height:100%;object-fit:contain}.brand small{font-size:11px;letter-spacing:0;font-weight:700}.auth-brand{gap:12px}.auth-brand>img{width:64px;height:72px;object-fit:contain;flex:none}.auth-brand>div{display:grid;gap:4px}.auth-brand small{font-size:12px;color:#627c8f}.auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:12px;font-size:12px}.auth-links button,.auth-links a{background:none;border:0;color:#367da3;padding:5px;text-decoration:none}.account-counts{display:flex;flex-wrap:wrap;gap:6px}.account-counts span{background:#e7f5fc;padding:7px;border-radius:10px;font-size:12px}.recovery-request{border:1px solid var(--line);border-radius:14px;padding:12px;margin-bottom:10px}.recovery-request small{color:var(--muted)}.form .recovery-confirm{display:flex;align-items:center;gap:8px;font-size:13px}.form .recovery-confirm input{width:auto;flex:none}.recovery-result{display:grid;gap:8px}.recovery-result input{font-size:12px;min-width:0;width:100%}.recovery-result p{font-size:13px}@media(max-width:690px){.brand .logo{width:38px;height:43px}.brand small{display:block;font-size:9px}.brand{gap:6px;font-size:19px}}

html{overflow-x:clip}
.location-gate{z-index:29}.location-gate .auth-card h1{font-size:23px}.permission-help{border:1px solid #cbe4f2;border-radius:12px;padding:10px;background:#eff9ff;font-size:13px;line-height:1.8}.permission-help summary{font-weight:800;cursor:pointer}.permission-help p{font-size:13px;margin:9px 0}.permission-error{color:#8b5b28!important;font-size:13px!important}.password-wrap{display:flex;align-items:stretch;gap:8px;min-width:0;direction:ltr}.form .password-wrap input{flex:1 1 0;width:0;min-width:0;padding:10px;direction:ltr}.password-eye{position:static;flex:0 0 62px;min-height:42px;padding:8px;background:#e1f2fc;color:#2d7397;border:1px solid #c6e5f4;border-radius:10px;font-size:12px;font-weight:800;direction:rtl}.notification-bell{position:relative;display:grid;place-items:center;background:#e7f5fc;border:1px solid #c6e5f4;color:#387c9d;width:38px;height:38px;border-radius:12px}.notification-bell>span{position:absolute;top:-7px;right:-6px;min-width:18px;padding:3px;border-radius:20px;background:#f3a54e;color:#573d18;font-size:10px;font-weight:900}.notification-bell>span[hidden]{display:none}.account-identity{display:flex;align-items:center;gap:10px}.account-identity img{width:55px;height:62px;object-fit:contain}.inbox-event{border-bottom:1px solid var(--line);padding:12px 0}.inbox-event strong{color:#2a7198}.inbox-event p{font-size:14px;margin:5px 0}.inbox-event small{color:var(--muted)}#eventToasts{position:fixed;z-index:45;top:90px;left:50%;translate:-50% 0;width:min(380px,92vw);display:grid;gap:8px;pointer-events:none}.event-toast{pointer-events:auto;text-align:right;direction:rtl;display:grid;gap:5px;background:#fff8e9;color:#5e4824;border:2px solid #f1cc85;border-radius:16px;padding:12px;box-shadow:0 4px 0 #e1b66d55}.event-toast span{font-size:13px;line-height:1.6}#changePasswordForm{border-block:1px solid var(--line);padding-block:12px}@media(max-width:690px){.account{gap:7px}.top .account .stars{padding-inline:6px;min-width:43px}.notification-bell{width:32px;height:34px}.brand{font-size:18px}.brand .logo{width:34px}.brand small{font-size:8px}#eventToasts{top:130px}.map-immersive #eventToasts{top:calc(62px + env(safe-area-inset-top))}}
