
        
        
        body {
            background-color: #A5F1AB;
            background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0z' fill='%23e6f2ff'/%3E%3Cpath d='M0 0h20v1H0zM0 0h1v20H0z' stroke='%23a3d0ff' fill='none'/%3E%3C/svg%3E");
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        
        .header {
            background: linear-gradient(135deg, #1cc088 0%, #0C9F6D 100%);
            color: white;
            padding: 2rem 0;
            margin: 60px auto 2rem;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            width: calc(100% - 40px);
            max-width: 1300px;
        }
        
        .card {
            border-radius: 15px;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.22);
            margin-bottom: 20px;
            border: none;
        }
        
        .card-body {
            padding: 25px;
        }
        
        .card-title {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.3rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
        }
        
        .card-title i {
            margin-right: 10px;
            font-size: 1.4rem;
            color: #ff7675;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #1cc088 0%, #0C9F6D 100%);
            border: none;
            padding: 10px 25px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            background: linear-gradient(135deg, #0C9F6D 0%, #1cc088 100%);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .form-control, .form-select {
            border-radius: 10px;
            padding: 12px 15px;
            border: 1px solid #e0e0e0;
        }
        
        .preview-badge {
            max-width: 100%;
            height: auto;
            margin: 20px 0;
            border-radius: 5px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .color-option {
            display: inline-block;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            margin-right: 5px;
            vertical-align: middle;
        }
        
        .badge-example {
            display: inline-block;
            margin: 0 10px 10px 0;
        }
        
        .code-container {
            margin-top: 30px;
            margin-bottom: 15px;
        }
        
        .code-card {
            width: 100%;
            margin-bottom: 20px;
        }
        
        .code-title {
            color: #6a11cb;
            font-weight: bold;
            margin-bottom: 5px;
            font-family: 'Courier New', Courier, monospace;
        }
        
        .code-block {
            background-color: #1e1e1e;
            padding: 15px;
            border-radius: 8px;
            font-family: 'Courier New', Courier, monospace;
            overflow-x: auto;
            white-space: nowrap;
            color: #ffffff;
            margin-bottom: 10px;
            border: 1px solid #3a3a3a;
        }
        
        .code-block code {
            display: block;
            white-space: pre;
            line-height: 1.5;
            color: #ffffff;
            overflow-x: scroll;
            -webkit-overflow-scrolling: touch;
        }
        
        /* 灰色滚动条样式 */
        .code-block::-webkit-scrollbar {
            height: 8px;
        }
        
        .code-block::-webkit-scrollbar-track {
            background: #2a2a2a;
            border-radius: 4px;
        }
        
        .code-block::-webkit-scrollbar-thumb {
            background: #b0b0b0;
            border-radius: 4px;
        }
        
        .code-block::-webkit-scrollbar-thumb:hover {
            background: #606060;
        }
        
        .copy-btn {
            background: linear-gradient(135deg, #1cc088 0%, #0C9F6D 100%);
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .copy-btn:hover {
            background: linear-gradient(135deg, #0C9F6D 0%, #1cc088 100%);
            transform: translateY(-1px);
        }
        
        .copy-btn i {
            margin-right: 5px;
        }
        
        .download-btn {
            background: linear-gradient(135deg, #20b2aa 0%, #32cd32 100%);
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            margin-top: 10px;
        }
        
        .download-btn:hover {
            background: linear-gradient(135deg, #008080 0%, #2e8b57 100%);
            transform: translateY(-1px);
        }
        
        .download-btn i {
            margin-right: 5px;
        }
        
        .loading-spinner {
            display: none;
            width: 40px;
            height: 40px;
            margin: 20px auto;
            border: 4px solid rgba(106, 17, 203, 0.2);
            border-radius: 50%;
            border-top: 4px solid #6a11cb;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .notification {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #ff7675;
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            display: none;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translate(-50%, -20px); }
            to { opacity: 1; transform: translate(-50%, 0); }
        }
        
        .container {
            flex: 1;
        }
        
        .color-input-group {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }
        
        .color-preview {
            width: 30px;
            height: 30px;
            border-radius: 5px;
            border: 1px solid #ced4da;
        }
        
        .preview-actions {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
        }
        
        /* SVG生成计数器样式 */
        .counter-display {
            text-align: center;
            font-size: 0.9rem;
            margin: 10px 0;
            padding: 8px 15px;
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
            border-radius: 50px;
            display: inline-block;
            margin: 20px auto -5px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        
        .counter-display i {
            color: #ff7675;
            margin-right: 8px;
            animation: pulse 1.5s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .mint-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 24px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            color: white;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
            background: linear-gradient(135deg, #18B781, #4ED8A0);
            box-shadow: 0 4px 6px rgba(24, 183, 129, 0.2);
        }
        
        .mint-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(24, 183, 129, 0.3);
            background: linear-gradient(135deg, #4ED8A0, #18B781);
        }
        
        .mint-btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 4px rgba(24, 183, 129, 0.3);
        }
        
        .mint-btn::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -60%;
            width: 20%;
            height: 200%;
            opacity: 0;
            transform: rotate(30deg);
            background: linear-gradient(
                to right,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.3) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            transition: all 0.7s ease-out;
        }
        
        .mint-btn:hover::after {
            left: 120%;
            opacity: 0.8;
        }
        
        .mint-btn i {
            margin-right: 8px;
        }
        
        /* 页脚样式 */
        .footer {
            margin-top: auto;
            padding: 20px 0px;
            color: #343a40;
        }
        
        .footer p {
            line-height: 0.8;
        }
        
        .footer a {
            text-decoration: none;
            color: #555555;
        }
        
        .footer a:hover {
            color: #1cc088;
            text-decoration: none;
        }
        
        /* 生成徽章效果 */
        .full-overlay-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 24px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            color: white;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
            background: linear-gradient(135deg, #18B781, #4ED8A0);
            box-shadow: 0 4px 6px rgba(24, 183, 129, 0.3);
            width: 100%;
            margin-top: 1rem;
        }
        
        .full-overlay-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(24, 183, 129, 0.4);
            background: linear-gradient(135deg, #4ED8A0, #18B781);
        }
        
        .full-overlay-btn:active:not(.loading) {
            transform: translateY(0);
            box-shadow: 0 2px 4px rgba(24, 183, 129, 0.3);
        }
        
        .full-overlay-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.3),
                transparent
            );
            transition: all 0.7s ease;
        }
        
        .full-overlay-btn:hover::before {
            left: 100%;
        }
        
        .full-overlay-btn i,
        .full-overlay-btn .button-text {
            position: relative;
            z-index: 2;
            transition: all 0.3s ease;
        }
        
        .full-overlay-btn i {
            margin-right: 8px;
        }
        
        /* 加载覆盖层 */
        .full-loading-overlay {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, #18B781, #4ED8A0);
            border-radius: 8px;
            justify-content: center;
            align-items: center;
            z-index: 3;
        }
        
        /* 加载旋转动画 */
        .full-loading-spinner {
            width: 24px;
            height: 24px;
            border: 3px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s linear infinite;
        }
        
        /* 加载状态样式 */
        .full-overlay-btn.loading {
            pointer-events: none;
        }
        
        .full-overlay-btn.loading i,
        .full-overlay-btn.loading .button-text {
            opacity: 0;
        }
        
        .full-overlay-btn.loading .full-loading-overlay {
            display: flex;
        }
        
        .loading-spinner {
            display: inline-block;
            width: 5rem;
            height: 5rem;
            border: 0.25em solid rgba(59, 185, 115, 0.2);
            border-right-color: #179657;
            border-radius: 50%;
            animation: spinner-border 0.75s linear infinite;
        }
        
        .badge-container {
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 10px;
            margin: 20px auto;
            max-width: 900px;
        }
        
        .badge-item {
            text-align: center;
            padding: 15px;
        }
        
        .badge-example {
            margin-bottom: 10px;
        }
        
        /* 自定义样式 */
    .text-gradient-primary {
        background: linear-gradient(45deg, #6a11cb, #2575fc);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    
    .emoji-display {
        font-size: 3.5rem;
        transition: transform 0.3s ease;
    }
    
    .emoji-display:hover {
        transform: rotate(15deg) scale(1.1);
    }
    
    .badge-card {
        transition: all 0.3s ease;
        border: 1px solid rgba(0,0,0,0.05);
    }
    
    .badge-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .badge-caption {
        transition: color 0.3s ease;
    }
    
    .badge-card:hover .badge-caption {
        color: #495057 !important;
    }
        
/* 基础样式 - 加粗 */
.badge-preview-title {
  font-weight: bold;
  position: relative;
  display: inline-block;
}

/* 绿色流光效果 */
.badge-preview-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(0,255,0,0) 0%, 
    rgba(50,205,50,1) 50%, 
    rgba(0,255,0,0) 100%);
  animation: shine 1s infinite;
}

/* 流光动画 */
@keyframes shine {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}
/* 悬浮效果 */
 .settings-title {
    transition: all 0.2s ease-out; /* 加快动画速度，使用ease-out让结尾更突出 */
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
    font-size: 1rem;
  }
  
  .settings-title:hover {
    transform: translateY(-4px); /* 上浮距离加倍 */
    font-size: 1.1rem; /* 放大10% */
  }
  
  .settings-title:hover i {
    color: #0066cc; /* 使用更深的蓝色 */
    transform: scale(1.1); /* 图标也单独放大 */
  }
  
  .settings-title i {
    transition: all 0.2s ease-out; /* 为图标添加单独过渡 */
    display: inline-block; /* 使transform生效 */
  }
  /* 悬浮放大效果 */
  .oneki-stat {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 1.5); /* 弹性动画效果 */
}

.oneki-stat:hover {
  transform: scale(1.25); /* 放大25%，比之前更大 */
}

.oneki-stat:hover img {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)); /* 更明显的阴影 */
}