#kf39MonitorBtn,
#kf39Settings,
#kf39Dev,
#kf39Lab,
#kf72-launch-nav a[href*="pilot_lab"],
#kf72-launch-nav a[href="index.html"],
#kf511-quick,
#kf500-live,
.kf45-panel,
#kf54OpenAcademy,
.kf54-quick,
#kf54EditUI,
#kf54LogExport,
#kf54LogMaster,
#kf53Hub,
#kf44Open,
#kf44Overlay,
#kf41FullHandlingLab,
#kf42Dashboard,
#kf42Open,
#kfRealmPerf,
#kfRealmExpand,
#kfRealmPanel,
#kfRealmSwitch,
.kf-realm-hud,
.kf40-learning-controls,
.kf517-career-actions,
#kf5115-learning,
#kf500-lab-entry,
#kf39Setup option[value="ghost-academy"]{display:none!important;}

#kf-realm-hud,#kf42HeaderShortcut,#kf51EngineeringMenu,#kf51LabLauncher,#kf51LabShade,#kf74-lab,#kf39ReboundSetup,#kf38Setup{display:none!important;}

/* U5151 player-only UI; native HUD Studio remains available. */
#atl-kart-touch{display:none}.touch-stick{position:relative;display:block;width:118px;height:118px;border-radius:50%;border:2px solid #c0ffd066;background:#061b14b8;box-shadow:0 0 0 5px #07120b88,inset 0 0 25px #50ff7122;pointer-events:auto;touch-action:none;user-select:none}.touch-stick-ring{position:absolute;width:68px;height:68px;border:1px dashed #b2faba66;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.touch-stick-knob{position:absolute;width:56px;height:56px;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,#a0ffb2,#367c55);border:2px solid #d4ffe0;box-shadow:0 3px 15px #0008;pointer-events:none;will-change:transform}.touch-stick.engaged{border-color:#a4ffbb;box-shadow:0 0 16px #65ff973e}
.kf43-device{background:#04141999!important}.kf39-card{width:min(100%,560px)!important;max-height:calc(100dvh - 95px)!important}.kf39-setup{overflow:auto!important}.kf39-card select{min-height:38px}.kf43-editor{max-height:85dvh!important;overflow:auto!important}
@media(pointer:coarse),(max-width:760px){#atl-kart-touch.atl-active{display:block;position:fixed;left:max(18px,env(safe-area-inset-left));bottom:max(17px,env(safe-area-inset-bottom));z-index:165;pointer-events:none}.touch-stick{width:clamp(90px,26vw,118px);height:clamp(90px,26vw,118px)}.touch-stick-ring{width:60%;height:60%}.touch-stick-knob{width:49%;height:49%}.kf43-overlay:not(.kf43-editor-open) .kf43-item:not(.kf43-race):not(.kf43-dash):not(.kf43-fiesta){display:none!important}.kf43-overlay:not(.kf43-editor-open) .kf43-race{top:52px!important;left:9px!important;max-width:55vw}.kf43-overlay:not(.kf43-editor-open) .kf43-dash{top:auto!important;bottom:max(16px,env(safe-area-inset-bottom));left:auto!important;right:10px!important;width:clamp(125px,43vw,235px)!important;max-width:49vw!important}.kf43-device{min-height:60px!important;padding:5px!important}.kf43-primary{gap:4px!important}.kf43-primary strong{font-size:1.65em!important}.kf43-secondary{font-size:.55em!important}.kf43-overlay:not(.kf43-editor-open) .kf43-fiesta{left:auto!important;right:9px!important;top:auto!important;bottom:110px!important;max-width:55vw!important}.kf43-abilities{flex-wrap:wrap!important;justify-content:flex-end;gap:3px!important}.kf43-ability{min-width:0!important;font-size:9px!important;padding:4px!important}.kf43-ability kbd,.kf43-fiesta .kf43-hint{display:none!important}.kf39-setup{padding:75px 10px 10px!important}.kf39-card{padding:15px!important}.kf39-card h1{font-size:30px!important}.kf43-menu-btn,.kf43-edit-btn{min-height:36px}.kf43-editor{width:min(420px,94vw)!important}.kf43-menu-open .kf39-topbar{max-height:80dvh!important}.kf39-settings-card{max-height:85dvh!important}}
@media(pointer:coarse) and (orientation:landscape){.touch-stick{width:90px;height:90px}#atl-kart-touch.atl-active{bottom:max(9px,env(safe-area-inset-bottom))}.kf39-setup{padding-top:55px!important}.kf39-card{max-height:calc(100dvh - 65px)!important}.kf43-overlay:not(.kf43-editor-open) .kf43-fiesta{bottom:92px!important;max-width:45vw!important}}

.kf43-details-btn,#kf43MobileDetails{display:none}
@media(pointer:coarse),(max-width:760px){.kf43-overlay.kf43-live:not(.kf43-modal) .kf43-details-btn{display:block;position:absolute;top:10px;left:10px;padding:8px;border:1px solid #92acb088;border-radius:7px;background:#07171fa6;color:white;pointer-events:auto;font-size:10px;z-index:3}#kf43MobileDetails:not([hidden]){display:grid;position:absolute;top:47px;left:8px;right:8px;max-width:340px;max-height:calc(100dvh - 180px);overflow:auto;gap:8px;padding:9px;background:#071722e8;border:1px solid #7298aa88;border-radius:10px;z-index:8;pointer-events:auto}#kf43MobileDetails section{padding:6px;border-bottom:1px solid #63808c55}#kf43MobileDetails b{color:#b9e4e7}#kf43MobileDetails .kf43-data{font-size:11px}.kf43-overlay:not(.kf43-live) #kf43MobileDetails,.kf43-overlay.kf43-modal #kf43MobileDetails{display:none!important}}
