      * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #4a6fa5;
            --primary-dark: #3a5a8c;
            --primary-light: #eef3fc;
            --accent: #c9a03d;
            --accent-light: #fef6e6;
            --bg-body: #f8fafc;
            --bg-card: #ffffff;
            --bg-soft: #f9fbfd;
            --text-dark: #1f2a44;
            --text-mid: #4a5b7a;
            --text-light: #8a9bb5;
            --border: #e9edf4;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
            --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.04);
            --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
            --radius-lg: 28px;
            --radius-md: 20px;
            --radius-sm: 14px;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-body);
            color: var(--text-dark);
            line-height: 1.5;
        }

        .top-bar {
            background: var(--primary-dark);
            color: white;
            padding: 8px 20px;
            text-align: center;
            font-size: 13px;
        }
        .top-bar span {
            margin: 0 16px;
        }

        .navbar {
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .nav-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 12px 28px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }
        .logo-icon { font-size: 30px; }
        .logo-text {
            font-size: 24px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .nav-links {
            display: flex;
            gap: 28px;
            align-items: center;
        }
        .nav-links a {
            text-decoration: none;
            color: var(--text-mid);
            font-weight: 500;
            transition: 0.2s;
            font-size: 15px;
        }
        .nav-links a:hover {
            color: var(--primary);
        }
        .order-query {
            background: var(--primary-light);
            padding: 6px 16px;
            border-radius: 40px;
            color: var(--primary-dark) !important;
        }

        @media (max-width: 768px) {
            .nav-container { flex-direction: column; padding: 12px 20px; }
            .nav-links { gap: 18px; flex-wrap: wrap; justify-content: center; }
            .top-bar span { margin: 0 8px; font-size: 11px; }
        }

        .query-container {
            max-width: 1100px;
            margin: 48px auto;
            padding: 0 24px;
        }

        .breadcrumb {
            font-size: 13px;
            color: var(--text-light);
            margin-bottom: 28px;
        }
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }

        /* 查询卡片 */
        .query-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-md);
            overflow: hidden;
            margin-bottom: 32px;
        }
        .card-header {
            background: var(--bg-soft);
            padding: 24px 32px;
            border-bottom: 1px solid var(--border);
        }
        .card-header h2 {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-dark);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .card-body {
            padding: 32px;
        }
        .mode-switch {
            display: flex;
            gap: 28px;
            margin-bottom: 28px;
            border-bottom: 1px solid var(--border);
            padding-bottom: 18px;
        }
        .mode-radio {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-weight: 600;
            color: var(--text-mid);
        }
        .mode-radio input {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: var(--primary);
        }
        .mode-radio.active-mode {
            color: var(--primary-dark);
        }
        .form-group {
            margin-bottom: 24px;
        }
        .form-label {
            font-weight: 600;
            margin-bottom: 8px;
            display: block;
            color: var(--text-dark);
        }
        .input-wrapper {
            position: relative;
        }
        .input-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
            font-size: 18px;
        }
        .query-input {
            width: 100%;
            padding: 14px 20px 14px 48px;
            border-radius: 60px;
            border: 1px solid var(--border);
            font-size: 15px;
            background: white;
            transition: 0.2s;
        }
        .query-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(74,111,165,0.15);
        }
        .query-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 14px 32px;
            border-radius: 60px;
            font-weight: 700;
            font-size: 16px;
            cursor: pointer;
            transition: 0.2s;
            width: 100%;
            box-shadow: 0 2px 8px rgba(74,111,165,0.3);
        }
        .query-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }
        .helper-text {
            font-size: 12px;
            color: var(--text-light);
            margin-top: 12px;
            text-align: center;
        }

        /* 订单卡片样式 */
        .result-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            transition: 0.2s;
            margin-bottom: 32px;
        }
        .result-header {
            background: var(--primary-light);
            padding: 18px 28px;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .result-header h3 {
            font-weight: 700;
            font-size: 18px;
            color: var(--primary-dark);
        }
        .result-content {
            padding: 28px;
        }
        .order-detail-grid {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .detail-row {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            border-bottom: 1px dashed var(--border);
            padding-bottom: 12px;
        }
        .detail-label {
            width: 120px;
            font-weight: 600;
            color: var(--text-mid);
        }
        .detail-value {
            flex: 1;
            color: var(--text-dark);
            font-weight: 500;
        }
        .card-code-box {
            background: #f2f6fc;
            border-radius: var(--radius-sm);
            padding: 18px;
            font-family: monospace;
            font-size: 16px;
            letter-spacing: 0.5px;
            word-break: break-all;
            border-left: 4px solid var(--accent);
            margin: 8px 0 4px;
        }
        .badge-success {
            background: #e0f2e9;
            color: #1f7840;
            padding: 4px 12px;
            border-radius: 60px;
            font-size: 12px;
            font-weight: 600;
            display: inline-block;
        }
        .badge-pending {
            background: #fff1e0;
            color: #c47b2e;
        }
        .copy-btn-sm {
            background: var(--primary-light);
            border: none;
            padding: 5px 14px;
            border-radius: 40px;
            font-size: 12px;
            cursor: pointer;
            margin-left: 12px;
            transition: 0.2s;
        }
        .copy-btn-sm:hover {
            background: var(--primary);
            color: white;
        }
        .empty-state {
            text-align: center;
            padding: 48px 28px;
            color: var(--text-light);
        }
        /* 多订单列表样式 */
        .orders-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .order-item {
            background: var(--bg-soft);
            border-radius: var(--radius-md);
            padding: 20px;
            border: 1px solid var(--border);
            transition: 0.2s;
        }
        .order-item-header {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            gap: 12px;
        }
        .order-id {
            font-weight: 800;
            font-size: 16px;
            color: var(--primary-dark);
        }
        .order-status {
            font-size: 12px;
        }
        .order-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 12px;
            margin: 12px 0;
            font-size: 13px;
        }
        .info-label {
            color: var(--text-mid);
            font-weight: 500;
        }
        .view-card-btn {
            background: var(--primary);
            border: none;
            color: white;
            padding: 8px 20px;
            border-radius: 40px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 12px;
            transition: 0.2s;
        }
        .view-card-btn:hover {
            background: var(--primary-dark);
        }
        .card-secret-area {
            margin-top: 16px;
            border-top: 1px dashed var(--border);
            padding-top: 16px;
            background: #fff;
            border-radius: 12px;
        }
        .pwd-input-group {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            align-items: center;
        }
        .pwd-input {
            flex: 2;
            padding: 10px 16px;
            border-radius: 60px;
            border: 1px solid var(--border);
            font-size: 13px;
        }
        .confirm-pwd-btn {
            background: var(--accent);
            border: none;
            padding: 8px 20px;
            border-radius: 40px;
            cursor: pointer;
            font-weight: 600;
        }
        .card-display {
            background: #f2f6fc;
            border-radius: 12px;
            padding: 14px;
            margin-top: 12px;
            word-break: break-all;
            font-family: monospace;
        }
        .toast-msg {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: #1f2a44;
            color: white;
            padding: 10px 24px;
            border-radius: 60px;
            font-size: 14px;
            z-index: 999;
            animation: fadeInUp 0.2s ease;
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateX(-50%) translateY(20px);}
            to { opacity: 1; transform: translateX(-50%) translateY(0);}
        }
        .footer {
            background: #1e2a3e;
            color: #a0b3d9;
            padding: 48px 28px 28px;
            margin-top: 60px;
        }
        .footer-inner {
            max-width: 1600px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 32px;
        }
        .footer-col h4 {
            color: #f0f3f8;
            margin-bottom: 16px;
            font-size: 16px;
        }
        .footer-col ul {
            list-style: none;
        }
        .footer-col li {
            margin-bottom: 8px;
        }
        .footer-col a {
            color: #a0b3d9;
            text-decoration: none;
            font-size: 13px;
        }
        .footer-bottom {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #2d3b4f;
            font-size: 12px;
        }
        @media (max-width: 600px) {
            .detail-label { width: 100%; margin-bottom: 6px; }
            .card-body { padding: 24px; }
            .mode-switch { gap: 16px; }
        }
        .card-txt {
		    width: 100%;
		    border: 1px solid #999;
		}