/* Admin + Dashboard: dynamisches Bot-/Server-Banner */

#botBannerModal.modal-overlay {
    opacity: 1;
    z-index: 12050;
    background: rgba(2, 4, 12, 0.78);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    align-items: center;
    justify-content: center;
    padding: 10px;
}

#botBannerModal .modal-content.bb-modal {
    transform: none;
    max-width: min(1180px, 97vw);
    width: 97vw;
    max-height: min(92vh, 920px);
    background:
        radial-gradient(900px 220px at 12% -10%, rgba(94, 234, 212, 0.08), transparent 55%),
        radial-gradient(720px 240px at 100% 0%, rgba(88, 101, 242, 0.14), transparent 50%),
        linear-gradient(180deg, rgba(18, 28, 52, 0.98) 0%, rgba(6, 9, 20, 0.99) 100%);
    border: 1px solid rgba(140, 160, 255, 0.2);
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 28px 80px rgba(0, 0, 0, 0.58);
}

#botBannerModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex: 0 0 auto;
}

#botBannerModal .modal-header h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

#botBannerModal .modal-header h2 i {
    color: #5eead4;
}

#botBannerModal .modal-close {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font-size: 1.15rem;
    opacity: 0.75;
}

#botBannerModal .modal-close:hover {
    opacity: 1;
}

#botBannerModal .bb-modal {
    max-width: min(1180px, 97vw);
    max-height: min(92vh, 920px);
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#botBannerModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 8px 14px 4px;
}

#botBannerModal .bb-lead {
    flex: 0 0 auto;
}

#botBannerModal .bb-layout {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

#botBannerModal .bb-controls,
#botBannerModal .bb-preview-col {
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#botBannerModal .bb-controls {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-right: 6px;
}

#botBannerModal .bb-section-title {
    margin: 8px 0 2px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--admin-modal-muted, #9ba3af);
}

#botBannerModal .bb-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#botBannerModal .bb-field label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--admin-modal-muted, #9ba3af);
}

#botBannerModal .bb-field input[type="text"],
#botBannerModal .bb-field input[type="number"],
#botBannerModal .bb-field select {
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(88, 101, 242, 0.22);
    background: rgba(8, 10, 22, 0.72);
    color: #f2f3f5;
    padding: 0 10px;
    font-size: 0.88rem;
}

#botBannerModal .bb-field input[type="range"] {
    width: 100%;
    accent-color: #5eead4;
}

#botBannerModal .bb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 10px;
    background: var(--admin-glass-section);
    border: 1px solid var(--admin-glass-border);
}

#botBannerModal .bb-row[hidden],
#botBannerModal .bb-field[hidden],
#botBannerModal [hidden] {
    display: none !important;
}

#botBannerModal .bb-row span {
    font-size: 0.92rem;
    color: #e8eaf0;
}

#botBannerModal .bb-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#botBannerModal .bb-presets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

#botBannerModal .bb-preset {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b0f18;
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
    text-align: left;
    color: #e8eaf0;
}

#botBannerModal .bb-preset.is-active {
    border-color: rgba(94, 234, 212, 0.7);
    box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.35);
}

#botBannerModal .bb-preset-swatch {
    height: 28px;
    border-radius: 6px;
    margin-bottom: 4px;
}

#botBannerModal .bb-preset-name {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

#botBannerModal .bb-colors {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#botBannerModal .bb-color-row {
    display: grid;
    grid-template-columns: 1fr auto 92px;
    gap: 8px;
    align-items: center;
}

#botBannerModal .bb-color-row label {
    font-size: 0.78rem;
    color: #d7dbe3;
}

#botBannerModal .bb-color-row input[type="color"] {
    width: 38px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

#botBannerModal .bb-color-row input[type="text"] {
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(88, 101, 242, 0.22);
    background: rgba(8, 10, 22, 0.72);
    color: #f2f3f5;
    padding: 0 8px;
    font-size: 0.78rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    text-transform: lowercase;
}

#botBannerModal .bb-preview-col {
    min-width: 0;
    position: static;
    padding-right: 4px;
}

#botBannerModal .bb-discord {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #1e1f22;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

#botBannerModal .bb-banner-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 600 / 240;
    background: transparent;
    overflow: visible;
    border-radius: 12px 12px 0 0;
    container-type: inline-size;
    /* Discord-Profil 600×240: Avatar 80px + 6px Ring, links 16px, Mitte auf Banner-Unterkante */
    --bb-img: 13.333cqw;
    --bb-ring: 1cqw;
    --bb-outer: calc(var(--bb-img) + var(--bb-ring) * 2);
    --bb-left: 2.667cqw;
    --bb-hole-r: calc(var(--bb-img) / 2 + var(--bb-ring));
    --bb-cx: calc(var(--bb-left) + var(--bb-outer) / 2);
}

