   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #1a2a6c, #2c3e50, #4A235A);
            color: #f8f9fa;
            min-height: 100vh;
            padding: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
       
		.modal {
			position: fixed;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, 0.8);
			z-index: 1000;
			display: flex;
			justify-content: center;
			align-items: center;
			/* 添加过渡效果 */
			transition: opacity 0.3s ease;
		}
		
		 
		/* 登录成功后完全隐藏模态框 */
		.modal.hidden  {
			opacity: 0;
			pointer-events: none;
		}
 
		.modal-content {
		background: rgba(25, 30, 46, 0.95);
		padding: 30px;
		border-radius: 15px;
		width: 100%;
		max-width: 400px;
		box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
		}
		
		.modal-content h2 {
		color: #FFD700;
		margin-bottom: 20px;
		text-align: center;
		}
		
		.login-btn {
		width: 100%;
		padding: 14px;
		background: linear-gradient(to right, #4CAF50, #2E7D32);
		color: white;
		border: none;
		border-radius: 10px;
		font-size: 1.1rem;
		font-weight: 600;
		cursor: pointer;
		margin-top: 15px;
		transition: all 0.3s ease;
		}
		
		.login-btn:hover {
		background: linear-gradient(to right, #2E7D32, #4CAF50);
		transform: translateY(-2px);
		}
		
		.error-message {
		color: #FF6B6B;
		margin-top: 10px;
		text-align: center;
		font-size: 0.9rem;
		min-height: 20px;
		}
		
		.hidden {
		display: none !important;
		}
 
		.container {
			position: relative;
			max-width: 1200px;
			width: 100%;
			background: rgba(25, 30, 46, 0.85);
			backdrop-filter: blur(10px);
			border-radius: 20px;
			overflow: hidden;
			box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
			border: 1px solid rgba(255, 255, 255, 0.1);
			padding-top: 60px; /* 为税费按钮留出空间 */
		}
        
        header {
				
            background: linear-gradient(to right, #1e3c72, #2a5298);
            padding: 20px 15px;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
        }
        
        header h1 {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: #FFD700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
        }
        
        header p {
            font-size: 1rem;
            opacity: 0.9;
            max-width: 800px;
            margin: 0 auto;
            color: #E0E0E0;
        }
        
        .datetime {
            margin-top: 10px;
            font-size: 0.85rem;
            color: #B0BEC5;
        }
        
		.tax-toggle-container {
			position: fixed;
			top: 20px;
			right: 20px;
			display: flex;
			align-items: center;
			justify-content: center;
			background: rgba(30, 40, 60, 0.7);
			padding: 10px 15px;
			border-radius: 50px;
			box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
			z-index: 100;
			transition: all 0.3s ease;
		}
        .tax-toggle-label {
            margin-right: 12px;
            font-weight: 500;
            color: #E0E0E0;
            font-size: 1rem;
        }
        
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 70px;
            height: 34px;
        }
        
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to right, #4361ee, #3a0ca3);
            transition: .4s;
            border-radius: 34px;
        }
        
        .slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .slider {
            background: linear-gradient(to right, #4CAF50, #2E7D32);
        }
        
        input:checked + .slider:before {
            transform: translateX(36px);
        }
        
        .slider-text {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 12px;
            font-weight: bold;
            color: white;
            width: 100%;
            text-align: center;
            pointer-events: none;
            z-index: 1;
        }
        
        .slider-text.off   {
            right: 15px;
        }
        
        .slider-text.on   {
            left: 15px;
        }
        
        .content {
            display: flex;
            padding: 20px 15px;
            gap: 20px;
            flex-direction: column;
        }
        
 
		.input-section {
			width: 100%;
			min-width: 300px;
			background: rgba(30, 40, 60, 0.7);
			border-radius: 15px;
			padding: 20px;
			box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
			box-sizing: border-box;
		}
        
        .results-section {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .card {
            background: rgba(40, 50, 75, 0.7);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        }
        
        .card.copper   {
            background: linear-gradient(to bottom right, rgba(184, 115, 51, 0.3), rgba(40, 50, 75, 0.8));
        }
        
        .card.gold   {
            background: linear-gradient(to bottom right, rgba(255, 215, 0, 0.2), rgba(40, 50, 75, 0.8));
        }
        
        .card.silver   {
            background: linear-gradient(to bottom right, rgba(192, 192, 192, 0.2), rgba(40, 50, 75, 0.8));
        }
        
        .card-title {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .card-title i {
            font-size: 1.5rem;
            margin-right: 12px;
        }
        
        .card-title.copper   i {
            color: #b87333;
        }
        
        .card-title.gold   i {
            color: #FFD700;
        }
        
        .card-title.silver   i {
            color: #C0C0C0;
        }
        
        .card-title h2 {
            font-size: 1.4rem;
        }
        
        .value-item {
            display: flex;
            justify-content: space-between;
            margin: 12px 0;
            padding: 8px 0;
            border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
        }
        
        .value-label {
            font-weight: 500;
            color: #E0E0E0;
            font-size: 0.95rem;
        }
        
        .value-amount {
            font-weight: 600;
            font-size: 1rem;
            color: #64FFDA;
        }
        
        .cost-detail {
            font-size: 0.8rem;
            color: #B0BEC5;
            margin-top: 5px;
        }
        
        .input-group {
            margin-bottom: 20px;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #E0E0E0;
            display: flex;
            align-items: center;
            font-size: 0.95rem;
        }
        
        .input-group label i {
            margin-right: 8px;
            width: 22px;
            text-align: center;
            font-size: 0.95rem;
        }
        
        .input-group input {
            width: 100%;
            padding: 12px 15px;
            background: rgba(20, 25, 40, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: #fff;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .input-group input:focus {
            outline: none;
            border-color: #4361ee;
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.3);
        }
        
        .calculate-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(to right, #4361ee, #3a0ca3);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
            box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
        }
        
        .calculate-btn:hover {
            background: linear-gradient(to right, #3a0ca3, #4361ee);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(67, 97, 238, 0.6);
        }
        
        .formula-section {
            margin-top: 25px;
            padding: 15px;
            background: rgba(30, 40, 60, 0.7);
            border-radius: 15px;
            font-size: 0.9rem;
        }
        
        .formula-section h3 {
            margin-bottom: 12px;
            color: #FFD700;
            display: flex;
            align-items: center;
            font-size: 1.1rem;
        }
        
        .formula-section h3 i {
            margin-right: 8px;
            font-size: 1rem;
        }
        
        .formula-item {
            margin: 10px 0;
            color: #B0BEC5;
            line-height: 1.5;
            font-size: 0.85rem;
        }
        
        .tax-info {
            margin-top: 8px;
            padding: 8px;
            background: rgba(67, 160, 71, 0.2);
            border-radius: 8px;
            border-left: 4px solid #4CAF50;
            font-size: 0.85rem;
        }
        
        footer {
            text-align: center;
            padding: 15px;
            background: rgba(20, 25, 40, 0.7);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #B0BEC5;
            font-size: 0.8rem;
        }
        
        .warning {
            color: #FF6B6B;
            font-weight: 500;
            margin-top: 5px;
            font-size: 0.85rem;
        }
        
        .coefficient {
            color: #4cc9f0;
            font-weight: bold;
        }
        
        .tax-status {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-left: 8px;
        }
        
        .tax-included {
            background: rgba(76, 175, 80, 0.2);
            color: #4CAF50;
            border: 1px solid #4CAF50;
        }
        
        .tax-excluded {
            background: rgba(33, 150, 243, 0.2);
            color: #2196F3;
            border: 1px solid #2196F3;
        }
        
        .input-percentage {
            position: relative;
        }
        
        .input-percentage::after {
            content: "%";
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #B0BEC5;
            pointer-events: none;
        }
				/* 缓存控制区域 */
		.cache-control {
			margin-top: 15px;
			text-align: right;
		}
		
		.btn-clear {
			background: rgba(255, 107, 107, 0.2);
			color: #FF6B6B;
			border: 1px solid #FF6B6B;
			padding: 8px 15px;
			border-radius: 5px;
			cursor: pointer;
			transition: all 0.3s;
			display: flex;
			align-items: center;
			gap: 5px;
		}
		
		.btn-clear:hover {
			background: rgba(255, 107, 107, 0.3);
		}
		
		.btn-clear i {
			font-size: 14px;
		}
		
		/* Toast提示 */
		.toast-message {
			position: fixed;
			bottom: 20px;
			left: 50%;
			transform: translateX(-50%);
			background: rgba(0, 0, 0, 0.7);
			color: white;
			padding: 10px 20px;
			border-radius: 5px;
			z-index: 1000;
			animation: slide-in 0.3s ease;
		}
		
		.toast-message.fade-out  {
			animation: fade-out 0.3s ease forwards;
		}
		
		@keyframes slide-in {
			from { bottom: -50px; opacity: 0; }
			to { bottom: 20px; opacity: 1; }
		}
		
		@keyframes fade-out {
			from { opacity: 1; }
			to { opacity: 0; }
		}
		
        /* 平板及以上屏幕 */
        @media (min-width: 768px) {
            body {
                padding: 20px;
            }
            
            header {
                padding: 25px 40px;
            }
            
            header h1 {
                font-size: 2.2rem;
            }
            
            header p {
                font-size: 1.1rem;
            }
            
            .datetime {
                font-size: 0.9rem;
                margin-top: 15px;
            }
            
            .tax-toggle-container {
                position: absolute;
                top: 20px;
                right: 20px;
                margin: 0;
            }
            
            .content {
                flex-direction: row;
                padding: 30px;
                gap: 30px;
            }
            
            .results-section {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 20px;
            }
            
            .card {
                padding: 25px;
            }
            
			/* 合计卡片样式 */
			.card.total  {
				background: linear-gradient(to bottom right, rgba(106, 90, 205, 0.3), rgba(40, 50, 75, 0.8));
			}
			
			.card-title.total  i {
				color: #6A5ACD;
			}
			
			/* 合计数值突出显示 */
			#totalInitial, 
			#totalAcquisition {
				font-size: 1.1rem;
				color: #FFD700;
			}
            
            .card-title h2 {
                font-size: 1.6rem;
            }
            
            .value-item {
                margin: 15px 0;
                padding: 10px 0;
            }
            
            .value-label, .value-amount {
                font-size: 1rem;
            }
            
            .input-group {
                margin-bottom: 25px;
            }
            
            .input-group label {
                margin-bottom: 10px;
                font-size: 1rem;
            }
            
            .input-group input {
                padding: 14px 18px;
                font-size: 1.1rem;
            }
            
            .calculate-btn {
                padding: 16px;
                font-size: 1.2rem;
            }
            
            .formula-section {
                margin-top: 30px;
                padding: 20px;
                font-size: 0.95rem;
            }
            
            .formula-section h3 {
                font-size: 1.2rem;
                margin-bottom: 15px;
            }
            
            .formula-item {
                font-size: 0.95rem;
                margin: 12px 0;
            }
            
            footer {
                padding: 25px;
                font-size: 0.9rem;
            }
        }
        
        /* 大屏幕 */
        @media (min-width: 1200px) {
            .container {
                max-width: 1200px;
            }
        }