/* Photo overlays have independent hit targets, not nested anchors. */
.bc-ce-photo{position:relative;min-width:0}.bc-ce-pill{position:absolute;z-index:4;top:10px;left:10px;max-width:calc(100% - 64px);padding:6px 10px;border-radius:999px;background:#21663f;color:#fff;font:700 12px/1.2 system-ui,sans-serif;box-shadow:0 2px 7px #0003;pointer-events:none;text-align:left;white-space:normal}.bc-ce-pill.bc-ce-closed{background:#b91c22}.bc-ce-save{position:absolute;top:8px;right:8px;z-index:5;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d5d8db;border-radius:50%;background:#fff;color:#192c46;padding:0;cursor:pointer;box-shadow:0 2px 7px #0002}.bc-ce-save[aria-pressed=true]{color:#bd2026}.bc-ce-save[aria-pressed=true] svg{fill:currentColor}.bc-ce-save:focus-visible,.bc-ce-dialog :focus-visible{outline:3px solid #d9a427;outline-offset:3px}.bc-ce-save[aria-busy=true]{opacity:.65;cursor:wait}.bc-ce-save-text{position:static;width:auto;height:auto;min-height:44px;border-radius:6px;padding:8px 12px;gap:6px;box-shadow:none}.bc-ce-dialog{max-width:min(420px,calc(100vw - 32px));width:100%;border:1px solid #deded9;border-radius:12px;padding:24px;background:#fffdfa;color:#192c46;box-shadow:0 12px 40px #0004}.bc-ce-dialog::backdrop{background:#142c44aa}.bc-ce-dialog h2{font-size:25px;line-height:1.2;margin:0 0 12px;color:#192c46}.bc-ce-dialog p{margin:0 0 16px}.bc-ce-dialog a,.bc-ce-dialog button{display:block;width:100%;box-sizing:border-box;text-align:center;padding:12px;border-radius:5px;font-weight:700}.bc-ce-dialog a{background:#b91c22;color:#fff;text-decoration:none}.bc-ce-dialog button{margin-top:8px;background:transparent;color:#192c46;border:1px solid #deded9}.bc-ce-feedback{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);z-index:100001;background:#192c46;color:white;border-radius:6px;padding:10px 16px;font:600 14px/1.4 system-ui,sans-serif}.bc-ce-feedback:empty{display:none}.bc-ce-notice{border-left:4px solid #b91c22;background:#fff2f1;padding:14px 16px;margin:0 0 18px;color:#192c46}.bc-ce-notice strong{color:#a51b21}.bc-cc-status.bc-ce-closed-status{color:#a51b21}.bc-le-hero-media>.bc-ce-pill{position:absolute!important;width:auto!important;height:auto!important;inset:10px auto auto 10px!important;z-index:20!important}.bc-le-hero-details>.bc-ce-notice{margin-top:12px}
@media(max-width:360px){.bc-ce-pill{font-size:11px;padding:5px 8px;left:7px;top:8px}.bc-ce-save{right:6px;top:6px}}

.bc-dir-status-guide{font-size:13px;color:#526174;margin:10px 0 16px}.bc-le-native-toolbar .bc-ce-save-text[aria-pressed=true]{color:#bd2026!important}.bc-le-hero-media>.bc-ce-pill{max-width:calc(100% - 20px)!important}

/* Branded, explicitly non-photographic fallback; use the existing local machine artwork. */
.bc-ce-placeholder{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;min-height:100px;box-sizing:border-box;background:linear-gradient(135deg,#182f49,#102236);color:#fff!important;font:600 13px/1.4 system-ui,sans-serif;text-align:center;padding:14px;overflow:hidden}
.bc-ce-placeholder::before{content:'';display:block;width:clamp(48px,23%,94px);aspect-ratio:1;background:url('../../../commerce/account/assets/player-avatar-256.webp') center/contain no-repeat;flex:none;border-radius:50%;box-shadow:0 0 0 1px #ffc54588}
.bc-ce-native-photo-wrap{position:relative;min-width:0}.bc-ce-native-photo-wrap>a{display:block}
[data-bc-ce-native] .bc-ce-photo>.bc-ce-pill,[data-bc-ce-native] .bc-ce-photo>.bc-ce-save{z-index:20}
.bc-le-native-toolbar .bc-ce-save-text svg{width:18px;height:18px;flex:none}
.bc-le-native-toolbar .bc-ce-save-text[aria-pressed=true]{color:#ffc545!important}


[data-bc-ce-native] .bc-ce-photo .bc-ce-placeholder{aspect-ratio:16/9;min-height:0}

/* Confine overlays to their own media stacking context, including native carousel cards. */
.bc-ce-photo,body.bc-le-preview .bc-le-hero-media{isolation:isolate;z-index:0}
[data-bc-ce-native]{isolation:isolate;z-index:0}
/* Converted native photo badges are retired; category facts below the image remain.
   Also covers badges injected after the initial Directorist render. */
[data-bc-ce-native] .bc-ce-photo :is(.directorist-badge,[class*="directorist-badge__"],[class*="directorist-badge-"],[class*="directorist-listing-single__badge"],.bc-has-bubble-banner,.closed-banner){display:none!important}