#botBannerModal .bb-live {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    -webkit-mask-image: radial-gradient(circle at var(--bb-cx) 100%, transparent var(--bb-hole-r), #000 calc(var(--bb-hole-r) + 1px));
    mask-image: radial-gradient(circle at var(--bb-cx) 100%, transparent var(--bb-hole-r), #000 calc(var(--bb-hole-r) + 1px));
    font-family: var(--bb-font, Sora), sans-serif;
    color: var(--bb-text, #f4f7fb);
    background:
        radial-gradient(180cqw 70cqw at 86% 18%, var(--bb-glow-soft) 0%, transparent 58%),
        radial-gradient(80cqw 50cqw at 12% 120%, var(--bb-glow2-soft) 0%, transparent 70%),
        linear-gradient(var(--bb-angle, 118deg), var(--bb-bg1, #070b14) 0%, var(--bb-bg2, #10182c) 58%, var(--bb-bg1, #070b14) 100%);
}

#botBannerModal .bb-live-gif,
#botBannerModal .bb-live-gifveil,
#botBannerModal .bb-live-grid,
#botBannerModal .bb-live-motion {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#botBannerModal .bb-live-gif {
    background: center / cover no-repeat;
    z-index: 0;
    display: none;
}

#botBannerModal .bb-live.has-gif .bb-live-gif { display: block; }

#botBannerModal .bb-live-gifveil {
    z-index: 1;
    display: none;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--bb-bg1) 72%, transparent) 0%, color-mix(in srgb, var(--bb-bg1) 38%, transparent) 42%, color-mix(in srgb, var(--bb-bg1) 50%, transparent) 100%),
        linear-gradient(180deg, color-mix(in srgb, var(--bb-bg1) 18%, transparent) 0%, transparent 40%, color-mix(in srgb, var(--bb-bg1) 42%, transparent) 100%);
}

#botBannerModal .bb-live.has-gif .bb-live-gifveil { display: block; }

#botBannerModal .bb-live-grid {
    z-index: 2;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 5.5% 14%;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.45) 28%, rgba(0,0,0,0.7) 100%);
    opacity: var(--bb-grid, 0.55);
}

#botBannerModal .bb-live-motion { z-index: 3; overflow: hidden; }
#botBannerModal .bb-live[data-mode="static"] .bb-live-motion { display: none; }

#botBannerModal .bb-live-motion > * { display: none; }
#botBannerModal .bb-live[data-motion="aurora"] .m-aurora,
#botBannerModal .bb-live[data-motion="nebula"] .m-nebula,
#botBannerModal .bb-live[data-motion="orbit"] .m-orbit,
#botBannerModal .bb-live[data-motion="pulse"] .m-pulse,
#botBannerModal .bb-live[data-motion="scan"] .m-scan,
#botBannerModal .bb-live[data-motion="spark"] .m-spark,
#botBannerModal .bb-live[data-motion="rain"] .m-rain,
#botBannerModal .bb-live[data-motion="shear"] .m-shear,
#botBannerModal .bb-live[data-motion="nova"] .m-nova { display: block; }
#botBannerModal .bb-live[data-motion="wave"] .m-wave { display: flex; }

#botBannerModal .bb-live-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    background: radial-gradient(circle, var(--bb-glow) 0%, transparent 68%);
}

#botBannerModal .bb-live-veil-a {
    width: 72%; height: 110%; left: -14%; top: -18%;
    background: radial-gradient(ellipse, var(--bb-glow) 0%, transparent 70%);
    animation: bbLiveDriftA calc(2.6s / var(--bb-k, 0.85)) ease-in-out infinite alternate;
}
#botBannerModal .bb-live-veil-b {
    width: 68%; height: 108%; right: -14%; top: -20%;
    background: radial-gradient(ellipse, var(--bb-glow2) 0%, transparent 70%);
    animation: bbLiveDriftB calc(3.1s / var(--bb-k, 0.85)) ease-in-out infinite alternate;
}
#botBannerModal .bb-live-veil-c {
    width: 56%; height: 86%; left: 32%; top: 8%;
    background: radial-gradient(ellipse, var(--bb-accent-soft) 0%, transparent 70%);
    animation: bbLiveDriftC calc(2.2s / var(--bb-k, 0.85)) ease-in-out infinite alternate;
}
#botBannerModal .bb-live-veil-d {
    width: 40%; height: 70%; left: 8%; top: 30%;
    background: radial-gradient(ellipse, var(--bb-glow2) 0%, transparent 70%);
    animation: bbLiveDriftA calc(3.4s / var(--bb-k, 0.85)) ease-in-out infinite alternate-reverse;
}

#botBannerModal .bb-live-orbit-a {
    width: 38%; height: 110%; left: 58%; top: -4%;
    animation: bbLiveOrbit 3.6s linear infinite;
}
#botBannerModal .bb-live-orbit-b {
    width: 26%; height: 72%; left: 66%; top: 8%;
    background: radial-gradient(circle, var(--bb-glow2) 0%, transparent 68%);
    animation: bbLiveOrbit 2.6s linear infinite reverse;
}
#botBannerModal .bb-live-orbit-c {
    width: 20%; height: 56%; left: 72%; top: 14%;
    background: radial-gradient(circle, var(--bb-accent-soft) 0%, transparent 68%);
    animation: bbLiveOrbit 4.2s linear infinite;
}

