/* ============================================
   工具页面样式（pages/tools.php 引用）
   注意：:root 主题色变量因含 PHP 动态值，保留在 tools.php 内联 <style> 中
   ============================================ */

body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background: var(--bg-page);
            min-height: 100vh;
        }

        .page-header {
            background: var(--grad-header);
            background-size: 200% 200%;
            animation: gradientShift 8s ease infinite;
            padding: calc(70px + 60px) 0 100px;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
                radial-gradient(circle at 20% 50%, rgba(255,255,255,0.16) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%),
                radial-gradient(circle at 40% 80%, rgba(255,255,255,0.08) 0%, transparent 40%);
            background-size: 60px 60px, 60px 60px, 100% 100%, 100% 100%, 100% 100%;
            pointer-events: none;
        }

        .page-header::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 40px;
            background: var(--bg-page);
            clip-path: ellipse(55% 100% at 50% 100%);
        }

        .page-header-content {
            position: relative;
            z-index: 2;
        }

        .page-header h1 {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 16px;
            text-shadow: 0 4px 20px rgba(0,0,0,0.15);
            letter-spacing: 2px;
            animation: fadeInUp 0.8s ease;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }

        .page-header p {
            font-size: 1.1rem;
            opacity: 0.95;
            font-weight: 300;
            animation: fadeInUp 0.8s ease 0.2s both;
        }

        .tools-container {
            padding: 30px 20px 60px;
            max-width: 1400px;
            margin: -40px auto 0;
            position: relative;
            z-index: 10;
        }

        .category-section {
            margin-bottom: 42px;
            animation: sectionIn 0.6s ease both;
        }

        @keyframes sectionIn {
            from { opacity: 0; transform: translateY(18px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* 详情页工具卡片：占满单列 + 居中加宽 + 进入动画 */
        .tool-detail-section {
            margin-left: auto;
            margin-right: auto;
        }

        .tool-detail-section .tools-grid {
            grid-template-columns: 1fr;
            max-width: 880px;
            margin-left: auto;
            margin-right: auto;
        }

        .tool-detail-section .feature-card-webmaster,
        .tool-detail-section .feature-card-media {
            width: 100%;
            animation: toolCardIn 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
        }

        .category-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 18px;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: var(--radius-lg);
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.8);
        }

        .category-title::before {
            content: '';
            width: 4px;
            height: 22px;
            background: var(--grad-primary);
            border-radius: 2px;
            box-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
        }

        .category-title > i {
            width: 36px;
            height: 36px;
            background: var(--grad-primary);
            color: #fff;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
        }

        .category-title .count-badge {
            margin-left: auto;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--color-primary);
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(6, 182, 212, 0.14) 100%);
            padding: 4px 12px;
            border-radius: 16px;
            border: 1px solid rgba(6, 182, 212, 0.12);
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 20px;
        }

        .tool-card {
            background: white;
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            border: 1px solid var(--border-light);
            position: relative;
            animation: toolCardIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
        }

        @keyframes toolCardIn {
            from { opacity: 0; transform: translateY(26px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .tools-grid .tool-card:nth-child(1) { animation-delay: 0.04s; }
        .tools-grid .tool-card:nth-child(2) { animation-delay: 0.1s; }
        .tools-grid .tool-card:nth-child(3) { animation-delay: 0.16s; }
        .tools-grid .tool-card:nth-child(4) { animation-delay: 0.22s; }
        .tools-grid .tool-card:nth-child(5) { animation-delay: 0.28s; }
        .tools-grid .tool-card:nth-child(6) { animation-delay: 0.34s; }
        .tools-grid .tool-card:nth-child(7) { animation-delay: 0.4s; }
        .tools-grid .tool-card:nth-child(8) { animation-delay: 0.46s; }
        .tools-grid .tool-card:nth-child(9) { animation-delay: 0.52s; }
        .tools-grid .tool-card:nth-child(10) { animation-delay: 0.58s; }
        .tools-grid .tool-card:nth-child(11) { animation-delay: 0.64s; }
        .tools-grid .tool-card:nth-child(12) { animation-delay: 0.7s; }

        .tool-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(6, 182, 212, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
            border-color: rgba(6, 182, 212, 0.3);
        }

        .tool-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--grad-primary);
            transform: scaleX(0);
            transition: transform 0.35s ease;
            z-index: 5;
        }

        .tool-card:hover::before {
            transform: scaleX(1);
        }

        .tool-card::after {
            content: '';
            position: absolute;
            top: -60px;
            right: -60px;
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }

        .tool-card:hover::after {
            opacity: 1;
        }

        .tool-card a {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .tool-icon-wrapper {
            padding: 28px 20px;
            background:
                radial-gradient(circle at 25% 20%, rgba(255,255,255,0.7) 0%, transparent 55%),
                linear-gradient(160deg, rgba(6, 182, 212, 0.07) 0%, rgba(6, 182, 212, 0.02) 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
            transition: background 0.35s ease;
        }

        .tool-card:hover .tool-icon-wrapper {
            background:
                radial-gradient(circle at 25% 20%, rgba(255,255,255,0.8) 0%, transparent 55%),
                linear-gradient(160deg, rgba(6, 182, 212, 0.12) 0%, rgba(6, 182, 212, 0.03) 100%);
        }

        .tool-icon-wrapper::after {
            content: '';
            position: absolute;
            width: 64px;
            height: 64px;
            background: var(--grad-primary);
            border-radius: 20px;
            opacity: 0.08;
            transform: rotate(12deg);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .tool-card:hover .tool-icon-wrapper::after {
            transform: rotate(30deg) scale(1.1);
            opacity: 0.12;
        }

        .tool-icon {
            font-size: 2.2rem;
            color: var(--color-primary);
            position: relative;
            z-index: 1;
            transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            filter: drop-shadow(0 3px 8px rgba(6, 182, 212, 0.2));
        }

        .tool-card:hover .tool-icon {
            transform: scale(1.1) rotate(-4deg);
        }

        .tool-info {
            padding: 18px 20px 20px;
        }

        .tool-name {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 6px;
            line-height: 1.4;
        }

        .tool-description {
            font-size: 0.82rem;
            color: var(--text-gray);
            line-height: 1.55;
            margin-bottom: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 2.5em;
        }

        .tool-url {
            font-size: 0.75rem;
            color: var(--color-primary);
            background: rgba(6, 182, 212, 0.08);
            padding: 5px 14px;
            border-radius: 16px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 1px solid rgba(6, 182, 212, 0.15);
        }

        .tool-card:hover .tool-url {
            background: var(--grad-primary);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
            transform: translateY(-1px);
        }

        /* 搜索框样式 */
        .tools-search-container {
            margin-top: 24px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .tools-search-box {
            position: relative;
            background: white;
            border-radius: 25px;
            padding: 6px 6px 6px 50px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .tools-search-box:focus-within {
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 0 0 3px rgba(6, 182, 212, 0.16);
            transform: translateY(-2px);
        }

        .tools-search-box .search-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 1rem;
            transition: color 0.3s ease;
        }

        .tools-search-box:focus-within .search-icon {
            color: var(--color-primary);
        }

        .tools-search-box input {
            flex: 1;
            border: none;
            outline: none;
            padding: 10px 12px;
            font-size: 1rem;
            color: #1e293b;
            background: transparent;
        }

        .tools-search-box input::placeholder {
            color: #94a3b8;
        }

        .search-clear-btn {
            background: #f1f5f9;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            color: #64748b;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }

        .search-clear-btn:hover {
            background: #e2e8f0;
            color: #1e293b;
        }

        .search-results-info {
            margin-top: 12px;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.9);
            text-align: center;
            font-weight: 500;
        }

        /* ==================== 置顶专区样式 ==================== */
        .pinned-section {
            max-width: 1200px;
            margin: -40px auto 40px;
            padding: 0 20px;
            position: relative;
            z-index: 10;
        }

        .pinned-header {
            text-align: center;
            margin-bottom: 24px;
        }

        .pinned-title {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 1.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            padding: 8px 24px;
            position: relative;
        }

        .pinned-crown {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
            border-radius: 12px;
            color: white;
            font-size: 1.3rem;
            box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
            animation: crownGlow 2s ease-in-out infinite;
        }

        @keyframes crownGlow {
            0%, 100% {
                box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
                transform: rotate(0deg);
            }
            25% {
                transform: rotate(-5deg);
            }
            75% {
                transform: rotate(5deg);
            }
            50% {
                box-shadow: 0 8px 30px rgba(245, 158, 11, 0.7);
            }
        }

        .pinned-badge {
            background: linear-gradient(135deg, #ef4444 0%, #ec4899 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-size: 1.2rem;
        }

        .pinned-subtitle {
            margin-top: 8px;
            font-size: 0.9rem;
            color: #64748b;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .pinned-subtitle i {
            color: #ef4444;
            animation: fireFlicker 0.5s ease-in-out infinite alternate;
        }

        @keyframes fireFlicker {
            from { opacity: 1; transform: scale(1); }
            to { opacity: 0.7; transform: scale(1.1); }
        }

        .pinned-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }

        /* 置顶卡片样式 */
        .pinned-card {
            position: relative;
            background: linear-gradient(145deg, #ffffff 0%, #fff5f5 100%);
            border-radius: 20px;
            padding: 24px;
            box-shadow: 0 10px 40px rgba(245, 158, 11, 0.15), 0 0 0 1px rgba(245, 158, 11, 0.1);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
            cursor: pointer;
            animation: toolCardIn 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
        }

        .pinned-grid .pinned-card:nth-child(1) { animation-delay: 0.05s; }
        .pinned-grid .pinned-card:nth-child(2) { animation-delay: 0.13s; }
        .pinned-grid .pinned-card:nth-child(3) { animation-delay: 0.21s; }
        .pinned-grid .pinned-card:nth-child(4) { animation-delay: 0.29s; }

        .pinned-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 60px rgba(245, 158, 11, 0.25), 0 0 0 2px rgba(245, 158, 11, 0.3);
        }

        .pinned-glow {
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }

        .pinned-card:hover .pinned-glow {
            opacity: 1;
            animation: glowRotate 3s linear infinite;
        }

        @keyframes glowRotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .pinned-card a {
            display: flex;
            align-items: center;
            gap: 16px;
            text-decoration: none;
            color: inherit;
        }

        .pinned-icon-wrapper {
            position: relative;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .pinned-star {
            position: absolute;
            top: -6px;
            right: -6px;
            width: 24px;
            height: 24px;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.7rem;
            box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
            animation: starPulse 2s ease-in-out infinite;
        }

        @keyframes starPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.15); }
        }

        .pinned-icon {
            font-size: 1.8rem;
            color: #d97706;
        }

        .pinned-info {
            flex: 1;
            min-width: 0;
        }

        .pinned-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 6px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .pinned-desc {
            font-size: 0.85rem;
            color: #64748b;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }

        /* 置顶功能卡片特殊样式 */
        .pinned-feature-card {
            background: linear-gradient(145deg, #ffffff 0%, #fff5f5 100%) !important;
            border: 2px solid transparent !important;
            border-image: linear-gradient(135deg, #f59e0b, #ef4444) 1 !important;
            box-shadow: 0 10px 40px rgba(245, 158, 11, 0.15) !important;
        }

        .pinned-feature-card::before {
            content: '';
            position: absolute;
            inset: 0;
            padding: 2px;
            background: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899);
            border-radius: inherit;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 1;
        }

        /* 置顶功能卡片的皇冠标识 */
        .pinned-feature-card .feature-card-header::after {
            content: '\f522';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            top: -10px;
            right: -10px;
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.8rem;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
            animation: starPulse 2s ease-in-out infinite;
        }

        .pinned-feature-card .feature-card-header {
            position: relative;
        }

        @media (max-width: 768px) {
            .pinned-section {
                margin-top: -20px;
                padding: 0 16px;
            }

            .pinned-title {
                font-size: 1.2rem;
                padding: 6px 16px;
            }

            .pinned-crown {
                width: 36px;
                height: 36px;
                font-size: 1rem;
            }

            .pinned-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .pinned-card {
                padding: 20px;
            }
        }

        /* 置顶标记 */
        .tool-icon-wrapper {
            position: relative;
        }

        .top-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
            z-index: 2;
        }

        /* 分享按钮 */
        .tool-card {
            position: relative;
        }

        .share-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.95);
            border: none;
            border-radius: 50%;
            color: #64748b;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.3s ease;
            z-index: 3;
        }

        .tool-card:hover .share-btn {
            opacity: 1;
            transform: scale(1);
        }

        .share-btn:hover {
            background: var(--grad-primary);
            color: white;
            transform: scale(1.1) !important;
            box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
        }

        /* 搜索结果高亮 */
        .tool-card.search-hidden,
        .feature-card-webmaster.search-hidden,
        .feature-card-media.search-hidden {
            display: none !important;
        }

        /* 分页隐藏的卡片 */
        .tool-card.page-hidden {
            display: none !important;
        }

        .category-section.no-results {
            display: none;
        }

        .no-data-search {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-gray);
        }

        .no-data-search i {
            font-size: 3rem;
            margin-bottom: 16px;
            opacity: 0.5;
        }

        .no-data {
            text-align: center;
            padding: 80px 20px;
            color: var(--text-gray);
        }

        .no-data i {
            font-size: 4rem;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .no-data h3 {
            color: #334155;
            margin-bottom: 10px;
        }

        /* 分享模态框样式 */
        .share-modal-overlay {
            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: 10002;
            animation: shareFadeIn 0.2s ease;
        }

        @keyframes shareFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .share-modal {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 520px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
            animation: shareSlideUp 0.3s ease;
        }

        @keyframes shareSlideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .share-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            border-bottom: 1px solid #e2e8f0;
        }

        .share-modal-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .share-modal-title i {
            color: #06b6d4;
        }

        .share-modal-close {
            width: 36px;
            height: 36px;
            border: none;
            background: #f1f5f9;
            color: #64748b;
            border-radius: 10px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .share-modal-close:hover {
            background: #e2e8f0;
            color: #334155;
        }

        .share-modal-body {
            padding: 24px;
        }

        /* 内置功能卡片分享按钮 */
        .feature-share-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border: none;
            border-radius: 8px;
            color: #64748b;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            opacity: 0;
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .feature-card-webmaster:hover .feature-share-btn,
        .feature-card-media:hover .feature-share-btn {
            opacity: 1;
        }

        .feature-share-btn:hover {
            background: #06b6d4;
            color: white;
            transform: scale(1.1);
        }

        /* 自定义工具卡片分享按钮样式覆盖 */
        .tool-card .share-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border: none;
            border-radius: 8px;
            color: #64748b;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            opacity: 0;
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .tool-card:hover .share-btn {
            opacity: 1;
        }

        .tool-card .share-btn:hover {
            background: #06b6d4;
            color: white;
            transform: scale(1.1);
        }

        /* 内置功能卡片置顶标记 */
        .feature-top-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            color: white;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            font-size: 12px;
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
            animation: topPulse 2s ease-in-out infinite;
        }

        @keyframes topPulse {
            0%, 100% { box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4); }
            50% { box-shadow: 0 2px 16px rgba(245, 158, 11, 0.7); }
        }

        /* 分享链接高亮效果 */
        .tool-card.share-highlight,
        .feature-card-webmaster.share-highlight,
        .feature-card-media.share-highlight {
            animation: shareHighlight 1.5s ease-in-out 2;
            box-shadow: 0 0 0 3px #06b6d4, 0 0 30px rgba(6, 182, 212, 0.4);
        }

        @keyframes shareHighlight {
            0%, 100% {
                box-shadow: 0 0 0 3px #06b6d4, 0 0 30px rgba(6, 182, 212, 0.4);
                transform: scale(1);
            }
            50% {
                box-shadow: 0 0 0 3px #06b6d4, 0 0 50px rgba(6, 182, 212, 0.7);
                transform: scale(1.02);
            }
        }

        /* 分享提示 Toast */
        .share-toast {
            position: fixed;
            top: 80px;
            left: 50%;
            transform: translateX(-50%) translateY(-20px);
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
            color: white;
            padding: 14px 24px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
            z-index: 10003;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            font-size: 0.95rem;
            opacity: 0;
            transition: all 0.3s ease;
            pointer-events: none;
        }

        .share-toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .share-toast i {
            font-size: 1.2rem;
        }

        @media (max-width: 768px) {
            .tools-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 16px;
            }

            .tool-detail-section .tools-grid {
                grid-template-columns: 1fr !important;
                max-width: 100%;
            }

            .tools-container {
                padding: 20px 15px 60px;
                margin-top: -30px;
            }

            .page-header {
                padding: calc(60px + 40px) 0 70px;
            }

            .page-header h1 {
                font-size: 1.8rem;
            }

            .page-header p {
                font-size: 0.95rem;
            }

            .category-section {
                margin-bottom: 35px;
            }

            .category-title {
                font-size: 1.15rem;
                padding: 12px 16px;
                margin-bottom: 18px;
            }

            .tool-card {
                border-radius: 14px;
            }

            .tool-icon-wrapper {
                padding: 24px 16px;
            }

            .tool-icon {
                font-size: 2.2rem;
            }

            .tool-info {
                padding: 16px;
            }

            .tool-name {
                font-size: 1rem;
            }

            .tool-description {
                font-size: 0.8rem;
                margin-bottom: 10px;
            }

            .feature-card-webmaster,
            .feature-card-media {
                padding: 16px;
                border-radius: 14px;
            }

            .feature-card-webmaster.feature-collapsed,
            .feature-card-media.feature-collapsed {
                padding: 14px 16px;
            }

            .feature-card-header {
                gap: 10px;
            }

            .feature-card-icon {
                width: 40px;
                height: 40px;
                font-size: 1.05rem;
                border-radius: 10px;
            }

            .feature-card-title {
                font-size: 0.95rem;
            }

            .feature-card-desc {
                font-size: 0.8rem;
                -webkit-line-clamp: 1;
            }

            .feature-card-collapsed-indicator {
                padding: 5px 10px;
                font-size: 0.72rem;
            }
        }

        @media (max-width: 576px) {
            .tools-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .page-header h1 {
                font-size: 1.5rem;
                letter-spacing: 1px;
            }

            .category-title {
                font-size: 1.05rem;
            }
        }

        .feature-card-webmaster, .feature-card-media {
            background: white;
            border-radius: var(--radius-md);
            padding: 24px;
            box-shadow: var(--shadow-card);
            border: 1px solid var(--border-light);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
        }

        .feature-card-webmaster::before,
        .feature-card-media::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--grad-primary);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .feature-card-webmaster:hover::before,
        .feature-card-media:hover::before {
            opacity: 1;
        }

        .feature-card-webmaster {
            border-color: rgba(16, 185, 129, 0.15);
        }

        .feature-card-media {
            border-color: rgba(251, 146, 60, 0.15);
        }

        .feature-card-webmaster:hover, .feature-card-media:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }

        .feature-card-webmaster.feature-collapsed,
        .feature-card-media.feature-collapsed {
            cursor: pointer;
            position: relative;
            overflow: hidden;
            padding: 18px 22px;
        }

        .feature-card-webmaster.feature-collapsed:hover,
        .feature-card-media.feature-collapsed:hover {
            border-color: var(--color-primary);
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.12);
        }

        .feature-card-webmaster.feature-collapsed .feature-card-hidden-content,
        .feature-card-media.feature-collapsed .feature-card-hidden-content {
            display: none !important;
        }

        .feature-card-webmaster.feature-collapsed,
        .feature-card-media.feature-collapsed {
            min-height: auto;
        }

        .feature-card-webmaster.feature-collapsed .feature-card-header,
        .feature-card-media.feature-collapsed .feature-card-header {
            margin-bottom: 0;
        }

        /* ============================================
           页面初始化前的默认折叠样式
           避免先显示输入框再"刷新"成折叠状态
           ============================================ */
        body.tools-page-loading .feature-card-webmaster,
        body.tools-page-loading .feature-card-media {
            cursor: pointer;
            padding: 18px 22px !important;
            min-height: auto !important;
        }

        body.tools-page-loading .feature-card-webmaster > :not(.feature-card-header),
        body.tools-page-loading .feature-card-media > :not(.feature-card-header) {
            display: none !important;
        }

        body.tools-page-loading .feature-card-header {
            margin-bottom: 0 !important;
            display: flex;
            align-items: center;
            gap: 14px;
        }

        body.tools-page-loading .feature-card-webmaster .feature-card-header::after,
        body.tools-page-loading .feature-card-media .feature-card-header::after {
            content: '\f35d  打开';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-left: auto;
            padding: 7px 16px;
            background: var(--grad-primary);
            color: white;
            border-radius: 20px;
            font-size: 0.82rem;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
            flex-shrink: 0;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        body.tools-page-loading .feature-card-webmaster .feature-card-header:hover::after,
        body.tools-page-loading .feature-card-media .feature-card-header:hover::after {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
        }

        .feature-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .feature-modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .feature-modal {
            background: white;
            border-radius: var(--radius-lg);
            width: 92%;
            max-width: 920px;
            max-height: 92vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transform: scale(0.92) translateY(20px);
            transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 30px 80px rgba(0,0,0,0.3);
        }

        .feature-modal-overlay.show .feature-modal {
            transform: scale(1) translateY(0);
        }

        .feature-modal-header {
            padding: 18px 24px;
            background: var(--grad-primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-shrink: 0;
            position: relative;
        }

        .feature-modal-header::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 20px;
            background: white;
            border-radius: 20px 20px 0 0;
        }

        .feature-modal-title {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.15rem;
            font-weight: 700;
            position: relative;
            z-index: 1;
        }

        .feature-modal-title i {
            font-size: 1.3rem;
        }

        .feature-modal-close {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            transition: all 0.3s;
            position: relative;
            z-index: 1;
        }

        .feature-modal-close:hover {
            background: rgba(255,255,255,0.3);
            transform: rotate(90deg);
        }

        .feature-modal-body {
            padding: 24px;
            overflow-y: auto;
            flex: 1;
        }

        .feature-modal-body::-webkit-scrollbar {
            width: 8px;
        }

        .feature-modal-body::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 4px;
        }

        .feature-modal-body::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 4px;
        }

        .feature-modal-body::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        /* 功能模态框内分享区域 */
        .feature-share-section {
            margin-top: 20px;
            padding: 16px;
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(8, 145, 178, 0.06) 100%);
            border: 1px solid rgba(6, 182, 212, 0.15);
            border-radius: 12px;
        }

        .feature-share-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: #0891b2;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .feature-share-content {
            display: flex;
            gap: 8px;
        }

        .feature-share-input {
            flex: 1;
            padding: 10px 12px;
            border: 1px solid rgba(6, 182, 212, 0.3);
            border-radius: 8px;
            font-size: 0.85rem;
            background: white;
            color: #334155;
        }

        .feature-share-copy-btn {
            padding: 10px 16px;
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.85rem;
            white-space: nowrap;
            transition: all 0.2s;
        }

        .feature-share-copy-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
        }

        .feature-share-copy-btn:active {
            transform: translateY(0);
        }

        .feature-card-collapsed-indicator {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-left: auto;
            padding: 7px 16px;
            background: var(--grad-primary);
            color: white;
            border-radius: 20px;
            font-size: 0.82rem;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
        }

        .feature-card-collapsed-indicator:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
        }

        @media (max-width: 768px) {
            .feature-modal {
                width: 96%;
                max-height: 96vh;
                border-radius: 16px;
            }

            .feature-modal-header {
                padding: 14px 18px;
            }

            .feature-modal-title {
                font-size: 1rem;
            }

            .feature-modal-close {
                width: 36px;
                height: 36px;
                font-size: 1rem;
            }

            .feature-modal-body {
                padding: 16px;
            }
        }

        .feature-card-header {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 16px;
        }

        .feature-card-icon {
            width: 46px;
            height: 46px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            color: white;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            flex-shrink: 0;
        }

        .feature-card-icon.douyin-icon {
            background: linear-gradient(135deg, #fb923c 0%, #f59e0b 100%);
        }

        .feature-card-icon.ping-icon {
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        }

        .feature-card-icon.whois-icon {
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
        }

        .feature-card-icon.website-icon {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        }

        .feature-card-icon.urlip-icon {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        }

        .feature-card-icon.weixin-icon {
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
        }

        .feature-card-icon.xhs-icon {
            background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
        }

        .feature-card-icon.wyymusic-icon {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        }

        .feature-card-icon.siteinfo-icon {
            background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
        }

        .feature-card-icon.icp-icon {
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        }

        .feature-card-icon.base64-icon {
            background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        }

        .feature-card-icon.king-icon {
            background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
        }

        .feature-card-icon.screenshot-icon {
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        }

        .feature-card-icon.text2img-icon {
            background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
        }

        .feature-card-icon.image-combine-icon {
            background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
        }

        .feature-card-icon.qrcode-icon {
            background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
        }

        .feature-card-icon.translate-icon {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        }

        .feature-card-icon.idcard-icon {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        }

        .feature-card-icon.dictionary-icon {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        }

        .feature-card-icon.plate-icon {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        }

        .feature-card-icon.calorie-icon {
            background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
        }

        .feature-card-icon.watermark-icon {
            background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
        }

        .feature-card-icon.countdown-icon {
            background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
        }

        .feature-card-icon.resume-icon {
            background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
        }

        .feature-card-icon.tts-icon {
            background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
        }

        .feature-card-icon.kuaishou-icon {
            background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
        }

        .feature-card-icon.waitroom-icon {
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        }

        .feature-card-icon.xianyu-icon {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        }

        .feature-card-icon.qianwen-icon {
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
        }

        .feature-card-icon.wxsph-icon {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        }

        .feature-card-icon.time-screen-icon {
            background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        }

        .feature-card-icon.danmu-icon {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        }

        .feature-card-icon.paint-icon {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        }

        .feature-card-icon.te-icon {
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
        }

        /* ====== 9 个 PDF 工具图标渐变配色 ====== */
        .feature-card-icon.pdf-merge-icon {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        }
        .feature-card-icon.pdf-split-icon {
            background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
        }
        .feature-card-icon.pdf-rotate-icon {
            background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
        }
        .feature-card-icon.pdf-deletepage-icon {
            background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
        }
        .feature-card-icon.pdf-toimg-icon {
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        }
        .feature-card-icon.pdf-imgtopdf-icon {
            background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
        }
        .feature-card-icon.pdf-rearrange-icon {
            background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
        }
        .feature-card-icon.pdf-splitbook-icon {
            background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
        }
        .feature-card-icon.pdf-altmerge-icon {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        }

        /* ====== 9 个 PDF 工具按钮渐变配色 ====== */
        .feature-card-btn.pdf-merge-btn {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        }
        .feature-card-btn.pdf-merge-btn:hover {
            box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
        }
        .feature-card-btn.pdf-split-btn {
            background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
        }
        .feature-card-btn.pdf-split-btn:hover {
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
        }
        .feature-card-btn.pdf-rotate-btn {
            background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
        }
        .feature-card-btn.pdf-rotate-btn:hover {
            box-shadow: 0 6px 20px rgba(234, 179, 8, 0.4);
        }
        .feature-card-btn.pdf-deletepage-btn {
            background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
        }
        .feature-card-btn.pdf-deletepage-btn:hover {
            box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
        }
        .feature-card-btn.pdf-toimg-btn {
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        }
        .feature-card-btn.pdf-toimg-btn:hover {
            box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
        }
        .feature-card-btn.pdf-imgtopdf-btn {
            background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
        }
        .feature-card-btn.pdf-imgtopdf-btn:hover {
            box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
        }
        .feature-card-btn.pdf-rearrange-btn {
            background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
        }
        .feature-card-btn.pdf-rearrange-btn:hover {
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
        }
        .feature-card-btn.pdf-splitbook-btn {
            background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
        }
        .feature-card-btn.pdf-splitbook-btn:hover {
            box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
        }
        .feature-card-btn.pdf-altmerge-btn {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        }
        .feature-card-btn.pdf-altmerge-btn:hover {
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
        }

        .feature-card-btn.time-screen-btn {
            background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        }

        .feature-card-btn.time-screen-btn:hover {
            box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
        }

        .feature-card-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 3px;
        }

        .feature-card-price {
            font-size: 0.8rem;
            font-weight: 700;
            color: #e74c3c;
            -webkit-text-fill-color: currentColor;
            background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
            padding: 3px 10px;
            border-radius: 12px;
            margin-left: 8px;
            vertical-align: middle;
        }

        .feature-card-price.feature-price-free {
            color: #16a34a;
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
        }

        .feature-card-desc {
            font-size: 0.85rem;
            color: var(--text-gray);
            line-height: 1.5;
        }

        .feature-card-form {
            display: flex;
            gap: 12px;
            margin-bottom: 14px;
            flex-wrap: wrap;
        }

        .feature-card-input {
            flex: 1;
            min-width: 200px;
            padding: 12px 16px;
            border: 2px solid rgba(6, 182, 212, 0.15);
            border-radius: 12px;
            font-size: 0.95rem;
            outline: none;
            transition: all 0.3s ease;
            background: #f8fafc;
        }

        .feature-card-input:focus {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
            background: white;
        }

        .feature-card-btn {
            padding: 12px 24px;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
            /* 默认主题渐变：未单独定义修饰色的按钮统一使用，避免透明灰底 */
            background: var(--grad-primary, linear-gradient(135deg, #6366f1 0%, #4f46e5 100%));
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        }

        .feature-card-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        }

        .feature-card-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .feature-card-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
            pointer-events: none;
            z-index: -1;
        }

        .feature-card-btn:hover::before {
            left: 100%;
        }

        .feature-card-btn.douyin-btn {
            background: linear-gradient(135deg, #fb923c 0%, #f59e0b 100%);
        }

        .feature-card-btn.website-btn {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        }

        .feature-card-btn.urlip-btn {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        }

        .feature-card-btn.ping-btn {
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        }

        .feature-card-btn.ping-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
        }

        .feature-card-btn.whois-btn {
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
        }

        .feature-card-btn.weixin-btn {
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
        }

        .feature-card-btn.xhs-btn {
            background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
        }

        .feature-card-btn.wyymusic-btn {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        }

        .feature-card-btn.siteinfo-btn {
            background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
        }

        .feature-card-btn.icp-btn {
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        }

        .feature-card-btn.base64-btn {
            background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        }

        .feature-card-btn.king-btn {
            background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
        }

        .feature-card-btn.screenshot-btn {
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        }

        .feature-card-btn.text2img-btn {
            background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
        }

        .feature-card-btn.image-combine-btn {
            background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
        }

        .feature-card-btn.qrcode-btn {
            background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
        }

        .feature-card-btn.translate-btn {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        }

        .feature-card-btn.idcard-btn {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        }

        .feature-card-btn.dictionary-btn {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        }

        .feature-card-btn.plate-btn {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        }

        .feature-card-btn.calorie-btn {
            background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
        }

        .feature-card-btn.watermark-btn {
            background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
        }

        .feature-card-btn.countdown-btn {
            background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
        }

        .feature-card-btn.resume-btn {
            background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
        }

        .feature-card-btn.tts-btn {
            background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
        }

        .feature-card-btn.kuaishou-btn {
            background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
        }

        .feature-card-btn.waitroom-btn {
            background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
        }

        .feature-card-btn.xianyu-btn {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        }

        .feature-card-btn.qianwen-btn {
            background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
        }

        .feature-card-btn.wxsph-btn {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        }

        .feature-card-btn.king-btn:hover {
            box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3);
        }

        .feature-card-btn:hover {
            transform: translateY(-2px);
        }

        .feature-card-btn.douyin-btn:hover {
            box-shadow: 0 4px 15px rgba(251, 146, 60, 0.3);
        }

        .feature-card-btn.website-btn:hover {
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
        }

        .feature-card-btn.urlip-btn:hover {
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        }

        .feature-card-btn.whois-btn:hover {
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
        }

        .feature-card-btn.weixin-btn:hover {
            box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
        }

        .feature-card-btn.xhs-btn:hover {
            box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
        }

        .feature-card-btn.wyymusic-btn:hover {
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
        }

        .feature-card-btn.siteinfo-btn:hover {
            box-shadow: 0 4px 15px rgba(192, 132, 252, 0.3);
        }

        .feature-card-btn.base64-btn:hover {
            box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
        }

        .feature-card-btn.screenshot-btn:hover {
            box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
        }

        .feature-card-btn.text2img-btn:hover {
            box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
        }

        .feature-card-btn.image-combine-btn:hover {
            box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
        }

        .feature-card-btn.qrcode-btn:hover {
            box-shadow: 0 6px 20px rgba(234, 179, 8, 0.4);
        }

        .feature-card-btn.translate-btn:hover {
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
        }

        .feature-card-btn.idcard-btn:hover {
            box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
        }

        .feature-card-btn.dictionary-btn:hover {
            box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
        }

        .feature-card-btn.plate-btn:hover {
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
        }

        .feature-card-btn.calorie-btn:hover {
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
        }

        .feature-card-btn.icp-btn:hover {
            box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
        }

        .feature-card-btn.watermark-btn:hover {
            box-shadow: 0 6px 20px rgba(244, 63, 94, 0.4);
        }

        .feature-card-btn.countdown-btn:hover {
            box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
        }

        .feature-card-btn.resume-btn:hover {
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
        }

        .feature-card-btn.tts-btn:hover {
            box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
        }

        .feature-card-btn.kuaishou-btn:hover {
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
        }

        .feature-card-btn.waitroom-btn:hover {
            box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
        }

        .feature-card-btn.xianyu-btn:hover {
            box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
        }

        .feature-card-btn.qianwen-btn:hover {
            box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
        }

        .feature-card-btn.wxsph-btn:hover {
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
        }

        #siteinfo-result .result-value {
            white-space: normal;
            text-overflow: unset;
            word-break: break-all;
            max-width: 70%;
        }

        .feature-card-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .feature-card-error {
            padding: 12px 14px;
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
            color: #dc2626;
            border-radius: 12px;
            margin-bottom: 12px;
            display: none;
            font-size: 0.85rem;
            border: 1px solid rgba(239, 68, 68, 0.15);
        }

        .feature-card-error.show {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        .feature-card-result {
            display: none;
            margin-top: 16px;
            padding: 18px;
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(6, 182, 212, 0.02) 100%);
            border-radius: 14px;
            border: 1px solid rgba(6, 182, 212, 0.12);
        }

        .feature-card-result.show {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-5px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .result-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px dashed rgba(6, 182, 212, 0.15);
        }

        .result-row:last-child {
            border-bottom: none;
        }

        .result-label {
            font-size: 0.85rem;
            color: var(--text-gray);
            font-weight: 500;
        }

        .result-value {
            font-size: 0.85rem;
            color: var(--text-dark);
            font-weight: 600;
            text-align: right;
            max-width: 60%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .feature-card-loading {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .douyin-result {
            display: none;
            margin-top: 20px;
            padding: 24px;
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            border: 1px solid var(--border-light);
        }

        .douyin-result.show {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        .douyin-video-info {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .douyin-video-cover {
            width: 200px;
            height: 150px;
            border-radius: 12px;
            object-fit: cover;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .douyin-video-details {
            flex: 1;
            min-width: 250px;
        }

        .douyin-video-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 10px;
            line-height: 1.5;
        }

        .douyin-video-meta {
            font-size: 0.85rem;
            color: var(--text-gray);
            margin-bottom: 15px;
        }

        .douyin-download-btn {
            display: inline-block;
            padding: 8px 20px;
            background: var(--grad-primary);
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .douyin-download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
            color: white;
        }

        .douyin-loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 0.8s linear infinite;
        }

        .result-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
            z-index: 10000;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .result-modal-overlay.show {
            display: flex;
        }

        .result-modal {
            background: white;
            border-radius: 20px;
            width: 100%;
            max-width: 500px;
            max-height: 85vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: modalIn 0.3s ease;
            position: relative;
        }

        @keyframes modalIn {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .result-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            border-bottom: 1px solid #f0f0f0;
            position: sticky;
            top: 0;
            background: white;
            z-index: 1;
            border-radius: 20px 20px 0 0;
        }

        .result-modal-title {
            font-size: 1.2rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .result-modal-title.website-title {
            color: #059669;
        }

        .result-modal-title.ping-title {
            color: #06b6d4;
        }

        .result-modal-title.whois-title {
            color: #8b5cf6;
        }

        .result-modal-title.urlip-title {
            color: #2563eb;
        }

        .result-modal-title.weixin-title {
            color: #22c55e;
        }

        .result-modal-title.xhs-title {
            color: #ec4899;
        }

        .result-modal-title.wyymusic-title {
            color: #dc2626;
        }

        .result-modal-title.siteinfo-title {
            color: #a855f7;
        }

        .result-modal-title.king-title {
            color: #ca8a04;
        }

        .result-modal-close {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: #f5f5f5;
            font-size: 1.2rem;
            cursor: pointer;
            color: #666;
            transition: all 0.3s ease;
        }

        .result-modal-close:hover {
            background: #e5e5e5;
            color: #333;
        }

        .result-modal-body {
            padding: 24px;
        }

        .result-modal-info {
            margin-bottom: 20px;
        }

        .result-modal-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 12px 0;
            border-bottom: 1px dashed #e5e7eb;
        }

        .result-modal-row:last-child {
            border-bottom: none;
        }

        .result-modal-label {
            font-size: 0.9rem;
            color: #64748b;
            font-weight: 500;
            flex-shrink: 0;
            width: 80px;
        }

        .result-modal-value {
            font-size: 0.9rem;
            color: #1e293b;
            font-weight: 600;
            text-align: right;
            max-width: calc(100% - 90px);
            word-break: break-all;
            line-height: 1.5;
        }

        .result-modal-link-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            max-width: 100%;
        }

        .result-modal-link-item {
            display: inline-block;
            padding: 8px 16px;
            background: var(--grad-primary);
            color: white;
            text-decoration: none;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .result-modal-link-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
            opacity: 0.9;
        }

        .lightbox-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .lightbox-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            position: relative;
        }

        .lightbox-content img {
            max-width: 100%;
            max-height: 80vh;
            object-fit: contain;
        }

        .lightbox-close {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .lightbox-close:hover {
            background: rgba(255, 255, 255, 0.4);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-nav:hover {
            background: rgba(255, 255, 255, 0.4);
        }

        .lightbox-prev {
            left: 12px;
        }

        .lightbox-next {
            right: 12px;
        }

        .lightbox-counter {
            position: absolute;
            bottom: 12px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
        }

        .result-modal-actions {
            display: flex;
            gap: 12px;
        }

        .result-modal-btn {
            flex: 1;
            padding: 12px 20px;
            border: none;
            border-radius: 12px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .result-modal-btn-primary {
            background: var(--grad-primary);
            color: #1e293b;
        }

        .result-modal-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
        }

        .result-modal-btn-secondary {
            background: #f5f5f5;
            color: #666;
        }

        .result-modal-btn-secondary:hover {
            background: #e5e5e5;
        }

        .douyin-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
            z-index: 10000;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .douyin-modal-overlay.show {
            display: flex;
        }

        .douyin-modal {
            background: white;
            border-radius: 20px;
            width: 100%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: modalIn 0.3s ease;
            position: relative;
        }

        @keyframes modalIn {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .toast-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(4px);
            z-index: 99999;
            justify-content: center;
            align-items: center;
            padding: 20px;
            transition: opacity 0.3s ease;
        }

        .toast-overlay.show {
            display: flex;
            opacity: 1;
        }

        .toast-box {
            background: white;
            border-radius: 20px;
            width: 100%;
            max-width: 360px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
            animation: toastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
        }

        @keyframes toastIn {
            from {
                opacity: 0;
                transform: scale(0.8) translateY(30px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .toast-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 16px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2.5rem;
        }

        .toast-icon.success {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
        }

        .toast-icon.error {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
        }

        .toast-icon.warning {
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            color: white;
        }

        .toast-icon.info {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
        }

        .toast-content {
            padding: 32px 24px;
            text-align: center;
        }

        .toast-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .toast-message {
            font-size: 0.9rem;
            color: var(--text-gray);
            line-height: 1.6;
            margin-bottom: 4px;
        }

        .toast-detail {
            font-size: 0.85rem;
            color: var(--color-primary);
            font-weight: 600;
        }

        .toast-actions {
            display: flex;
            border-top: 1px solid #f0f0f0;
        }

        .toast-btn {
            flex: 1;
            padding: 16px 24px;
            border: none;
            background: transparent;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .toast-btn:first-child {
            border-right: 1px solid #f0f0f0;
            color: var(--text-gray);
        }

        .toast-btn:first-child:hover {
            background: #f8fafc;
            color: var(--text-dark);
        }

        .toast-btn.primary {
            color: var(--color-primary);
        }

        .toast-btn.primary:hover {
            background: rgba(var(--color-primary), 0.06);
        }

        .douyin-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            border-bottom: 1px solid #f0f0f0;
            position: sticky;
            top: 0;
            background: white;
            z-index: 1;
            border-radius: 20px 20px 0 0;
        }

        .douyin-modal-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: #92400e;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .douyin-modal-close {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: #f5f5f5;
            font-size: 1.2rem;
            cursor: pointer;
            color: #666;
            transition: all 0.3s ease;
        }

        .douyin-modal-close:hover {
            background: #e5e5e5;
            color: #333;
        }

        .douyin-modal-body {
            padding: 24px;
        }

        .douyin-modal-video {
            width: 100%;
            border-radius: 12px;
            margin-bottom: 20px;
        }

        .douyin-modal-info {
            margin-bottom: 20px;
        }

        .douyin-modal-author {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f0f0f0;
        }

        .douyin-modal-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #fb923c;
        }

        .douyin-modal-author-name {
            font-size: 1rem;
            font-weight: 600;
            color: #333;
        }

        .douyin-modal-signature {
            font-size: 0.85rem;
            color: #999;
            margin-top: 4px;
        }

        .douyin-modal-title-text {
            font-size: 1.1rem;
            font-weight: 600;
            color: #333;
            line-height: 1.6;
            margin-bottom: 12px;
        }

        .douyin-modal-stats {
            display: flex;
            gap: 24px;
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 20px;
        }

        .douyin-modal-stat {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .douyin-modal-stat i {
            color: #fb923c;
        }

        .douyin-modal-music {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 15px;
            background: linear-gradient(145deg, #fff7ed 0%, #fef3c7 100%);
            border-radius: 12px;
            margin-bottom: 20px;
        }

        .douyin-modal-music-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: linear-gradient(135deg, #fb923c 0%, #f59e0b 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1rem;
        }

        .douyin-modal-music-info {
            flex: 1;
        }

        .douyin-modal-music-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: #92400e;
        }

        .douyin-modal-music-author {
            font-size: 0.85rem;
            color: #b45309;
        }

        .douyin-modal-actions {
            display: flex;
            gap: 12px;
        }

        .douyin-modal-details {
            background: #fafafa;
            border-radius: 12px;
            padding: 14px 16px;
            margin-bottom: 16px;
            font-size: 0.85rem;
            color: #555;
            border: 1px solid #f0f0f0;
        }

        .douyin-modal-details-title {
            font-size: 0.85rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .douyin-modal-details-title i {
            color: #fb923c;
        }

        .douyin-modal-detail-row {
            display: flex;
            align-items: flex-start;
            padding: 4px 0;
            gap: 10px;
            line-height: 1.5;
        }

        .douyin-modal-detail-label {
            color: #999;
            flex-shrink: 0;
            min-width: 80px;
        }

        .douyin-modal-detail-value {
            color: #333;
            word-break: break-all;
            flex: 1;
        }

        .douyin-modal-detail-value a {
            color: #fb923c;
            text-decoration: none;
        }

        .douyin-modal-detail-value a:hover {
            text-decoration: underline;
        }

        .douyin-modal-btn {
            flex: 1;
            padding: 12px 20px;
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .douyin-modal-btn-primary {
            background: linear-gradient(135deg, #fb923c 0%, #f59e0b 100%);
            color: white;
        }

        .douyin-modal-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(251, 146, 60, 0.3);
        }

        .douyin-modal-btn-secondary {
            background: #f5f5f5;
            color: #666;
        }

        .douyin-modal-btn-secondary:hover {
            background: #e5e5e5;
        }

        .douyin-modal-preview {
            width: 100%;
            border-radius: 12px;
            margin-bottom: 16px;
        }

/* =========================================================
 *   液态玻璃 Liquid-Glass 美化增强
 *   分层：背景极光 -> 毛玻璃卡片 -> 渐变描边 -> 高光微动画
 * ========================================================= */

/* ---------- 1. 背景：极光径向光斑 + 漂浮噪点 ---------- */
body {
    background:
      radial-gradient(1200px 800px at 12% 10%, rgba(255, 180, 210, 0.55) 0%, transparent 60%),
      radial-gradient(1000px 700px at 85% 5%, rgba(186, 230, 253, 0.5) 0%, transparent 62%),
      radial-gradient(900px 700px at 95% 70%, rgba(221, 214, 254, 0.6) 0%, transparent 60%),
      radial-gradient(900px 700px at 8% 85%, rgba(253, 230, 138, 0.35) 0%, transparent 55%),
      linear-gradient(180deg,
        color-mix(in srgb, var(--color-primary) 18%, white) 0%,
        color-mix(in srgb, var(--color-primary) 10%, #eef2ff) 30%,
        #f8fafc 70%,
        #f1f5f9 100%) !important;
    background-attachment: fixed;
    position: relative;
}
body::before{
    content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
    background-image:
      radial-gradient(2px 2px at 15% 30%, rgba(255,255,255,.7), transparent 60%),
      radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,.7), transparent 60%),
      radial-gradient(2px 2px at 70% 20%, rgba(255,255,255,.7), transparent 60%),
      radial-gradient(1.5px 1.5px at 85% 80%, rgba(255,255,255,.7), transparent 60%),
      radial-gradient(2px 2px at 55% 50%, rgba(255,255,255,.6), transparent 60%);
    background-size: 600px 600px;
    opacity: .5;
    animation: sparkleMove 18s linear infinite;
}
@keyframes sparkleMove {
  0%{background-position:0 0,0 0,0 0,0 0,0 0;}
  100%{background-position:600px 600px,-400px 500px,500px -300px,-200px -400px,300px -500px;}
}
/* 大尺寸柔和色球（玻璃后面的光源） */
body::after{
    content:"";position:fixed;inset:-10%;pointer-events:none;z-index:0;overflow:hidden;
    background:
      radial-gradient(520px 520px at 10% 20%, color-mix(in srgb, var(--color-primary) 42%, white) 0%, transparent 70%),
      radial-gradient(440px 440px at 92% 35%, color-mix(in srgb, #6366f1 30%, white) 0%, transparent 72%),
      radial-gradient(480px 480px at 50% 100%, color-mix(in srgb, #ec4899 28%, white) 0%, transparent 72%);
    filter: blur(70px) saturate(120%);
    opacity: .75;
    animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%  { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-25px,0) scale(1.06); }
  100%{ transform: translate3d(0,20px,0) scale(1.03); }
}
/* 让主要容器浮到噪点/光斑之上 */
.page-header, .tools-container { position: relative; z-index: 5; }

/* ---------- 2. 页面头部：玻璃遮罩 + 更强的渐变 ---------- */
.page-header {
    padding: calc(70px + 50px) 0 120px !important;
    background:
      radial-gradient(circle at 20% 20%, rgba(255,255,255,.35) 0%, transparent 45%),
      radial-gradient(circle at 85% 15%, rgba(255,255,255,.25) 0%, transparent 45%),
      var(--grad-header) !important;
    filter: saturate(115%);
}
.page-header::before{
    opacity: .9 !important;
    background-image:
      linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
      radial-gradient(circle at 20% 40%, rgba(255,255,255,0.25) 0%, transparent 55%),
      radial-gradient(circle at 80% 30%, rgba(255,255,255,0.18) 0%, transparent 45%),
      radial-gradient(circle at 50% 90%, rgba(255,255,255,0.18) 0%, transparent 50%) !important;
    background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%, 100% 100% !important;
}
.page-header::after{ background: transparent !important; clip-path: none !important; display:none !important; }
.page-header h1 {
    font-size: 3rem !important;
    font-weight: 900 !important;
    letter-spacing: 3px !important;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 60%, rgba(255,255,255,.85) 100%);
    -webkit-background-clip: text !important;
    background-clip: text;
    filter: drop-shadow(0 8px 30px rgba(0,0,0,.15));
    display: inline-block;
}

@media (max-width: 720px){
  .page-header h1 { font-size: 2.1rem !important; letter-spacing: 1.5px !important; }
}

/* ---------- 3. 搜索框：玻璃胶囊 + 呼吸光晕 ---------- */
.tools-search-box {
    background: rgba(255,255,255,.55) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,.7) !important;
    box-shadow:
      0 16px 50px -10px rgba(0,0,0,.18),
      0 0 0 1px rgba(255,255,255,.45) inset,
      0 0 40px color-mix(in srgb, var(--color-primary) 25%, transparent) !important;
    animation: searchBreath 4s ease-in-out infinite;
}
@keyframes searchBreath{
  0%,100%{ box-shadow: 0 16px 50px -10px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.45) inset, 0 0 30px color-mix(in srgb, var(--color-primary) 22%, transparent); }
  50%   { box-shadow: 0 16px 60px -10px rgba(0,0,0,.22), 0 0 0 1px rgba(255,255,255,.55) inset, 0 0 55px color-mix(in srgb, var(--color-primary) 40%, transparent); }
}
.tools-search-box:focus-within {
    background: rgba(255,255,255,.78) !important;
    transform: translateY(-3px) scale(1.01) !important;
    box-shadow:
      0 22px 60px -10px rgba(0,0,0,.22),
      0 0 0 1px rgba(255,255,255,.65) inset,
      0 0 0 4px color-mix(in srgb, var(--color-primary) 22%, transparent),
      0 0 60px color-mix(in srgb, var(--color-primary) 55%, transparent) !important;
}
.tools-search-box::before{
    content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;
    background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,0) 40%, color-mix(in srgb, var(--color-primary) 40%, transparent) 90%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events:none;opacity:.8;
}
.search-clear-btn {
    background: rgba(255,255,255,.7) !important;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.5);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

/* ---------- 4. 分类标题：液态玻璃卡片 ---------- */
.category-title {
    font-size: 1.15rem !important;
    padding: 10px 16px !important;
    margin-bottom: 18px !important;
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow:
      0 12px 30px -16px rgba(0,0,0,.12),
      0 1px 0 rgba(255,255,255,.8) inset !important;
    position: relative;
    overflow: hidden;
}
.category-title::before{
    background: linear-gradient(180deg, #ffffff, transparent) !important;
    box-shadow: none !important;
    opacity: .6 !important;
}
.category-title::after{
    content:"";position:absolute;inset:0;padding:1px;border-radius:inherit;pointer-events:none;
    background: linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 35%, color-mix(in srgb, var(--color-primary) 35%, transparent) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.category-title > i {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.9rem !important;
    background: linear-gradient(145deg, rgba(255,255,255,.55), rgba(255,255,255,.12)) !important;
    color: var(--color-primary) !important;
    border: 1px solid rgba(255,255,255,.6);
    backdrop-filter: blur(10px);
    box-shadow:
      0 6px 16px -4px color-mix(in srgb, var(--color-primary) 35%, transparent),
      0 1px 0 rgba(255,255,255,.8) inset !important;
    position: relative;
    overflow: hidden;
}
.category-title > i::after{
    content:"";position:absolute;inset:0;border-radius:inherit;
    background: var(--grad-primary); opacity: .16;
}
.category-title .count-badge {
    font-size: 0.72rem !important;
    padding: 3px 10px !important;
    background: rgba(255,255,255,.55) !important;
    color: var(--color-primary) !important;
    border: 1px solid rgba(255,255,255,.65) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 10px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.6) inset;
}

.category-section { margin-bottom: 36px !important; }

/* ---------- 5. 工具卡片：真·液态玻璃 ---------- */
.tools-container { margin-top: -70px !important; padding: 30px 20px 60px !important; }

.tool-card {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow:
      0 20px 50px -18px rgba(0,0,0,.18),
      0 1px 0 rgba(255,255,255,.8) inset !important;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}
/* 渐变边框 */
.tool-card::before{
    content:"";position:absolute;inset:0;padding:1px;border-radius:inherit;pointer-events:none;z-index:2;
    background: linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 40%, color-mix(in srgb, var(--color-primary) 40%, transparent) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    height: auto !important; top: 0 !important; transform: none !important;
}
/* 顶部彩条移到右上小徽章 */
.tool-card::after{
    content:"";position:absolute;pointer-events:none;z-index:3;
    top:-40px;right:-40px;width:130px;height:130px;
    background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 45%, white) 0%, transparent 70%) !important;
    opacity: 0; transition: opacity .4s ease, transform .45s ease;
    filter: blur(6px);
}
.tool-card:hover {
    transform: translateY(-5px) !important;
    box-shadow:
      0 20px 50px -15px color-mix(in srgb, var(--color-primary) 45%, rgba(0,0,0,.18)),
      0 1px 0 rgba(255,255,255,.85) inset,
      0 0 0 1px color-mix(in srgb, var(--color-primary) 15%, rgba(255,255,255,.3)) inset !important;
    border-color: color-mix(in srgb, var(--color-primary) 40%, white) !important;
}
.tool-card:hover::after{ opacity: 1; transform: translate(-10px,10px) scale(1.2); }

/* 图标容器：磨砂玻璃徽章 */
.tool-icon-wrapper {
    padding: 24px 16px !important;
    background:
      radial-gradient(circle at 30% 20%, rgba(255,255,255,.85) 0%, transparent 50%),
      linear-gradient(160deg,
        rgba(255,255,255,.7) 0%,
        color-mix(in srgb, var(--color-primary) 18%, rgba(255,255,255,.3)) 100%) !important;
    position: relative;
}
.tool-icon-wrapper::after{
    width: 68px !important; height: 68px !important;
    background: var(--grad-primary) !important;
    opacity: .22 !important;
    border-radius: 22px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.tool-card:hover .tool-icon-wrapper {
    background:
      radial-gradient(circle at 25% 15%, rgba(255,255,255,.95) 0%, transparent 50%),
      linear-gradient(160deg,
        rgba(255,255,255,.85) 0%,
        color-mix(in srgb, var(--color-primary) 30%, rgba(255,255,255,.4)) 100%) !important;
}
.tool-card:hover .tool-icon-wrapper::after {
    transform: rotate(35deg) scale(1.18) !important;
    opacity: .38 !important;
}
.tool-icon {
    font-size: 2rem !important;
    filter:
      drop-shadow(0 4px 10px color-mix(in srgb, var(--color-primary) 40%, transparent)) !important;
    background: linear-gradient(145deg, var(--color-primary), color-mix(in srgb, #8b5cf6 60%, var(--color-primary)));
    -webkit-background-clip: text; background-clip: text;
    color: transparent !important;
}
.tool-icon::before{ -webkit-text-fill-color: transparent; }
.tool-card:hover .tool-icon { transform: scale(1.12) rotate(-5deg) !important; }

/* 信息区 */
.tool-info { padding: 16px 18px 18px !important; }
.tool-name {
    font-weight: 700 !important;
    font-size: 1rem !important;
    background: linear-gradient(135deg, #0f172a 0%, #334155 60%, var(--color-primary) 120%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.tool-description { color: #475569 !important; font-size: 0.82rem !important; line-height: 1.55 !important; }

/* CTA按钮：玻璃胶囊 -> hover 液态渐变 */
.tool-url {
    font-size: 0.75rem !important;
    padding: 5px 14px !important;
    background: linear-gradient(145deg, rgba(255,255,255,.75), rgba(255,255,255,.35)) !important;
    color: var(--color-primary) !important;
    border: 1px solid rgba(255,255,255,.7) !important;
    backdrop-filter: blur(10px) saturate(160%);
    box-shadow:
      0 4px 12px -4px rgba(0,0,0,.1),
      0 1px 0 rgba(255,255,255,.8) inset;
    position: relative; overflow: hidden;
}
.tool-url::before{
    content:"";position:absolute;top:0;left:-120%;width:60%;height:100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
}
.tool-card:hover .tool-url {
    background: var(--grad-primary) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    border-color: transparent !important;
    transform: translateY(-1px);
    box-shadow:
      0 8px 20px -4px color-mix(in srgb, var(--color-primary) 55%, rgba(0,0,0,.25)),
      0 1px 0 rgba(255,255,255,.35) inset !important;
}
.tool-card:hover .tool-url::before{ left: 140%; }

/* ---------- 工具分页栏：液态玻璃 ---------- */
.tools-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
}
.tools-pagination-info {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255,255,255,.7);
    padding: 5px 16px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.6) inset;
}
.tools-pagination-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.tp-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255,255,255,.75), rgba(255,255,255,.35)) !important;
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.6) inset;
    transition: all 0.25s ease;
    user-select: none;
}
.tp-btn:hover:not(.disabled):not(.active) {
    background: var(--grad-primary) !important;
    color: #fff;
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 8px 20px -4px color-mix(in srgb, var(--color-primary) 55%, rgba(0,0,0,.25));
}
.tp-btn.active {
    background: var(--grad-primary) !important;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--color-primary) 55%, rgba(0,0,0,.3));
    cursor: default;
}
.tp-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
@media (max-width: 560px){
    .tp-btn { min-width: 32px; height: 32px; font-size: 0.8rem; border-radius: 10px; }
    .tools-pagination { gap: 10px; margin-top: 28px; }
}

