
#tourora-pro-safety-v1[hidden],#tps-camera[hidden],#tps-settings[hidden]{display:none!important}
#tourora-pro-safety-v1{position:fixed;left:13px;bottom:calc(240px + env(safe-area-inset-bottom,0px));z-index:1850;display:flex;flex-direction:column;gap:8px;align-items:flex-start;max-width:calc(100vw - 130px);pointer-events:none;font-family:system-ui,-apple-system,sans-serif}
#tps-sign{min-width:98px;padding:7px 8px 8px;border-radius:13px;background:#f3fff8ec;border:2px solid #a3d8c3;box-shadow:0 4px 16px #061c1c38;text-align:center;color:#204238}
#tps-sign .tps-roundel{width:64px;height:64px;display:grid;place-items:center;border:6px solid #d33232;border-radius:50%;background:#fff;margin:0 auto 4px}
#tps-sign .tps-roundel strong{font:900 29px/1 system-ui,sans-serif;color:#222;letter-spacing:-1.2px}
#tps-sign>small{font:800 10px/1.2 system-ui;display:block}
#tps-speed-state{font:700 9px/1.3 system-ui;color:#4e7467;margin-top:3px}
#tourora-pro-safety-v1.tps-over-speed #tps-sign{border-color:#e02e2c;background:#fff5f3;box-shadow:0 0 0 3px #fc2e2e40,0 4px 18px #812a2a66}
#tourora-pro-safety-v1.tps-over-speed #tps-speed-state{font-weight:900;color:#bc1616}
#tps-camera{padding:9px 12px;max-width:min(240px,calc(100vw - 145px));border-radius:11px;border:2px solid #efb44e;background:#243f35ed;box-shadow:0 5px 14px #051a1880;color:#fff;display:flex;flex-direction:column;gap:2px;line-height:1.18}
#tps-camera strong{font:800 12px/1.2 system-ui}
#tps-camera>span{font:900 18px/1.2 system-ui;color:#dcff9b}
#tps-camera>small{font:700 9px/1.2 system-ui;color:#dfede4}
#tps-settings{margin:14px 0;padding:12px;border:1px solid #a4c4ae;border-radius:11px;background:#edf6e9;color:#173e35;font:600 12px/1.4 system-ui}
#tps-settings>strong{font:900 14px/1.3 system-ui;display:block;margin-bottom:8px}
#tps-settings label{display:flex;align-items:center;gap:8px;padding:6px 0}
#tps-settings label input{width:19px;height:19px;accent-color:#157452;flex:0 0 auto}
#tps-settings>p{font:500 11px/1.45 system-ui;margin:6px 0 0;color:#4e665d}
@media(max-width:880px) and (orientation:portrait){
 #tourora-pro-safety-v1{bottom:calc(242px + env(safe-area-inset-bottom,0px));left:10px;z-index:2150;max-width:calc(100vw - 126px)}
 #tps-sign{min-width:86px;padding:5px 6px}
 #tps-sign .tps-roundel{width:59px;height:59px;border-width:5px}
 #tps-sign .tps-roundel strong{font-size:27px}
}
@media(max-width:880px) and (orientation:landscape){
 #tourora-pro-safety-v1{bottom:calc(67px + env(safe-area-inset-bottom,0px));left:calc(76px + env(safe-area-inset-left,0px));flex-direction:row;align-items:flex-end;gap:5px;max-width:50vw;z-index:2150}
 #tps-sign{min-width:66px;padding:3px 4px}
 #tps-sign .tps-roundel{height:43px;width:43px;border-width:4px}
 #tps-sign .tps-roundel strong{font-size:20px}
 #tps-sign>small,#tps-speed-state{font-size:8px}
 #tps-camera{max-width:155px;padding:6px}
 #tps-camera strong{font-size:10px}#tps-camera>span{font-size:12px}#tps-camera>small{font-size:8px}
}

#tps-camera-state{display:block;font:700 9px/1.25 system-ui;color:#466b5c;margin-top:4px;max-width:110px}