#botBannerModal .bb-live-pulse {
    width: 58%; height: 150%; right: -14%; top: -32%;
    animation: bbLivePulse 1.15s ease-in-out infinite;
}

#botBannerModal .bb-live-scan {
    position: absolute;
    top: -24%;
    width: 22%;
    height: 150%;
    left: -24%;
    background: linear-gradient(90deg, transparent, var(--bb-accent-soft), #fff, var(--bb-accent-soft), transparent);
    transform: skewX(-18deg);
    filter: blur(1px);
    animation: bbLiveScan 1.5s linear infinite;
}
#botBannerModal .bb-live-scan-2 {
    width: 14%;
    opacity: 0.55;
    animation: bbLiveScan 1.9s linear infinite reverse;
}

#botBannerModal .bb-live-wave {
    position: absolute;
    left: 32%; right: 2%; bottom: 0;
    height: 48%;
    align-items: flex-end;
    gap: 2px;
}
#botBannerModal .bb-live-wave span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--bb-accent), transparent);
    animation: bbLiveBar 0.7s ease-in-out infinite alternate;
}

#botBannerModal .bb-live-sparks,
#botBannerModal .bb-live-rain {
    position: absolute;
    inset: 0;
}

#botBannerModal .bb-live-sparks span,
#botBannerModal .bb-live-rain span {
    position: absolute;
    border-radius: 50%;
    background: var(--bb-accent);
    box-shadow: 0 0 16px var(--bb-glow);
    animation: bbLiveTwinkle 0.9s ease-in-out infinite;
}

#botBannerModal .bb-live-rain span {
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(var(--bb-accent), transparent);
    box-shadow: none;
    animation: bbLiveFall 0.7s linear infinite;
}

#botBannerModal .bb-live-shear {
    inset: -30%;
    background-image:
        linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 7% 18%;
    animation: bbLiveShear 1.8s ease-in-out infinite alternate;
}

#botBannerModal .bb-live-nova-ring {
    position: absolute;
    right: 6%; top: 6%;
    width: 26%;
    aspect-ratio: 1;
    border: 2px solid var(--bb-accent);
    border-radius: 50%;
    box-shadow: 0 0 36px var(--bb-accent-soft);
    animation: bbLiveNova 1.15s ease-out infinite;
}
#botBannerModal .bb-live-nova-ring-2 {
    right: -2%; top: -10%;
    width: 38%;
    animation-delay: 0.35s;
}

#botBannerModal .bb-live-flash {
    inset: 0;
    mix-blend-mode: screen;
    background: var(--bb-accent);
    opacity: 0;
    animation: bbLiveFlash 1.8s ease-in-out infinite;
}

#botBannerModal .bb-live-veil-a,
#botBannerModal .bb-live-veil-b,
#botBannerModal .bb-live-veil-c,
#botBannerModal .bb-live-veil-d,
#botBannerModal .bb-live-orbit-a,
#botBannerModal .bb-live-orbit-b,
#botBannerModal .bb-live-orbit-c,
#botBannerModal .bb-live-pulse {
    mix-blend-mode: screen;
}

#botBannerModal .bb-drag {
    position: absolute;
    z-index: 6;
    pointer-events: auto;
    cursor: grab;
    user-select: none;
    touch-action: none;
    transform-origin: top left;
}
#botBannerModal .bb-drag.is-dragging {
    cursor: grabbing;
    outline: 1px dashed rgba(94, 234, 212, 0.75);
    outline-offset: 4px;
}
#botBannerModal .bb-live[data-mode="animated"] .m-all { display: block; }

#botBannerModal .bb-live-grain {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    mix-blend-mode: overlay;
    background-image: repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 0 1px, transparent 1px 3px);
    animation: bbLiveGrain 1.2s steps(4) infinite;
}

#botBannerModal .bb-safe-mask {
    position: absolute;
    z-index: 7;
    pointer-events: none;
    left: calc(var(--bb-cx) - var(--bb-hole-r));
    bottom: calc(-1 * var(--bb-hole-r));
    width: calc(var(--bb-hole-r) * 2);
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px rgba(239, 68, 68, 0.9);
    background: transparent;
}

#botBannerModal .bb-drag.is-selected {
    outline: 1px solid rgba(94, 234, 212, 0.85);
    outline-offset: 3px;
}

#botBannerModal .bb-resize {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 11px;
    height: 11px;
    border-radius: 2px;
    background: #5eead4;
    border: 1px solid #0b0f18;
    cursor: nwse-resize;
    z-index: 9;
    display: none;
}
#botBannerModal .bb-drag.is-selected .bb-resize {
    display: block;
}

#botBannerModal .bb-inspector {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(8, 10, 22, 0.72);
    border: 1px solid rgba(88, 101, 242, 0.22);
}

#botBannerModal .bb-inspector-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

#botBannerModal .bb-layer-tab {
    height: 28px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: #c5cbd6;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}
#botBannerModal .bb-layer-tab.is-active {
    border-color: rgba(94, 234, 212, 0.65);
    color: #fff;
    background: rgba(94, 234, 212, 0.12);
}

