
  #lm-post-ending {
    --lm-blue: #28658d;
    --lm-gold: #dabf90;
    --lm-ink: #13232f;
    --lm-soft: #f7f1e6;
    --lm-line: #06c755;

    width: 100%;
    max-width: 920px;
    margin: 72px auto 40px;
    padding: 0 20px;
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    color: var(--lm-ink);
    overflow-x: hidden;
  }

  #lm-post-ending * {
    box-sizing: border-box;
  }

  #lm-post-ending .lm-post-brand {
    width: 100%;
    padding: 26px;
    background: var(--lm-soft);
    border: 1px solid rgba(40, 101, 141, 0.08);
    border-radius: 30px;
    box-shadow: 0 14px 40px rgba(19, 35, 47, 0.05);
  }

  /* 長條型圖片 */
  #lm-post-ending .lm-post-brand-image {
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #eee7db;
    margin-bottom: 24px;
  }

  #lm-post-ending .lm-post-brand-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  #lm-post-ending .lm-post-brand-content {
    min-width: 0;
  }

  #lm-post-ending .lm-post-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--lm-blue);
    font-size: 11px;
    font-weight: 900;
  }

  #lm-post-ending h3 {
    margin: 0 0 14px !important;
    padding: 0 !important;
    font-size: 24px !important;
    line-height: 1.35 !important;
    letter-spacing: -0.03em;
    color: var(--lm-ink);
    font-weight: 900;
  }

  #lm-post-ending .lm-post-description {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
    color: rgba(19, 35, 47, 0.67);
  }

  #lm-post-ending .lm-post-description strong {
    color: var(--lm-ink);
  }

  /* CTA 按鈕 */
  #lm-post-ending .lm-post-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
  }

  #lm-post-ending .lm-post-main-btn,
  #lm-post-ending .lm-post-line-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  #lm-post-ending .lm-post-main-btn {
    background: var(--lm-blue);
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(40, 101, 141, 0.16);
  }

  #lm-post-ending .lm-post-line-btn {
    background: var(--lm-line);
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(6, 199, 85, 0.16);
  }

  #lm-post-ending .lm-post-main-btn:hover,
  #lm-post-ending .lm-post-line-btn:hover {
    transform: translateY(-2px);
  }

  /* 分享 */
  #lm-post-ending .lm-share-area {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(19, 35, 47, 0.09);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  #lm-post-ending .lm-share-title {
    font-size: 13px;
    font-weight: 800;
    color: rgba(19, 35, 47, 0.58);
  }

  #lm-post-ending .lm-share-buttons {
    display: flex;
    gap: 8px;
  }

  #lm-post-ending .lm-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(19, 35, 47, 0.1);
    background: #ffffff;
    color: var(--lm-ink) !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 900;
    transition:
      background-color 0.2s ease,
      transform 0.2s ease,
      border-color 0.2s ease;
  }

  #lm-post-ending .lm-share-btn:hover {
    background: #f1f9ff;
    border-color: rgba(40, 101, 141, 0.18);
    transform: translateY(-2px);
  }

  #lm-post-ending .lm-share-icon {
    font-size: 14px;
    font-weight: 900;
  }

  @media (max-width: 640px) {
    #lm-post-ending {
      width: 100%;
      max-width: 100%;
      margin: 56px auto 30px;
      padding: 0 16px;
      overflow-x: hidden;
    }

    #lm-post-ending .lm-post-brand {
      width: 100%;
      max-width: 100%;
      padding: 20px;
      border-radius: 24px;
    }

    #lm-post-ending .lm-post-brand-image {
      border-radius: 18px;
      margin-bottom: 20px;
    }

    #lm-post-ending h3 {
      font-size: 21px !important;
    }

    #lm-post-ending .lm-post-description {
      font-size: 13px !important;
    }

    #lm-post-ending .lm-post-actions {
      flex-direction: column;
      align-items: stretch;
    }

    #lm-post-ending .lm-post-main-btn,
    #lm-post-ending .lm-post-line-btn {
      width: 100%;
      max-width: 100%;
    }

    #lm-post-ending .lm-share-area {
      flex-direction: column;
      align-items: flex-start;
    }

    #lm-post-ending .lm-share-buttons {
      width: 100%;
    }

    #lm-post-ending .lm-share-btn {
      flex: 1;
    }
  }
