/* A recovery button the same size as the music control; no persistent card. */
:root footer#connection-panel{
 display:block;left:22px;right:auto;bottom:20px;width:44px;max-width:44px;
 pointer-events:none;
}
#connection-panel .connection-card,#connection-panel .connection-actions{
 display:block;width:44px;margin:0;padding:0;border:0;background:none;box-shadow:none;
}
:root #connection-panel #connect,:root #connection-panel #open-bluefy-ios{
 display:block;box-sizing:border-box;width:44px;height:44px;min-height:44px;
 margin:0;padding:7px 9px;border-radius:50%;
 border:1px solid var(--ui-border,#a6be98);box-shadow:none;
 background:var(--ui-green,#e4efda);color:var(--ui-ink,#34513b);
 font:600 12px/14px system-ui,-apple-system,'PingFang SC',sans-serif;
 letter-spacing:0;white-space:normal;overflow-wrap:anywhere;pointer-events:auto;
}
:root #connection-panel #connect:hover,:root #connection-panel #open-bluefy-ios:hover{
 background:var(--ui-hover,#d7e9c8);
}
/* Keep the existing browser handoff readable when Web Bluetooth is unavailable. */
:root #connection-panel #open-bluefy-ios{
 width:max-content;padding:10px 12px;border-radius:14px;white-space:nowrap;
}
/* Preserve the live explanation for assistive technology without covering the scene. */
#connection-guide{
 position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
 clip-path:inset(50%);white-space:nowrap;
}
#connection-panel #disconnect,#connection-options{display:none}
@media(max-width:760px){
 :root footer#connection-panel{left:12px;bottom:12px}
}

/* Connection recovery lives only in the lower-left button. */
:root #mode-3d{display:none}
