.cb-live-notice-stack {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 9998;
    width: min(360px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.cb-live-notice-item {
    pointer-events: auto;
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.26s ease, opacity 0.26s ease;
    overflow: hidden;
}

.cb-live-notice-item.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cb-live-notice-item.is-leaving {
    transform: translateY(10px);
    opacity: 0;
}

.cb-live-notice-link {
    display: block;
    text-decoration: none;
    padding: 12px 42px 12px 12px;
}

.cb-live-notice-layout {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cb-live-notice-logo-box {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    padding: 4px;
}

.cb-live-notice-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cb-live-notice-logo-fallback {
    font-size: 16px;
    font-weight: 700;
    color: #64748b;
}

.cb-live-notice-content {
    min-width: 0;
}

.cb-live-notice-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.38;
    color: #0f172a;
    font-weight: 500;
}

.cb-live-notice-link:hover .cb-live-notice-text {
    color: #1d4ed8;
}

.cb-live-notice-meta {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.3;
    color: #64748b;
}

.cb-live-notice-close {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.06);
    color: #475569;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.cb-live-notice-close:hover {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.cb-live-notice-item.cb-no-bottom-shadow {
    box-shadow: 0 -6px 14px rgba(15, 23, 42, 0.08);
}

.dark .cb-live-notice-item {
    background: rgba(17, 24, 39, 0.96);
    border-color: rgba(96, 165, 250, 0.24);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.5);
}

.dark .cb-live-notice-text {
    color: #e5e7eb;
}

.dark .cb-live-notice-link:hover .cb-live-notice-text {
    color: #93c5fd;
}

.dark .cb-live-notice-meta {
    color: #94a3b8;
}

.dark .cb-live-notice-close {
    background: rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
}

.dark .cb-live-notice-close:hover {
    background: rgba(96, 165, 250, 0.24);
    color: #bfdbfe;
}

.dark .cb-live-notice-logo-box {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(148, 163, 184, 0.28);
}

.dark .cb-live-notice-logo-fallback {
    color: #475569;
}

.dark .cb-live-notice-item.cb-no-bottom-shadow {
    box-shadow: 0 -8px 16px rgba(2, 6, 23, 0.35);
}
