/* 由 upload.html 内联块抽离（L172-1300，1129 行），内容逐字节保留 */

    /* HTML编辑器相关样式已移除 */
    
    /* 功能导航卡片样式 */
    .feature-card {
        background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e8 100%);
        border: 2px solid #28a745;
        border-radius: 15px;
        padding: 30px 25px;
        text-align: center;
        transition: all 0.3s ease;
        height: 100%;
        position: relative;
        overflow: hidden;
    }
    
    /* Accordion 自定义样式 - 统一绿色主题 */
    #infoAccordion .accordion-item {
        border: 1px solid #e9ecef;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    #infoAccordion .accordion-button {
        background-color: #f8f9fa;
        color: #212529;
        border: none;
        box-shadow: none;
        cursor: pointer;
        pointer-events: auto;
    }
    
    #infoAccordion .accordion-button:not(.collapsed) {
        background-color: #e8f5e8;
        color: #155724;
        box-shadow: none;
    }
    
    #infoAccordion .accordion-button:focus {
        box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
        border-color: #28a745;
    }
    
    #infoAccordion .accordion-body {
        background-color: #ffffff;
        color: #212529;
    }
    
    /* 确保按钮内部元素不阻止点击事件 */
    #infoAccordion .accordion-button * {
        pointer-events: none;
    }
    
    /* 允许按钮内部的链接可以点击 */
    #infoAccordion .accordion-button a,
    #infoAccordion .accordion-body a {
        pointer-events: auto;
        cursor: pointer;
    }
    
    /* 确保按钮本身可以点击 */
    #infoAccordion .accordion-button {
        pointer-events: auto !important;
        user-select: none;
    }
    
    /* 确保按钮内可点击区域正确 */
    #infoAccordion .accordion-button::before {
        pointer-events: none;
    }
    
    /* 两种上传方式说明的图标样式 */
    #uploadMethods .method-icon {
        flex-shrink: 0;
        overflow: hidden;
    }
    
    #uploadMethods .method-icon i {
        display: inline-block;
        width: 100%;
        text-align: center;
        line-height: 1;
    }
    
    /* 优化两种上传方式说明的整体样式 */
    #uploadMethods .accordion-body {
        font-size: 0.875rem;
    }

    .upload-image-hint {
        max-width: 640px;
        text-align: left;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid #86efac;
        border-radius: 10px;
        padding: 0.65rem 0.85rem;
        font-size: 0.8rem;
        line-height: 1.55;
        color: #166534;
        cursor: default;
    }

    .upload-image-hint a {
        cursor: pointer;
    }

    /* 页内说明性链接：统一绿色加粗（否则会落到 Bootstrap 默认蓝色 a 链接） */
    a.upload-inline-link,
    a.upload-inline-link:link,
    a.upload-inline-link:visited,
    a.upload-inline-link:focus,
    a.upload-inline-link:active {
        color: #15803d !important;
        font-weight: 700;
    }
    a.upload-inline-link:hover {
        color: #0f6b30 !important;
    }

    .upload-image-hint code {
        font-size: 0.78rem;
        color: #15803d;
    }

    .method-icon-dk {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e8f5e8;
        flex-shrink: 0;
    }

    .method-icon-dk img {
        width: 18px;
        height: 18px;
    }

    /* 更多文件类型入口卡片 */
    .more-file-types-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid #e5e7eb;
    }

    /* 居中：Bootstrap 的 .row{margin-left/right:calc(-.5*var(--bs-gutter-x))} 与本规则同优先级，
       若 Bootstrap 样式晚于本文件生效（CDN 失败回退/fallback 注入）会把 auto 盖掉 → 卡片整行贴左。
       这里提高选择器优先级并加 !important 锁定居中。 */
    .more-file-types-section .more-file-types-grid {
        max-width: 960px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
    }

    .more-file-type-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: 100%;
        min-height: 148px;
        padding: 1.2rem 0.85rem 1rem;
        background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
        border: 1px solid #bbf7d0;
        border-radius: 14px;
        text-decoration: none;
        color: inherit;
        transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
        position: relative;
        overflow: hidden;
    }

    .more-file-type-card::after {
        content: '→';
        position: absolute;
        top: 0.7rem;
        right: 0.8rem;
        font-size: 0.8rem;
        font-weight: 700;
        color: #16a34a;
        opacity: 0;
        transform: translateX(-6px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .more-file-type-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(22, 163, 74, 0.15);
        border-color: #22c55e;
        background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
        text-decoration: none;
        color: inherit;
    }

    .more-file-type-card:hover::after {
        opacity: 1;
        transform: translateX(0);
    }

    .more-file-type-card:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
        border-color: #22c55e;
    }

    .more-file-type-icon {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: #dcfce7;
        border: 1px solid #86efac;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.7rem;
        flex-shrink: 0;
    }

    .more-file-type-icon img {
        width: 22px;
        height: 22px;
        display: block;
    }

    .more-file-type-card .card-title {
        font-size: 0.88rem;
        font-weight: 700;
        color: #15803d;
        margin-bottom: 0.35rem;
        line-height: 1.35;
    }

    .more-file-type-card .card-desc {
        font-size: 0.74rem;
        color: #64748b;
        line-height: 1.5;
        margin: 0;
    }
    
    /* 响应式设计 - 小屏幕和手机端 */
    @media (max-width: 768px) {
        .file-drop-zone {
            padding: 40px 15px !important;
        }
        
        .file-drop-zone i.fa-cloud-upload-alt {
            font-size: 2.5rem !important;
        }
        
        .file-drop-zone h5 {
            font-size: 1.1rem;
        }
        
        .file-drop-zone p {
            font-size: 0.85rem;
        }
        
        .btn-upload {
            font-size: 1rem !important;
            padding: 0.75rem 1rem !important;
        }
        
        .accordion-button {
            font-size: 0.9rem;
            padding: 0.75rem 1rem;
        }
        
        .accordion-button .badge {
            font-size: 0.7rem;
            padding: 0.25rem 0.5rem;
        }
        
        /* 两种上传方式说明在移动端的优化 */
        #uploadMethods .col-md-6 {
            margin-bottom: 1rem;
        }
        
        #uploadMethods .method-icon {
            width: 32px !important;
            height: 32px !important;
            min-width: 32px !important;
            font-size: 14px !important;
        }
        
        #uploadMethods h6 {
            font-size: 0.85rem !important;
        }
        
        #uploadMethods .small,
        #uploadMethods small {
            font-size: 0.75rem !important;
        }
        
        #uploadMethods .badge {
            font-size: 0.65rem !important;
            padding: 0.15rem 0.3rem !important;
        }
        
        #uploadMethods .btn-sm {
            font-size: 0.7rem !important;
            padding: 0.25rem 0.5rem !important;
        }
    }
    
    @media (max-width: 576px) {
        .card-body {
            padding: 1rem !important;
        }

        .more-file-type-card {
            min-height: 132px;
            padding: 1rem 0.65rem 0.85rem;
        }

        .more-file-type-icon {
            width: 40px;
            height: 40px;
            margin-bottom: 0.55rem;
        }

        .more-file-type-icon img {
            width: 20px;
            height: 20px;
        }

        .more-file-type-card .card-title {
            font-size: 0.82rem;
        }

        .more-file-type-card .card-desc {
            font-size: 0.68rem;
        }
        
        .file-drop-zone {
            padding: 30px 10px !important;
        }
        
        .file-drop-zone i.fa-cloud-upload-alt {
            font-size: 2rem !important;
        }
        
        .file-drop-zone h5 {
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }
        
        .file-drop-zone p {
            font-size: 0.8rem;
            margin-bottom: 0.5rem;
        }
        
        .btn-upload {
            font-size: 0.95rem !important;
            padding: 0.7rem 0.8rem !important;
        }
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    


    
    .feature-card.highlight-card {
        border: 2px solid transparent;
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        color: white;
        position: relative;
    }
    
    .feature-card.highlight-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(40, 167, 69, 0.3);
    }
    
    .feature-card.highlight-card .btn-light {
        background: white;
        color: #28a745;
        border: 2px solid white;
        transition: all 0.3s ease;
    }
    
    .feature-card.highlight-card .btn-light:hover {
        background: #f8f9fa;
        color: #218838;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        background: #e8f5e8;
        color: #28a745;
        font-size: 24px;
    }
    
    .gradient-icon {
        background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
        color: white;
    }
    
    .feature-card h5 {
        font-weight: 600;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }
    
    .feature-card p {
        margin-bottom: 15px;
        font-size: 0.9rem;
    }
    
    .feature-badges {
        margin-bottom: 15px;
    }
    
    .feature-badges .badge {
        margin: 2px;
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    
    .upload-section {
        margin-top: 20px;
    }
    
    /* 上传进度样式 */
    .upload-progress {
        display: none;
        margin-top: 15px;
    }
    
    /* 文件拖拽区域样式 */
    .file-drop-zone {
        border: 3px dashed #28a745;
        border-radius: 15px;
        padding: 60px 20px;
        text-align: center;
        transition: all 0.3s ease;
        background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e8 100%);
        margin-bottom: 20px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }
    
    .file-drop-zone:hover {
        border-color: #218838;
        background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
    }
    
    .file-drop-zone::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 30%, rgba(0, 123, 255, 0.05) 50%, transparent 70%);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }
    
    .file-drop-zone:hover::before {
        transform: translateX(100%);
    }
    
    .file-drop-zone.dragover {
        border-color: #28a745;
        background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
        transform: scale(1.02);
        box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
    }

    /* 发布新版：强提示条 + 上传区锁定态（绿/白/黑统一，文件名只强调一次样式） */
    .publish-version-banner {
        background: #111;
        color: #fff;
        border-radius: 12px;
        padding: 14px 16px;
        border-left: 5px solid #059669;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    }
    .publish-version-banner .pv-top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px 14px;
        margin-bottom: 8px;
    }
    .publish-version-banner .pv-title {
        font-size: 1.05rem;
        font-weight: 700;
        margin: 0;
        line-height: 1.35;
    }
    .publish-version-banner .pv-desc {
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.82);
        margin: 0 0 12px;
        line-height: 1.45;
    }
    .publish-version-banner .pv-file-chip,
    .file-drop-zone.publish-version-mode .pv-zone-target {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        max-width: 100%;
        background: #059669;
        color: #fff;
        font-weight: 700;
        font-size: 0.95rem;
        padding: 7px 12px;
        border-radius: 8px;
        border: none;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        word-break: break-all;
        text-align: left;
    }
    .publish-version-banner .pv-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 12px;
        align-items: center;
    }
    .publish-version-banner .btn-switch-new {
        background: #fff;
        color: #111;
        border: none;
        font-weight: 600;
        font-size: 0.875rem;
        padding: 7px 12px;
        border-radius: 8px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .publish-version-banner .btn-switch-new:hover {
        background: #ecfdf5;
        color: #047857;
    }
    .publish-version-banner .pv-switch-hint {
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.8rem;
    }
    .publish-version-banner .pv-warn {
        color: #fca5a5;
        font-size: 0.85rem;
        margin: 0 0 10px;
    }
    .file-drop-zone.publish-version-mode {
        border: 3px dashed #059669;
        background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 50%);
        box-shadow: none;
        padding: 40px 20px 36px !important;
    }
    .file-drop-zone.publish-version-mode:hover {
        border-color: #047857;
        border-style: dashed;
        background: linear-gradient(180deg, #dcfce7 0%, #ffffff 55%);
        box-shadow: 0 6px 18px rgba(5, 150, 105, 0.15);
    }
    .file-drop-zone.publish-version-mode .pv-zone-badge {
        display: inline-block;
        background: #059669;
        color: #fff;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        padding: 3px 10px;
        border-radius: 999px;
        margin-bottom: 10px;
    }
    .file-drop-zone.publish-version-mode .pv-zone-target {
        margin: 10px 0 8px;
        font-size: 1.05rem;
    }
    .file-drop-zone.publish-version-mode .pv-zone-hint {
        color: #047857;
        font-weight: 600;
        font-size: 0.875rem;
    }
    .card.publish-version-card {
        border-color: #059669 !important;
    }
    .publish-version-switch-link {
        color: #047857;
        font-weight: 600;
    }
    .publish-version-switch-link:hover {
        color: #065f46;
    }
    
    /* 全页面拖拽覆盖层 */
    .page-drag-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(40, 167, 69, 0.1);
        backdrop-filter: blur(5px);
        z-index: 9999;
        display: none;
        align-items: center;
        justify-content: center;
    }
    
    .page-drag-overlay.active {
        display: flex;
    }
    
    .drag-message {
        background: white;
        padding: 40px;
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        text-align: center;
        border: 3px dashed #28a745;
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }
    
    /* 已选文件列表样式优化 */
    .selected-files-container {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 16px;
        margin-top: 20px;
        border: 1px solid #e9ecef;
    }
    
    .file-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        margin-bottom: 6px;
        background: white;
        border-radius: 8px;
        border: 1px solid #e9ecef;
        transition: all 0.2s ease;
        min-height: 50px;
    }
    
    .file-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
        border-color: #28a745;
    }
    
    .file-item.duplicate {
        border-color: #dc3545;
        background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    }
    
    .file-item.chinese {
        border-color: #ffc107;
        background: linear-gradient(135deg, #fffbf0 0%, #fff3cd 100%);
    }
    
    .file-info {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
    }
    
    .file-icon {
        width: 32px;
        height: 32px;
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        margin-right: 10px;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .file-details {
        flex: 1;
        min-width: 0;
    }
    
    .file-name {
        font-weight: 500;
        margin-bottom: 2px;
        font-size: 14px;
        color: #2d3748;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .file-size {
        font-size: 11px;
        color: #718096;
    }
    
    .file-actions {
        display: flex;
        align-items: center;
        margin-left: 8px;
        flex-shrink: 0;
    }
    
    .remove-file-btn {
        background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
        color: white;
        border: none;
        border-radius: 6px;
        min-width: 50px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 11px;
        font-weight: 500;
        padding: 0 6px;
        box-shadow: 0 1px 3px rgba(245, 101, 101, 0.3);
    }
    
    .remove-file-btn:hover {
        background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(245, 101, 101, 0.4);
    }
    
    .remove-file-btn:active {
        transform: translateY(0);
        box-shadow: 0 1px 3px rgba(245, 101, 101, 0.3);
    }
    
    /* 点击提示动画 */
    .click-hint {
        position: absolute;
        top: 20px;
        right: 20px;
        background: #28a745;
        color: white;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 12px;
        animation: bounce 2s infinite;
        z-index: 10;
    }
    
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
        40% { transform: translateY(-10px); }
        60% { transform: translateY(-5px); }
    }
    
    /* 上传结果弹窗样式 */
    .error-details {
        max-height: 400px;
        overflow-y: auto;
    }
    
    .modal-header.bg-success {
        background-color: #28a745 !important;
    }
    
    .modal-header.bg-danger {
        background-color: #dc3545 !important;
    }
    
    .modal-header.bg-warning {
        background-color: #ffc107 !important;
        color: #212529 !important;
    }
    
    .upload-result-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .upload-result-title {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }
    
    .file-result-item {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        margin-bottom: 8px;
        border-radius: 8px;
        font-size: 14px;
        border-left: 4px solid;
    }
    
    .file-result-item.success {
        background: #e8f5e8;
        border-left-color: #4caf50;
        color: #2e7d32;
    }
    
    .file-result-item.error {
        background: #ffebee;
        border-left-color: #f44336;
        color: #d32f2f;
    }
    
    .file-result-icon {
        margin-right: 10px;
        font-size: 16px;
    }
    
    .auto-redirect-notice {
        background: #e3f2fd;
        border: 1px solid #2196f3;
        border-radius: 8px;
        padding: 15px;
        margin-top: 20px;
        text-align: center;
    }
    
    .countdown-timer {
        font-weight: bold;
        color: #1976d2;
    }
    
    @keyframes scaleIn {
        0% {
            transform: scale(0);
            opacity: 0;
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }
    
    /* 上传成功弹窗优化样式 */
    .upload-success-modal .modal-content {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(40, 167, 69, 0.3) !important;
    }
    
    .upload-success-modal .modal-header {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
        padding: 1.1rem 1.5rem;
        border: none;
    }

    .upload-success-modal .modal-body {
        padding: 1.15rem 1.35rem !important;
    }

    /* 弹窗内标题区（原先的大 logo 已移除：与顶栏「发布成功」重复） */
    .upload-success-intro {
        margin-bottom: 1.1rem;
    }

    .upload-success-title {
        font-weight: 700;
        color: #28a745;
        font-size: 1.45rem;
        margin-bottom: 0.45rem;
    }

    .upload-success-title.is-warning {
        color: #d39e00;
    }

    .upload-success-title.is-danger {
        color: #dc3545;
    }

    .upload-success-subtitle {
        color: #6c757d;
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    .tool-url-card {
        background: white;
        border: 2px solid #e8f5e8;
        border-radius: 12px;
        padding: 1.25rem;
        margin-bottom: 1rem;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    /* 上传成功弹窗：卡片内的作品链接（大字号直出 + 一键复制；不再另起重复区块） */
    a.tool-link-url:link,
    a.tool-link-url:visited,
    a.tool-link-url:focus,
    a.tool-link-url:active {
        display: block;
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.45;
        color: #15803d !important;
        word-break: break-all;
        text-decoration: none;
        margin-bottom: 0.7rem;
    }

    a.tool-link-url:hover {
        color: #0f6b30 !important;
        text-decoration: underline;
    }

    .tool-link-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tool-link-actions .btn {
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        padding: 0.45rem 1.1rem;
    }

    .tool-link-actions .btn-success {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
    
    .tool-url-card:hover {
        border-color: #28a745;
        box-shadow: 0 4px 16px rgba(40, 167, 69, 0.15);
        transform: translateY(-2px);
    }
    
    .tool-url-card .tool-name {
        font-size: 0.95rem;
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
    }
    
    .tool-url-card .tool-name i {
        color: #28a745;
        margin-right: 0.5rem;
        font-size: 1rem;
    }
    
    .tool-url-input-group {
        display: flex;
        gap: 0.5rem;
    }
    
    .tool-url-input-group input {
        flex: 1;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 0.6rem 1rem;
        font-size: 0.875rem;
        background: #f8f9fa;
        transition: all 0.2s ease;
    }
    
    .tool-url-input-group input:focus {
        border-color: #28a745;
        background: white;
        box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
        outline: none;
    }
    
    .tool-url-input-group .btn-copy {
        border-radius: 8px;
        padding: 0.6rem 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        min-width: 80px;
    }
    
    .tool-url-input-group .btn-copy:disabled {
        opacity: 1;
        cursor: default;
    }
    
    .tool-url-input-group .btn-copy.btn-success {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        border: none;
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
        animation: copySuccess 0.3s ease-out;
    }
    
    @keyframes copySuccess {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
        100% {
            transform: scale(1);
        }
    }
    
    .tool-url-input-group .btn-visit {
        border-radius: 8px;
        padding: 0.6rem 1.25rem;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
        transition: all 0.2s ease;
    }
    
    .tool-url-input-group .btn-visit:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }
    
    .tool-qrcode-wrapper-container {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid #e8f5e8;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .tool-qrcode-container {
        text-align: center;
        padding: 0.75rem 0.6rem;
        border: 2px dashed #28a745;
        border-radius: 8px;
        background: #f8fff9;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
    }
    
    /* 响应式：小屏幕时二维码垂直排列 */
    @media (max-width: 576px) {
        .tool-qrcode-wrapper-container {
            grid-template-columns: minmax(0, 1fr);
            gap: 0.75rem;
        }
    }
    
    .tool-qrcode-title {
        font-size: 0.8rem;
        color: #28a745;
        font-weight: 600;
        margin-bottom: 0.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
    }
    
    .tool-qrcode-desc {
        font-size: 0.7rem;
        color: #6c757d;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .tool-qrcode-title i {
        font-size: 0.9rem;
    }
    
    .tool-qrcode-wrapper {
        display: inline-block;
        padding: 0.5rem;
        background: #ffffff;
        border: 2px solid #e8f5e8;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        margin-bottom: 0.5rem;
    }
    
    .tool-qrcode-wrapper img {
        display: block;
        width: 128px;
        height: 128px;
        max-width: none;
        flex-shrink: 0;
        object-fit: contain;
    }
    
    .tool-qrcode-actions {
        display: flex;
        gap: 0.5rem;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .tool-qrcode-actions .btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
        border-radius: 6px;
        min-width: 70px;
    }
    
    /* 加载/失败占位：与二维码同高，避免两栏高低不齐或被下方内容挤压遮挡 */
    .tool-qrcode-loading {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        min-height: 128px;
        padding: 0.5rem;
        color: #6c757d;
        font-size: 0.78rem;
        line-height: 1.5;
        text-align: center;
        word-break: break-word;
    }
    
    .upload-modal-footer {
        background: #f8f9fa;
        border-top: 1px solid #e9ecef;
        padding: 1rem 1.5rem;
    }
    
    .upload-modal-footer .btn {
        min-width: 130px;
        padding: 0.6rem 1.35rem;
        font-weight: 600;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .upload-modal-footer .btn-success {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        border: none;
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }
    
    .upload-modal-footer .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    }
    
    .upload-modal-footer .btn-outline-success {
        border: 2px solid #28a745;
        color: #28a745;
    }
    
    .upload-modal-footer .btn-outline-success:hover {
        background: #28a745;
        color: white;
        transform: translateY(-2px);
    }
    
    .upload-modal-footer .btn-secondary {
        background: #6c757d;
        border: none;
        color: white;
    }
    
    .upload-modal-footer .btn-secondary:hover {
        background: #5a6268;
        transform: translateY(-2px);
    }
