 :root {
            --primary-color: #4361ee;
            --secondary-color: #3f37c9;
            --accent-color: #4895ef;
            --danger-color: #f72585;
            --success-color: #4cc9f0;
            --light-color: #f8f9fa;
            --dark-color: #212529;
            --border-radius: 8px;
            --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        /* 新增价格横条样式 */
        .price-ticker {
            background-color: #1a1a2e;
            color: white;
            padding: 10px 0;
            overflow: hidden;
            white-space: nowrap;
            margin-bottom: 20px;
            border-radius: var(--border-radius);
        }
        
        .price-ticker-container {
            display: inline-block;
            animation: ticker 20s linear infinite;
        }
        
        .price-ticker-item {
            display: inline-block;
            margin: 0 30px;
            font-size: 14px;
        }
        
        .price-ticker-item .coin-name {
            font-weight: bold;
            margin-right: 5px;
        }
        
        .price-ticker-item .price {
            color: #4cc9f0;
            margin-right: 5px;
        }
        
        .price-ticker-item .change {
            padding: 2px 5px;
            border-radius: 3px;
            font-weight: bold;
        }
        
        .price-ticker-item .change.positive {
            background-color: rgba(40, 167, 69, 0.2);
            color: #28a745;
        }
        
        .price-ticker-item .change.negative {
            background-color: rgba(220, 53, 69, 0.2);
            color: #dc3545;
        }
        
        @keyframes ticker {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f0f2f5;
            color: var(--dark-color);
            line-height: 1.6;
        }
        
        h1 {
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 30px;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
        }
        
        h1::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(to right, var(--primary-color), var(--success-color));
            border-radius: 3px;
        }
        h6 {
            text-align: center;
            margin-bottom: 30px;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
        }
        
       h6 a {
    color: black;
    font-weight: normal;
    text-decoration: none;
  }
        
        .container {
            background-color: white;
            padding: 25px;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            margin-bottom: 30px;
        }
        
        .section-title {
            font-size: 1.2rem;
            color: var(--secondary-color);
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 1px solid #eee;
        }
        
        .token-card {
            border: 1px solid #e0e0e0;
            border-radius: var(--border-radius);
            padding: 15px;
            margin-bottom: 15px;
            background-color: white;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            position: relative;
        }
        
        .token-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .token-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .token-name {
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--dark-color);
        }
        
        .token-address {
            font-family: monospace;
            font-size: 0.85rem;
            color: #666;
            word-break: break-all;
            margin: 5px 0;
        }
        
        .price-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .price {
            font-weight: bold;
            font-size: 1.2rem;
            color: var(--dark-color);
        }
        
        .change {
            padding: 3px 10px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .positive {
            background-color: rgba(40, 167, 69, 0.1);
            color: #28a745;
        }
        
        .negative {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
        }
        
        .neutral {
            background-color: rgba(108, 117, 125, 0.1);
            color: #6c757d;
        }
        
        .token-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 10px;
            font-size: 0.9rem;
            color: #666;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark-color);
        }
        
        input, select {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            box-sizing: border-box;
            font-size: 1rem;
            transition: border 0.3s;
        }
        
        input:focus, select:focus {
            border-color: var(--accent-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(72, 149, 239, 0.2);
        }
        
        button {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: var(--border-radius);
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        button:hover {
            background-color: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        button:active {
            transform: translateY(0);
        }
        
        button:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 20px;
            background-color: var(--primary-color);
            color: white;
            border-radius: var(--border-radius);
            display: none;
            z-index: 1000;
            box-shadow: var(--box-shadow);
            animation: slideIn 0.3s ease-out;
            max-width: 300px;
        }
        
        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        
        .add-token-btn {
            background-color: var(--accent-color);
            margin-top: 10px;
        }
        
        .remove-token-btn {
            background-color: var(--danger-color);
            padding: 6px 12px;
            font-size: 0.9rem;
        }
        
        .test-sound-btn {
            background-color: var(--success-color);
            padding: 6px 12px;
            font-size: 0.9rem;
            margin-left: 10px;
        }
        
        .action-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        
        .settings-row {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .settings-row label {
            margin-bottom: 0;
        }
        
        .chain-icon {
            width: 20px;
            height: 20px;
            margin-right: 8px;
            vertical-align: middle;
        }
        
        .empty-state {
            text-align: center;
            padding: 30px;
            color: #6c757d;
        }
        
        .empty-state img {
            width: 100px;
            opacity: 0.6;
            margin-bottom: 15px;
        }
        
        .loading-spinner {
            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 1s ease-in-out infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .badge {
            display: inline-block;
            padding: 3px 8px;
            font-size: 0.75rem;
            font-weight: 600;
            line-height: 1;
            text-align: center;
            white-space: nowrap;
            vertical-align: baseline;
            border-radius: 10px;
            background-color: var(--light-color);
            color: var(--dark-color);
        }
        
        .badge-primary {
            background-color: var(--primary-color);
            color: white;
        }
              .token-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            padding: 15px;
            justify-content: flex-start;
        }
        
        .token-link {
            display: inline-block;
            padding: 8px 12px;
            background-color: #f0f2f5;
            border-radius: 6px;
            text-decoration: none;
            color: #1a73e8;
            font-size: 14px;
            white-space: nowrap;
            transition: all 0.3s ease;
        }
        
        .token-link:hover {
            background-color: #e0e5eb;
            text-decoration: none;
        }
        
        /* 移动端适配 */
        @media (max-width: 768px) {
            .token-container {
                gap: 10px;
                padding: 10px;
            }
            
            .token-link {
                padding: 6px 10px;
                font-size: 13px;
                flex: 1 0 calc(50% - 10px); /* 每行显示2个 */
                text-align: center;
                white-space: normal;
            }
            
            /* 移动端调整价格横条 */
            .price-ticker {
                padding: 8px 0;
            }
            
            .price-ticker-item {
                margin: 0 15px;
                font-size: 12px;
            }
        }
        
        @media (max-width: 480px) {
            .token-link {
                flex: 1 0 100%; /* 小屏幕上每行显示1个 */
            }
            
            .price-ticker-item {
                margin: 0 10px;
            }
        }
        .container img.header-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}
 .hidden-links {
            display: none;
            padding: 15px;
            background: #f5f5f5;
            border-radius: 5px;
            margin-top: 10px;
        }
        .toggle-btn {
            padding: 8px 15px;
            background: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .token-link {
            display: inline-block;
            margin: 5px;
            color: #333;
            text-decoration: none;
            padding: 3px 8px;
            border: 1px solid #ddd;
            border-radius: 3px;
        }
        .token-link:hover {
            background: #f0f0f0;
        }
         /* 语言切换器样式 */
        .language-switcher {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
        }
        
        .language-btn {
            background-color: #4361ee;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .language-dropdown {
            display: none;
            position: absolute;
            right: 0;
            top: 40px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            min-width: 150px;
            overflow: hidden;
        }
        
        .language-dropdown.show {
            display: block;
        }
        
        .language-option {
            padding: 10px 15px;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .language-option:hover {
            background-color: #f0f0f0;
        }
        
        @media (max-width: 768px) {
            .language-switcher {
                top: 10px;
                right: 10px;
            }
        }