
    :root {
        --primary-color: #2563eb;
        --primary-light: #dbeafe;
        --secondary-color: #7c3aed;
        --text-dark: #1f2937;
        --text-medium: #4b5563;
        --text-light: #6b7280;
        --bg-light: #f9fafb;
        --bg-white: #ffffff;
        --border-color: #e5e7eb;
        --success-color: #10b981;
        --warning-color: #f59e0b;
        --radius-sm: 6px;
        --radius-md: 10px;
        --radius-lg: 14px;
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
        --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
    }

    /* ========== 以下样式全部限定在 .size-chart-wrapper 内，不会泄漏到导航栏 ========== */

    .size-chart-wrapper {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        background-color: var(--bg-light);
        color: var(--text-dark);
        line-height: 1.6;
        padding: 20px;
    }

    .size-chart-wrapper * {
        box-sizing: border-box;
    }

    .size-chart-wrapper .container {
        background: var(--bg-white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        overflow: hidden;
        margin-bottom: 30px;
    }

    /* Header */
    .size-chart-wrapper .header {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        padding: 30px 40px;
        text-align: center;
    }

    .size-chart-wrapper .header h1 {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }

    .size-chart-wrapper .header p {
        font-size: 1.05rem;
        opacity: 0.9;
        max-width: 700px;
        margin: 0 auto;
    }

    .size-chart-wrapper .header-note {
        background: rgba(255,255,255,0.15);
        border-radius: var(--radius-sm);
        padding: 10px 16px;
        margin-top: 20px;
        display: inline-block;
        font-size: 0.9rem;
        font-weight: 500;
    }

    /* Main Content */
    .size-chart-wrapper .main-content {
        padding: 30px 40px;
    }

    /* Tab Navigation */
    .size-chart-wrapper .tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 30px;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
    }

    .size-chart-wrapper .tab-btn {
        padding: 12px 24px;
        background: var(--bg-light);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        font-weight: 600;
        color: var(--text-medium);
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 0.95rem;
    }

    .size-chart-wrapper .tab-btn:hover {
        background: #f1f5f9;
        border-color: #cbd5e1;
    }

    .size-chart-wrapper .tab-btn.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    /* Size Chart Sections */
    .size-chart-wrapper .size-section {
        display: none;
        animation: sizeChartFadeIn 0.4s ease;
    }

    .size-chart-wrapper .size-section.active {
        display: block;
    }

    .size-chart-wrapper .section-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 2px solid var(--primary-light);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .size-chart-wrapper .section-title::before {
        content: '';
        width: 6px;
        height: 24px;
        background: var(--primary-color);
        border-radius: 3px;
    }

    /* Table Styling */
    .size-chart-wrapper .table-container {
        overflow-x: auto;
        margin-bottom: 30px;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
    }

    .size-chart-wrapper table {
        width: 100%;
        border-collapse: collapse;
        min-width: 700px;
    }

    .size-chart-wrapper thead {
        background: var(--primary-light);
    }

    .size-chart-wrapper th {
        padding: 16px 12px;
        text-align: center;
        font-weight: 700;
        color: var(--primary-color);
        border-bottom: 2px solid var(--border-color);
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .size-chart-wrapper td {
        padding: 14px 12px;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-medium);
        font-weight: 500;
    }

    .size-chart-wrapper tbody tr:hover {
        background-color: #f8fafc;
    }

    .size-chart-wrapper tbody tr:last-child td {
        border-bottom: none;
    }

    .size-chart-wrapper .size-header {
        background: #f1f5f9;
        font-weight: 700;
        color: var(--text-dark);
    }

    .size-chart-wrapper .measurement-label {
        font-weight: 600;
        color: var(--text-dark);
        text-align: left;
        padding-left: 20px;
    }

    /* Size Guide */
    .size-chart-wrapper .size-guide {
        background: #f0f9ff;
        border-radius: var(--radius-md);
        padding: 25px;
        margin-top: 40px;
        border-left: 4px solid var(--primary-color);
    }

    .size-chart-wrapper .size-guide h3 {
        font-size: 1.3rem;
        color: var(--primary-color);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .size-chart-wrapper .size-guide h3::before {
        content: '💡';
        font-size: 1.2rem;
    }

    .size-chart-wrapper .size-guide p {
        color: var(--text-medium);
        margin-bottom: 15px;
        line-height: 1.7;
    }

    .size-chart-wrapper .highlight-box {
        background: white;
        border-radius: var(--radius-sm);
        padding: 18px;
        margin-top: 15px;
        border: 1px solid var(--border-color);
    }

    .size-chart-wrapper .highlight-box p {
        margin-bottom: 0;
        font-weight: 600;
        color: var(--text-dark);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .size-chart-wrapper .highlight-box p::before {
        content: '📝';
    }

    /* Footer */
    .size-chart-wrapper .footer {
        text-align: center;
        padding: 25px;
        color: var(--text-light);
        font-size: 0.9rem;
        border-top: 1px solid var(--border-color);
        background: #f8fafc;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .size-chart-wrapper {
            padding: 15px;
        }

        .size-chart-wrapper .header,
        .size-chart-wrapper .main-content {
            padding: 25px 20px;
        }

        .size-chart-wrapper .header h1 {
            font-size: 1.8rem;
        }

        .size-chart-wrapper .tabs {
            justify-content: center;
        }

        .size-chart-wrapper .tab-btn {
            padding: 10px 18px;
            font-size: 0.9rem;
        }

        .size-chart-wrapper .size-guide {
            padding: 20px;
        }
    }

    @keyframes sizeChartFadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