#botBannerModal .bb-inspector-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.78rem;
    color: #d7dbe3;
    margin-bottom: 6px;
}
#botBannerModal .bb-sel-pos {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #9ba3af;
}

#botBannerModal .bb-inspector-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px 8px;
}
#botBannerModal .bb-inspector-grid label {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ba3af;
}
#botBannerModal .bb-inspector-grid input[type="range"] {
    width: 100%;
    accent-color: #5eead4;
}

#botBannerModal .bb-inspector-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

@keyframes bbLiveGrain {
    from { transform: translate(0, 0); }
    to { transform: translate(-2%, 3%); }
}

#botBannerModal .bb-live-orb {
    z-index: 4;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--bb-glow) 0%, transparent 68%);
    filter: blur(8px);
}

#botBannerModal .bb-live-brand {
    font-size: 2.7cqw;
    font-weight: 700;
    letter-spacing: 0.26em;
    color: var(--bb-accent);
    text-transform: uppercase;
    white-space: nowrap;
}

#botBannerModal .bb-live-hero {
    display: flex;
    align-items: baseline;
    gap: 1.8cqw;
    line-height: 0.88;
    white-space: nowrap;
}

#botBannerModal .bb-live-num {
    font-size: var(--bb-num, 14.7cqw);
    font-weight: 800;
    letter-spacing: -0.045em;
}

#botBannerModal .bb-live-unit {
    font-size: 4.2cqw;
    font-weight: 600;
    color: var(--bb-muted);
}

#botBannerModal .bb-live-meta {
    font-size: 2.7cqw;
    font-weight: 500;
    color: var(--bb-muted);
    white-space: nowrap;
}

#botBannerModal .bb-live-bar {
    width: 58%;
    height: 3px;
    background: linear-gradient(90deg, var(--bb-accent) 0%, transparent 100%);
}
#botBannerModal .bb-live-bar::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -12px; bottom: -12px;
}

#botBannerModal .bb-reset-layout {
    display: inline-block;
    margin: 0;
    padding: 2px 8px;
    border-radius: 8px;
    border: 1px solid rgba(88, 101, 242, 0.3);
    background: rgba(255,255,255,0.05);
    color: #d7dbe3;
    font-size: 0.75rem;
    cursor: pointer;
}

@keyframes bbLiveDriftA {
    from { transform: translate(-18%, 10%) rotate(-16deg); }
    to { transform: translate(22%, -16%) rotate(14deg); }
}
@keyframes bbLiveDriftB {
    from { transform: translate(16%, -10%) rotate(14deg); }
    to { transform: translate(-22%, 16%) rotate(-12deg); }
}
@keyframes bbLiveDriftC {
    from { transform: translate(12%, 14%) scale(0.92); }
    to { transform: translate(-16%, -14%) scale(1.12); }
}
@keyframes bbLiveOrbit {
    from { transform: rotate(0deg) translateX(calc(var(--bb-k, 0.85) * 28%)) rotate(0deg); }
    to { transform: rotate(360deg) translateX(calc(var(--bb-k, 0.85) * 28%)) rotate(-360deg); }
}
@keyframes bbLivePulse {
    0%, 100% { transform: scale(0.7); opacity: 0.45; }
    50% { transform: scale(1.28); opacity: 1; }
}
@keyframes bbLiveScan {
    from { left: -28%; }
    to { left: 118%; }
}
@keyframes bbLiveBar {
    from { transform: scaleY(0.28); }
    to { transform: scaleY(1.15); }
}
@keyframes bbLiveTwinkle {
    0%, 100% { opacity: 0.1; transform: scale(0.6); }
    50% { opacity: 1; transform: scale(1.35); }
}
@keyframes bbLiveFall {
    from { transform: translateY(-140%) rotate(16deg); }
    to { transform: translateY(240%) rotate(16deg); }
}
@keyframes bbLiveShear {
    from { transform: translate(-18px, 10px) rotate(-2deg); }
    to { transform: translate(22px, -12px) rotate(2deg); }
}
@keyframes bbLiveNova {
    0% { transform: scale(0.35); opacity: 1; }
    75% { transform: scale(1.55); opacity: 0.12; }
    100% { transform: scale(1.8); opacity: 0; }
}
@keyframes bbLiveFlash {
    0%, 78%, 100% { opacity: 0; }
    84% { opacity: calc(var(--bb-k, 0.85) * 0.38); }
}

#botBannerModal .bb-avatar {
    position: absolute;
    box-sizing: border-box;
    left: var(--bb-left);
    bottom: calc(-1 * var(--bb-hole-r));
    width: var(--bb-outer);
    height: var(--bb-outer);
    aspect-ratio: 1;
    border-radius: 50%;
    border: var(--bb-ring) solid #1e1f22;
    background: #5865f2 center / cover no-repeat;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
    z-index: 8;
    pointer-events: none;
}

#botBannerModal .bb-profile-body {
    position: relative;
    z-index: 1;
    padding: calc(8.2% + 8px) 14px 12px;
}

#botBannerModal .bb-profile-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #f2f3f5;
}

#botBannerModal .bb-app {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #5865f2;
    color: #fff;
    border-radius: 4px;
    padding: 2px 6px;
}

