.page-main {
    padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px) + 16px);
}

.page-header {
    max-width: 720px;
    margin: 0 auto;
    padding: 18px 12px 10px;
}

.page-header-top {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.page-subtitle--desktop {
    display: none;
}

.profile-tabs {
    display: flex;
    gap: 8px;
    max-width: 720px;
    margin: 0 auto 14px;
    padding: 0 8px;
}

.profile-tab-btn {
    flex: 1;
    border: none;
    background: rgba(255, 255, 255, 0.75);
    color: var(--text-light);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 10px;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.profile-tab-btn.active {
    background: var(--card-bg);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.15);
}

.profile-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 107, 53, 0.12);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.profile-tab-btn:not(.active) .profile-tab-count {
    background: rgba(99, 110, 114, 0.1);
    color: var(--text-light);
}

.profile-tab-count.is-empty {
    display: none;
}

.profile-tab-panel {
    display: none;
}

.profile-tab-panel.active {
    display: block;
}

.addresses-login-note {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.18);
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-light, #636E72);
}

.addresses-add-card {
    background: var(--card-bg, #fff);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.addresses-add-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary, #2D3436);
    margin-bottom: 8px;
}

.addresses-add-input,
.address-edit-input {
    width: 100%;
    min-height: 72px;
    padding: 12px 14px;
    border: 2px solid var(--border, #E8E8E8);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text, #2D3436);
    resize: vertical;
    background: #fff;
}

.addresses-add-input:focus,
.address-edit-input:focus {
    outline: none;
    border-color: rgba(255, 107, 53, 0.55);
}

.addresses-add-btn {
    width: 100%;
    margin-top: 10px;
}

.addresses-form-error {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--danger, #E74C3C);
    font-weight: 600;
}

.addresses-form-error[hidden] {
    display: none !important;
}

.addresses-empty {
    text-align: center;
    padding: 28px 16px;
    color: var(--text-light, #636E72);
    font-size: 14px;
    line-height: 1.5;
}

.addresses-list {
    display: grid;
    gap: 10px;
}

.address-card {
    background: var(--card-bg, #fff);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.address-card--editing {
    flex-direction: column;
    align-items: stretch;
}

.address-card-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.address-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary, #FF6B35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.address-card-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.address-card-text {
    min-width: 0;
}

.address-default-badge {
    display: inline-flex;
    margin-bottom: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 184, 148, 0.12);
    color: var(--success, #00B894);
    font-size: 11px;
    font-weight: 700;
}

.address-card-value {
    font-size: 14px;
    line-height: 1.5;
    color: var(--secondary, #2D3436);
    word-break: break-word;
}

.address-card-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.address-card--editing .address-card-actions {
    justify-content: flex-end;
}

.address-action-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 12px;
    background: var(--bg, #FFF8F0);
    color: var(--secondary, #2D3436);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 0 12px;
    width: auto;
    min-width: 38px;
}

.address-action-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.address-action-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary, #FF6B35);
}

.address-action-btn--primary {
    background: var(--primary, #FF6B35);
    color: #fff;
}

.address-action-btn--primary:hover {
    background: var(--primary-dark, #E55A2B);
    color: #fff;
}

.address-action-btn--danger:hover {
    background: rgba(231, 76, 60, 0.12);
    color: var(--danger, #E74C3C);
}

@media (max-width: 520px) {
    .address-card {
        flex-direction: column;
    }
    .address-card-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

.page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 8px;
}

.order-success {
    background: rgba(0, 184, 148, 0.12);
    border: 1px solid rgba(0, 184, 148, 0.35);
    color: #00856d;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.45;
}

.profile-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.profile-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff8e53);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.profile-hero-text {
    min-width: 0;
    flex: 1;
}

.profile-user-name {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    word-break: break-word;
}

.profile-user-meta {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.4;
}

.profile-info-grid {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--border);
    padding-top: 4px;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}

.profile-info-row:last-child {
    border-bottom: none;
}

.profile-info-label {
    color: var(--text-light);
    flex-shrink: 0;
}

.profile-info-value {
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.profile-loyalty {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(253, 203, 110, 0.15));
    border: 1px solid rgba(255, 107, 53, 0.15);
}

.profile-loyalty-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.profile-loyalty-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
}

.profile-loyalty-percent {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.profile-loyalty-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    margin-bottom: 8px;
}

.profile-loyalty-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #ffb347);
    transition: width 0.35s ease;
}

.profile-loyalty-note {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-light);
    text-align: center;
}

.profile-birthday {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: var(--card-bg, #fff);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.profile-birthday--locked {
    background: rgba(255, 255, 255, 0.72);
}

.profile-birthday-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.profile-birthday-head > div {
    flex: 1;
    min-width: 0;
}

.profile-birthday-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary, #FF6B35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-birthday-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.profile-birthday-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--secondary, #2D3436);
    line-height: 1.2;
}

.profile-birthday-value {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary, #2D3436);
}

.profile-birthday-hint,
.profile-birthday-note {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-light, #636E72);
    overflow-wrap: anywhere;
}

.profile-birthday-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.profile-birthday-field {
    display: block;
    width: 100%;
}

.profile-birthday-field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary, #2D3436);
    margin-bottom: 8px;
}

.profile-birthday-input-wrap {
    position: relative;
    width: 100%;
}

.profile-birthday-input {
    display: block;
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 44px 0 14px;
    border: 2px solid rgba(45, 52, 54, 0.2);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 48px;
    color: var(--text, #2D3436);
    background: var(--bg, #FFF8F0);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    color-scheme: light;
    cursor: pointer;
    box-sizing: border-box;
}

.profile-birthday-input::-webkit-date-and-time-value {
    text-align: left;
}

.profile-birthday-input::-webkit-datetime-edit {
    padding: 0;
    line-height: 1.2;
}

.profile-birthday-input::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

.profile-birthday-input::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    opacity: 0.85;
    cursor: pointer;
}

.profile-birthday-input:focus {
    outline: none;
    border-color: var(--primary, #FF6B35);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.16);
}

.profile-birthday-form .profile-btn.profile-birthday-save {
    flex-shrink: 0;
    width: 100%;
    min-height: 48px;
    height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--primary, #FF6B35);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.profile-birthday-form .profile-btn.profile-birthday-save:hover {
    background: var(--primary-dark, #E55A2B);
}

.profile-birthday-form .profile-btn.profile-birthday-save:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.profile-birthday-error {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--danger, #E74C3C);
    font-weight: 600;
}

.profile-birthday-error[hidden] {
    display: none !important;
}

@media (min-width: 769px) {
    .profile-birthday-form {
        flex-direction: row;
        align-items: flex-end;
        gap: 12px;
    }

    .profile-birthday-field {
        flex: 1;
        min-width: 0;
    }

    .profile-birthday-form .profile-btn.profile-birthday-save {
        width: auto;
        min-width: 168px;
    }
}

.profile-loyalty-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 10px;
    padding: 4px 0;
}

.loyalty-step {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid var(--border, #E8E8E8);
    color: #b2bec3;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.loyalty-step svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.loyalty-step.is-done {
    background: rgba(255, 107, 53, 0.14);
    border-color: rgba(255, 107, 53, 0.55);
    color: var(--primary, #FF6B35);
}

.loyalty-step-reward {
    width: auto;
    min-width: 38px;
    height: 34px;
    padding: 0 8px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(253, 203, 110, 0.35));
    border-color: rgba(255, 107, 53, 0.45);
    color: var(--primary-dark, #E55A2B);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.loyalty-step-reward span {
    line-height: 1;
}

@media (min-width: 400px) {
    .profile-loyalty-steps {
        gap: 8px;
    }
    .loyalty-step {
        width: 36px;
        height: 36px;
    }
    .loyalty-step svg {
        width: 19px;
        height: 19px;
    }
}

.profile-quick-links {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.profile-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    background: var(--card-bg);
    border-radius: 16px;
    text-decoration: none;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s, box-shadow 0.2s, color 0.2s;
    text-align: center;
}

.profile-quick-link svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
    flex-shrink: 0;
}

.profile-quick-link:hover {
    color: var(--primary);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.12);
}

.profile-quick-link:active {
    transform: scale(0.98);
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.profile-btn:active {
    transform: scale(0.99);
}

.profile-btn-primary {
    background: #2AABEE;
    color: #fff;
    box-shadow: 0 4px 14px rgba(42, 171, 238, 0.35);
}

.profile-btn-primary:hover {
    background: #2298d6;
}

.profile-btn-secondary {
    background: var(--bg);
    color: var(--secondary);
    border: 1px solid var(--border);
}

.profile-btn-danger {
    background: rgba(231, 76, 60, 0.08);
    color: var(--danger);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

        .profile-guest-card {
            text-align: center;
            padding: 24px 20px 20px;
        }

.profile-guest-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.profile-guest-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
}

.profile-guest-note {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 18px;
}

.profile-guest-benefits {
    list-style: none;
    text-align: left;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.profile-guest-benefits li {
    font-size: 13px;
    color: var(--text-light);
    padding-left: 22px;
    position: relative;
    line-height: 1.45;
}

.profile-guest-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 800;
}

.profile-toast {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px) + 12px);
    background: #2D3436;
    color: #fff;
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 120;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s, transform 0.25s;
    font-size: 14px;
    line-height: 1.45;
}

.profile-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.profile-toast b {
    color: #FFB347;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-card {
    background: var(--card-bg);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.order-card.is-active {
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.15);
}

.order-card-summary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.order-card-summary:hover {
    background: rgba(255, 107, 53, 0.04);
}

.order-summary-main {
    flex: 1;
    min-width: 0;
}

.order-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.order-summary-row + .order-summary-row {
    margin-top: 6px;
}

.order-card-details {
    display: none;
    padding: 0 16px 14px;
    border-top: 1px solid var(--border);
}

.order-card.expanded .order-card-details {
    display: block;
    padding-top: 12px;
}

.order-chevron {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-light);
    transition: transform 0.2s;
}

.order-card.expanded .order-chevron {
    transform: rotate(180deg);
}

.order-summary-total {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.orders-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding-bottom: 8px;
}

.orders-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    font-family: inherit;
}

