        .member-page {
            padding-top: 140px;
            min-height: 100vh;
            background: var(--gray-100);
        }
        .member-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: var(--space-xl) 24px;
        }
        .member-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
        }
        .member-header h1 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--gray-900);
        }
        .dashboard-grid {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: var(--space-xl);
        }
        @keyframes skeleton-pulse {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        .skeleton-pulse {
            background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
            background-size: 200% 100%;
            animation: skeleton-pulse 1.5s ease-in-out infinite;
            border-radius: 6px;
        }
        .skeleton-circle {
            width: 100px; height: 100px; border-radius: 50%; margin: 0 auto var(--space-lg);
        }
        .skeleton-bar { height: 16px; margin-bottom: var(--space-xs); }
        .skeleton-bar-short { width: 60%; margin-left: auto; margin-right: auto; }
        .skeleton-bar-wide { width: 80%; margin-left: auto; margin-right: auto; }
        .skeleton-stat-box { height: 50px; border-radius: 8px; }
        .skeleton-card {
            background: white; border-radius: var(--radius-lg); padding: 24px;
            box-shadow: var(--shadow); margin-bottom: 16px;
        }
        .skeleton-order-row {
            display: flex; gap: 12px; align-items: center; padding: 12px 0;
        }
        .skeleton-thumb { width: 50px; height: 50px; border-radius: 8px; flex-shrink: 0; }
        .skeleton-text-group { flex: 1; }
        .profile-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 32px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--gray-100);
            text-align: center;
            align-self: start;
        }
        .profile-avatar {
            width: 100px; height: 100px;
            background: var(--primary);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto var(--space-lg);
            font-size: 2.5rem; color: white;
        }
        .profile-name {
            font-size: 1.5rem; font-weight: 700;
            color: var(--gray-900); margin-bottom: 8px;
        }
        .profile-email {
            color: var(--gray-500); margin-bottom: var(--space-lg);
        }
        .member-badge {
            display: inline-block; padding: 8px var(--space-lg); border-radius: 20px;
            font-weight: 600; font-size: 0.875rem; margin-bottom: 24px;
            background: var(--primary); color: white;
        }
        .profile-stats {
            display: grid; grid-template-columns: 1fr 1fr;
        }
        .profile-stat { text-align: center; }
        .profile-stat-value {
            font-size: 1.5rem; font-weight: 700; color: var(--primary);
        }
        .profile-stat-label {
            font-size: 0.8rem; color: var(--gray-500);
        }
        .quick-actions {
            margin-top: 12px;
            display: flex; flex-direction: column; gap: 8px;
        }
        .quick-action-btn {
            display: flex; align-items: center; justify-content: center; gap: var(--space-xs);
            padding: var(--space-xs) 12px; border: 1.5px solid var(--gray-300);
            min-height: var(--touch-target);
            border-radius: 12px; background: white;
            font-size: 0.8rem; font-weight: 600; color: var(--gray-700);
            cursor: pointer; transition: all 0.2s; text-decoration: none;
        }
        .quick-action-btn:hover { border-color: var(--primary); color: var(--primary); }
        .quick-action-btn:hover svg { stroke: var(--primary); }
        .quick-action-btn svg {
            width: 16px; height: 16px; flex-shrink: 0;
            stroke: var(--gray-500); fill: none;
            stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
        }
        .profile-edit-btn {
            padding: var(--space-xs) 12px; min-height: var(--touch-target);
            background: white; border: 1.5px solid var(--gray-300); border-radius: 12px;
            font-weight: 600; cursor: pointer; transition: all 0.2s; width: 100%;
            color: var(--gray-700); font-size: 0.8rem;
            display: flex; align-items: center; justify-content: center;
        }
        .profile-edit-btn:hover { border-color: var(--primary); color: var(--primary); }
        .profile-form { display: none; margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--gray-100); }
        .profile-form.active { display: block; }
        .form-group { margin-bottom: 16px; }
        .form-group label {
            display: block; font-size: 0.875rem; font-weight: 500;
            color: var(--gray-700); margin-bottom: var(--space-xs);
        }
        .form-group input {
            width: 100%; padding: var(--space-xs) 12px;
            border: 1px solid var(--gray-200); border-radius: var(--radius);
            font-size: 0.875rem;
        }
        .form-group input:focus { outline: none; border-color: var(--primary); }
        .main-content {
            display: flex; flex-direction: column; gap: 24px;
        }
        .content-card {
            background: white; border-radius: var(--radius-lg);
            padding: var(--space-xl); box-shadow: var(--shadow-sm);
            border: 1px solid var(--gray-100);
        }
        .card-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: var(--space-lg);
        }
        .card-header h2 {
            font-size: 1.25rem; font-weight: 600; color: var(--gray-900);
        }
        .order-status {
            padding: var(--space-xs) 12px; border-radius: 16px;
            font-size: 0.75rem; font-weight: 600;
            display: inline-block;
        }
        .status-pending { background: #FEF3C7; color: #92400E; }
        .status-paid { background: #D1FAE5; color: #065F46; }
        .status-processing { background: #DBEAFE; color: #1E40AF; }
        .status-shipped { background: #E0E7FF; color: #3730A3; }
        .status-delivered { background: #BBF7D0; color: #166534; }
        .status-cancelled { background: #FEE2E2; color: #991B1B; }
        .status-refunded { background: #F3E8FF; color: #6B21A8; }
        .orders-filter-select {
            appearance: none;
            -webkit-appearance: none;
            padding: 8px 32px 8px 12px;
            background: var(--gray-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
            border: 1.5px solid var(--gray-300); border-radius: var(--radius);
            font-size: 0.875rem; font-weight: 500; color: var(--gray-700);
            cursor: pointer; transition: all 0.15s;
            font-family: inherit;
        }
        .orders-filter-select:hover { border-color: var(--primary); color: var(--primary); }
        .orders-filter-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
        .orders-scroll-container { max-height: 500px; overflow-y: auto; padding-right: 8px; position: relative; }
        .orders-scroll-container::-webkit-scrollbar { width: 6px; }
        .orders-scroll-container::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 3px; }
        .orders-scroll-container::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
        .orders-scroll-container::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }
        .orders-list {
            display: flex; flex-direction: column; gap: 16px;
        }
        .order-history-item {
            display: flex; align-items: center; gap: 16px; padding: 16px;
            background: var(--gray-50); border-radius: var(--radius);
            cursor: pointer; transition: all 0.2s;
            border: 1px solid transparent;
        }
        .order-history-item:hover { border-color: var(--primary); background: white; }
        .order-thumb {
            width: 50px; height: 50px; border-radius: 8px;
            object-fit: cover; flex-shrink: 0; background: var(--gray-200);
        }
        .order-thumb-placeholder {
            width: 50px; height: 50px; border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            color: white; font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
        }
        .order-thumb-placeholder.mosaic {
            background: var(--primary);
        }
        .order-thumb-placeholder.assembly {
            background: linear-gradient(135deg, #64748B, #94A3B8);
            font-size: 1.4rem;
        }
        .order-thumb-placeholder.frame {
            background: linear-gradient(135deg, #92400E, #D97706);
            font-size: 1.4rem;
        }
        .order-history-info { flex: 1; min-width: 0; }
        .order-history-date {
            font-size: 0.9rem; font-weight: 500; color: var(--gray-800); margin-bottom: 4px;
        }
        .order-history-number {
            font-size: 0.8rem; color: var(--gray-400); margin-bottom: 4px;
        }
        .order-history-meta { font-size: 0.8rem; color: var(--gray-500); }
        .order-history-right {
            display: flex; flex-direction: column; align-items: flex-end;
            flex-shrink: 0; gap: 4px;
        }
        .order-history-right .order-status { margin-bottom: 4px; }
        .order-history-amount { font-weight: 500; color: var(--primary); }
        .order-history-count { font-size: 0.75rem; color: var(--gray-500); }
        .order-view-link {
            display: inline-block; margin-top: 4px; font-size: 0.75rem;
            color: var(--primary); font-weight: 500; text-decoration: none;
        }
        .order-view-link:hover { text-decoration: underline; }
        .empty-state {
            text-align: center; padding: var(--space-xl); color: var(--gray-500);
        }
        .orders-toolbar {
            display: flex; justify-content: space-between; align-items: center;
            padding: 0 0 var(--space-xs); margin-bottom: var(--space-xxs);
        }
        .orders-count {
            font-size: 0.8rem; color: var(--gray-500); font-weight: 500;
        }
        .orders-sort-btn {
            display: inline-flex; align-items: center; gap: var(--space-xs);
            background: var(--gray-50); border: 1.5px solid var(--gray-300); border-radius: var(--radius);
            padding: var(--space-xs) var(--space-md); font-size: 0.8rem; color: var(--gray-700);
            cursor: pointer; transition: all 0.15s; font-weight: 500;
        }
        .orders-sort-btn:hover { border-color: var(--primary); color: var(--primary); background: white; }
        .orders-sort-btn svg { flex-shrink: 0; }
        .orders-scroll-top-btn {
            position: sticky; bottom: 8px; float: right;
            width: 32px; height: 32px; border-radius: 50%;
            background: var(--primary); color: white; border: none;
            font-size: 1rem; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            display: flex; align-items: center; justify-content: center;
            transition: opacity 0.2s;
        }
        .orders-scroll-top-btn::after { content: ''; position: absolute; top: 50%; left: 50%;
            width: max(100%, var(--touch-target)); height: max(100%, var(--touch-target)); transform: translate(-50%, -50%); }
        .orders-scroll-top-btn:hover { opacity: 0.85; }
        .order-detail-card {
            border: 1px solid var(--gray-200); border-radius: var(--radius);
            padding: var(--space-lg); margin-bottom: 16px; cursor: pointer; transition: all 0.2s;
        }
        .order-detail-card:hover {
            border-color: var(--primary);
            box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.15);
        }
        .order-detail-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 16px; padding-bottom: 12px;
            border-bottom: 1px solid var(--gray-100);
        }
        .order-detail-number { font-size: 0.85rem; color: var(--gray-500); }
        .order-detail-date { font-size: 0.95rem; font-weight: 500; color: var(--gray-800); }
        .order-detail-caseids {
            margin-top: var(--space-xxs);
            font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
            font-size: var(--font-xs);
            color: var(--gray-400);
            line-height: 1.3;
        }
        .order-detail-items {
            display: flex; flex-direction: column; gap: 0; margin-bottom: 16px;
        }
        .order-detail-item { display: flex; gap: 12px; align-items: flex-start; }
        .order-item-thumb {
            width: 60px; height: 60px; border-radius: 8px;
            object-fit: cover; background: var(--gray-100); flex-shrink: 0;
        }
        .order-item-thumb-placeholder {
            width: 60px; height: 60px; border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            color: white; font-size: 1.5rem; flex-shrink: 0;
        }
        .order-item-thumb-placeholder.mosaic {
            background: var(--primary);
        }
        .order-item-thumb-placeholder.assembly {
            background: linear-gradient(135deg, #64748B, #94A3B8);
        }
        .order-item-thumb-placeholder.frame {
            background: linear-gradient(135deg, #92400E, #D97706);
        }
        .order-item-info { flex: 1; }
        .order-item-name { font-weight: 600; color: var(--gray-900); font-size: 0.9rem; line-height: 1.3; }
        .order-item-meta-row {
            display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px;
        }
        .order-item-design-badge {
            display: inline-block; background: var(--primary); color: white;
            padding: 1px var(--space-xs); border-radius: 4px; font-size: 0.68rem; font-weight: 700;
        }
        .order-item-qty-badge {
            display: inline-block; background: var(--gray-100); color: var(--gray-500);
            padding: 1px var(--space-xs); border-radius: 4px; font-size: 0.75rem; font-weight: 500;
        }
        .order-item-specs { font-size: 0.8rem; color: var(--gray-500); }
        .order-detail-item.addon-item {
            margin-left: 72px;
            padding-left: 12px;
            border-left: 2px solid var(--gray-200);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .order-detail-item.addon-item .order-item-name {
            font-size: 0.85rem; font-weight: 400; color: var(--gray-600);
        }
        .order-price-summary {
            padding-top: 12px; border-top: 1px solid var(--gray-100);
            display: flex; flex-direction: column; gap: var(--space-xs);
        }
        .order-price-row {
            display: flex; justify-content: space-between; align-items: center;
            font-size: 0.875rem; color: var(--gray-600);
        }
        .order-price-row.total-row {
            padding-top: var(--space-xs); margin-top: 4px;
            border-top: 1px dashed var(--gray-200);
            font-size: 1.1rem; font-weight: 500; color: var(--primary);
        }
        .order-price-row.total-row span:last-child { font-size: 1.15rem; }
        .order-detail-shipping {
            background: var(--gray-50); padding: var(--space-md) 16px;
            border-radius: var(--radius); margin-bottom: 16px;
        }
        .order-detail-shipping-title {
            font-size: 0.75rem; color: var(--gray-500); margin-bottom: var(--space-xs);
            font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
        }
        .order-tracking {
            background: var(--gray-50); padding: var(--space-md) 16px;
            border-radius: var(--radius); margin-bottom: 16px;
        }
        .shipping-row {
            display: flex; align-items: flex-start; gap: 8px;
            font-size: 0.875rem; color: var(--gray-700);
            padding: var(--space-xxs) 0;
        }
        .shipping-row > span {
            min-width: 0;
            overflow-wrap: anywhere;
        }
        .shipping-icon {
            width: 18px; height: 18px; flex-shrink: 0;
            display: inline-flex; align-items: center; justify-content: center;
        }
        .shipping-icon svg {
            width: 16px; height: 16px; stroke: var(--gray-400); fill: none;
            stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
        }
        .order-notes-text {
            margin: 0;
            font-size: var(--font-sm); line-height: var(--leading-normal);
            color: var(--gray-700);
            white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0;
        }
        .order-detail-footer {
            display: flex; justify-content: space-between; align-items: center;
            padding-top: 12px; border-top: 1px solid var(--gray-100);
        }
        .order-detail-total { font-size: var(--fg-fs-body); font-weight: 500; color: var(--gray-600); }
        .order-cancel-section { margin-top: 16px; text-align: right; }
        .btn-cancel-order {
            padding: var(--space-xs) var(--space-lg); border: 1.5px solid var(--gray-300); border-radius: var(--radius);
            background: white; color: var(--gray-500); font-weight: 500; font-size: 0.85rem;
            cursor: pointer; transition: all 0.2s; min-height: 44px;
        }
        .btn-cancel-order:hover { border-color: #EF4444; color: #EF4444; }
        .btn-repay-order {
            padding: var(--space-xs) var(--space-lg); border: none; border-radius: var(--radius);
            background: var(--primary); color: white; font-weight: 600; font-size: 0.85rem;
            cursor: pointer; transition: all 0.2s; min-height: 44px;
        }
        .btn-repay-order:hover { background: var(--primary-hover); }
        .btn-repay-inline {
            padding: var(--space-xxs) var(--space-md); min-height: auto; font-size: 0.75rem; border-radius: 16px;
        }
        .btn-repay-inline { position: relative; }
        .btn-repay-inline::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: var(--touch-target); transform: translateY(-50%); }
        .payment-expired-badge {
            display: inline-block; padding: 4px var(--space-xs); border-radius: 12px;
            background: #FEE2E2; color: #991B1B; font-size: 0.7rem; font-weight: 600;
        }
        .payment-expires-text {
            font-size: var(--fg-fs-small); color: var(--gray-500); margin-top: 4px;
        }
        .status-cancel_requested { background: #FEF3C7; color: #92400E; }
        .member-designs__header {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: var(--space-xxs);
            margin-bottom: var(--space-md);
            text-align: left;
        }
        .member-designs__note {
            margin: 0;
            font-size: var(--font-sm);
            color: var(--gray-500);
        }
        .member-designs__status:empty { display: none; }
        .member-designs__status {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: var(--space-sm);
            margin-bottom: var(--space-md);
        }
        .member-designs__skeleton {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: var(--space-md);
            width: 100%;
        }
        @media (min-width: 1024px) {
            .member-designs__skeleton { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }
        .member-designs__skeleton-card {
            display: flex;
            flex-direction: column;
            gap: var(--space-xs);
            padding-bottom: var(--space-sm);
            border: 1px solid var(--gray-200);
            border-radius: var(--radius);
            overflow: hidden;
        }
        .member-designs__skeleton-media { aspect-ratio: 1 / 1; background: var(--gray-100); }
        .member-designs__skeleton-line {
            height: var(--space-sm);
            margin: 0 var(--space-sm);
            border-radius: var(--radius-sm);
            background: var(--gray-100);
        }
        .member-designs__skeleton-line.is-short { width: 40%; }
        .member-designs__empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--space-xs);
            width: 100%;
            padding: var(--space-lg) 0;
            text-align: center;
        }
        .member-designs__empty h3 {
            margin: 0;
            font-size: var(--font-md);
            font-weight: var(--weight-semibold);
            color: var(--gray-900);
        }
        .member-designs__empty p {
            margin: 0 0 var(--space-xs);
            font-size: var(--font-sm);
            color: var(--gray-500);
        }
        .member-designs__grid {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: var(--space-md);
        }
        @media (min-width: 1024px) {
            .member-designs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }
        .member-designs {
            --md-wall: #F7F5F2;
            --md-wood: #462D1E;
            --md-frame: 3px;
            --md-tile-1: #E4EEF7;
            --md-tile-2: #FBEADF;
            --md-tile-3: #E2F3E7;
            --md-label-font: 11px;
            --md-frame-shadow: 0 10px 18px -8px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.15);
            --md-frame-shadow-hover: 0 16px 24px -10px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.15);
            --md-chip-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
            --md-chip-bg: rgba(255, 255, 255, 0.94);
            background: var(--md-wall);
            border-color: transparent;
        }
        .member-designs__grid { gap: var(--space-xxl) var(--space-lg); }
        @media (min-width: 1024px) {
            .member-designs__grid { gap: calc(var(--space-xxl) + var(--space-xs)) var(--space-xxl); }
            .member-designs__item { --md-pad-x: var(--space-sm); }
        }
        .member-designs__item {
            position: relative;
            display: flex;
            flex-direction: column;
            min-width: 0;
            --md-pad-x: var(--space-xs);
            --md-pad-b: var(--space-xs);
            padding: var(--md-pad-x) var(--md-pad-x) var(--md-pad-b);
            border-radius: var(--radius-button);
            background: var(--md-tile-1);
        }
        .member-designs__item:nth-child(3n + 2) { background: var(--md-tile-2); }
        .member-designs__item:nth-child(3n + 3) { background: var(--md-tile-3); }
        .member-designs__open {
            display: flex;
            flex-direction: column;
            gap: var(--space-xs);
            width: 100%;
            padding: 0;
            border: 0;
            background: none;
            font: inherit;
            text-align: left;
            color: inherit;
        }
        button.member-designs__open { cursor: pointer; }
        button.member-designs__open:focus-visible { outline: 2px solid var(--primary); outline-offset: var(--space-xxs); }
        @media (hover: hover) {
            .member-designs__item:not(.is-expired):hover .member-designs__media {
                transform: translateY(calc(var(--space-xxs) * -1));
                box-shadow: var(--md-frame-shadow-hover);
            }
        }
        .member-designs__media {
            position: relative;
            display: block;
            aspect-ratio: 1 / 1;
            overflow: hidden;
            border: var(--md-frame) solid var(--md-wood);
            background: var(--gray-100);
            box-shadow: var(--md-frame-shadow);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .member-designs__media img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .member-designs__badge,
        .member-designs__pen {
            position: absolute;
            background: var(--md-chip-bg);
            box-shadow: var(--md-chip-shadow);
            color: var(--gray-800);
        }
        .member-designs__badge {
            top: var(--space-xs);
            left: var(--space-xs);
            max-width: calc(100% - var(--space-md));
            padding: 0 var(--space-xs);
            border-radius: var(--radius-lg);
            font-size: var(--font-xs);
            line-height: 1.6;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .member-designs__pen {
            right: var(--space-xs);
            bottom: var(--space-xs);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: calc(var(--space-xl) - var(--space-xxs));
            height: calc(var(--space-xl) - var(--space-xxs));
            border-radius: 50%;
        }
        button.member-designs__open[aria-busy="true"] { cursor: progress; }
        button.member-designs__open[aria-busy="true"] .member-designs__media::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.6);
        }
        button.member-designs__open[aria-busy="true"] .member-designs__media::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: var(--space-xl);
            height: var(--space-xl);
            margin: calc(var(--space-xl) / -2) 0 0 calc(var(--space-xl) / -2);
            border: var(--space-xxs) solid var(--gray-200);
            border-top-color: var(--gray-500);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        button.member-designs__open[aria-busy="true"] .member-designs__pen { display: none; }
        .member-designs__grid[data-opening] .member-designs__item { pointer-events: none; }
        .member-designs__body {
            display: flex;
            align-items: center;
            min-width: 0;
            padding-right: calc(var(--touch-target) - var(--space-sm));
        }
        .member-designs__label {
            display: block;
            min-width: 0;
            padding: calc(var(--space-xxs) / 2) var(--space-xs);
            background: white;
            box-shadow: var(--md-chip-shadow);
            font-size: var(--md-label-font);
            line-height: var(--space-md);
            color: var(--gray-500);
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .member-designs__sr {
            position: absolute;
            width: 1px;
            height: 1px;
            overflow: hidden;
            clip: rect(0 0 0 0);
            white-space: nowrap;
        }
        .member-designs__hide {
            position: absolute;
            right: calc(var(--md-pad-x) - var(--space-sm));
            bottom: calc(var(--md-pad-b) - var(--space-sm));
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: var(--touch-target);
            height: var(--touch-target);
            padding: 0;
            border: 0;
            border-radius: 50%;
            background: none;
            color: var(--gray-500);
            cursor: pointer;
        }
        .member-designs__hide:focus-visible { outline: 2px solid var(--fg-brand); outline-offset: var(--space-xxs); color: var(--gray-800); }
        @media (hover: hover) {
            .member-designs__hide:hover { color: var(--gray-800); }
        }
        .member-designs__item.is-expired .member-designs__media {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: var(--space-xs);
            padding: var(--space-sm);
            background: var(--gray-50);
            color: var(--gray-400);
            text-align: center;
        }
        .member-designs__unavail-desc {
            font-size: var(--font-xs);
            color: var(--gray-500);
            overflow-wrap: anywhere;
        }
        @media (prefers-reduced-motion: reduce) {
            .member-designs__media { transition: none; }
            .member-designs__item:hover .member-designs__media { transform: none; }
            button.member-designs__open[aria-busy="true"] .member-designs__media::after { animation: none; }
        }
        .member-designs__more {
            display: flex;
            justify-content: center;
            margin-top: var(--space-lg);
        }
        .member-designs__more:has(> [hidden]) { display: none; }
        .member-designs__modal {
            max-width: calc(var(--content-narrow) / 2);
            display: flex;
            flex-direction: column;
            gap: var(--space-sm);
        }
        .member-designs__modal-title {
            margin: 0;
            padding-right: var(--space-xl);
            font-size: var(--font-md);
            font-weight: var(--weight-bold);
            color: var(--gray-900);
        }
        .member-designs__modal-desc {
            margin: 0;
            font-size: var(--font-sm);
            color: var(--gray-500);
        }
        .member-designs__modal-actions {
            display: flex;
            gap: var(--space-xs);
            justify-content: flex-end;
            margin-top: var(--space-xs);
        }
        @media (max-width: 768px) {
            .dashboard-grid { grid-template-columns: 1fr; gap: 24px; }
            .profile-card {
                text-align: center; padding: var(--space-lg);
            }
            .profile-form { width: 100%; }
            .orders-scroll-container { max-height: 400px; }
            .content-card { padding: var(--space-lg); }
        }
        @media (max-width: 640px) {
            .order-history-header { flex-wrap: wrap; gap: 8px 0; }
            .order-history-controls { width: 100%; }
            .orders-filter-select { flex: 1; min-width: 0; }
            .order-history-controls .btn-primary { flex-shrink: 0; }
            .order-view-link { display: none; }
            .order-history-count { display: none; }
            .order-history-right { gap: var(--space-xxs); }
            .order-detail-header { flex-wrap: wrap; gap: 8px; align-items: flex-start; }
            .order-cancel-section { text-align: left; }
            .btn-cancel-order { width: 100%; }
            .repay-section { flex-direction: column; gap: 8px; }
            .btn-repay-order:not(.btn-repay-inline) { width: 100%; }
        }
        @media (max-width: 480px) {
            .member-page { padding-top: 120px; }
            .member-container { padding: var(--space-lg) var(--space-md); }
            .member-header { margin-bottom: 16px; }
            .member-header h1 { font-size: 1.25rem; }
            .profile-card {
                flex-direction: column; text-align: center;
            }
            .profile-avatar { margin: 0 auto 12px; }
            .order-history-item { padding: 12px; gap: var(--space-xs); }
            .content-card { padding: 16px; }
        }
.fg-page-grid .member-page { background: transparent; }
.fg-page-grid .member-title { font-size: var(--fg-fs-subtitle); font-weight: 500; }
.fg-page-grid .profile-card, .fg-page-grid .content-card { background: var(--white); border: 1px solid var(--fg-border); border-radius: 12px; box-shadow: none; }
.fg-page-grid .content-card h2 { font-size: var(--fg-fs-heading); font-weight: 500; color: var(--fg-text); }
.fg-page-grid .card-header h2 { line-height: 1.75rem; }
.fg-page-grid .profile-name { font-size: var(--fg-fs-body); font-weight: var(--fg-fw-regular); color: var(--fg-text); line-height: 1.75rem; }
.fg-page-grid .profile-email { font-size: var(--fg-fs-small); font-weight: var(--fg-fw-regular); color: var(--gray-500); line-height: 1.25rem; }
.fg-page-grid .member-badge { background: var(--gray-100); color: var(--gray-600); font-size: var(--fg-fs-small); font-weight: var(--fg-fw-regular); }
.fg-page-grid .profile-stats { background: transparent; border-top: 1px solid var(--fg-border); border-bottom: 1px solid var(--fg-border); border-radius: 0; }
.fg-page-grid .profile-stat-value { color: var(--gray-600); font-size: var(--fg-fs-body); font-weight: var(--fg-fw-regular); }
.fg-page-grid .profile-stat-label { color: var(--gray-500); font-size: var(--fg-fs-small); font-weight: var(--fg-fw-regular); }
.fg-page-grid .order-history-amount, .fg-page-grid .order-price-row span, .fg-page-grid .order-price-row.total-row span {
    color: var(--gray-600); font-size: var(--fg-fs-body); font-weight: var(--fg-fw-regular); }
.fg-page-grid .order-history-amount, .fg-page-grid .order-price-row span:last-child, .fg-page-grid #total-spent { font-weight: 500; }
.fg-page-grid .order-history-item { background: transparent; border: 0; border-bottom: 1px solid var(--fg-border); border-radius: 0; }
.fg-page-grid .order-history-info { min-width: 0; flex: 1 1 auto; }
.fg-page-grid .order-history-date { color: var(--gray-500); font-size: var(--fg-fs-small); font-weight: var(--fg-fw-regular); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-page-grid .order-history-number { color: var(--gray-600); font-size: var(--fg-fs-small); font-weight: var(--fg-fw-regular); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-page-grid .order-history-count, .fg-page-grid .orders-count { color: var(--gray-500); font-size: var(--fg-fs-small); font-weight: var(--fg-fw-regular); }
.fg-page-grid .order-status { font-size: var(--fg-fs-small); font-weight: var(--fg-fw-strong); }
.fg-page-grid .order-view-link { color: var(--fg-brand); font-size: var(--fg-fs-small); font-weight: var(--fg-fw-regular); }
.fg-page-grid .btn-edit-shipping {
    border: none; background: transparent; cursor: pointer; padding: 4px 8px;
    color: var(--fg-brand); font-size: var(--fg-fs-small); font-weight: var(--fg-fw-strong); }
.fg-page-grid .order-row__product-name, .fg-page-grid .order-detail-date {
    font-size: var(--fg-fs-body); font-weight: var(--fg-fw-regular); color: var(--fg-text); }
.fg-page-grid .order-detail-number { font-size: var(--fg-fs-small); font-weight: var(--fg-fw-regular); }
.fg-page-grid .order-detail-shipping { background: transparent; border-top: 1px solid var(--fg-border); border-radius: 0; padding-left: 0; padding-right: 0; }
.fg-page-grid .order-detail-shipping-title, .fg-page-grid .order-detail-shipping h4 { font-size: var(--fg-fs-small); font-weight: 500; }
.fg-page-grid .order-row--view .order-row__name, .fg-page-grid .order-row--view .order-row__col-price { font-size: var(--fg-fs-body); }
.fg-page-grid .profile-edit-btn, .fg-page-grid .quick-action-btn, .fg-page-grid .orders-sort-btn, .fg-page-grid .btn-cancel-order, .fg-page-grid #member-designs-more {
    background: var(--white); border: 1px solid var(--gray-300); color: var(--fg-text); border-radius: 999px;
    font-size: var(--fg-fs-small); font-weight: var(--fg-fw-strong); }
.fg-page-grid .btn-repay-order { border: 1px solid var(--primary); border-radius: 999px;
    font-size: var(--fg-fs-small); font-weight: var(--fg-fw-strong); }
.fg-page-grid .member-header .btn-primary, .fg-page-grid .content-card .btn-primary { font-size: var(--fg-fs-small); font-weight: var(--fg-fw-strong); }
.fg-page-grid .order-history-controls .btn-primary { padding: 8px 16px; white-space: nowrap; }
.fg-page-grid .member-designs { background: var(--white); }
.fg-page-grid .member-designs__item, .fg-page-grid .member-designs__item:nth-child(3n + 2), .fg-page-grid .member-designs__item:nth-child(3n + 3) { background: transparent; }
.fg-page-grid .member-designs__label { background: none; box-shadow: none; color: var(--gray-500); }

@media (max-width: 768px) {
    .fg-page-grid .member-title { font-size: var(--fg-fs-heading); }
    .fg-page-grid .order-row--view .order-row__name, .fg-page-grid .order-row__product-name { font-size: var(--fg-fs-small); }
}
@media (hover: hover) {
    .fg-page-grid .profile-edit-btn:hover, .fg-page-grid .quick-action-btn:hover, .fg-page-grid .orders-sort-btn:hover, .fg-page-grid #member-designs-more:hover {
        border-color: var(--fg-brand); color: var(--fg-brand); }
    .fg-page-grid .btn-cancel-order:hover { border-color: #EF4444; color: #EF4444; }
    .fg-page-grid .btn-repay-order:hover { border-color: var(--primary-hover); }
    .fg-page-grid .order-history-item:hover { background: var(--fg-bg-brand); }
}
#member-designs-section { scroll-margin-top: calc(96px + var(--safe-top, 0px)); }