#botBannerModal .bb-hint {
    margin: 6px 0 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--admin-modal-muted, #9ba3af);
}

#botBannerModal .bb-status {
    margin-top: 4px;
    font-size: 0.75rem;
    color: #9ba3af;
}

#botBannerModal .bb-mode-tabs {
    display: flex;
    gap: 8px;
}

#botBannerModal .bb-mode-tab {
    flex: 1;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(88, 101, 242, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#botBannerModal .bb-mode-tab:hover {
    background: rgba(88, 101, 242, 0.12);
    color: #fff;
}

#botBannerModal .bb-mode-tab.is-active {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.38), rgba(94, 234, 212, 0.16));
    border-color: rgba(94, 234, 212, 0.5);
    color: #fff;
}

#botBannerModal .bb-motions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

#botBannerModal .bb-motion {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b0f18;
    border-radius: 12px;
    padding: 7px;
    cursor: pointer;
    text-align: left;
    color: #e8eaf0;
}

#botBannerModal .bb-motion.is-active {
    border-color: rgba(94, 234, 212, 0.7);
    box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.35);
}

#botBannerModal .bb-motion-demo {
    position: relative;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 6px;
    background: radial-gradient(120px 40px at 80% 20%, rgba(94, 234, 212, 0.28), transparent 60%), #071018;
}

#botBannerModal .bb-motion-demo::before,
#botBannerModal .bb-motion-demo::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

#botBannerModal .bb-motion-name {
    font-size: 0.74rem;
    font-weight: 700;
}

#botBannerModal .bb-motion-hint {
    font-size: 0.64rem;
    color: #9ba3af;
    line-height: 1.25;
    margin-top: 2px;
}

#botBannerModal .bb-motion-demo--aurora::before {
    width: 70%; height: 90%; left: -10%; top: -10%;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.7), transparent 70%);
    animation: bbAurora 2.4s ease-in-out infinite alternate;
}
#botBannerModal .bb-motion-demo--aurora::after {
    width: 55%; height: 80%; right: -8%; top: 10%;
    background: radial-gradient(ellipse, rgba(94, 234, 212, 0.55), transparent 70%);
    animation: bbAurora 2.8s ease-in-out infinite alternate-reverse;
}

#botBannerModal .bb-motion-demo--orbit::before,
#botBannerModal .bb-motion-demo--orbit::after {
    width: 16px; height: 16px; border-radius: 50%;
    top: 50%; left: 58%;
    background: radial-gradient(circle, #5eead4, transparent 70%);
    animation: bbOrbit 2.2s linear infinite;
}
#botBannerModal .bb-motion-demo--orbit::after {
    width: 11px; height: 11px;
    background: radial-gradient(circle, #818cf8, transparent 70%);
    animation-duration: 1.6s;
    animation-direction: reverse;
}

#botBannerModal .bb-motion-demo--scan::before {
    top: -20%; width: 18%; height: 140%;
    background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.85), transparent);
    transform: skewX(-18deg);
    animation: bbScan 1.6s linear infinite;
}

#botBannerModal .bb-motion-demo--pulse::before {
    width: 54px; height: 54px; right: 8px; top: -6px; border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.7), transparent 68%);
    animation: bbPulse 1.4s ease-in-out infinite;
}

#botBannerModal .bb-motion-demo--wave::before {
    left: 8%; right: 8%; bottom: 0; height: 70%;
    background: repeating-linear-gradient(90deg, rgba(94, 234, 212, 0.55) 0 4px, transparent 4px 8px);
    clip-path: polygon(0 70%, 8% 40%, 16% 62%, 24% 28%, 32% 58%, 40% 22%, 48% 60%, 56% 30%, 64% 66%, 72% 24%, 80% 58%, 88% 36%, 100% 70%, 100% 100%, 0 100%);
    animation: bbWave 1.1s ease-in-out infinite alternate;
}

#botBannerModal .bb-motion-demo--spark::before {
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 2px),
        radial-gradient(circle at 70% 22%, #5eead4 0 1.4px, transparent 2.4px),
        radial-gradient(circle at 42% 70%, #fff 0 1px, transparent 2px),
        radial-gradient(circle at 84% 62%, #a78bfa 0 1.3px, transparent 2.2px),
        radial-gradient(circle at 58% 48%, #5eead4 0 1px, transparent 2px);
    animation: bbSpark 1.2s ease-in-out infinite;
}

#botBannerModal .bb-motion-demo--nebula::before {
    width: 80%; height: 120%; left: -10%; top: -20%;
    background: radial-gradient(ellipse, rgba(129, 140, 248, 0.55), transparent 70%);
    filter: blur(6px);
    animation: bbAurora 3.4s ease-in-out infinite alternate;
}
#botBannerModal .bb-motion-demo--nebula::after {
    width: 70%; height: 100%; right: -16%; top: 0;
    background: radial-gradient(ellipse, rgba(94, 234, 212, 0.4), transparent 70%);
    filter: blur(8px);
    animation: bbAurora 4s ease-in-out infinite alternate-reverse;
}

#botBannerModal .bb-motion-demo--rain::before {
    inset: 0;
    background: repeating-linear-gradient(-18deg, transparent 0 10px, rgba(94, 234, 212, 0.55) 10px 11px, transparent 11px 20px);
    animation: bbRain 0.9s linear infinite;
}

