/* CV Drive — a night drive through a small, personal city. */
.terminal-window.window.roadtrip-window{min-width:360px}.terminal-window.roadtrip-window .window-status{display:none}.terminal-window.gaming .drive-stage{padding:0;align-items:stretch;background:#14272c}.driving-game{height:100%;width:100%;display:flex;flex-direction:column;min-height:0;font-family:Inter,-apple-system,sans-serif;color:#e2e8e3}.drive-bar{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;background:#142329;flex-shrink:0;border-bottom:1px solid #8fada41c}.drive-wordmark{display:flex;align-items:center;gap:12px}.drive-car-glyph{display:grid;place-items:center;width:32px;height:32px;background:#f1ab72;color:#25332e;border-radius:9px;font-size:24px}.drive-wordmark b{font-size:13px;letter-spacing:1px;font-weight:700}.drive-wordmark b>span{color:#77918f;font-size:9px;letter-spacing:1px;font-weight:400}.drive-wordmark small{display:block;color:#92a6a1;font-size:9px;margin-top:4px}.drive-bar-actions{display:flex;align-items:center;gap:7px}.drive-bar-actions button{font-size:10px;border:1px solid #607f784a;border-radius:7px;padding:8px 12px;color:#bacbc5;background:#263c3f}.drive-bar-actions [data-drive-quit]{font-size:19px;padding:3px 10px;background:none;border-color:transparent;color:#829e96}.drive-viewport{position:relative;flex:1;min-height:0;overflow:hidden;isolation:isolate;background:#183b39}.drive-canvas{display:block;width:100%;height:100%;position:absolute;inset:0;outline:none;touch-action:none;user-select:none;cursor:crosshair}.drive-hud{position:absolute;left:20px;top:19px;display:flex;align-items:center;gap:24px;padding:12px 17px;background:#10242bea;border:1px solid #76998c40;border-radius:12px;pointer-events:none;box-shadow:0 5px 14px #07182230;min-height:61px}.drive-hud>span{display:flex;flex-direction:column;gap:4px}.drive-hud small{font-size:8px;letter-spacing:.6px;color:#8fa79e;text-transform:uppercase}.drive-hud b{font-size:18px;letter-spacing:-.6px;font-weight:600;color:#dbe5d8}.drive-hud span:nth-child(2) b{color:#e6c482}.drive-hud .drive-speed{flex-direction:row;align-items:baseline;gap:3px;border-left:1px solid #7192833b;padding-left:17px}.drive-speed b{font-variant-numeric:tabular-nums}.drive-speed small{font-size:8px;text-transform:none}.drive-route{position:absolute;top:19px;right:20px;display:flex;align-items:center;gap:11px;min-height:61px;background:#10242bea;border:1px solid #78998e40;border-radius:12px;padding:10px 12px;max-width:260px}.drive-route .route-arrow{font-size:25px;color:#f2b67c;flex-shrink:0;display:block}.drive-route>div{min-width:0}.drive-route small{display:block;font-size:8px;color:#9cb1a6;margin-bottom:5px}.drive-route b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.drive-route button{color:#879b92;font-size:15px;padding:5px}.drive-minimap{position:absolute;right:20px;bottom:21px;width:156px;height:123px;border:1px solid #799e8c66;border-radius:15px;box-shadow:0 5px 20px #09212744;cursor:pointer}.drive-bottom{height:43px;display:flex;align-items:center;gap:20px;padding:0 22px;background:#142329;flex-shrink:0;border-top:1px solid #8fada41c}.drive-bottom>.drive-input-hint{font-size:9px;color:#8fa79e;margin-right:auto;max-width:65%}.drive-bottom button{font-size:10px;color:#e7c18e;white-space:nowrap}.drive-boost-meter{width:72px;height:5px;background:#46615c;position:relative;flex-shrink:0;border-radius:2px}.drive-boost-meter i{position:absolute;inset:0;background:#dfa775;border-radius:2px;transform-origin:left}.drive-boost-meter small{position:absolute;bottom:10px;width:100%;font-size:6px;letter-spacing:1.7px;color:#8fa79e;text-align:center}.drive-overlay{position:absolute;inset:0;display:flex;align-items:center;padding:35px 8%;background:linear-gradient(90deg,#0a2029ed,#10232ac9 53%,#10262930);z-index:5}.drive-intro-card{max-width:390px;position:relative;padding-top:20px}.drive-eyebrow{display:block;font-size:8px;letter-spacing:2px;color:#8ba99f}.drive-intro-card h1{font-size:74px;letter-spacing:-5px;font-weight:750;line-height:.92;color:#f0e7d4;margin:25px 0 22px;position:relative}.drive-intro-card h1>span{display:block;font-weight:400;color:#e9a978;letter-spacing:-6px}.drive-intro-card h1>sup{font-size:46px;font-weight:400;position:absolute;top:4px;left:119px;color:#88b6a5;letter-spacing:0}.drive-intro-card>p{font-size:12px;line-height:1.8;color:#a6bdb3;max-width:320px;margin:0}.drive-intro-chips{display:flex;gap:25px;margin:22px 0 26px}.drive-intro-chips>span{font-size:21px;font-weight:500;color:#e8d4b3;display:flex;align-items:center;gap:8px}.drive-intro-chips b{font-size:9px;font-weight:400;color:#8eaba0;max-width:70px;line-height:1.5}.drive-start{display:block;background:#edac79;border:1px solid #f1c299;color:#27372e;padding:14px 22px;font-size:12px;border-radius:9px;min-width:200px;text-align:left;font-weight:600;box-shadow:0 5px 30px #edac7914}.drive-start:hover{background:#f3bd92}.drive-intro-card>small{display:block;color:#718e84;font-size:9px;line-height:1.7;margin-top:15px;max-width:310px}.drive-intro-car{position:absolute;width:120px;height:55px;left:211px;top:75px;background:#f1a36e;border-radius:14px;transform:rotate(-28deg);box-shadow:5px 10px 0 #071b2170,inset 0 -6px #ca7e52}.drive-intro-car:before,.drive-intro-car:after{content:'';position:absolute;left:10px;right:12px;height:9px;top:-6px;border-left:18px solid #13212a;border-right:18px solid #13212a;border-radius:4px}.drive-intro-car:after{top:auto;bottom:-5px}.drive-intro-car b{position:absolute;left:34px;top:6px;bottom:6px;width:46px;background:#29444f;border:5px solid #d2855b;border-radius:8px}.drive-intro-car i{position:absolute;right:3px;top:8px;width:7px;height:9px;background:#ffecb5;border-radius:2px}.drive-intro-car i:nth-child(2){top:auto;bottom:8px}.drive-nearby{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);display:flex;align-items:center;gap:13px;text-align:left;padding:12px 15px;background:#112831f5;border:1px solid var(--stop-color,#a6d0be);border-radius:12px;min-width:230px;max-width:calc(100% - 40px);z-index:3;box-shadow:0 6px 30px #061a2c70}.drive-near-symbol{font-size:19px;border:1px solid var(--stop-color);color:var(--stop-color);width:30px;height:32px;border-radius:5px;display:grid;place-items:center}.drive-nearby small{display:block;font-size:8px;color:#90afa4;margin-bottom:4px}.drive-nearby b{display:block;font-size:12px;color:#e0e9dd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.drive-enter-key{font-size:10px;color:var(--stop-color);margin-left:auto;white-space:nowrap}.drive-pause-panel{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;z-index:6;background:#10262ce8;backdrop-filter:blur(4px)}.drive-pause-panel h2{font-size:29px;font-weight:500;letter-spacing:-1px;margin:6px 0 15px}.drive-pause-panel button{font-size:12px;background:#e8b582;color:#253c33;border-radius:8px;padding:13px 20px;min-width:205px}.drive-pause-panel [data-drive-respawn]{color:#a6bfb2;background:none;border:1px solid #7390805e}.drive-map-panel,.drive-stop-panel{position:absolute;inset:18px;z-index:8;background:#14282f;border:1px solid #62817466;border-radius:17px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 12px 45px #04182299}.drive-map-panel>header,.drive-stop-panel>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 22px;flex-shrink:0;border-bottom:1px solid #698b7e30}.drive-map-panel h2{font-size:22px;font-weight:500;letter-spacing:-.7px;margin:8px 0 0}.drive-map-panel>header>button,.drive-stop-panel>header>button{font-size:24px;color:#a0b9ad;padding:5px 10px}.drive-map-body{display:flex;gap:15px;flex:1;min-height:0;padding:15px}.drive-fullmap{width:54%;height:100%;object-fit:contain;min-width:0;align-self:center}.drive-stop-list{flex:1;min-width:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6c9387 transparent}.drive-stop-list>button{display:flex;align-items:center;width:100%;gap:12px;text-align:left;border-bottom:1px solid #71928329;padding:13px 7px}.drive-stop-list>button:hover{background:#2e4846}.drive-stop-list>button>span{font-size:11px;color:var(--stop-color);min-width:20px}.drive-stop-list small{display:block;font-size:8px;color:#789a8f;margin-bottom:4px}.drive-stop-list b{display:block;font-size:11px;font-weight:500;color:#ceddd1;overflow-wrap:anywhere}.drive-stop-list i{font-style:normal;margin-left:auto;color:var(--stop-color)}.drive-map-panel>footer,.drive-stop-panel>footer{border-top:1px solid #71928329;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0}.drive-map-panel>footer>span{font-size:10px;color:#8aa89a;max-width:65%;line-height:1.6}.drive-map-panel>footer>button,.drive-stop-panel>footer>button{font-size:11px;padding:11px 15px;background:#e1b07c;color:#243b32;border-radius:8px;white-space:nowrap}.drive-stop-panel{inset:22px auto 22px 50%;transform:translateX(-50%);width:540px;max-width:calc(100% - 35px);border-color:var(--stop-color,#9cbdae)}.drive-stop-number{font-size:9px;letter-spacing:2px;color:var(--stop-color)}.drive-stop-panel>header{padding:10px 20px}.drive-stop-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6c9387 transparent;padding:25px 28px 30px}.drive-stop-scroll>h2{font-size:30px;letter-spacing:-1px;line-height:1.15;margin:13px 0 18px;font-weight:550;color:#e3e7d7}.drive-stop-scroll>h3{font-size:16px;line-height:1.6;color:var(--stop-color);font-weight:500;margin:16px 0}.drive-stop-scroll p,.drive-stop-scroll li{font-size:12px;line-height:1.85;color:#a8beb3}.drive-stop-scroll ul{padding-left:18px}.drive-stop-scroll li{padding-left:4px;margin-bottom:12px}.drive-place-image{display:block;max-width:150px;max-height:70px;object-fit:contain;background:#eef2e8;border-radius:8px;padding:10px;margin:0 0 20px}.drive-place-meta{font-size:10px;color:#b1bca0;padding:6px 10px;background:#395045;border-radius:5px;display:inline-block}.drive-stop-scroll a{font-size:12px;color:var(--stop-color);text-underline-offset:4px}.drive-stamp-mark{font-size:10px;color:#9cccab;transform:rotate(-5deg);border:1px solid #87b69566;border-radius:5px;padding:7px 10px}.drive-source-document{font-size:12px;line-height:1.8;color:#a8beb3}.drive-source-document h3,.drive-source-document h4{color:#cbdcc7}.drive-source-document img{max-width:130px;max-height:80px;object-fit:contain;background:#f0f3e9;padding:8px;border-radius:8px}.drive-source-document .content-card{border-color:#6c8e793b}.drive-source-document .skill-tags>div{background:#304d44;color:#bad2c1;border-color:#64897450}.drive-lap{position:absolute;left:20px;top:94px;display:flex;align-items:center;gap:9px;padding:9px 13px;background:#172b2feb;border:1px solid #c49d6266;border-radius:9px;color:#f2cf9d}.drive-lap span{font-size:19px}.drive-lap b{font-size:17px;font-weight:500;font-variant-numeric:tabular-nums}.drive-lap small{color:#a69d80;font-size:9px}.drive-toast{position:absolute;left:50%;top:95px;transform:translate(-50%,-5px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;background:#243f3eef;border:1px solid #90b7a277;border-radius:9px;color:#d7e7c7;padding:12px 19px;font-size:11px;line-height:1.7;text-align:center;max-width:85%;z-index:10}.drive-toast.show{opacity:1;transform:translate(-50%,0)}.drive-joystick{position:absolute;width:92px;height:92px;transform:translate(-50%,-50%);background:#c0d9cb0f;border:1px solid #d8ecce44;border-radius:50%;pointer-events:none;z-index:2}.drive-joystick i{display:block;position:absolute;top:30px;left:30px;width:30px;height:30px;background:#eac99c88;border:1px solid #ffebc8a0;border-radius:50%}.drive-touch-actions{display:none}.driving-game [hidden]{display:none!important}
.arcade-card.drive{grid-column:1/-1;position:relative;min-height:230px;overflow:hidden;background:#1b3537!important;border-color:#71948655!important;padding:28px 30px;text-align:left;align-items:flex-start}.arcade-card.drive b{font-size:32px!important;font-weight:650;letter-spacing:-1.2px!important;color:#e4d4b7!important}.arcade-card.drive>span:not(.arcade-art){max-width:310px;line-height:1.8;color:#a5c2af!important;z-index:1}.arcade-card.drive small{color:#e9b47f!important;z-index:1}.arcade-card.drive .arcade-art{position:absolute;right:0;bottom:-10px;font-size:150px;height:auto;line-height:1;color:#c4d4b41a;letter-spacing:-12px;transform:rotate(-15deg)}.arcade-card.drive:after{content:'';position:absolute;width:150px;height:65px;background:#e8a476;right:45px;top:75px;transform:rotate(-25deg);border-radius:18px;box-shadow:0 11px 0 #0c1e2799,inset 0 -8px #be8059}.arcade-card.drive:before{content:'';position:absolute;width:53px;height:47px;right:95px;top:85px;background:#28474e;border:6px solid #ca8a60;border-radius:12px;transform:rotate(-25deg);z-index:1}.cv-toolbar-actions{display:flex;gap:9px}.cv-toolbar-actions [data-game]{background:#233f3c;color:#dcbd90;border:1px solid #4a6e60;border-radius:6px;padding:8px 12px;font-size:10px}.terminal-shortcuts [data-game=drive]{border-color:#ad865c;color:#e3b47e}
@media(max-width:760px){.terminal-window.window.roadtrip-window{width:100%!important;min-width:0;left:0!important;top:0!important;height:100%!important}.terminal-window.gaming .drive-stage{padding:0}.roadtrip-window .mobile-nav{height:42px;background:#142329!important;border-color:#6c8e7929!important}.drive-bar{height:52px;padding:0 13px}.drive-car-glyph{width:27px;height:27px;font-size:21px;border-radius:8px}.drive-wordmark{gap:8px}.drive-wordmark b{font-size:11px}.drive-wordmark b>span{display:none}.drive-wordmark small{font-size:7px;max-width:120px}.drive-bar-actions{gap:4px}.drive-bar-actions button{font-size:9px;padding:8px}.drive-hud{left:12px;top:12px;gap:15px;padding:10px 12px;min-height:54px}.drive-hud small{font-size:7px}.drive-hud b{font-size:16px}.drive-hud .drive-speed{padding-left:12px}.drive-minimap{right:12px;top:12px;bottom:auto;width:100px;height:79px;border-radius:12px}.drive-route{top:76px;left:12px;right:auto;min-height:45px;max-width:225px;padding:7px 10px;gap:8px}.drive-route .route-arrow{font-size:21px}.drive-route small{font-size:7px;margin-bottom:3px}.drive-route b{font-size:10px;max-width:145px}.drive-bottom{height:41px;padding:0 13px;gap:13px}.drive-bottom>.drive-input-hint{font-size:8px;line-height:1.5;max-width:60%}.drive-bottom .drive-boost-meter{display:none}.drive-bottom>button{font-size:9px;max-width:40%;white-space:normal;text-align:right}.drive-overlay{padding:30px;background:linear-gradient(90deg,#0b222bf2,#10262bd9 70%,#10262b88)}.drive-intro-card{padding-top:0;max-width:300px}.drive-intro-card h1{font-size:65px;line-height:.95;margin:24px 0}.drive-intro-card h1>span{letter-spacing:-5px}.drive-intro-card h1>sup{left:106px;font-size:38px}.drive-intro-car{width:100px;height:46px;left:161px;top:58px;border-radius:11px}.drive-intro-car b{left:29px;width:39px;top:5px;bottom:5px}.drive-intro-card>p{font-size:12px;max-width:275px}.drive-intro-chips{margin:18px 0 23px}.drive-start{padding:14px 20px;min-width:200px}.drive-intro-card>small{font-size:9px}.drive-nearby{bottom:89px;padding:11px 12px;min-width:225px;max-width:calc(100% - 24px)}.drive-nearby b{font-size:11px;max-width:215px}.drive-touch-actions{display:flex;gap:9px;position:absolute;right:14px;bottom:17px;z-index:3}.drive-touch-actions button{position:relative;border:1px solid #a6baa161;border-radius:50%;background:#142d32d9;font-size:8px;letter-spacing:.4px;color:#b9d0be;width:51px;height:51px;touch-action:none;overflow:hidden;user-select:none}.drive-touch-actions [data-drive-boost]{width:61px;height:61px;margin-top:-10px;color:#eac18f;border-color:#d0a97388;background:#29392fd9}.drive-touch-actions button:active{background:#718d695c}.drive-touch-actions i{position:absolute;height:3px;left:12px;right:12px;bottom:13px;background:#e7bc87;transform-origin:left}.drive-lap{top:132px;left:12px;padding:7px 10px}.drive-lap b{font-size:15px}.drive-toast{top:136px;font-size:10px;padding:10px 14px;width:max-content}.drive-map-panel{inset:10px;border-radius:13px}.drive-map-panel>header{padding:15px}.drive-map-panel h2{font-size:21px}.drive-map-body{display:flex;flex-direction:column;gap:5px;padding:10px;overflow:hidden}.drive-fullmap{width:100%;height:35%;min-height:115px;flex-shrink:0}.drive-stop-list{flex:1;width:100%;overflow-y:auto}.drive-stop-list>button{padding:10px 8px}.drive-stop-list b{font-size:11px}.drive-map-panel>footer{padding:12px;gap:9px}.drive-map-panel>footer>span{font-size:9px;max-width:58%}.drive-map-panel>footer>button{font-size:10px;padding:10px}.drive-stop-panel{inset:10px auto 10px 50%;width:calc(100% - 20px);max-width:none;border-radius:13px}.drive-stop-panel>header{padding:8px 13px}.drive-stop-number{font-size:8px}.drive-stop-scroll{padding:23px 21px}.drive-stop-scroll>h2{font-size:27px}.drive-stop-scroll p,.drive-stop-scroll li{font-size:12px}.drive-stop-panel>footer{padding:13px}.drive-stop-panel>footer>button{font-size:10px;padding:11px}.drive-stamp-mark{font-size:9px}.arcade-card.drive{min-height:260px;padding:24px!important}.arcade-card.drive b{font-size:30px!important}.arcade-card.drive>span:not(.arcade-art){max-width:70%;font-size:11px!important}.arcade-card.drive:after{width:100px;height:44px;right:20px;top:91px;border-radius:12px}.arcade-card.drive:before{width:36px;height:31px;border-width:4px;right:51px;top:97px}.cv-toolbar-actions{gap:5px}.cv-toolbar-actions [data-game]{font-size:8px;padding:8px}.cv-toolbar-actions .cv-print{font-size:9px}}
@media(max-height:720px) and (max-width:760px){.drive-intro-card h1{font-size:52px;margin:18px 0}.drive-intro-car{top:45px;left:149px;transform:rotate(-25deg) scale(.8)}.drive-intro-card>p{font-size:11px}.drive-intro-chips{margin:13px 0 17px}.drive-intro-card>small{margin-top:11px}.drive-map-panel>header{padding:10px 13px}.drive-fullmap{height:30%;min-height:90px}.drive-route{max-width:205px}.drive-intro-card{max-width:290px}}
.drive-drift-counter{position:absolute;left:22px;bottom:28px;color:#efbc83;border-left:2px solid #caa274;padding:5px 11px;text-shadow:0 2px 5px #08212c}.drive-drift-counter small{font-size:8px;letter-spacing:2px;display:block}.drive-drift-counter b{display:block;font-size:25px;font-weight:500;margin-top:3px}.drive-pause-panel [data-drive-new]{font-size:10px;color:#90ad9d;background:none;padding:8px;min-width:0}.drive-intro-card .drive-eyebrow{color:#a8bcb0}@media(max-width:760px){.drive-drift-counter{bottom:24px;left:15px}.drive-drift-counter b{font-size:22px}}
.drive-webgl{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.drive-wordmark em{display:inline-block;color:#203b32;background:#d8b580;border-radius:4px;font-size:8px;line-height:1;padding:4px 5px;margin-left:6px;letter-spacing:0;font-style:normal;vertical-align:1px}.drive-start:disabled{opacity:.6;cursor:wait}.drive-intro-card h1>sup{font-size:25px;letter-spacing:-1px;top:8px;left:126px;border:1px solid #8ab09f80;border-radius:9px;padding:6px 8px}.drive-overlay{background:linear-gradient(90deg,#0a2029f2,#10232ac9 47%,#10262915)}@media(max-width:760px){.drive-bar-actions{gap:3px}.drive-bar-actions button{font-size:8px;padding:7px 6px}.drive-wordmark small{max-width:106px;font-size:6px}.drive-wordmark b{font-size:10px;letter-spacing:.5px}.drive-wordmark em{font-size:7px;padding:3px 4px;margin-left:4px}.drive-intro-card h1>sup{left:112px;font-size:20px;top:7px;padding:5px 7px}.drive-overlay{background:linear-gradient(90deg,#0a2029f2,#10232ad9 60%,#10262977)}}
