/* GP025: Old Glory driver preferences. DOM UI is independent of 3D resolution. */
.dc25-wrap{position:fixed;inset:0;z-index:225;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;background:#041123ed;display:flex;align-items:flex-start;padding:clamp(12px,3vw,32px);pointer-events:auto}
.dc25-panel{width:min(1080px,100%);margin:auto;background:#091c36;border:1px solid #567797;box-shadow:0 24px 100px #0008;color:#eef3fa;position:relative;min-width:0}
.dc25-heading{padding:24px 28px 16px;display:flex;gap:20px;justify-content:space-between;border-top:5px solid #c62839;background:linear-gradient(115deg,#133763,#07172e)}
.dc25-kicker{font-size:11px;font-weight:800;letter-spacing:2px;color:#a9c6e6}.dc25-heading h2{font-size:clamp(27px,3vw,40px);margin:9px 0;letter-spacing:-1px;line-height:1.05}.dc25-heading h2 em{color:#b5d7ff;font-style:normal}.dc25-heading p{max-width:660px;line-height:1.5;font-size:14px;margin:12px 0 0;color:#bfd2e8}.dc25-close{width:44px;height:44px;flex:0 0 44px;background:#112e51;border:1px solid #7398bd;font-size:24px}
.dc25-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:20px 24px 8px}.dc25-presets button{min-height:66px;background:#143761;border:1px solid #496f97;padding:12px;text-align:left}.dc25-presets button:hover{border-color:#f4cf78}.dc25-presets b{display:block;font-size:13px;letter-spacing:1px}.dc25-presets small{display:block;margin-top:5px;font-size:12px;color:#c7d9eb}.dc25-panel>.dc25-note{margin:0 24px 16px}
.dc25-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 24px;gap:5px;border-bottom:1px solid #56728c}.dc25-tabs button{background:#0c2949;border:1px solid #315475;min-height:46px;padding:9px;color:#c4d4e7;font-size:14px;font-weight:700}.dc25-tabs button[aria-selected=true]{background:#eff4fc;color:#0b2243;box-shadow:inset 0 -4px #c62839}
.dc25-pane{padding:20px 24px 26px}.dc25-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.dc25-grid>div{min-width:0}.dc25-pane h3{margin:0 0 12px;font-size:20px;letter-spacing:-.4px}.dc25-pane h3:not(:first-child){margin-top:24px}.dc25-note{font-size:13px;color:#b8cce1;line-height:1.6;margin:10px 0}.dc25-field{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #5b7a9940;font-size:14px;flex-wrap:wrap}.dc25-field>span{flex:1 1 130px;line-height:1.45;font-weight:700}.dc25-field small{display:block;max-width:430px;color:#b7c9df;font-size:12px;line-height:1.45;font-weight:400;margin-top:3px}.dc25-field select{min-height:44px;background:#112e50;border:1px solid #6486a6;border-radius:3px;padding:8px;color:#eef4fc;max-width:100%;font-size:13px}.dc25-field input[type=checkbox]{width:24px;height:24px;accent-color:#a8d7ff;margin:10px}.dc25-field input[type=range]{width:100%;min-width:40px;min-height:44px;accent-color:#afd6ff;touch-action:pan-y}.dc25-range{flex:1 0 100%;display:grid;grid-template-columns:44px minmax(40px,1fr) 44px 58px;gap:9px;align-items:center}.dc25-range button{width:44px;height:44px;border:1px solid #6385a5;background:#133963;border-radius:3px;font-size:22px}.dc25-range output{font:700 13px ui-monospace,Consolas,monospace;text-align:right;color:#f4d47e}
.dc25-panel button:focus-visible,.dc25-panel input:focus-visible,.dc25-panel select:focus-visible,#dc25-calibrate:focus-visible,.dc25-resume button:focus-visible{outline:3px solid #f5d174;outline-offset:2px}.dc25-panel .secondary,.dc25-panel .primary,.dc25-resume button{min-height:46px;font-size:12px;padding:12px 15px;letter-spacing:.6px}
#dc25-calibrate{height:122px;background:repeating-linear-gradient(90deg,#7098bb22 0 1px,transparent 1px 10%),#061225;border:1px solid #7199bb;border-radius:18px;position:relative;touch-action:none;user-select:none;overflow:hidden}#dc25-calibrate>span{position:absolute;top:12px;width:100%;text-align:center;letter-spacing:2px;font-size:11px;color:#9dbddb}#dc25-thumb{position:absolute;top:49px;left:calc(50% - 22px);width:44px;height:44px;border-radius:50%;background:#b3dcff;transform:translateX(calc(var(--steer,0) * 140px));box-shadow:0 0 0 8px #91c4f021}.dc25-test-controls{display:flex;gap:8px;justify-content:center;margin-top:10px}.dc25-test-controls button{min-width:56px;min-height:44px;border:1px solid #658bb0;background:#12375e;padding:8px;font-size:13px}.dc25-readout{font:13px ui-monospace,Consolas,monospace;color:#f4d47e;text-align:center}
.dc25-route-preview{height:198px;margin:18px 0;border:1px solid #577b9a;background:#10211d;position:relative;overflow:hidden}.dc25-route-preview div{width:70%;height:100%;margin:auto;background:#204674;border-left:5px solid #c62839;border-right:5px solid #f4f1ea;display:flex;flex-direction:column-reverse;align-items:center;justify-content:space-evenly}.dc25-route-preview i{font-size:30px;font-style:normal;font-weight:900;line-height:1;color:white}.dc25-route-preview[data-style=bold] div{background:#386ca1;width:76%}.dc25-route-preview[data-style=bold] i{color:#ffe095}.dc25-route-preview[data-style=arrows] div{background:#313944;border:none}.dc25-route-preview>span{position:absolute;bottom:0;left:0;width:100%;text-align:center;padding:7px;background:#07162fe0;font-size:10px;letter-spacing:1px}
.dc25-caution{padding:18px;background:#173652;border-left:3px solid #f4cc72;margin-top:20px}.dc25-caution b{font-size:15px}.dc25-caution p{font-size:13px;line-height:1.6;color:#c0d4e8;margin-bottom:0}.dc25-actions{display:flex;flex-wrap:wrap;gap:10px}.dc25-footer{position:sticky;bottom:-1px;background:#09172ff5;border-top:1px solid #5e83a3;padding:12px 24px;display:flex;align-items:center;gap:12px;backdrop-filter:blur(6px);z-index:2}.dc25-footer>div{margin-right:auto;min-width:0}.dc25-footer span{font-size:12px;font-weight:700;color:#c8e4ff}.dc25-footer small{display:block;font-size:11px;line-height:1.4;color:#a8bfd9;margin-top:4px}.dc25-footer .primary{min-width:120px;gap:12px}
.dc25-entry{display:block;width:100%;min-height:48px;margin:14px 0}.dc25-pause-note{font-size:13px!important;line-height:1.55;background:#0a2544;border-left:3px solid #b7dcff;padding:12px;margin:12px 0}.dc25-return-note{margin-top:18px;padding:14px;border-left:3px solid #eacc77;background:#102943}.dc25-return-note b{font-size:12px;letter-spacing:1px}.dc25-return-note p{font-size:13px;line-height:1.5;margin:9px 0;color:#bed2e9}.dc25-return-note button{min-height:44px}
.dc25-resume{position:fixed;inset:0;z-index:230;display:grid;place-items:center;pointer-events:auto;background:#030a1490;padding:12px}.dc25-resume>div{width:min(430px,92%);border:1px solid #93b6d6;background:#081b33f5;padding:24px;text-align:center}.dc25-resume h2{font-size:26px;margin:10px 0 0;letter-spacing:-.5px}.dc25-resume b{font-size:76px;line-height:1.1;color:#f3d17a;font-variant-numeric:tabular-nums;display:block}.dc25-resume p:not(.dc25-kicker){font-size:13px;color:#c2d4e7;line-height:1.5}.dc25-resuming #pause{display:none!important}
body.touch .touch-left,body.touch .touch-right{opacity:var(--comfort-controls-opacity,1)}body.touch[data-comfort-hand=left] .touch-left{left:auto;right:max(18px,env(safe-area-inset-right))}body.touch[data-comfort-hand=left] .touch-right{right:auto;left:max(18px,env(safe-area-inset-left))}body.touch[data-comfort-hand=left] #wiper-button{right:auto;left:18px}body.touch[data-comfort-pad=large] .drive-stick{width:min(176px,29vw);height:136px}body.touch[data-comfort-pad=large] .drive-stick i{width:60px;height:60px;top:calc(50% - 30px);left:calc(50% - 30px)}
@media(max-width:740px){.dc25-wrap{padding:0}.dc25-panel{width:100%;min-height:100dvh;border:0;margin:0}.dc25-heading{padding:18px 16px 14px}.dc25-heading h2{font-size:28px}.dc25-presets{padding:14px 16px 8px;gap:6px}.dc25-presets button{padding:10px 8px}.dc25-presets b{font-size:11px}.dc25-presets small{font-size:11px}.dc25-panel>.dc25-note{margin:0 16px 14px}.dc25-tabs{padding:0 12px;gap:4px}.dc25-tabs button{font-size:12px;padding:8px 4px}.dc25-pane{padding:18px 16px 24px}.dc25-grid{grid-template-columns:1fr;gap:20px}.dc25-footer{padding:10px 12px max(10px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}.dc25-footer>div{flex-basis:100%}.dc25-footer small{display:none}.dc25-footer #dc25-reset{flex:1}.dc25-footer #dc25-done{flex:1;min-width:100px}#dc25-thumb{transform:translateX(calc(var(--steer,0) * 110px))}}
@media(orientation:landscape) and (max-height:480px){.dc25-wrap{padding:8px}.dc25-panel{margin:0 auto}.dc25-heading h2{font-size:27px}.dc25-heading h2 br{display:none}.dc25-heading p{font-size:13px}.dc25-footer>div{flex-basis:auto}.dc25-footer small{display:none}.dc25-footer{padding:8px 12px;flex-wrap:nowrap}.dc25-footer #dc25-reset{flex:0 1 auto}.dc25-footer #dc25-done{flex:0 1 120px}.dc25-resume>div{padding:14px 20px}.dc25-resume b{font-size:52px}.dc25-resume h2{font-size:22px}body.touch[data-comfort-pad=large] .drive-stick{height:120px;width:min(168px,26vw)}}

.dc25-tabs{position:sticky;top:0;z-index:3;background:#091c36}
@media(orientation:landscape) and (max-height:480px){.dc25-heading{padding:12px 18px}.dc25-heading h2{font-size:25px;margin:6px 0}.dc25-heading p,.dc25-panel>.dc25-note{display:none}.dc25-presets{padding:10px 18px 8px}.dc25-presets button{min-height:56px;padding:8px}.dc25-tabs{padding:0 18px}}
