/* Rules are isolated. Existing website layout is changed only in standalone mode. */
#bda-app-nav[hidden], #bda-app-dialog [hidden],
.bda-app-install-trigger[hidden], #bda-app-footer-install[hidden] { display:none !important; }
#bda-app-dialog:not([open]) { display:none !important; }
#bda-app-club:not([open]),html:not(.bda-app-mode) #bda-app-club { display:none !important; }
#bda-app-nav { display:none; }
html.bda-app-mode.bda-app-has-nav { scroll-padding-bottom:calc(92px + env(safe-area-inset-bottom, 0px)); }
html.bda-app-mode.bda-app-has-nav body { padding-bottom:calc(86px + env(safe-area-inset-bottom, 0px)) !important; }
/* Existing public-home widgets verified on buhosdelalba.es. */
html.bda-app-mode.bda-app-has-nav #bda-home-nido { display:none !important; }
html.bda-app-mode.bda-app-has-nav .buho-sound-floating-button { bottom:calc(108px + env(safe-area-inset-bottom, 0px)) !important; }
html.bda-app-mode.bda-app-has-nav .buho-sound-floating-player { bottom:calc(176px + env(safe-area-inset-bottom, 0px)) !important; }
html.bda-app-mode.bda-app-has-nav .bhn-floating-nav { bottom:calc(108px + env(safe-area-inset-bottom, 0px)) !important; }
html.bda-app-mode.bda-app-has-nav .bhn-floating-home { display:none !important; }
html.bda-app-mode #bda-app-nav:not([hidden]) {
  position:fixed; inset:auto 0 0; z-index:99990; display:grid; grid-template-columns:repeat(5,minmax(0,1fr));
  box-sizing:border-box; padding:9px max(8px, env(safe-area-inset-right, 0px)) calc(9px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
  border-top:1px solid rgba(243,234,216,.18); background:#111; color:#f3ead8; box-shadow:0 -8px 26px #0003;
}
#bda-app-nav a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:52px; border-radius:12px; padding:5px 2px; color:#d8d0c3; font:700 11px/1.2 system-ui,sans-serif; text-decoration:none; }
#bda-app-nav a svg { width:23px; height:23px; flex-shrink:0; }
#bda-app-nav a[aria-current="page"] { color:#fff; background:#b11473; }
#bda-app-nav a:focus-visible { outline:2px solid #f3ead8; outline-offset:-2px; }
#bda-app-nav a[data-bda-app-club-trigger]>span { display:flex; align-items:center; gap:4px; }
#bda-app-nav .bda-app-club-caret { font:900 12px/1 system-ui,sans-serif; font-style:normal; }
#bda-app-nav a[data-bda-app-club-trigger][aria-expanded="true"] { color:#fff; background:#b11473; }
#bda-app-nav a[data-bda-app-club-trigger][aria-expanded="true"] .bda-app-club-caret { transform:rotate(180deg); }
#bda-app-club { box-sizing:border-box; position:fixed; inset:auto 0 calc(90px + env(safe-area-inset-bottom,0px)); width:calc(100% - 24px); max-width:556px; max-height:calc(100dvh - 130px - env(safe-area-inset-bottom,0px) - env(safe-area-inset-top,0px)); margin:0 auto; padding:22px; overflow:auto; overscroll-behavior:contain; border:1px solid #f3ead833; border-radius:24px; background:radial-gradient(ellipse at 100% 0,#b1147326,transparent 55%),#111; color:#f3ead8; box-shadow:0 18px 70px #0009; font:400 15px/1.4 system-ui,sans-serif; }
#bda-app-club * { box-sizing:border-box; }
#bda-app-club::backdrop { background:#0009; }
#bda-app-club .bda-app-club-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
#bda-app-club .bda-app-club-head p { margin:0 0 6px; color:#ee91c9; font-size:10px; font-weight:900; letter-spacing:.14em; }
#bda-app-club h2 { margin:0; color:#f3ead8; font:900 28px/1.1 system-ui,sans-serif; letter-spacing:-.03em; }
#bda-app-club [data-bda-app-club-close] { display:grid; place-items:center; flex:0 0 42px; width:42px; height:42px; padding:0; border:1px solid #f3ead826; border-radius:50%; background:#ffffff0a; color:#f3ead8; font:400 26px/1 system-ui,sans-serif; cursor:pointer; }
#bda-app-club nav { display:grid; gap:8px; padding:0; margin:0; }
#bda-app-club nav a { display:flex; align-items:center; gap:12px; min-height:67px; padding:12px; border:1px solid #f3ead81f; border-radius:14px; background:#ffffff05; color:#f3ead8; text-decoration:none; }
#bda-app-club .bda-app-club-icon { display:grid; place-items:center; flex:0 0 38px; width:38px; height:38px; border-radius:11px; background:#b1147326; color:#ee91c9; }
#bda-app-club .bda-app-club-icon svg { width:22px; height:22px; }
#bda-app-club .bda-app-club-copy { display:block; flex:1; min-width:0; }
#bda-app-club strong { display:block; color:#f3ead8; font:850 17px/1.2 system-ui,sans-serif; overflow-wrap:anywhere; }
#bda-app-club small { display:block; margin-top:4px; color:#c8beb0; font:500 11px/1.4 system-ui,sans-serif; overflow-wrap:anywhere; }
#bda-app-club .bda-app-club-arrow { color:#ee91c9; font-size:20px; }
#bda-app-club a:hover { background:#b114731a; border-color:#ee91c94d; }
#bda-app-club a:focus-visible,#bda-app-club button:focus-visible { outline:2px solid #f3ead8; outline-offset:2px; }
html.bda-app-club-open { overflow:hidden; }
@media(max-width:360px) { #bda-app-club { padding:16px; } #bda-app-club strong { font-size:16px; } }
#bda-app-dialog { box-sizing:border-box; width:calc(100% - 32px); max-width:460px; max-height:calc(100dvh - 40px); margin:auto; padding:0; border:1px solid #f3ead830; border-radius:24px; background:#111; color:#f3ead8; box-shadow:0 20px 90px #0008; font:400 15px/1.5 system-ui,sans-serif; overflow:auto; }
#bda-app-dialog::backdrop { background:#000b; backdrop-filter:blur(4px); }
#bda-app-dialog .bda-app-dialog-inner { position:relative; padding:28px; }
#bda-app-dialog img { display:block; margin:0 0 18px; border-radius:50%; }
#bda-app-dialog h2 { margin:8px 0 12px; color:#f3ead8; font:900 32px/1.08 system-ui,sans-serif; letter-spacing:-.04em; }
#bda-app-dialog h3 { margin:20px 0 8px; color:#f3ead8; font:800 18px/1.2 system-ui,sans-serif; }
#bda-app-dialog p { margin:12px 0; color:#e4dbce; }
#bda-app-dialog .bda-app-eyebrow { font-size:10px; font-weight:900; letter-spacing:.16em; color:#e49ac5; }
#bda-app-dialog ol { margin:10px 0 16px; padding-left:22px; }
#bda-app-dialog li { margin-bottom:10px; }
#bda-app-dialog .bda-app-note { border-top:1px solid #f3ead82b; padding-top:16px; font-size:12px; color:#bfb7ac; }
#bda-app-dialog button, .bda-app-install-trigger { cursor:pointer; box-sizing:border-box; border:0; border-radius:12px; padding:14px 20px; background:#b11473; color:#fff; font:800 15px/1.3 system-ui,sans-serif; text-transform:none; letter-spacing:normal; }
#bda-app-dialog .bda-app-close { position:absolute; top:12px; right:12px; display:grid; place-items:center; width:44px; height:44px; padding:0; border-radius:50%; background:#ffffff10; color:#f3ead8; font-size:28px; }
#bda-app-dialog button:focus-visible, .bda-app-install-trigger:focus-visible { outline:3px solid #f3ead8; outline-offset:3px; }
#bda-app-native-install { width:100%; margin-top:12px; }
#bda-app-dialog button:disabled { opacity:.6; }
#bda-app-footer-install { padding:24px 16px; text-align:center; }
html.bda-app-dialog-open { overflow:hidden; }
@media(min-width:800px) { html.bda-app-mode #bda-app-nav:not([hidden]) { max-width:580px; left:50%; right:auto; width:100%; transform:translateX(-50%); border-radius:22px 22px 0 0; } }
@media(prefers-reduced-motion:no-preference) { #bda-app-nav a, .bda-app-install-trigger { transition:background .15s ease; } }
/* 1.1.11 · Entrenos distinct icon + per-user new indicator */
#bda-app-nav a{position:relative}.bda-app-new{position:absolute;top:4px;left:calc(50% + 8px);width:9px;height:9px;border-radius:50%;background:#b7ff2a;border:2px solid #111;box-sizing:content-box;z-index:2}.bda-app-new:after{content:'';position:absolute;inset:-5px;border:1px solid #b7ff2a;border-radius:50%;opacity:.35}
