.bhb-ibh-notice{
    position: fixed;
    z-index: 99999;
    max-width: var(--bhb-ibh-max-width, 320px);
    padding: var(--bhb-ibh-padding, 12px);
    font-size: var(--bhb-ibh-font-size, 14px);
    background: var(--bhb-ibh-bg, #111);
    color: var(--bhb-ibh-color, #fff);
    opacity: var(--bhb-ibh-opacity, 1);
    border-style: solid;
    border-color: var(--bhb-ibh-border-color, transparent);
    border-width: var(--bhb-ibh-border-width, 0px);
    border-radius: var(--bhb-ibh-radius, 12px);
    line-height: 1.35;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

.bhb-ibh-notice *{ box-sizing: border-box; }

.bhb-ibh-notice a{
    color: inherit;
    text-decoration: underline;
}

/* Positions */
.bhb-ibh-pos-bottom_right{
    right: calc(var(--bhb-ibh-right, 20px) + env(safe-area-inset-right, 0px));
    bottom: calc(var(--bhb-ibh-bottom, 20px) + var(--bhb-ibh-footer-offset, 0px) + env(safe-area-inset-bottom, 0px));
}

.bhb-ibh-pos-side_right{
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.bhb-ibh-pos-side_left{
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Mobile: always bottom, full width with side padding */
@media (max-width: 600px){
    .bhb-ibh-notice{
        left: calc(var(--bhb-ibh-mobile-side, 12px) + env(safe-area-inset-left, 0px));
        right: calc(var(--bhb-ibh-mobile-side, 12px) + env(safe-area-inset-right, 0px));
        bottom: calc(var(--bhb-ibh-mobile-bottom, 12px) + var(--bhb-ibh-footer-offset, 0px) + env(safe-area-inset-bottom, 0px));
        top: auto;
        transform: none;
        max-width: none;
        border-radius: 14px;
    }
}
