/* Mobile taxi terminal: checker trim, compact garage rows and illustrated controls. */
body.street-v3 #navigation{grid-template-columns:repeat(5,minmax(0,1fr))}.street-v3 .nav-button{font-size:11px;gap:4px}.street-v3 .nav-button svg{width:14px;height:14px}.street-v3 .nav-button[data-page="taxi"].active{color:#ffe99b;box-shadow:inset 0 -3px #e3c54e}
.tx-page{--tx-yellow:#ecd558;--tx-ink:#1e252a;--tx-muted:#aeb9b8;min-width:0;background:#222a30;border:1px solid #3d4949;border-radius:4px;overflow:hidden;color:#e9ece4}.tx-page button{min-height:44px;min-width:44px;cursor:pointer;font-family:inherit}.tx-page button:disabled{cursor:default;opacity:.48}.tx-page svg,#dialog-content .tx-confirm svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.tx-page button:focus-visible{outline:2px solid #ffed95;outline-offset:-3px}.tx-stripe{display:flex;align-items:center;gap:8px;min-height:29px;padding:4px 7px;background:linear-gradient(90deg,#68631c,#c1b73277 65%,#e5d42766),repeating-conic-gradient(#d9d751 0% 25%,#797926 0% 50%) 0/44px 44px;border-top:1px solid #fff4;border-bottom:2px solid #111b;color:#fff;isolation:isolate}.tx-stripe>b{padding:2px 4px;background:#332d18;color:#ffe779;font-size:9px;max-width:55px;overflow-wrap:anywhere}.tx-stripe>strong{font-size:12px;text-shadow:0 1px 3px #000;overflow-wrap:anywhere}.tx-hero{padding:15px 9px 10px;background:linear-gradient(#14212880,#1d242bea),url('/assets/garage-bay.webp') center/cover}.tx-hero-head{display:flex;gap:10px;align-items:center;min-width:0}.tx-hero-head>div{min-width:0}.tx-hero h1{font-size:20px;line-height:1.2;margin:0 0 5px;overflow-wrap:anywhere}.tx-hero p{font-size:11px;color:#b9c3bd;line-height:1.5;margin:0;overflow-wrap:anywhere}.tx-logo{display:grid;place-items:center;width:62px;height:59px;background:linear-gradient(140deg,#e9cf61,#8a6d31);border-radius:8px;border:1px solid #ffeb9b;box-shadow:inset 0 -4px 0 #604214;color:#25271c;flex-shrink:0}.tx-logo svg{width:45px;height:45px;filter:drop-shadow(0 3px 2px #fff4)}.tx-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:12px 0 3px;padding:0 2px}.tx-counters>div{background:#2b323a;border:1px solid #ffffff08;min-height:55px;border-radius:4px;text-align:center;padding:7px 2px}.tx-counters b{font-size:16px;color:#e6db89;vertical-align:middle;overflow-wrap:anywhere}.tx-counters svg{width:16px;height:16px;vertical-align:middle;margin-right:4px;color:#a9c663}.tx-counters small{display:block;font-size:9px;color:#aab5be;margin-top:4px}.tx-balance{display:flex;align-items:center;justify-content:center;gap:13px;min-height:44px;padding:7px;font-size:14px;background:#1b2529}.tx-balance>span:last-child{font-size:9px;color:#acb8b5}.tx-money{color:#efce7a;white-space:nowrap}.tx-bucks{color:#a2d974;white-space:nowrap;margin-left:6px}.tx-toolbar{display:flex;gap:4px;padding:5px}.tx-toolbar button{flex:1;display:flex;gap:4px;align-items:center;justify-content:center;padding:5px;background:linear-gradient(#63717a,#35424b);border:1px solid #8a949577;color:#f1f2e8;font-size:11px;border-radius:4px}.tx-toolbar svg{width:17px;height:17px}.tx-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:linear-gradient(#d6d8cc,#899391);border-top:1px solid #eff2d7;border-bottom:2px solid #475151}.tx-quick button{padding:9px 2px 7px;display:flex;flex-direction:column;align-items:center;gap:5px;background:none;border:0;border-right:1px solid #17242630;border-radius:0;color:#172225;font-size:10px;font-weight:800}.tx-quick svg{width:32px;height:32px;color:#444934;filter:drop-shadow(1px 2px 1px #fff9)}.tx-roster{display:grid;gap:1px}.tx-driver{padding:11px 8px 9px;background:linear-gradient(115deg,#344047,#222e35);border-bottom:1px solid #5e6663}.tx-driver-top{display:flex;gap:7px;align-items:center}.tx-driver-top>div{min-width:0}.tx-avatar{width:36px;height:38px;display:grid;place-items:center;border:1px solid #d8bd61;border-radius:5px;background:linear-gradient(150deg,#bba35b,#5c4f35);font:800 21px Manrope,sans-serif;color:#181e22;flex-shrink:0}.tx-driver h3{font-size:13px;margin:0;overflow-wrap:anywhere}.tx-driver h3 small{font-size:9px;color:#f1d860}.tx-driver-top p{font-size:9px;color:#bbc7c5;margin:5px 0}.tx-driver-top p b{background:#a47629;color:#fff2c2;padding:2px 5px;border-radius:9px;font-size:8px}.tx-hp{color:#ebc55c;font-size:11px;font-weight:800}.tx-driver-pills{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0 5px}.tx-driver-pills span{font-size:9px;line-height:1.5;padding:1px 5px;border-radius:10px;background:#19262d;color:#d1ddd9}.tx-ready,.tx-on-shift{display:flex;gap:4px;align-items:center;font-size:9px;color:#b2d276}.tx-on-shift svg{width:14px;height:14px}.tx-driver-car{position:relative;padding:9px 0 3px;min-height:102px}.tx-driver-car img{display:block;width:90%;height:95px;object-fit:contain;filter:drop-shadow(0 7px 3px #06121988)}.tx-driver-car>span{display:block;font-size:9px;color:#a6b5bb;margin:7px 0 2px}.tx-race{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(#cce080,#86a54f);border:1px solid #b4cf75;border-bottom:3px solid #617e37;box-shadow:inset 0 1px #e8f8b4;border-radius:4px;color:#152011;font-weight:800;font-size:12px;min-height:44px;width:100%;padding:9px 6px}.tx-pair{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:5px}.tx-pair button{display:flex;align-items:center;justify-content:center;gap:5px;padding:6px;background:linear-gradient(#68747a,#37404c);border:1px solid #82939c;border-radius:4px;color:#e8edea;font-size:11px}.tx-pair button.tx-race{background:linear-gradient(#b9d975,#718f48);color:#18241c}.tx-pair svg{width:18px;height:18px}.tx-back,.tx-refresh{width:100%;padding:8px;background:linear-gradient(#56636a,#35414a);border:1px solid #7a868e;border-radius:4px;color:#f1f0e6;font-size:12px}.tx-back{margin:12px 0 0;display:flex;align-items:center;justify-content:center;gap:7px}.tx-refresh{margin-top:7px;font-size:10px;background:#20292f;border:0;color:#a6b8b7}.tx-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px;gap:12px;text-align:center;color:#b3c0b8;font-size:12px;line-height:1.6}.tx-empty svg{width:45px;height:45px;color:#b9b066}.tx-empty p{margin:0}.tx-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:7px 5px;gap:3px}.tx-tabs button{padding:4px 2px;background:#313e42;border:1px solid #65716a;color:#c6d0c9;font-size:10px;border-radius:3px}.tx-tabs button[aria-pressed="true"]{background:#655f2a;color:#fff3a9;border-color:#c1b35b}.tx-search{display:flex;gap:5px;padding:3px 6px 9px}.tx-search input,.tx-form-panel input,.tx-form-panel textarea,.tx-chat-form textarea{min-width:0;width:100%;min-height:44px;padding:10px;border:1px solid #566761;border-radius:4px;background:#19252b;color:#eff3e5;font:12px Manrope,sans-serif}.tx-search button{font-size:27px;color:#ffeda5;background:#5b5831;border:1px solid #a89f5e;border-radius:4px}.tx-team-list{display:grid;gap:2px}.tx-team-row{display:grid;grid-template-columns:35px minmax(0,1fr) auto 10px;align-items:center;gap:6px;width:100%;padding:10px 6px;text-align:left;border:0;border-bottom:1px solid #475753;border-radius:0;background:#2b363a;color:#e8ece0}.tx-team-row.self{background:#414d35;border-left:3px solid #d2db6b}.tx-team-tag{color:#d9c360;font-size:15px;text-align:center}.tx-team-tag svg{width:28px;height:28px}.tx-team-row b{font-size:10px;color:#d1b857;overflow-wrap:anywhere}.tx-team-row strong{font-size:12px;color:#ecece1;margin-left:4px}.tx-team-row small{display:block;font-size:10px;color:#b4c2b8;margin-top:7px}.tx-team-row em{font-size:12px;color:#dcdda3;font-style:normal}.tx-team-row i{font-style:normal;color:#a1b2a8}.tx-pagination{display:flex;align-items:center;justify-content:space-between;margin:6px;font-size:11px;color:#a8b7b4}.tx-pagination button{background:#3b484d;border:1px solid #647472;border-radius:4px;color:#edf1e7}.tx-help{margin:8px;padding:0 4px;border-top:1px solid #54604f;color:#bdc8b8;font-size:11px;line-height:1.6}.tx-help summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700;color:#e1ddaa}.tx-help small{color:#829b9a}.tx-form-panel{padding:13px}.tx-form-panel p{font-size:11px;color:#b7c6bd;text-align:center}.tx-form-panel form{display:grid;gap:13px}.tx-form-panel label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#c5d1c5}.tx-form-panel textarea{min-height:85px;resize:vertical}.tx-sign,.tx-shift-hero,.tx-vault,.tx-contest{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 10px;background:radial-gradient(ellipse at 50% 0,#988c3d50,transparent 80%),#1d282f;text-align:center}.tx-sign svg,.tx-shift-hero svg,.tx-vault svg,.tx-contest svg{width:65px;height:65px;color:#e8d06a;filter:drop-shadow(0 7px 5px #020c1455)}.tx-sign b{letter-spacing:3px;font-size:12px;color:#e1cc7a}.tx-shift-hero h2,.tx-contest h2{font-size:19px;margin:6px 0}.tx-shift-hero p,.tx-vault p,.tx-contest p{font-size:11px;color:#b8c7bd;margin:0;line-height:1.6}.tx-offer{display:grid;grid-template-columns:57px minmax(0,1fr) 14px;gap:12px;align-items:center;text-align:left;width:100%;min-height:86px;border:0;border-bottom:1px solid #566859;border-radius:0;background:#334338;color:#e2e9d7;padding:12px 8px}.tx-offer>strong{font:28px Oswald,sans-serif;color:#ded283;text-align:center}.tx-offer small{display:block;font:9px Manrope,sans-serif;color:#b2c7ae;margin-top:6px}.tx-offer>span{font-size:14px}.tx-offer>i{font-size:25px;font-style:normal}.tx-note{padding:0 9px;color:#aabdb6;font-size:10px;line-height:1.6}.tx-job{margin:10px;padding:17px 8px;background:#2b3c32;border:1px solid #708152;border-radius:6px;text-align:center}.tx-job>small{font-size:10px;letter-spacing:2px;color:#c4d3a3}.tx-job>strong{display:block;font:29px Oswald,sans-serif;margin:9px 0;color:#e7dc97;font-variant-numeric:tabular-nums}.tx-job p{font-size:12px}.tx-upgrade{display:grid;grid-template-columns:36px minmax(0,1fr) 66px;gap:8px;align-items:center;padding:16px 7px;background:#354046;border-bottom:1px solid #768074}.tx-part-icon svg{width:35px;height:35px;color:#e3c365;filter:drop-shadow(0 3px 2px #142020)}.tx-upgrade h2{font-size:12px;margin:0 0 4px}.tx-upgrade p{font-size:10px;color:#bac8be;margin:0 0 5px;line-height:1.45}.tx-upgrade small{font-size:9px;color:#91a79d}.tx-upgrade div>div{font-size:12px;margin-top:6px}.tx-upgrade button{padding:5px 2px;background:linear-gradient(#a7b1a2,#617667);color:#152519;font-weight:800;font-size:10px;border:1px solid #c2cabb;border-radius:4px}.tx-table{margin:9px 6px;font-size:11px}.tx-table>div{display:grid;grid-template-columns:minmax(0,1fr) 65px 50px;gap:7px;border-bottom:1px solid #56655b;padding:11px 3px}.tx-table>div:first-child{font-size:10px;color:#d1c171}.tx-table span{min-width:0;overflow-wrap:anywhere}.tx-table span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.tx-activity>div{grid-template-columns:minmax(0,1fr) 43px 49px 44px;gap:4px;font-size:10px}.tx-application{padding:14px 8px;border-bottom:1px solid #637265}.tx-application p{font-size:11px;color:#aac0b7}.tx-manage{display:flex;gap:5px;margin-top:8px}.tx-manage button{flex:1;padding:5px;background:#424e51;border:1px solid #708181;border-radius:3px;color:#cfdddd;font-size:9px}.tx-danger{width:100%;margin-top:12px;background:#683d39;color:#ffdbcb;border:1px solid #a47462;padding:9px}.tx-chat{display:flex;flex-direction:column;gap:10px;padding:12px 8px;max-height:480px;overflow-y:auto}.tx-chat article{align-self:flex-start;max-width:94%;padding:10px;border-radius:6px;background:#34444b;min-width:60px}.tx-chat article.self{align-self:flex-end;background:#3e4d35}.tx-chat article b{font-size:10px;color:#d5ce82}.tx-chat article p{font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.tx-chat article time{font-size:8px;color:#a7b8ab}.tx-chat-form{display:flex;gap:5px;margin:8px}.tx-chat-form textarea{resize:vertical;min-height:55px;font-size:12px}.tx-chat-form button{padding:5px 7px;background:#78964c;color:#f5f7ea;border:1px solid #b1ca81;border-radius:4px;font-size:10px}.tx-pending{padding:10px;background:#605721;color:#fff5c9;font-size:12px}.tx-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#dialog-content .tx-confirm{margin:12px 0;width:100%}#dialog-content [data-taxi-form] label{display:grid;gap:8px;font-size:12px}#dialog-content [data-taxi-form] input{width:100%;min-height:44px;margin-bottom:12px;padding:10px}
@media(max-width:350px){.street-v3 .nav-button{font-size:10px;gap:3px}.street-v3 .nav-button svg{width:12px}.tx-hero h1{font-size:18px}.tx-counters b{font-size:14px}.tx-driver-car img{height:84px}.tx-upgrade{grid-template-columns:30px minmax(0,1fr) 60px;gap:5px}.tx-part-icon svg{width:29px}.tx-quick button{font-size:9px}.tx-logo{width:52px;height:53px}.tx-offer{gap:5px}}
@media(prefers-reduced-motion:reduce){.tx-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Frame the visible body, excluding each source image's transparent margins. */
.tx-driver-car{padding:9px 0 3px;min-height:0}
.tx-car-stage{position:relative;aspect-ratio:2.3;display:flex;align-items:flex-end;justify-content:center;padding-bottom:3%;box-sizing:border-box}
.tx-car-stage .tx-car-sprite{display:block;position:relative;flex:none;margin:0;overflow:visible}
.tx-car-stage .tx-car-sprite img{position:absolute;max-width:none;object-fit:fill;margin:0;filter:drop-shadow(0 7px 3px #06121988)}
.tx-car-stage>img{width:94%;height:100%;margin:auto;object-fit:contain}

/* Weekly competition: compact rows, existing taxi palette. */
.tx-weekly-link{display:flex;align-items:center;gap:12px;width:100%;padding:16px 18px;margin:12px 0;background:#1c2929;border:1px solid #42514b;border-radius:8px;color:#d7e4c4;text-align:left}.tx-weekly-link>svg{width:28px;height:28px;fill:none;stroke:#d8ba69;stroke-width:1.6;flex-shrink:0}.tx-weekly-link>span:nth-child(2){flex:1}.tx-weekly-link b,.tx-weekly-link small{display:block}.tx-weekly-link small{margin-top:4px;color:#a1b2ab;font-size:12px}
.tx-weekly{padding:14px}.tx-weekly h1{font-size:30px;margin:7px 0}.tx-weekly h2{font-size:18px;margin:0 0 14px}.tx-weekly header>p{color:#a6b7ae;font-size:13px}.tx-weekly-eyebrow{font-size:10px;letter-spacing:1.6px;color:#d8ba69}.tx-weekly-clock{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid #3a4b46;font-size:13px;gap:10px}.tx-weekly-clock b{font-variant-numeric:tabular-nums;color:#d8ba69}
.tx-weekly-prizes{margin:22px 0}.tx-weekly-prize-row{display:grid;grid-template-columns:45px 1fr 1fr;gap:8px;align-items:center;padding:13px 0;border-bottom:1px solid #33433e;font-size:16px}.tx-weekly-prize-row>:not(:first-child){text-align:right}.tx-weekly-labels{font-size:10px;color:#9aada5;padding:8px 0}.tx-weekly-prizes>p{font-size:12px;color:#a6b7ae;line-height:1.5}.tx-weekly-activity{padding:17px 0;border-top:1px solid #42514b;border-bottom:1px solid #42514b;margin:20px 0}.tx-weekly-activity>div{display:flex;justify-content:space-between;gap:10px;font-size:13px}.tx-weekly-activity progress{width:100%;height:5px;accent-color:#bad773;margin:12px 0}.tx-weekly-activity p,.tx-weekly-activity small{font-size:12px;line-height:1.5;color:#a6b7ae}.tx-weekly-heading{display:flex;justify-content:space-between;align-items:center}.tx-weekly .tx-team-row{padding:12px 8px;gap:8px}.tx-weekly .tx-team-row em{font-size:17px}.tx-weekly .tx-team-row strong{overflow-wrap:anywhere}.tx-weekly .tx-team-tag{min-width:32px;font-size:16px}
.tx-trophies{margin:12px 0;border-bottom:1px solid #42514b;padding:12px 16px}.tx-trophies summary{display:flex;align-items:center;gap:10px;cursor:pointer}.tx-trophies svg{height:22px;width:22px;fill:none;stroke:#d8ba69;stroke-width:1.6}.tx-trophies summary b{margin-left:auto;color:#d8ba69}.tx-trophies article{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #33433e}.tx-trophy-place{display:flex;gap:4px;align-items:center;color:#d8ba69;font-weight:700}.tx-trophies article b,.tx-trophies article small{display:block;font-size:13px}.tx-trophies article small{margin-top:4px;color:#a6b7ae}