#botBannerModal .bb-motion-demo--shear::before {
    inset: -30%;
    background-image:
        linear-gradient(rgba(255,255,255,0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.16) 1px, transparent 1px);
    background-size: 12px 12px;
    animation: bbShear 2.2s ease-in-out infinite alternate;
}

#botBannerModal .bb-motion-demo--nova::before {
    width: 22px; height: 22px; right: 18px; top: 10px; border-radius: 50%;
    border: 2px solid rgba(94, 234, 212, 0.85);
    box-shadow: 0 0 12px rgba(94, 234, 212, 0.7);
    animation: bbNova 1.5s ease-out infinite;
}
#botBannerModal .bb-motion-demo--nova::after {
    width: 10px; height: 10px; right: 24px; top: 16px; border-radius: 50%;
    background: #fff;
    animation: bbSpark 1.5s ease-in-out infinite;
}

#botBannerModal .bb-gif-drop {
    border: 1px dashed rgba(88, 101, 242, 0.35);
    border-radius: 12px;
    padding: 12px;
    background: rgba(8, 10, 22, 0.55);
}

#botBannerModal .bb-gif-drop.is-over,
#botBannerModal .bb-gif-drop.has-gif {
    border-color: rgba(94, 234, 212, 0.55);
    background: rgba(94, 234, 212, 0.06);
}

#botBannerModal .bb-gif-copy {
    margin: 0 0 10px;
    font-size: 0.82rem;
    color: #c5cbd6;
    line-height: 1.4;
}

#botBannerModal .bb-gif-actions {
    display: flex;
    gap: 8px;
}

#botBannerModal .bb-gif-btn {
    height: 34px;
    padding: 0 12px;
    font-size: 0.8rem;
}

@keyframes bbAurora {
    from { transform: translateX(-8%) translateY(6%); }
    to { transform: translateX(12%) translateY(-8%); }
}
@keyframes bbOrbit {
    from { transform: rotate(0deg) translateX(18px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(18px) rotate(-360deg); }
}
@keyframes bbScan {
    from { left: -20%; }
    to { left: 110%; }
}
@keyframes bbPulse {
    0%, 100% { transform: scale(0.82); opacity: 0.7; }
    50% { transform: scale(1.12); opacity: 1; }
}
@keyframes bbWave {
    from { transform: translateY(6px) scaleY(0.86); }
    to { transform: translateY(0) scaleY(1.08); }
}
@keyframes bbSpark {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}
@keyframes bbRain {
    from { transform: translateY(-12px); }
    to { transform: translateY(12px); }
}
@keyframes bbShear {
    from { transform: translate(-6px, 3px); }
    to { transform: translate(8px, -4px); }
}
@keyframes bbNova {
    0% { transform: scale(0.45); opacity: 0.95; }
    80% { transform: scale(1.35); opacity: 0.15; }
    100% { transform: scale(1.5); opacity: 0; }
}

#botBannerModal .bb-lead {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--admin-modal-muted, #9ba3af);
}

#botBannerModal .bb-mini {
    margin: 0 0 8px;
    font-size: 0.78rem;
    color: var(--admin-modal-muted, #9ba3af);
    line-height: 1.4;
}

#botBannerModal .bb-row-help {
    align-items: flex-start;
}

#botBannerModal .bb-row-help small,
#botBannerModal .bb-field-hint {
    display: block;
    margin-top: 3px;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--admin-modal-muted, #9ba3af);
    line-height: 1.35;
}

#botBannerModal .bb-fold {
    margin: 4px 0 0;
    padding: 0 10px 8px;
    border-radius: 10px;
    border: 1px solid var(--admin-glass-border, rgba(88, 101, 242, 0.22));
    background: rgba(8, 10, 22, 0.45);
}

#botBannerModal .bb-fold:not([open]) {
    padding-bottom: 0;
}

#botBannerModal .bb-fold > summary {
    cursor: pointer;
    list-style: none;
    padding: 8px 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--admin-modal-muted, #9ba3af);
}

#botBannerModal .bb-fold > summary::-webkit-details-marker {
    display: none;
}

#botBannerModal .bb-fold > summary::after {
    content: "▾";
    float: right;
    opacity: 0.55;
}

#botBannerModal .bb-fold:not([open]) > summary::after {
    content: "▸";
}

#botBannerModal .bb-fold-nested {
    margin-top: 10px;
    background: transparent;
}

#botBannerModal .bb-mode-tab {
    flex-direction: row;
    min-height: 36px;
    padding: 0 10px;
    gap: 8px;
}

#botBannerModal .bb-mode-sub {
    display: none;
}

#botBannerModal .bb-seg {
    display: flex;
    gap: 4px;
}

#botBannerModal .bb-seg-btn {
    flex: 1;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: #c5cbd6;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

