.bh-gwc-wrap {
    position: relative;
    width: 100%;
    height: var(--bh-gwc-height, 420px);
    min-height: 260px;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 36%, rgba(242,247,249,0.72) 72%, rgba(242,247,249,0.2) 100%);
    isolation: isolate;
}

.bh-gwc-wrap::before,
.bh-gwc-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.bh-gwc-wrap::before {
    background: radial-gradient(circle at center, rgba(255,255,255,0) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0.22) 78%, rgba(255,255,255,0.66) 100%);
}

.bh-gwc-wrap::after {
    box-shadow: inset 0 0 42px rgba(38, 98, 122, 0.1);
    border-radius: inherit;
}

.bh-gwc-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bh-gwc-links {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.bh-gwc-word {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate3d(-9999px, -9999px, 0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 999px;
    color: #26627A;
    text-decoration: none !important;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    cursor: pointer;
    user-select: none;
    will-change: transform, opacity, filter;
    transition: color 0.18s ease, background 0.18s ease, text-shadow 0.18s ease, opacity 0.18s ease, filter 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.bh-gwc-word:hover,
.bh-gwc-word:focus-visible,
.bh-gwc-word.is-active {
    color: #123B4B;
    background: rgba(255,255,255,0.86);
    outline: none;
    opacity: 1 !important;
    filter: blur(0) !important;
    text-shadow: 0 8px 24px rgba(38,98,122,0.22);
    z-index: 10;
}

.bh-gwc-empty {
    padding: 24px;
    border-radius: 18px;
    background: #f6f9fa;
    color: #26627A;
    text-align: center;
}

@media (max-width: 767px) {
    .bh-gwc-wrap {
        height: min(var(--bh-gwc-height, 420px), 70vh);
        border-radius: 22px;
    }
    .bh-gwc-word {
        padding: 6px 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bh-gwc-word {
        transition: none;
    }
}