.orders-page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.orders-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.orders-page-info {
    font-size: 14px;
    color: var(--text-light);
    min-width: 80px;
    text-align: center;
}

.order-number {
    font-size: 15px;
    font-weight: 800;
}

.order-date {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.order-status {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 107, 53, 0.12);
    color: var(--primary);
    white-space: nowrap;
}

.order-status.completed { background: rgba(0, 184, 148, 0.12); color: var(--success); }
.order-status.cancelled { background: rgba(231, 76, 60, 0.12); color: var(--danger); }
.order-status.pending { background: rgba(255, 107, 53, 0.15); color: var(--primary); }
.order-status.processing { background: rgba(52, 152, 219, 0.12); color: #3498db; }
.order-status.confirmed { background: rgba(41, 128, 185, 0.12); color: #2980b9; }
.order-status.ready { background: rgba(243, 156, 18, 0.12); color: #f39c12; }
.order-status.awaiting_pickup { background: rgba(0, 184, 148, 0.15); color: var(--success); }
.order-status.delivering { background: rgba(155, 89, 182, 0.12); color: #9b59b6; }

.order-status.is-live {
    animation: orderPulse 2s ease-in-out infinite;
}

@keyframes orderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.72; }
}

.order-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.45;
}

.order-items {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
    padding-left: 0;
    list-style: none;
}

.order-items li {
    padding: 4px 0;
    border-bottom: 1px dashed var(--border);
}

.order-items li:last-child {
    border-bottom: none;
}

.order-total {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
}

.orders-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    background: var(--card-bg);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    font-size: 14px;
    line-height: 1.55;
}

.orders-empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.orders-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 12px 22px;
    background: var(--primary);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

@media (max-width: 768px) {
    :root { --nav-height: 58px; }
    .page-header { padding: 14px 10px 8px; }
    .page-content { padding: 0 6px; }
    .profile-tabs { padding: 0 6px; }
}

@media (min-width: 769px) {
    .profile-quick-links {
        display: grid;
    }
    .page-main { padding-bottom: 24px; }
    .page-header {
        padding: 24px 20px 14px;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
    }
    .page-content { padding: 0 20px; }
    .profile-tabs { padding: 0 20px; }
    .page-subtitle--desktop {
        display: block;
        margin-top: 0;
        font-size: 15px;
        font-weight: 600;
        color: var(--secondary);
        text-align: right;
        white-space: nowrap;
    }
    .page-subtitle--mobile {
        display: none;
    }
    .profile-toast {
        left: 50%;
        right: auto;
        width: 420px;
        margin-left: -210px;
        bottom: 24px;
    }
}
