#game-shell #drawer.taxi-drawer{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(880px,calc(100vw - 24px));max-width:880px;height:min(590px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;padding:0;overflow:hidden;border:1px solid #a18c60;border-radius:18px;background:#14271f;box-shadow:0 24px 80px #000b}
.taxi-drawer #drawer-content{height:100%;min-height:0;padding:0}.taxi-drawer .drawer-close{z-index:3;top:12px;right:12px}
.motorbike-dialogue{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;color:#f3edda;background:#172c23;font-family:inherit}
.motorbike-dialogue header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 52px 14px 20px;border-bottom:1px solid #b69b5a38;background:linear-gradient(100deg,#2b4132,#1d3329)}
.motorbike-dialogue header div{display:grid;gap:2px}.motorbike-dialogue header small{font-size:10px;color:#b6c4aa;letter-spacing:.7px}.motorbike-dialogue header strong{font-size:18px;color:#ffe0a4;line-height:1.4}.motorbike-location{font-size:11px;color:#d0d9be;border:1px solid #81906b66;border-radius:20px;padding:5px 10px;white-space:nowrap}
.motorbike-window-body{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:0}
.motorbike-conversation{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:0;isolation:isolate;overflow:hidden;border-right:1px solid #a49b5b33;background:radial-gradient(ellipse at 50% 35%,#76835166,transparent 65%),linear-gradient(145deg,#364b36,#1b3026)}
.motorbike-conversation:after{content:"";position:absolute;width:200px;height:200px;left:14px;top:22px;border:1px solid #c1b37120;border-radius:50%;z-index:-1;box-shadow:0 0 0 22px #d6b36908,0 0 0 44px #d6b36905}
.motorbike-portrait{position:absolute;inset:0;overflow:hidden;z-index:-1}.motorbike-portrait img{position:absolute;width:340px;height:340px;max-width:none;left:50%;top:-5px;transform:translateX(-50%);object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 10px 10px #07150b66)}
.motorbike-speech{margin:0;padding:20px 18px;background:linear-gradient(transparent,#15291ef5 24%);color:#fff0c9}.motorbike-speech small{font-size:11px;color:#d2c8a2}.taxi-drawer .motorbike-speech p{margin:5px 0 8px;font-size:22px;font-weight:800;line-height:1.45;color:#ffe3ad}.motorbike-speech>span{font-size:11px;color:#bdcbb0}
.motorbike-destinations{display:grid;grid-template-rows:auto minmax(80px,1fr) auto auto auto;min-width:0;min-height:0;gap:10px;padding:17px 20px 12px;background:linear-gradient(150deg,#233a2e,#172b23)}
.motorbike-destinations-title{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0}.motorbike-destinations-title strong{font-size:13px;color:#eadfbf}.motorbike-destinations-title i{display:inline-grid;place-items:center;vertical-align:middle;width:22px;height:22px;margin-right:5px;border:1px solid #9e986b55;border-radius:6px;color:#d9ba7a;font-size:10px;font-style:normal}.motorbike-destinations-title>span{font-size:10px;color:#9eaf98}
.motorbike-route-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:10px;min-height:0;overflow:auto;padding:2px}
.motorbike-dialogue .motorbike-route{position:relative;display:block;width:100%;height:100%;min-height:70px;padding:0;overflow:hidden;text-align:left;border:1px solid #81907380;border-radius:10px;background:#22392c;color:#fff;cursor:pointer;font:inherit}.motorbike-route img{display:block;width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.motorbike-route-shade{position:absolute;inset:0;background:linear-gradient(0deg,#0a1914f5,transparent 90%)}
.motorbike-route-copy{position:absolute;left:11px;right:8px;bottom:10px;z-index:1;text-shadow:0 1px 3px #000}.motorbike-route-copy strong{display:block;font-size:16px;line-height:1.35;color:#fff0cb}.motorbike-route-copy small{display:block;margin-top:4px;font-size:10px;line-height:1.4;color:#e0ddc6}
.motorbike-route-check{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:23px;height:23px;z-index:1;border:1px solid #d6c69499;border-radius:50%;background:#10251dcc;color:#f3d38b;font-size:14px}.motorbike-dialogue .motorbike-route[aria-pressed="true"]{border-color:#e7c47c;box-shadow:0 0 0 1px #e7c47c}.motorbike-route[aria-pressed="true"] .motorbike-route-check{background:#e5bf75;color:#233525;border-color:#ffe1a1}.motorbike-dialogue .motorbike-route:hover:not(:disabled){border-color:#ffe4a2}
.motorbike-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.motorbike-dialogue .motorbike-modes button{display:grid;align-content:start;gap:7px;min-width:0;padding:12px;text-align:left;white-space:normal;border:1px solid #72856a77;border-radius:10px;background:#162a22;color:#d5dfcb;cursor:pointer;font:inherit}
.motorbike-mode-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px}.motorbike-mode-heading strong{font-size:13px;line-height:1.4}.motorbike-mode-heading em{font-size:9px;font-style:normal;padding:2px 5px;border-radius:4px;background:#a5b28112;color:#bcc7a7;white-space:nowrap}.motorbike-modes b{font-size:21px;line-height:1.3;color:#fce1a2}.motorbike-modes small{font-size:10px;line-height:1.5;color:#b9c8b1}
.motorbike-dialogue .motorbike-modes [aria-pressed="true"]{border-color:#c8bd86;background:linear-gradient(130deg,#3b4931,#263b2a);box-shadow:inset 0 0 0 1px #c8bd8633}.motorbike-dialogue .motorbike-modes [data-mode="express"] em{color:#ffc289;background:#edac6215}.motorbike-dialogue .motorbike-modes [data-mode="express"][aria-pressed="true"]{border-color:#eda85f;background:radial-gradient(ellipse at top right,#b96a322d,transparent 75%),#3e3025;box-shadow:inset 0 0 0 1px #eda85f44}.motorbike-modes [data-mode="express"][aria-pressed="true"] b{color:#ffc584}
.motorbike-service-note{margin:0;font-size:10px;line-height:1.5;color:#acbea3}
.motorbike-checkout{padding:12px 20px 14px;border-top:1px solid #b69b5a38;background:#11271f}.motorbike-trip{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 10px}.motorbike-trip>span:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px}.motorbike-trip small{font-size:11px;color:#bac8af}.motorbike-trip strong{font-size:20px;line-height:1.3;color:#ffe0a2}.motorbike-trip>span:last-child{display:grid;gap:2px;text-align:right;font-size:9px;color:#98ad94;white-space:nowrap}.motorbike-trip b{font-size:12px;font-weight:500;color:#d7dfca}
.motorbike-actions{display:grid;grid-template-columns:1fr 2fr;gap:10px}.motorbike-dialogue .motorbike-actions button{min-height:44px;padding:8px 12px;border:1px solid #d7b779;border-radius:9px;background:linear-gradient(#e9c489,#d5a45f);color:#203221;font:inherit;font-size:14px;font-weight:800;cursor:pointer;box-shadow:inset 0 1px #ffedbf55,0 2px 4px #0003}.motorbike-dialogue .motorbike-actions [data-leave]{background:#23382b;border-color:#71836577;color:#c8d2ba;box-shadow:none}
.motorbike-dialogue button:disabled{opacity:.45;cursor:not-allowed}.motorbike-dialogue button:focus-visible{outline:2px solid #fff1b4;outline-offset:2px}.motorbike-notice{margin:6px 0 0;font-size:11px;line-height:1.4;color:#ffc69b}
@media(max-width:600px) and (min-height:501px){
 #game-shell #drawer.taxi-drawer{width:calc(100vw - 16px);height:min(650px,calc(100dvh - 16px));max-height:calc(100dvh - 16px);border-radius:14px}
 .motorbike-dialogue header{padding:10px 42px 10px 14px}.motorbike-dialogue header strong{font-size:16px}.motorbike-location{font-size:10px;padding:4px 7px}
 .motorbike-window-body{grid-template-columns:1fr;grid-template-rows:94px minmax(0,1fr)}.motorbike-conversation{flex-direction:row;justify-content:flex-start;align-items:center;border-right:0;border-bottom:1px solid #a49b5b33;padding-left:120px}.motorbike-portrait{right:auto;width:120px}.motorbike-portrait img{width:185px;height:185px;top:-13px;left:45%}.motorbike-conversation:after{width:110px;height:110px;top:-5px;left:0}
 .motorbike-speech{padding:8px 10px 8px 0;background:none}.taxi-drawer .motorbike-speech p{font-size:16px;line-height:1.4;margin:2px 0}.motorbike-speech small{font-size:10px}.motorbike-speech>span{font-size:10px}
 .motorbike-destinations{gap:8px;padding:12px}.motorbike-route-list{gap:8px}.motorbike-route-copy{left:9px;bottom:9px}.motorbike-route-copy strong{font-size:15px}.motorbike-modes{gap:8px}.motorbike-dialogue .motorbike-modes button{padding:10px;gap:6px}.motorbike-mode-heading strong{font-size:12px}.motorbike-modes b{font-size:20px}.motorbike-mode-heading em{font-size:9px}.motorbike-checkout{padding:10px 12px 12px}.motorbike-trip strong{font-size:19px}.motorbike-trip{margin-bottom:8px}
}
@media(max-height:650px) and (min-height:501px) and (max-width:600px){
 .motorbike-dialogue header{padding-top:8px;padding-bottom:8px}.motorbike-dialogue header small{display:none}.motorbike-window-body{grid-template-rows:70px minmax(0,1fr)}.motorbike-portrait img{width:155px;height:155px;top:-17px}.motorbike-conversation{padding-left:105px}.motorbike-portrait{width:105px}.motorbike-speech>span{display:none}.taxi-drawer .motorbike-speech p{font-size:14px}.motorbike-destinations{gap:6px;padding:9px 10px}.motorbike-destinations-title i{width:19px;height:19px}.motorbike-dialogue .motorbike-modes button{padding:8px;gap:5px}.motorbike-modes b{font-size:18px}.motorbike-mode-heading em{display:none}.motorbike-route-copy strong{font-size:14px}.motorbike-checkout{padding:9px 10px}.motorbike-trip strong{font-size:18px}
}
@media(max-height:500px){
 #game-shell #drawer.taxi-drawer{width:min(880px,calc(100vw - 16px));height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}
 .motorbike-dialogue header{padding:7px 44px 7px 14px}.motorbike-dialogue header div{display:flex;align-items:baseline;gap:10px}.motorbike-dialogue header strong{font-size:15px}.motorbike-dialogue header small{font-size:10px}.motorbike-location{font-size:10px;padding:3px 8px}
 .motorbike-window-body{grid-template-columns:175px minmax(0,1fr)}.motorbike-portrait img{width:245px;height:245px;top:-12px}.motorbike-speech{padding:13px}.taxi-drawer .motorbike-speech p{font-size:17px}.motorbike-speech>span{display:none}
 .motorbike-destinations{gap:5px;padding:8px 12px;grid-template-rows:auto minmax(60px,1fr) auto auto auto}.motorbike-destinations-title i{width:18px;height:18px}.motorbike-destinations-title strong{font-size:11px}.motorbike-destinations-title>span{font-size:9px}.motorbike-route-copy{left:9px;bottom:6px}.motorbike-route-copy strong{font-size:14px}.motorbike-route-copy small{font-size:9px;margin-top:1px}.motorbike-route-check{top:5px;right:5px;width:20px;height:20px}.motorbike-dialogue .motorbike-route{min-height:55px}
 .motorbike-modes{gap:8px}.motorbike-dialogue .motorbike-modes button{padding:7px 9px;gap:3px}.motorbike-modes b{font-size:18px}.motorbike-mode-heading strong{font-size:11px}.motorbike-mode-heading em{font-size:8px}.motorbike-modes small{font-size:9px}.motorbike-service-note{font-size:9px}
 .motorbike-checkout{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:12px;padding:8px 14px}.motorbike-trip{margin:0}.motorbike-trip>span:first-child{display:grid;gap:0}.motorbike-trip strong{font-size:18px}.motorbike-actions{gap:8px}.motorbike-dialogue .motorbike-actions button{min-height:42px;font-size:13px}.motorbike-notice{grid-column:1/-1;margin:0}
}
@media(max-width:650px) and (max-height:500px){.motorbike-window-body{grid-template-columns:125px minmax(0,1fr)}.motorbike-portrait img{width:205px;height:205px;top:-10px}.motorbike-speech{padding:10px}.taxi-drawer .motorbike-speech p{font-size:14px}.motorbike-dialogue header small,.motorbike-location{display:none}.motorbike-destinations{padding:7px 9px}.motorbike-modes small{font-size:8px}.motorbike-mode-heading em{display:none}.motorbike-checkout{gap:8px;padding:7px 10px}.motorbike-trip small{font-size:9px}.motorbike-trip b{font-size:10px}}
@media(max-height:320px){.motorbike-destinations{overflow:auto}.motorbike-window-body{min-height:0}.motorbike-conversation .motorbike-speech{display:none}}
@media(max-height:360px){.motorbike-dialogue header{padding-top:5px;padding-bottom:5px}.motorbike-destinations{gap:4px;grid-template-rows:auto minmax(44px,1fr) auto auto auto}.motorbike-dialogue .motorbike-route{min-height:40px}.motorbike-dialogue .motorbike-modes button{padding:5px 7px;gap:2px}.motorbike-modes b{font-size:17px}.motorbike-modes small{line-height:1.3}.motorbike-checkout{padding-top:6px;padding-bottom:6px}}
#game-shell #drawer.taxi-drawer>.drawer-close{position:absolute;inset:10px 10px auto auto;float:none;display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;margin:0;border:1px solid #93a37a55;border-radius:50%;background:#172b22;color:#c3ceb5;font-size:21px;line-height:1;z-index:3}
.motorbike-dialogue header{padding-right:54px}
.motorbike-dialogue .motorbike-route:only-child{grid-column:1/-1}
#game-shell #drawer.taxi-drawer>.drawer-close{min-width:30px;max-width:30px}
@media(max-width:360px){.motorbike-location{display:none}}
@media(max-height:360px){.motorbike-destinations{gap:3px;padding-top:5px;padding-bottom:5px;grid-template-rows:auto minmax(60px,1fr) auto auto auto}#game-shell #drawer.taxi-drawer .motorbike-route-copy small{font-size:11px;line-height:1.4}#game-shell #drawer.taxi-drawer .motorbike-modes small{font-size:11px;line-height:1.4}#game-shell #drawer.taxi-drawer .motorbike-service-note{font-size:11px;line-height:1.4}.motorbike-dialogue .motorbike-route{min-height:54px}.motorbike-route-copy{bottom:5px}.motorbike-mode-heading strong{font-size:12px}}
/* Native desktop menus set fit-content geometry with !important. This window
   owns a definite height so its checkout stays in view in the full App too. */
#game-shell #drawer.drawer.taxi-drawer:has(>#drawer-content){--taxi-window-width:min(880px,calc(100dvw - 24px));--taxi-window-height:min(590px,calc(100dvh - 24px));inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:var(--taxi-window-width)!important;max-width:var(--taxi-window-width)!important;height:var(--taxi-window-height)!important;max-height:var(--taxi-window-height)!important;overflow:hidden;scrollbar-gutter:auto}
#game-shell #drawer.drawer.taxi-drawer:has(>#drawer-content)>#drawer-content{height:100%;width:100%;overflow:hidden;min-height:0;max-height:none}
#game-shell #drawer.drawer.taxi-drawer:has(>#drawer-content)>.drawer-close{position:absolute;inset:10px 10px auto auto;float:none;margin:0;z-index:3}
@media(max-width:600px) and (min-height:501px){#game-shell #drawer.drawer.taxi-drawer:has(>#drawer-content){--taxi-window-width:calc(100dvw - 16px);--taxi-window-height:min(650px,calc(100dvh - 16px))}}
@media(max-height:500px){#game-shell #drawer.drawer.taxi-drawer:has(>#drawer-content){--taxi-window-width:min(880px,calc(100dvw - 16px));--taxi-window-height:calc(100dvh - 16px)}}
#game-shell #drawer.taxi-drawer .motorbike-dialogue .motorbike-service-note{font-size:11px;line-height:1.4}
#game-shell #drawer.taxi-drawer .motorbike-dialogue .motorbike-notice{font-size:12px;line-height:1.4;margin:5px 0 0}
#game-shell #drawer.drawer.taxi-drawer:has(>#drawer-content)>.drawer-close:has(.ui-pixel-icon){font-size:0}
@media(max-height:500px){.motorbike-checkout{gap:3px 12px}.motorbike-checkout .motorbike-trip{grid-column:1;grid-row:1}.motorbike-checkout .motorbike-actions{grid-column:2;grid-row:1 / span 2}#game-shell #drawer.taxi-drawer .motorbike-dialogue .motorbike-notice{grid-column:1;grid-row:2;margin:0;font-size:11px}}
@media(max-height:360px){.motorbike-destinations{gap:2px}#game-shell #drawer.taxi-drawer .motorbike-dialogue .motorbike-trip small{font-size:10px;line-height:1.2}#game-shell #drawer.taxi-drawer .motorbike-dialogue .motorbike-trip>span:last-child{line-height:1.3}}