/* 响应式断点：大屏4列 / 中屏3列 / 平板2列 / 手机2列（紧凑卡片） */
@media (max-width: 1280px){
  .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px !important; }
}
@media (max-width: 900px){
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important; }
}
@media (max-width: 560px){
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .tool-detail-section .tools-grid { grid-template-columns: 1fr !important; }
  .tools-container { padding: 24px 12px 50px !important; }
  .category-title { font-size: 1.05rem; padding: 10px 12px; }
  /* 两列布局下的紧凑卡片 */
  .tool-icon-wrapper { padding: 14px 10px !important; }
  .tool-icon-wrapper::after {
    width: 46px !important; height: 46px !important;
    border-radius: 14px !important;
  }
  .tool-icon { font-size: 1.5rem !important; }
  .tool-info { padding: 10px 12px 12px !important; }
  .tool-name { font-size: 0.88rem !important; }
  .tool-description {
    font-size: 0.72rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px !important;
  }
  .tool-url { display: flex !important; justify-content: center; width: 100%; box-sizing: border-box; }
}

/* ========== 页脚样式（与壁纸页一致） ========== */
.footer {
    margin-top: 40px;
    padding: 50px 0 70px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.6) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
}
.footer .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-primary);
    opacity: 0.6;
}
.footer::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.footer p {
    color: rgba(0,0,0,0.55);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin: 0;
}
.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    display: inline-block;
}
.footer-slogan {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.4);
    margin-bottom: 20px;
    font-style: italic;
}
.footer-certs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}
.footer-cert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-decoration: none;
}
.footer-cert:hover {
    background: var(--grad-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: transparent;
}
.footer-cert i { font-size: 0.9rem; }
.footer-links {
    margin: 18px 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}
.footer-links a {
    color: rgba(0,0,0,0.55);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    padding: 4px 8px;
    border-radius: 8px;
}
.footer-links a:hover {
    color: var(--color-primary);
    background: rgba(255,255,255,0.5);
    transform: translateY(-1px);
}
.footer-links .sep {
    color: rgba(0,0,0,0.15);
    font-size: 0.7rem;
}
.footer-divider {
    width: 60px;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 1px;
    margin: 15px auto;
    opacity: 0.4;
}
.footer-bottom {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* 宠物特效 */
.pets-container {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    pointer-events: none;
    padding-bottom: 10px;
}
.pet {
    font-size: 1.5rem;
    display: inline-block;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    transform-origin: bottom center;
}
.pet:nth-child(1) { animation-delay: 0s; }
.pet:nth-child(2) { animation-delay: 0.15s; }
.pet:nth-child(3) { animation-delay: 0.3s; }
.pet:nth-child(4) { animation-delay: 0.45s; }
.pet:nth-child(5) { animation-delay: 0.6s; }
.pet:nth-child(6) { animation-delay: 0.75s; }
.pet:nth-child(7) { animation-delay: 0.9s; }
.pet-bounce { animation-name: petBounce; }
.pet-wiggle { animation-name: petWiggle; }
.pet-float { animation-name: petFloat; }
.pet-rainbow { animation-name: petRainbow; }
@keyframes petBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes petWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}
@keyframes petFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-8px) rotate(3deg); }
    66% { transform: translateY(-4px) rotate(-2deg); }
}
@keyframes petRainbow {
    0%, 100% { transform: translateY(0) scale(1); filter: hue-rotate(0deg); }
    50% { transform: translateY(-10px) scale(1.1); filter: hue-rotate(180deg); }
}

/* SSL认证图标 */
.myssl-badge {
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 80px;
    height: auto;
    line-height: 0;
    z-index: 2;
}
.myssl-badge img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}
.myssl-badge:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
@media (max-width: 500px) {
    .myssl-badge { width: 64px; bottom: 5px; right: 8px; }
}
