
  .kibako-attention-bar {
    background: #F5F3EF;
    border-top: 2px solid #9f2a2a;
    border-bottom: 2px solid #9f2a2a;

    padding: 10px 48px 10px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    position: relative;

    font-family: sans-serif;

    transition: opacity 0.25s ease;
  }

  /* 多个 bar 之间间距 */
  .kibako-attention-bar + .kibako-attention-bar {
    margin-top: 8px;
  }

  /* 隐藏状态 */
  .kibako-attention-bar.is-hidden {
    display: none;
  }

  /* 标签 */
  .kibako-attention-bar .badge {
    width: 90px;

    text-align: center;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;

    color: #F5F3EF;
    background: #9f2a2a;

    padding: 4px 10px;

    border-radius: 6px;

    white-space: nowrap;

    flex-shrink: 0;
  }

  /* 文本 */
  .kibako-attention-bar .msg {
    font-size: 12.5px;
    color: #3a2a2a;
    line-height: 1.6;
  }

  /* 关闭按钮 */
  .kibako-attention-bar .close {
    position: absolute;

    right: 14px;
    top: 50%;

    transform: translateY(-50%);

    background: none;
    border: none;

    color: #7a6060;

    font-size: 20px;

    cursor: pointer;

    line-height: 1;

    padding: 0;

    transition: color 0.2s ease;
  }

  .kibako-attention-bar .close:hover {
    color: #9f2a2a;
  }

  /* 移动端优化 */
  @media (max-width: 768px) {

    .kibako-attention-bar {
      flex-direction: column;

      align-items: flex-start;

      padding: 12px 42px 12px 14px;

      gap: 8px;
    }

    .kibako-attention-bar .badge {
      width: auto;
    }

    .kibako-attention-bar .msg {
      font-size: 11.5px;
    }

    .kibako-attention-bar .close {
      top: 14px;
      transform: none;
    }
  }
