/**
 * ==============================================================================
 * 🖋️ [神国漫游记 · 作者电台通告栏样式 · BROADCAST STATUS CSS]
 * ==============================================================================
 */

:root {
  --bc-text-main: #262626;
  --bc-text-sub: #525252;
  --bc-text-muted: #a3a3a3;

  /* 暖金/琥珀点缀色，呼应左侧插画与标题文字 */
  --bc-accent: #d97706;
  --bc-accent-bg: rgba(254, 243, 199, 0.6);
  --bc-accent-border: #fde68a;
  
  --bc-item-bg: rgba(0, 0, 0, 0.018);
  --bc-item-hover: rgba(0, 0, 0, 0.035);
  --bc-border: rgba(0, 0, 0, 0.05);
}

/* 🌙 暗黑模式适配 */
[data-theme='dark'] {
  --bc-text-main: #f5f5f5;
  --bc-text-sub: #d4d4d4;
  --bc-text-muted: #737373;

  --bc-accent: #fbbf24;
  --bc-accent-bg: rgba(245, 158, 11, 0.15);
  --bc-accent-border: rgba(251, 191, 36, 0.3);

  --bc-item-bg: rgba(255, 255, 255, 0.03);
  --bc-item-hover: rgba(255, 255, 255, 0.055);
  --bc-border: rgba(255, 255, 255, 0.06);
}

/* 继承 Butterfly 原生白底无缝外壳 */
.card-widget.nexus-status-card {
  border: none !important;
  padding: 1.15rem 1.15rem 0.95rem 1.15rem !important;
}

/* 广播通告主体 */
.nexus-broadcast-widget {
  font-size: 0.86rem;
  line-height: 1.6;
}

.nexus-broadcast-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* 单条通告卡片：左侧微暖竖线 + 轻量纸质底色 */
.nexus-broadcast-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem 0.55rem 0.65rem;
  background: var(--bc-item-bg);
  border-left: 2.5px solid var(--bc-accent);
  border-radius: 0 6px 6px 0;
  transition: all 0.2s ease;
}

.nexus-broadcast-item:hover {
  background: var(--bc-item-hover);
  transform: translateX(1.5px);
}

/* 通告小徽标 */
.nexus-broadcast-tag {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  background: var(--bc-accent-bg);
  color: var(--bc-accent);
  border: 1px solid var(--bc-accent-border);
  line-height: 1.2;
}

/* 通告正文 */
.nexus-broadcast-text {
  margin: 0 !important;
  font-size: 0.835rem;
  color: var(--bc-text-sub);
  line-height: 1.6;
  text-align: justify;
  word-break: break-word;
}

/* 底部沉底时间栏 */
.nexus-broadcast-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--bc-border);
}

.nexus-broadcast-footer .nexus-pulse-dot {
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: var(--bc-accent);
  animation: nexus-bc-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  flex-shrink: 0;
}

@keyframes nexus-bc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.nexus-broadcast-time {
  font-size: 0.72rem;
  color: var(--bc-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}