/* 分享 */
.share-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.035rem;
  }
  
  .share-label {
    font-size: 0.16rem;
  }
  
  .share-btn {
    border: none;
    cursor: pointer;
    border-radius: 4px;
    padding: 0;
    transition: background 0.2s;
  }
  .share-btn img{height: 0.2rem;}
  .share-btn:hover {
    background: #f0f0f0;
  }
  
  .share-btn svg {
    width: 20px;
    height: 20px;
    fill: #ff9900;
  }
  
  /* 分享弹窗 */
  .share-popup {
    position: absolute;
    top: 0.5rem;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 0.16rem;
    min-width: 3.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
  }
  
  .share-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .share-popup::before {
    content: "";
    position: absolute;
    top: -0.08rem;
    right: 0.12rem;
    width: 0;
    height: 0;
    border-left: 0.08rem solid transparent;
    border-right: 0.08rem solid transparent;
    border-bottom: 0.08rem solid #fff;
  }
  
  .share-popup-title {
    font-size: 0.16rem;
    color: #333;
    margin-bottom: 0.1rem;
    font-weight: 500;
    line-height: 0.3rem;
  }
  
  .share-items {
    display: flex;
    /* gap: 0.15rem; */
    justify-content: space-between;
  }
  
  .share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.05rem;
    cursor: pointer;
    padding: 0.1rem;
    border-radius: 5px;
    transition: background 0.2s;
  }
  
  .share-item:hover {
    background: #f5f5f5;
  }
  
  .share-item-icon {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.18rem;
  }
  
  .share-item-icon.wechat {
    background: #07c160;
    color: #fff;
  }
  
  .share-item-icon.weibo {
    background: #e6162d;
    color: #fff;
  }
  
  .share-item-icon.qq {
    background: #12b7f5;
    color: #fff;
  }
  
  .share-item-icon.copy {
    background: #666;
    color: #fff;
  }
  
  .share-item-text {
    font-size: 0.12rem;
  }
  
  /* 微信二维码弹窗 */
  .wechat-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .wechat-popup.active {
    opacity: 1;
    visibility: visible;
  }
  
  .wechat-popup-content {
    background: #fff;
    border-radius: 12px;
    padding: 0.3rem;
    text-align: center;
    min-width: 3rem;
    position: relative;
    animation: popupScale 0.3s ease;
  }
  
  @keyframes popupScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
  
    to {
        transform: scale(1);
        opacity: 1;
    }
  }
  
  .wechat-popup-title {
    font-size: 0.18rem;
    color: #333;
    margin-bottom: 0.2rem;
    font-weight: 500;
  }
  
  .wechat-popup-desc {
    font-size: 0.12rem;
    color: #999;
    margin-top: 0.15rem;
  }
  
  .wechat-popup-close {
    position: absolute;
    top: 0.1rem;
    right: 0.1rem;
    width: 0.3rem;
    height: 0.3rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.2rem;
    color: #999;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
  }
  
  .wechat-popup-close:hover {
    background: #f0f0f0;
    color: #666;
  }
  
  #qrcode {
    display: flex;
    justify-content: center;
    padding: 0.1rem;
  }
  
  #qrcode img {
    border-radius: 4px;
  }
  
  /* 字体切换 */
  .font-size-box {
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }
  
  .font-label {
    /* color: #666; */
  }
  
  .font-sizes {
    display: flex;
    background: #F4F4F4;
    border-radius: 4px;
    font-size: 0.16rem;
    line-height: 0.3rem;
    padding: 0.04rem;
  }
  
  .font-size-btn {
    padding: 0;
    background: transparent;
    cursor: pointer;
    color: #F8B62B;
    transition: all 0.2s;
    width: 0.37rem;
  }
  
  .font-size-btn:hover {
    background: #e8e8e8;
  }
  
  .font-size-btn.active {
    background: #F8B62B;
    color: #fff;
  }
  
  
  /* Toast */
  .toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .toast.show {
    opacity: 1;
    visibility: visible;
  }
  
  .share-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: none;
  }
  
  .share-overlay.active {
    display: block;
  }