html[data-ss-portal="riders"] body#ssRacingPage>#ssRacingHero,
html[data-ss-portal="comercios"] body#ssRacingPage>#ssRacingHero,
html[data-ss-portal="riders"] body#ssRacingPage>.header,
html[data-ss-portal="comercios"] body#ssRacingPage>.header{display:none!important}
html[data-ss-authenticated="true"] #ssPortalNav{display:none!important}
html[data-ss-portal="riders"] #fabCart,html[data-ss-portal="comercios"] #fabCart{display:none!important}
html[data-ss-portal="comercios"] [data-action="selectPartnerType"][data-value="motorista"],
html[data-ss-portal="riders"] .ss120-change-profile{display:none!important}
#ssPortalNav{padding:14px 18px!important;min-height:60px;box-sizing:border-box}
#ssPortalNav strong{font-size:19px!important}#ssPortalNav nav{display:flex;gap:16px}

.ss-order-as-client{display:flex!important;align-items:center;justify-content:center;gap:10px;text-decoration:none!important;background:#ffd500!important;color:#111!important;border:1px solid #d7b600!important;min-height:48px;box-sizing:border-box}.ss-order-as-client span{margin-left:auto}

html body#ssRacingPage .ss-rider-dashboard>.ss-rider-order-food{display:flex!important;align-items:center;justify-content:space-between;gap:12px;background:#ffd500!important;color:#111!important;padding:8px 12px;min-height:40px;width:fit-content;max-width:100%;align-self:flex-start;border-radius:11px;text-decoration:none;font-size:13px;font-weight:750;border:1px solid #dabb00;box-shadow:0 3px 10px #0000000c}.ss-rider-order-food:focus-visible{outline:3px solid #1565c0;outline-offset:3px}

/* Rider communications belong in the header, outside the order content. */
html body#ssRacingPage .ss-rider-brand .ss-rider-alert{display:none!important}
html body#ssRacingPage .ss-rider-header-actions{display:flex!important;align-items:center;gap:8px;margin-left:auto;flex:0 0 auto}
html body#ssRacingPage .ss-rider-header-actions #supportChat,html body#ssRacingPage .ss-rider-header-actions #notificationBell{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;margin:0!important;padding:0!important;border-radius:12px!important;background:#242629!important;border:1px solid #3b3e43!important;color:#ffe000!important;box-shadow:none!important;font-size:0!important;transform:none!important;z-index:auto!important;animation:none!important}
html body#ssRacingPage .ss-rider-header-actions button::before,html body#ssRacingPage .ss-rider-header-actions button::after{display:none!important}
html body#ssRacingPage .ss-rider-header-actions button>span{position:absolute!important;top:-5px!important;right:-5px!important;left:auto!important;width:18px!important;height:18px!important;min-width:18px!important;font-size:10px!important;border:2px solid #101113!important;line-height:14px!important}
html body#ssRacingPage:has(.ss-rider-dashboard) #notificationPanel{position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 88px)!important;bottom:auto!important;right:12px!important;left:auto!important;width:min(380px,calc(100vw - 24px))!important;max-height:calc(100dvh - 180px)!important;z-index:10000!important}
html body#ssRacingPage .ss-rider-header-actions button:focus-visible{outline:2px solid #ffe000!important;outline-offset:3px}
@media(max-width:360px){html body#ssRacingPage .ss-rider-brand{padding-left:12px!important;padding-right:12px!important;gap:6px!important}.ss-rider-header-actions{gap:6px!important}.ss-rider-brand-word{font-size:22px!important}}
.ss-balance-card{background:#111315;color:#fff;padding:24px;border-radius:22px;margin:0 0 18px;box-shadow:0 10px 26px #00000012}.ss-balance-card>small{color:#ffdb00;font-size:11px;font-weight:800;letter-spacing:1.5px}.ss-balance-card h3{color:#fff;margin:10px 0;font-size:19px}.ss-balance-amount{display:block;color:#ffdb00;font-size:clamp(29px,8vw,44px);line-height:1.2;overflow-wrap:anywhere}.ss-balance-card p{font-size:13px;line-height:1.6;margin:10px 0;color:#d1d5db}.ss-balance-review,.ss-balance-payout{padding:14px 0;border-bottom:1px solid #ffffff24;font-size:14px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.ss-balance-review small{display:block;flex-basis:100%;color:#c5c9cf;font-size:12px}.ss-balance-payout b{color:#85e6b6}.ss-balance-card .btn{width:100%;margin-top:12px;min-height:46px}.ss-balance-limit{margin-top:20px;border-top:1px solid #ffffff24;padding-top:16px}.ss-balance-limit small{display:block;color:#bfc5cc;font-size:12px;line-height:1.5}.ss-balance-track{height:9px;border-radius:10px;background:#404348;overflow:hidden}.ss-balance-track span{display:block;background:#ffdb00;height:100%;border-radius:10px}.ss-balance-movements{padding:20px;background:#fff;border:1px solid #e6e8ec;border-radius:20px;margin-bottom:18px}.ss-balance-movements>small{color:#667085;line-height:1.5;display:block;margin:10px 0}.ss-balance-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:17px 0;border-bottom:1px solid #eee}.ss-balance-row>div{min-width:0}.ss-balance-row b{font-size:14px}.ss-balance-row small,.ss-balance-row time{display:block;font-size:12px;color:#667085;line-height:1.6}.ss-balance-row>strong{font-size:14px;white-space:nowrap}.ss-balance-credit{color:#12834e}@media(max-width:360px){.ss-balance-card,.ss-balance-movements{padding:16px}.ss-balance-row{gap:8px;flex-wrap:wrap}}

/* Four equal, compact rider navigation items. */
html body#ssRacingPage .ss-rider-bottom{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important}
html body#ssRacingPage .ss-rider-bottom button{min-width:0!important;width:100%!important;min-height:52px!important;padding:5px 2px 7px!important;gap:4px!important;font-size:11px!important;line-height:1.2!important;overflow:visible!important}
html body#ssRacingPage .ss-rider-bottom button span{display:block!important;white-space:nowrap!important;max-width:100%!important}
html body#ssRacingPage .ss-rider-bottom button svg{width:22px!important;height:22px!important;flex-shrink:0!important}

.ss-limit-heading{display:flex;flex-direction:column;gap:8px}.ss-limit-heading>strong{font-size:27px;color:#ffdb00}.ss-limit-values{display:flex;justify-content:space-between;gap:12px;margin:16px 0 10px;font-size:12px}.ss-limit-values b{display:block;margin-top:5px;font-size:15px}.ss-limit-scale{display:flex;justify-content:space-between;font-size:11px;color:#c5c9cf;margin-top:7px}.ss-balance-limit .ss-limit-notice{padding:12px;border-radius:12px;background:#ffffff0d;color:#e5e7eb}.ss-limit-near .ss-balance-track span{background:#ffab24}.ss-limit-near .ss-limit-notice{background:#ffab241a!important;color:#ffcf7d!important}.ss-limit-full .ss-balance-track span{background:#ff5c69}.ss-limit-full .ss-limit-notice{background:#ff5c6920!important;color:#ffb4bb!important}.ss-limit-full .ss-limit-heading>strong{color:#ff8993}