#botBannerModal .bb-seg-btn.is-active {
    border-color: rgba(94, 234, 212, 0.65);
    color: #fff;
    background: rgba(94, 234, 212, 0.12);
}

#botBannerModal .bb-preview-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    color: #c5cbd6;
}

#botBannerModal .bb-preview-mode {
    font-weight: 700;
}

#botBannerModal .bb-safe-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

#botBannerModal .bb-discord.hide-safe .bb-safe-mask,
#botBannerModal .bb-discord.hide-safe .bb-avatar {
    display: none;
}

#botBannerModal .bb-gif-thumb {
    width: 100%;
    height: 72px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #070b14 center / cover no-repeat;
    border: 1px solid rgba(255,255,255,0.08);
}

#botBannerModal .bb-nudge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 2px 0 4px;
}

#botBannerModal .bb-nudge-mid {
    display: flex;
    gap: 22px;
}

#botBannerModal .bb-nudge-btn {
    width: 28px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: #e8eaf0;
    cursor: pointer;
    font-size: 0.78rem;
}

#botBannerModal .bb-nudge-btn:hover {
    border-color: rgba(94, 234, 212, 0.5);
}

#botBannerModal .bb-footer {
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#botBannerModal .bb-footer-hint {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--admin-modal-muted, #9ba3af);
}

#botBannerModal .bb-footer-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

#botBannerModal .bb-footer-actions .btn {
    height: auto;
    min-height: 34px;
    white-space: nowrap;
}

#botBannerModal #bbSaveBtn.is-unsaved {
    border-color: rgba(94, 234, 212, 0.7);
    color: #fff;
}

#botBannerModal #bbApplyBtn.is-waiting {
    opacity: 0.72;
}

@media (max-width: 900px) {
    #botBannerModal .bb-layout {
        grid-template-columns: 1fr;
        overflow: auto;
    }
    #botBannerModal .modal-body {
        overflow-y: auto;
    }
    #botBannerModal .bb-controls,
    #botBannerModal .bb-preview-col {
        max-height: none;
        overflow: visible;
    }
    #botBannerModal .bb-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

#botBannerModal .bb-head-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

#botBannerModal .bb-kicker {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5eead4;
}

#botBannerModal .bb-ctx-pill {
    flex: 0 0 auto;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(94, 234, 212, 0.28);
    background: rgba(94, 234, 212, 0.1);
    color: #d7fff6;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

#botBannerModal.bb-ctx-guild .bb-kicker,
#botBannerModal.bb-ctx-guild .modal-header h2 i {
    color: #67e8f9;
}

#botBannerModal.bb-ctx-guild .bb-ctx-pill {
    border-color: rgba(103, 232, 249, 0.32);
    background: rgba(103, 232, 249, 0.1);
    color: #e0fbff;
}

#botBannerModal .bb-lead-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid rgba(94, 234, 212, 0.14);
    background:
        linear-gradient(90deg, rgba(94, 234, 212, 0.08), transparent 55%),
        rgba(8, 12, 24, 0.5);
}

#botBannerModal .bb-lead-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: rgba(94, 234, 212, 0.14);
    color: #5eead4;
    font-size: 0.7rem;
}

#botBannerModal .bb-lead-card .bb-lead {
    margin: 0;
    padding: 0;
}

#botBannerModal .bb-field input[type="text"]:focus,
#botBannerModal .bb-field input[type="number"]:focus,
#botBannerModal .bb-field select:focus {
    outline: none;
    border-color: rgba(94, 234, 212, 0.55);
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.12);
}

#botBannerModal .bb-preset,
#botBannerModal .bb-motion {
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

#botBannerModal .bb-preset:hover,
#botBannerModal .bb-motion:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.16);
}

#botBannerModal .bb-preset-swatch {
    height: 26px;
}

#botBannerModal .bb-fold > summary {
    color: #d4dbe8;
}

#botBannerModal .bb-controls::-webkit-scrollbar,
#botBannerModal .bb-preview-col::-webkit-scrollbar {
    width: 8px;
}

#botBannerModal .bb-controls::-webkit-scrollbar-thumb,
#botBannerModal .bb-preview-col::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

#botBannerModal .bb-preview-bar-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#botBannerModal .bb-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #23a559;
    box-shadow: 0 0 0 4px rgba(35, 165, 89, 0.18);
}

#botBannerModal .bb-stat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
    min-height: 0;
}

#botBannerModal .bb-stat-chip {
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 10, 22, 0.65);
    color: #e8eef8;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: inherit;
}

#botBannerModal .bb-stat-chip.is-active {
    border-color: rgba(94, 234, 212, 0.65);
    background: rgba(94, 234, 212, 0.14);
}

#botBannerModal .bb-stat-chip b {
    color: #5eead4;
    font-weight: 800;
}

#botBannerModal .bb-now-row .bb-stat-chips {
    margin: 0;
    flex: 1 1 auto;
}

#botBannerModal .bb-discord {
    background: #1e1f22;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 22px 48px rgba(0, 0, 0, 0.42);
    overflow: hidden;
}

#botBannerModal .bb-banner-wrap {
    border-radius: 16px 16px 0 0;
    z-index: 2;
}

