    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Helvetica Neue", Arial, sans-serif;
      background: #f9f9f9;
      color: #333;
      overflow-x: hidden;
    }

    /* 顶部导航 */
    header {
      background-color: #fff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      padding: 5px 0 5px 15px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 30px;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
    }

    header a {
      text-decoration: none;
      color: #000;
      font-weight: bold;
      font-size: 16px;
      transition: color 0.3s;
    }

    header a:hover {
      color: #1a73e8;
    }

    main {
      padding: 40px 20px;
      max-width: 1000px;
      margin: 0 auto;
    }

    h1#gallery-title {
      text-align: center;
      font-size: 28px;
      margin-bottom: 30px;
      margin-top: 40px;
    }

    /* 每个影集板块 */
    section.gallery-block {
      background-color: #fff;
      border-radius: 12px;
      padding: 15px;
      margin-bottom: 10px;
      box-shadow: 0 4px 8px rgba(0, 128, 255, 0.12);
    }

    section.gallery-block h2 {
      margin-top: 0;
      font-size: 20px;
    }

    section.gallery-block p.description {
      font-size: 14px;
      color: #666;
      margin-bottom: 16px;
      margin-top: -10px;
    }

    .media-content {
      max-width: 100%;
      border-radius: 8px;
      overflow: hidden;
    }

    .media-content img,
    .media-content video {
      width: 100%;
      height: auto;
      display: block;
    }

    /* 页脚备案信息 */
    footer {
      background-color: #f1f1f1;
      text-align: center;
      padding: 20px;
      font-size: 14px;
      color: #666;
      border-top: 1px solid #ddd;
    }

    .beian-link {
      color: gray;
      text-decoration: none;
      font-size: 15px;
    }

    .beian-link:hover {
      color: #1a73e8; 
      text-decoration: none;
    }

    /* 二维码弹窗样式 */
    #qr-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 2000;
    }

    .qr-modal-backdrop {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
    }

    .qr-modal-content {
      position: relative;
      background-color: #fff;
      padding: 20px 30px;
      border-radius: 10px;
      text-align: center;
      z-index: 2001;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .qr-image {
      width: 200px;
      height: 200px;
      margin-bottom: -20px;
    }

    #qr-caption {
      font-size: 16px;
      color: #333;
      margin-bottom: 10px;
    }

    #close-modal {
      background-color: #3CB371;
      color: #fff;
      border: none;
      padding: 10px 16px;
      border-radius: 6px;
      cursor: pointer;
    }

    #close-modal:hover {
      background-color: #2e8b57;
    }

    .gallery-block {
      position: relative;
      padding: 20px;
      border: 1px solid #fff;
      margin-bottom: 20px;
      border-radius: 10px;
    }
    .share-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      padding: 6px 12px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 14px;
    }
    .pagination {
      text-align: center;
      margin: -20px 0 20px;
    }
    .pagination button {
      padding: 6px 12px;
      margin: 0 10px;
      border: none;
      border-radius: 5px;
      background-color: #007bff;
      color: white;
      cursor: pointer;
      font-size: 15px;
    }
    .pagination button:disabled {
      background-color: #ccc;
      cursor: not-allowed;
    }
    #link-modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    .link-modal-content {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      width: 90%;
      max-width: 400px;
      text-align: center;
    }
    .link-modal-content input {
      width: 100%;
      padding: 8px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 14px;
    }
    .copy-link-btn {
      background-color: #28a745;
      color: white;
      padding: 8px 14px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 14px;
    }

    /* 分享弹窗样式 */
    #share-popup {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      z-index: 999;
      display: none;
    }

    .popup-backdrop {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background-color: rgba(0,0,0,0.4);
    }

    .popup-box {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      padding: 20px 25px;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
      max-width: 90%;
      width: 300px;
      text-align: center;
    }

    .popup-box h3 {
      margin: 0 0 15px;
      font-size: 18px;
      color: #333;
    }

    #share-link {
      width: 100%;
      padding: 10px;
      font-size: 14px;
      border: 1px solid #ddd;
      border-radius: 6px;
      margin-bottom: 15px;
      background-color: #f8f8f8;
      color: #333;
    }

    .popup-actions {
      display: flex;
      justify-content: space-between;
      gap: 10px;
    }

    .popup-actions button {
      flex: 1;
      padding: 8px 12px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-weight: bold;
    }

    #copy-link {
      background-color: #4CAF50;
      color: white;
    }

    #close-popup {
      background-color: #f44336;
      color: white;
    }

    /* 闪烁高亮效果 */
    @keyframes flash-border {
      0% { box-shadow: 0 0 0px 2px #ff9800; }
      50% { box-shadow: 0 0 0px 6px rgba(255, 152, 0, 0.6); }
      100% { box-shadow: 0 0 0px 2px #ff9800; }
    }

    .flash-highlight {
      animation: flash-border 1s ease-in-out 2;
      border-radius: 10px;
    }

    .share-btn {
      margin-top: 0px;
      background: #2196F3;
      color: #fff;
      padding: 6px 12px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .share-btn:hover {
      background: #1976D2;
    }

    .annius {
      padding: 8px 16px;
      margin-right: 10px;
      border-radius: 6px;
      background: #ccc;
      color: #fff;
      border: none;
      cursor: not-allowed;
    }

    .anniux {
      padding: 8px 16px;
      border-radius: 6px;
      background: #2196F3;
      color: #fff;
      border: none;
      cursor: pointer;
    }

    /* 响应式优化（移动端） */
    @media (max-width: 768px) {
      header {
        padding: 5px 10px;
        gap: 10px;
      }

      header img {
        height: 36px !important;
      }

      header a {
        font-size: 15px;
      }

      main {
        padding: 20px 10px;
      }

      h1#gallery-title {
        text-align: center;
        font-size: 20px;
        margin-bottom: 15px;
        margin-top: 40px;
      }

      section.gallery-block h2 {
        margin-top: 0;
        font-size: 18px;
      }
      
      .pagination {
        text-align: center;
        margin: -10px 0 20px;
    }
    }