#botBannerModal .bb-live {
    border-radius: 16px 16px 0 0;
}

#botBannerModal .bb-avatar {
    border-color: #1e1f22;
}

#botBannerModal .bb-avatar::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 22%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #23a559;
    border: 0.35cqw solid #1e1f22;
    box-sizing: content-box;
}

#botBannerModal .bb-discord.hide-safe .bb-avatar::after,
#botBannerModal.bb-ctx-guild .bb-avatar::after {
    display: none;
}

#botBannerModal .bb-profile-body {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #1e1f22 0%, #16171a 100%);
}

#botBannerModal .bb-profile-id {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#botBannerModal .bb-profile-tag {
    margin: 0;
    font-size: 0.78rem;
    color: #b5bac1;
}

#botBannerModal .bb-app {
    background: #5865f2;
    border-radius: 4px;
}

#botBannerModal.bb-ctx-guild .bb-app {
    background: #3ba55c;
}

#botBannerModal .bb-inspector {
    background: rgba(10, 12, 20, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
}

#botBannerModal .bb-now-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 6px;
}

#botBannerModal .bb-now {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 8px 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 10, 22, 0.55);
    color: #9aa3b2;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#botBannerModal .bb-now-thumb {
    width: 56px;
    height: 20px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-color: #111;
}

#botBannerModal .bb-applied-ago {
    margin: 0 0 8px;
    font-size: 0.72rem;
    color: #9aa3b2;
}

#botBannerModal .bb-font-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

#botBannerModal .bb-font-pill {
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 10, 22, 0.45);
    color: #e8eef8;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

#botBannerModal .bb-font-pill:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

#botBannerModal .bb-font-pill.is-active {
    border-color: rgba(94, 234, 212, 0.65);
    color: #fff;
    background: rgba(94, 234, 212, 0.12);
}

#botBannerModal.bb-ctx-guild .bb-font-pill.is-active {
    border-color: rgba(62, 207, 142, 0.7);
    background: rgba(35, 165, 89, 0.16);
}

#botBannerModal .bb-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#botBannerModal .bb-hero-pill {
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 10, 22, 0.45);
    color: #c5cbd6;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

#botBannerModal .bb-hero-pill:hover {
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

#botBannerModal .bb-hero-pill.is-active {
    border-color: rgba(94, 234, 212, 0.65);
    color: #fff;
    background: rgba(94, 234, 212, 0.12);
}

#botBannerModal.bb-ctx-guild .bb-hero-pill.is-active {
    border-color: rgba(62, 207, 142, 0.7);
    background: rgba(35, 165, 89, 0.16);
}

#botBannerModal #bbApplyTargetWrap,
#botBannerModal .bb-target-cards {
    display: none !important;
}

#botBannerModal .bb-target-card {
    text-align: left;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 10, 22, 0.45);
    color: #e8eef8;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#botBannerModal .bb-target-card strong {
    font-size: 0.82rem;
    font-weight: 800;
}

#botBannerModal .bb-target-card span {
    font-size: 0.72rem;
    font-weight: 500;
    color: #9aa3b2;
}

#botBannerModal .bb-target-card:hover:not(.is-disabled) {
    border-color: rgba(255, 255, 255, 0.18);
}

#botBannerModal .bb-target-card.is-active {
    border-color: rgba(62, 207, 142, 0.7);
    background: rgba(35, 165, 89, 0.14);
}

#botBannerModal .bb-target-card.is-disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

#botBannerModal .bb-target-hint {
    margin: 10px 0 0;
    padding: 9px 12px;
    border-radius: 12px;
    border: 1px solid rgba(88, 101, 242, 0.22);
    background: rgba(88, 101, 242, 0.08);
    font-size: 0.78rem;
    line-height: 1.4;
    color: #d7dbe3;
}

#botBannerModal .bb-target-hint.is-warn {
    border-color: rgba(250, 168, 26, 0.35);
    background: rgba(250, 168, 26, 0.1);
    color: #f3d9a4;
}

#botBannerModal .bb-footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

#botBannerModal .bb-footer-actions .btn-primary {
    background: linear-gradient(180deg, #6b77f7, #5865f2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 18px rgba(88, 101, 242, 0.28);
}

#botBannerModal #bbSaveBtn.is-unsaved {
    background: rgba(94, 234, 212, 0.12);
}

.page-icon.banner-icon i {
    color: #5eead4;
}

.setting-card--banner .setting-icon {
    background: linear-gradient(135deg, #23a559 0%, #5865f2 100%);
}

#botBannerModal #bbApplyBtn.is-blocked {
    opacity: 0.55;
    cursor: not-allowed;
}

#botBannerModal.bb-ctx-guild .bb-footer-actions .btn-primary {
    background: linear-gradient(180deg, #3ecf8e, #23a559);
    box-shadow: 0 8px 18px rgba(35, 165, 89, 0.28);
}

@media (max-width: 720px) {
    #botBannerModal .bb-head-text h2 {
        font-size: 1.02rem;
    }
    #botBannerModal .bb-ctx-pill {
        display: none;
    }
}
