@charset "UTF-8";

body.profile-dashboard-active {
    --profile-page-bg: #f4f5f9;
    --profile-panel: #ffffff;
    --profile-panel-soft: #f8f8fb;
    --profile-line: rgba(30, 32, 48, 0.09);
    --profile-line-strong: rgba(30, 32, 48, 0.15);
    --profile-ink: #191a24;
    --profile-copy: #626574;
    --profile-muted: #9295a3;
    --profile-accent: #6758f3;
    --profile-accent-strong: #5545e8;
    --profile-shadow: 0 22px 60px rgba(36, 38, 58, 0.08);
    --profile-type-caption: 11px;
    --profile-type-overline: 12px;
    --profile-type-meta: 13px;
    --profile-type-body: 14px;
    --profile-type-label: 15px;
    --profile-type-card-title: 16px;
    color: var(--profile-ink);
    background:
        radial-gradient(circle at 13% 4%, rgba(103, 88, 243, 0.11), transparent 24%),
        radial-gradient(circle at 92% 15%, rgba(236, 72, 153, 0.06), transparent 22%),
        linear-gradient(180deg, #fbfbfd 0, var(--profile-page-bg) 52%, #f2f3f7 100%);
    background-color: var(--profile-page-bg);
    background-image:
        radial-gradient(circle at 13% 4%, rgba(103, 88, 243, 0.11), transparent 24%),
        radial-gradient(circle at 92% 15%, rgba(236, 72, 153, 0.06), transparent 22%),
        linear-gradient(180deg, #fbfbfd 0, var(--profile-page-bg) 52%, #f2f3f7 100%);
    background-size: auto;
}

body.profile-dashboard-active #main-container {
    padding: 0;
}

body.profile-dashboard-active #profile-page {
    width: 100%;
    max-width: none;
    min-height: 100%;
    flex: 1 1 auto;
    margin: 0;
    padding: 44px clamp(20px, 2.5vw, 48px) 64px;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-padding-top: 24px;
    color: var(--profile-ink);
    font-size: var(--profile-type-body);
}

body.profile-dashboard-active #user-profile {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 22px;
}

body.profile-dashboard-active .profile-dashboard-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding: 0 2px 6px;
}

body.profile-dashboard-active .profile-dashboard-copy {
    min-width: 0;
    display: grid;
    gap: 7px;
}

body.profile-dashboard-active .profile-dashboard-copy h1 {
    margin: 0;
    color: var(--profile-ink);
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 850 !important;
    line-height: 1.04;
    letter-spacing: -0.055em;
}

body.profile-dashboard-active .profile-dashboard-copy p {
    margin: 0;
    color: var(--profile-muted);
    font-size: var(--profile-type-label);
    font-weight: 500 !important;
    line-height: 1.65;
}

body.profile-dashboard-active #user-profile > .profile-grid-top {
    display: grid;
    grid-template-columns: minmax(0, 1.64fr) minmax(330px, 0.76fr);
    gap: 20px;
    align-items: stretch;
}

body.profile-dashboard-active #user-profile > .profile-grid-top > .glass-card,
body.profile-dashboard-active #user-profile > .profile-grid-bottom > .glass-card {
    border: 1px solid var(--profile-line);
    border-radius: 28px;
    box-shadow: var(--profile-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.profile-dashboard-active #user-profile > .profile-grid-top > .glass-card:hover,
body.profile-dashboard-active #user-profile > .profile-grid-bottom > .glass-card:hover {
    transform: translateY(-3px);
    border-color: var(--profile-line-strong);
    box-shadow: 0 28px 74px rgba(36, 38, 58, 0.12);
}

body.profile-dashboard-active .profile-hero-card {
    position: relative;
    min-height: 342px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(270px, 0.78fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px 34px;
    padding: 32px;
    overflow: hidden;
    isolation: isolate;
    border-color: rgba(255, 255, 255, 0.08) !important;
    background:
        radial-gradient(circle at 8% 4%, rgba(139, 124, 255, 0.34), transparent 30%),
        radial-gradient(circle at 92% 82%, rgba(236, 72, 153, 0.18), transparent 28%),
        linear-gradient(135deg, #161622 0%, #211d39 54%, #31245a 100%) !important;
    color: #ffffff;
    box-shadow: 0 28px 68px rgba(34, 28, 68, 0.25) !important;
}

body.profile-dashboard-active .profile-hero-card::before,
body.profile-dashboard-active .profile-hero-card::after {
    display: none;
}

body.profile-dashboard-active .profile-hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

body.profile-dashboard-active .profile-hero-orb-one {
    width: 260px;
    height: 260px;
    top: -156px;
    right: 18%;
    border: 42px solid rgba(255, 255, 255, 0.035);
}

body.profile-dashboard-active .profile-hero-orb-two {
    width: 150px;
    height: 150px;
    right: -54px;
    bottom: -62px;
    background: rgba(139, 124, 255, 0.12);
    filter: blur(2px);
}

body.profile-dashboard-active .profile-user-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

body.profile-dashboard-active .profile-avatar-editor {
    flex: 0 0 78px;
    display: grid;
    justify-items: center;
    gap: 7px;
}

body.profile-dashboard-active .profile-avatar-editor > small {
    max-width: 92px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 10px;
    font-weight: 650 !important;
    line-height: 1.3;
    text-align: center;
}

body.profile-dashboard-active .profile-avatar-editor > small[data-state="success"] {
    color: #bbf7d0;
}

body.profile-dashboard-active .profile-avatar-editor > small[data-state="error"] {
    color: #fecaca;
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large {
    position: relative;
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 24px;
    outline: none;
    background: linear-gradient(145deg, #8b7cff 0%, #6758f3 52%, #ec4899 135%);
    color: #ffffff;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(20, 16, 50, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.32);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(20, 16, 50, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large:focus-visible {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.24), 0 18px 36px rgba(20, 16, 50, 0.38);
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large.is-uploading {
    pointer-events: none;
    opacity: 0.72;
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large img {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    object-fit: cover;
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large img[hidden],
body.profile-dashboard-active .profile-hero-card .user-avatar-large #profile-avatar-text[hidden] {
    display: none;
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large #profile-avatar-text {
    position: relative;
    z-index: 1;
    font-size: 28px;
    font-weight: 850 !important;
    line-height: 1;
    text-transform: uppercase;
}

body.profile-dashboard-active .profile-avatar-edit-badge {
    position: absolute;
    z-index: 3;
    top: -7px;
    right: -7px;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 3px solid #25213d;
    border-radius: 10px;
    background: #ffffff;
    color: #6758f3;
    box-shadow: 0 8px 18px rgba(20, 16, 50, 0.28);
}

body.profile-dashboard-active .profile-avatar-edit-badge svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large.is-uploading .profile-avatar-edit-badge svg {
    animation: profile-avatar-upload-spin 0.8s linear infinite;
}

@keyframes profile-avatar-upload-spin {
    to { transform: rotate(360deg); }
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large i {
    position: absolute;
    z-index: 2;
    right: -2px;
    bottom: -2px;
    width: 17px;
    height: 17px;
    border: 4px solid #1c1930;
    border-radius: 50%;
    background: #35d07f;
    box-shadow: 0 0 16px rgba(53, 208, 127, 0.5);
}

body.profile-dashboard-active .profile-hero-card .user-details {
    min-width: 0;
    display: grid;
    gap: 7px;
}

body.profile-dashboard-active .profile-hero-card .profile-welcome {
    color: rgba(255, 255, 255, 0.76);
    font-size: var(--profile-type-body);
    font-weight: 500 !important;
}

body.profile-dashboard-active .profile-hero-card .user-details h2 {
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: #ffffff;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 850 !important;
    letter-spacing: -0.045em;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-dashboard-active .profile-account-meta {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

body.profile-dashboard-active .profile-hero-card #profile-level-tag {
    min-height: 27px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ddd9ff;
    font-family: inherit;
    font-size: var(--profile-type-overline);
    font-weight: 800 !important;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

body.profile-dashboard-active .profile-hero-card #profile-level-tag:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.16);
}

body.profile-dashboard-active .profile-hero-card #profile-email {
    max-width: 230px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--profile-type-meta);
    font-weight: 500 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-dashboard-active .profile-hero-card .profile-quota-inline {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.profile-dashboard-active .profile-quota-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.profile-dashboard-active .profile-quota-heading > div {
    display: grid;
    gap: 4px;
}

body.profile-dashboard-active .profile-hero-card .profile-quota-heading span {
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--profile-type-body);
    font-weight: 700 !important;
}

body.profile-dashboard-active .profile-hero-card .profile-quota-heading small {
    color: rgba(255, 255, 255, 0.68);
    font-size: var(--profile-type-caption);
    font-weight: 500 !important;
    line-height: 1.5;
}

body.profile-dashboard-active .profile-quota-icon {
    width: 34px;
    height: 34px;
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.1);
    color: #dcd7ff;
}

body.profile-dashboard-active .profile-quota-icon svg {
    width: 17px;
    height: 17px;
}

body.profile-dashboard-active .profile-hero-card .credit-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 15px 0 13px;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 850 !important;
    letter-spacing: -0.06em;
    line-height: 0.95;
}

body.profile-dashboard-active .profile-hero-card .credit-amount em {
    color: rgba(255, 255, 255, 0.48);
    font-size: var(--profile-type-meta);
    font-style: normal;
    font-weight: 600 !important;
    letter-spacing: 0;
}

body.profile-dashboard-active .profile-quota-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.42);
    font-size: var(--profile-type-caption);
    font-weight: 500 !important;
}

body.profile-dashboard-active .profile-quota-status span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.profile-dashboard-active .profile-quota-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #35d07f;
    box-shadow: 0 0 10px rgba(53, 208, 127, 0.55);
}

body.profile-dashboard-active .profile-quota-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    margin-top: 14px;
}

body.profile-dashboard-active .profile-hero-card .profile-quota-btn,
body.profile-dashboard-active .profile-quota-secondary {
    min-height: 40px;
    margin: 0;
    border-radius: 12px;
    font-family: inherit;
    font-size: var(--profile-type-overline);
    font-weight: 800 !important;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

body.profile-dashboard-active .profile-hero-card .profile-quota-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    background: #ffffff;
    color: #242035;
    box-shadow: 0 10px 24px rgba(9, 8, 20, 0.2);
}

body.profile-dashboard-active .profile-hero-card .profile-quota-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

body.profile-dashboard-active .profile-quota-secondary {
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
}

body.profile-dashboard-active .profile-hero-card .profile-quota-btn:hover,
body.profile-dashboard-active .profile-quota-secondary:hover {
    transform: translateY(-1px);
}

body.profile-dashboard-active .profile-hero-card .profile-quota-btn:hover {
    background: #eeeaff;
}

body.profile-dashboard-active .profile-quota-secondary:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.11);
}

body.profile-dashboard-active .profile-hero-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.045);
}

body.profile-dashboard-active .profile-hero-stats > div {
    min-width: 0;
    min-height: 64px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 12px 16px;
}

body.profile-dashboard-active .profile-hero-stats > div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.075);
}

body.profile-dashboard-active .profile-hero-stats span {
    color: rgba(255, 255, 255, 0.42);
    font-size: var(--profile-type-caption);
    font-weight: 500 !important;
}

body.profile-dashboard-active .profile-hero-stats strong {
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--profile-type-label);
    font-weight: 750 !important;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-dashboard-active .profile-hero-stats strong b {
    font-size: 22px;
    font-weight: 850 !important;
    letter-spacing: -0.04em;
}

body.profile-dashboard-active .profile-hero-stats strong small {
    color: rgba(255, 255, 255, 0.45);
    font-size: var(--profile-type-caption);
    font-weight: 500 !important;
}

body.profile-dashboard-active .profile-status-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #82e8ad !important;
}

body.profile-dashboard-active .profile-status-active i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35d07f;
    box-shadow: 0 0 11px rgba(53, 208, 127, 0.58);
}

body.profile-dashboard-active .profile-checkin-card {
    position: relative;
    min-height: 342px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    padding: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 190, 92, 0.21), transparent 32%),
        linear-gradient(155deg, #ffffff 0%, #fffdfa 58%, #fff8ec 100%) !important;
}

body.profile-dashboard-active .profile-checkin-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    right: -76px;
    bottom: -80px;
    border: 28px solid rgba(245, 158, 11, 0.055);
    border-radius: 50%;
    pointer-events: none;
}

body.profile-dashboard-active .profile-checkin-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.profile-dashboard-active .profile-card-heading {
    display: flex;
    align-items: center;
    gap: 11px;
}

body.profile-dashboard-active .profile-card-heading > div:last-child {
    min-width: 0;
    display: grid;
    gap: 4px;
}

body.profile-dashboard-active .profile-card-heading strong {
    color: var(--profile-ink);
    font-size: var(--profile-type-card-title);
    font-weight: 850 !important;
    line-height: 1.2;
}

body.profile-dashboard-active .profile-card-heading span {
    color: var(--profile-muted);
    font-size: var(--profile-type-overline);
    font-weight: 500 !important;
    line-height: 1.45;
}

body.profile-dashboard-active .profile-card-heading-icon {
    width: 39px;
    height: 39px;
    display: grid;
    flex: 0 0 39px;
    place-items: center;
    border-radius: 13px;
}

body.profile-dashboard-active .profile-card-heading-icon svg {
    width: 18px;
    height: 18px;
}

body.profile-dashboard-active .profile-card-heading-icon-amber {
    border: 1px solid rgba(245, 158, 11, 0.13);
    background: #fff3dc;
    color: #d47a07;
}

body.profile-dashboard-active .profile-card-heading-icon-blue {
    border: 1px solid rgba(79, 110, 246, 0.12);
    background: #edf1ff;
    color: #5363df;
}

body.profile-dashboard-active .profile-card-heading-icon-slate {
    border: 1px solid rgba(86, 91, 108, 0.1);
    background: #f0f1f5;
    color: #666b7b;
}

body.profile-dashboard-active .profile-checkin-badge {
    padding: 5px 8px;
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 999px;
    background: rgba(255, 247, 226, 0.82);
    color: #bd6a09;
    font-size: var(--profile-type-caption);
    font-weight: 850 !important;
    letter-spacing: 0.12em;
}

body.profile-dashboard-active .profile-checkin-card .checkin-card-body {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 1;
    gap: 12px;
}

body.profile-dashboard-active .profile-checkin-card .checkin-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(217, 119, 6, 0.09);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.profile-dashboard-active .profile-checkin-streak-copy,
body.profile-dashboard-active .profile-checkin-rewards {
    display: grid;
    gap: 4px;
}

body.profile-dashboard-active .profile-checkin-streak-copy {
    align-content: center;
    justify-items: start;
}

body.profile-dashboard-active .profile-checkin-streak-copy span {
    justify-self: start;
    color: #9a7961;
    font-size: var(--profile-type-caption);
    font-weight: 500 !important;
    text-align: left;
}

body.profile-dashboard-active .profile-checkin-card .checkin-main strong {
    grid-row: auto;
    color: #2a2320;
    font-size: 25px;
    font-weight: 850 !important;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

body.profile-dashboard-active .profile-checkin-rewards {
    justify-items: end;
}

body.profile-dashboard-active .profile-checkin-card .checkin-main .profile-checkin-rewards span,
body.profile-dashboard-active .profile-checkin-card .checkin-main .profile-checkin-rewards em {
    color: #94735d;
    font-size: var(--profile-type-caption);
    font-style: normal;
    font-weight: 600 !important;
    text-align: right;
}

body.profile-dashboard-active .profile-checkin-card .checkin-main .profile-checkin-rewards span {
    color: #c46d0a;
}

body.profile-dashboard-active .profile-checkin-card .checkin-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
    margin: 0;
}

body.profile-dashboard-active .profile-checkin-card .checkin-day {
    min-width: 0;
    min-height: 48px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 4px;
    padding: 6px 2px;
    border: 1px solid rgba(31, 32, 45, 0.07);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.74);
}

body.profile-dashboard-active .profile-checkin-card .checkin-day span {
    color: #a1a3ad;
    font-size: var(--profile-type-caption);
    font-weight: 500 !important;
}

body.profile-dashboard-active .profile-checkin-card .checkin-day strong {
    color: #6e707c;
    font-size: var(--profile-type-caption);
    font-weight: 800 !important;
}

body.profile-dashboard-active .profile-checkin-card .checkin-day.checked {
    border-color: rgba(39, 174, 96, 0.2);
    background: #effaf3;
}

body.profile-dashboard-active .profile-checkin-card .checkin-day.checked strong {
    color: #23844c;
}

body.profile-dashboard-active .profile-checkin-card .checkin-day.today:not(.checked) {
    border-color: rgba(245, 158, 11, 0.34);
    background: #fff5df;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.08);
}

body.profile-dashboard-active .profile-checkin-card #checkin-btn {
    width: 100%;
    min-height: 42px;
    margin: 0;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #f59e0b, #e8790b);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(232, 121, 11, 0.2);
    font-size: var(--profile-type-meta);
    font-weight: 850 !important;
}

body.profile-dashboard-active .profile-checkin-card #checkin-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ee9205, #d96a06);
    box-shadow: 0 15px 28px rgba(232, 121, 11, 0.27);
    transform: translateY(-1px);
}

body.profile-dashboard-active .profile-checkin-card #checkin-btn:disabled {
    background: #ebe8e2;
    color: #9c978f;
    box-shadow: none;
}

body.profile-dashboard-active .profile-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 2px 0;
}

body.profile-dashboard-active .profile-section-heading > div {
    display: grid;
    gap: 4px;
}

body.profile-dashboard-active .profile-section-heading h2 {
    margin: 0;
    color: var(--profile-ink);
    font-size: 21px;
    font-weight: 850 !important;
    letter-spacing: -0.035em;
}

body.profile-dashboard-active .profile-section-heading p {
    margin: 0;
    color: var(--profile-muted);
    font-size: var(--profile-type-meta);
    font-weight: 500 !important;
    line-height: 1.5;
}

body.profile-dashboard-active #user-profile > .profile-grid-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.34fr);
    gap: 20px;
    align-items: stretch;
    padding-bottom: 0;
}

body.profile-dashboard-active .profile-tools-card,
body.profile-dashboard-active .profile-settings-card {
    grid-column: auto;
    grid-row: auto;
}

body.profile-dashboard-active .profile-grid-bottom > .bento-card {
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.94);
}

body.profile-dashboard-active .profile-tools-card .menu-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

body.profile-dashboard-active .profile-tools-card .menu-item {
    position: relative;
    min-width: 0;
    min-height: 84px;
    display: flex;
    align-items: center;
    padding: 14px 42px 14px 14px;
    border: 1px solid rgba(32, 34, 50, 0.075);
    border-radius: 16px;
    background: #fafafd;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

body.profile-dashboard-active .profile-tools-card .menu-item::after {
    content: '›';
    position: absolute;
    right: 15px;
    top: 50%;
    color: #c4c6cf;
    font-size: 20px;
    font-weight: 500 !important;
    line-height: 1;
    transform: translateY(-50%);
    transition: color 180ms ease, transform 180ms ease;
}

body.profile-dashboard-active .profile-tools-card .menu-icon-text {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    color: #343643 !important;
}

body.profile-dashboard-active .profile-tools-card .profile-tool-copy {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 4px;
}

body.profile-dashboard-active .profile-tools-card .profile-tool-copy strong {
    overflow: hidden;
    color: #343643;
    font-size: var(--profile-type-body);
    font-weight: 800 !important;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-dashboard-active .profile-tools-card .profile-tool-copy small {
    overflow: hidden;
    color: #9698a5;
    font-size: var(--profile-type-caption);
    font-weight: 500 !important;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-dashboard-active .profile-tools-card .menu-icon-text svg {
    width: 42px;
    height: 42px;
    flex: none;
    padding: 11px;
    border-radius: 14px;
    background: #efedff;
    stroke: #6758f3;
}

body.profile-dashboard-active .profile-tools-card .menu-item:nth-child(2) .menu-icon-text svg,
body.profile-dashboard-active .profile-tools-card .menu-item:nth-child(6) .menu-icon-text svg {
    background: #eaf2ff;
    stroke: #3974d8;
}

body.profile-dashboard-active .profile-tools-card .menu-item:nth-child(3) .menu-icon-text svg,
body.profile-dashboard-active .profile-tools-card .menu-item:nth-child(9) .menu-icon-text svg {
    background: #fff0f5;
    stroke: #d34f79;
}

body.profile-dashboard-active .profile-tools-card .menu-item:nth-child(4) .menu-icon-text svg,
body.profile-dashboard-active .profile-tools-card .menu-item:nth-child(7) .menu-icon-text svg {
    background: #ebf9f1;
    stroke: #2f965a;
}

body.profile-dashboard-active .profile-tools-card .menu-item:nth-child(5) .menu-icon-text svg,
body.profile-dashboard-active .profile-tools-card .menu-item:nth-child(8) .menu-icon-text svg {
    background: #fff4df;
    stroke: #ca7810;
}

body.profile-dashboard-active .profile-tools-card .menu-item:hover {
    border-color: rgba(103, 88, 243, 0.2);
    background: #f8f7ff;
    box-shadow: 0 12px 28px rgba(73, 62, 156, 0.08);
    transform: translateY(-2px);
}

body.profile-dashboard-active .profile-tools-card .menu-item:hover::after {
    color: var(--profile-accent);
    transform: translate(2px, -50%);
}

body.profile-dashboard-active .profile-settings-card {
    background:
        radial-gradient(circle at 100% 0, rgba(103, 88, 243, 0.09), transparent 34%),
        rgba(255, 255, 255, 0.94) !important;
}

body.profile-dashboard-active .profile-preference-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(103, 88, 243, 0.1);
    border-radius: 17px;
    background: linear-gradient(135deg, #f5f3ff, #fbfaff);
}

body.profile-dashboard-active .profile-preference-icon {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #7567f5, #5848e8);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(103, 88, 243, 0.2);
}

body.profile-dashboard-active .profile-preference-icon svg {
    width: 19px;
    height: 19px;
}

body.profile-dashboard-active .profile-preference-preview > div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

body.profile-dashboard-active .profile-preference-preview strong {
    color: #343643;
    font-size: var(--profile-type-body);
    font-weight: 850 !important;
}

body.profile-dashboard-active .profile-preference-preview span {
    color: #9698a5;
    font-size: var(--profile-type-caption);
    font-weight: 500 !important;
    line-height: 1.45;
}

body.profile-dashboard-active .profile-settings-card .menu-list {
    display: grid;
    gap: 9px;
}

body.profile-dashboard-active .profile-settings-card .menu-item {
    position: relative;
    min-height: 62px;
    display: flex;
    align-items: center;
    padding: 11px 38px 11px 12px;
    border: 1px solid rgba(32, 34, 50, 0.075);
    border-radius: 15px;
    background: #fafafd;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

body.profile-dashboard-active .profile-settings-card .menu-item::after {
    content: '›';
    position: absolute;
    right: 14px;
    top: 50%;
    color: #bfc1ca;
    font-size: 20px;
    font-weight: 500 !important;
    transform: translateY(-50%);
}

body.profile-dashboard-active .profile-settings-card .menu-icon-text {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #3b3d49;
}

body.profile-dashboard-active .profile-settings-card .menu-icon-text > svg {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 9px;
    border-radius: 12px;
    background: #eff0f4;
    stroke: #686d7b;
}

body.profile-dashboard-active .profile-settings-card .menu-icon-text > span {
    min-width: 0;
    display: grid;
    gap: 3px;
}

body.profile-dashboard-active .profile-settings-card .menu-icon-text strong {
    color: #3b3d49;
    font-size: var(--profile-type-meta);
    font-weight: 800 !important;
}

body.profile-dashboard-active .profile-settings-card .menu-icon-text small {
    color: #a0a2ad;
    font-size: var(--profile-type-caption);
    font-weight: 500 !important;
}

body.profile-dashboard-active .profile-settings-card .menu-item:hover {
    border-color: rgba(103, 88, 243, 0.18);
    background: #f8f7ff;
    transform: translateY(-1px);
}

body.profile-dashboard-active .profile-settings-card .profile-logout-item {
    border-color: rgba(211, 76, 76, 0.12);
    background: #fffafa;
}

body.profile-dashboard-active .profile-settings-card .profile-logout-item .menu-icon-text > svg {
    background: #fff0f0;
    stroke: #d34c4c;
}

body.profile-dashboard-active .profile-settings-card .profile-logout-item .menu-icon-text strong {
    color: #cb4b4b;
}

body.profile-dashboard-active .profile-settings-card .profile-logout-item:hover {
    border-color: rgba(211, 76, 76, 0.24);
    background: #fff5f5;
}

body.profile-dashboard-active .profile-panel-modal {
    background: rgba(19, 20, 29, 0.48);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.profile-dashboard-active .profile-panel-modal-box {
    border-color: rgba(31, 33, 48, 0.09);
    border-radius: 24px;
    background: #ffffff;
    color: var(--profile-ink);
    box-shadow: 0 30px 100px rgba(24, 25, 38, 0.24);
}

body.profile-dashboard-active .profile-panel-modal .modal-header {
    border-color: rgba(31, 33, 48, 0.08);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
}

body.profile-dashboard-active :where(.profile-quota-btn, .profile-quota-secondary, #checkin-btn, .menu-item, #profile-level-tag):focus-visible {
    outline: 3px solid rgba(103, 88, 243, 0.32);
    outline-offset: 3px;
}

body.profile-dashboard-active.profile-dashboard-dark {
    --profile-page-bg: #0d0f14;
    --profile-panel: #171a21;
    --profile-panel-soft: #20242d;
    --profile-line: rgba(255, 255, 255, 0.12);
    --profile-line-strong: rgba(255, 255, 255, 0.22);
    --profile-ink: #f7f8fb;
    --profile-copy: #c0c5d0;
    --profile-muted: #9aa2b1;
    --profile-shadow: 0 26px 74px rgba(0, 0, 0, 0.3);
    color: var(--profile-ink);
    background:
        radial-gradient(circle at 12% 3%, rgba(103, 88, 243, 0.18), transparent 26%),
        radial-gradient(circle at 92% 15%, rgba(236, 72, 153, 0.08), transparent 24%),
        linear-gradient(180deg, #12151c 0%, #0d0f14 55%, #0b0d12 100%);
}

body.profile-dashboard-active.profile-dashboard-dark .frontend-topbar {
    background: #111219;
    color: #f3f3f6;
}

body.profile-dashboard-active.profile-dashboard-dark .frontend-topbar-search {
    background: #1c1d25;
}

body.profile-dashboard-active.profile-dashboard-dark .frontend-topbar-search input {
    color: #ececf1;
}

body.profile-dashboard-active.profile-dashboard-dark .frontend-topbar-submit {
    background: #262731;
    color: #b6b8c2;
    box-shadow: none;
}

body.profile-dashboard-active.profile-dashboard-dark .frontend-topbar-member {
    background: #22232c;
    color: #e6e6ea !important;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-dashboard-copy h1,
body.profile-dashboard-active.profile-dashboard-dark .profile-section-heading h2,
body.profile-dashboard-active.profile-dashboard-dark .profile-card-heading strong {
    color: var(--profile-ink);
}

body.profile-dashboard-active.profile-dashboard-dark #user-profile > .profile-grid-bottom > .glass-card {
    border-color: var(--profile-line);
    background: rgba(21, 22, 29, 0.96);
    box-shadow: var(--profile-shadow);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-checkin-card {
    border-color: var(--profile-line);
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.13), transparent 32%),
        linear-gradient(155deg, #17171d 0%, #19181d 60%, #211b17 100%) !important;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-checkin-card .profile-card-heading strong,
body.profile-dashboard-active.profile-dashboard-dark .profile-checkin-card .checkin-main strong {
    color: #f4f0ec;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-checkin-card .profile-card-heading span,
body.profile-dashboard-active.profile-dashboard-dark .profile-checkin-streak-copy span,
body.profile-dashboard-active.profile-dashboard-dark .profile-checkin-card .checkin-main .profile-checkin-rewards em {
    color: #b3ada9;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-checkin-card .checkin-main,
body.profile-dashboard-active.profile-dashboard-dark .profile-checkin-card .checkin-day {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.065);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-checkin-card .checkin-day strong {
    color: #b8b4b0;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-checkin-card .checkin-day.checked {
    border-color: rgba(53, 208, 127, 0.2);
    background: rgba(53, 208, 127, 0.1);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-checkin-card .checkin-day.today:not(.checked) {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.1);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-grid-bottom > .bento-card {
    background: rgba(21, 22, 29, 0.96);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-tools-card .menu-item,
body.profile-dashboard-active.profile-dashboard-dark .profile-settings-card .menu-item {
    border-color: rgba(255, 255, 255, 0.07);
    background: #1b1c24;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-tools-card .menu-icon-text,
body.profile-dashboard-active.profile-dashboard-dark .profile-tools-card .profile-tool-copy strong,
body.profile-dashboard-active.profile-dashboard-dark .profile-settings-card .menu-icon-text strong {
    color: #e1e2e8 !important;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-tools-card .profile-tool-copy small,
body.profile-dashboard-active.profile-dashboard-dark .profile-settings-card .menu-icon-text small {
    color: #a0a6b2;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-tools-card .menu-item:hover,
body.profile-dashboard-active.profile-dashboard-dark .profile-settings-card .menu-item:hover {
    border-color: rgba(139, 124, 255, 0.24);
    background: #211f2c;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-settings-card {
    background:
        radial-gradient(circle at 100% 0, rgba(103, 88, 243, 0.12), transparent 34%),
        rgba(21, 22, 29, 0.96) !important;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-preference-preview {
    border-color: rgba(139, 124, 255, 0.15);
    background: linear-gradient(135deg, rgba(103, 88, 243, 0.12), rgba(103, 88, 243, 0.04));
}

body.profile-dashboard-active.profile-dashboard-dark .profile-preference-preview strong {
    color: #e4e4e9;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-settings-card .profile-logout-item {
    border-color: rgba(211, 76, 76, 0.18);
    background: rgba(211, 76, 76, 0.055);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-panel-modal-box,
body.profile-dashboard-active.profile-dashboard-dark .profile-panel-modal .modal-header {
    border-color: rgba(255, 255, 255, 0.08);
    background: #17181f;
    color: #f2f2f5;
}

@media (max-width: 1280px) {
    body.profile-dashboard-active #user-profile > .profile-grid-top {
        grid-template-columns: 1fr;
    }

    body.profile-dashboard-active .profile-checkin-card {
        min-height: 0;
    }

    body.profile-dashboard-active #user-profile > .profile-grid-bottom {
        grid-template-columns: 1fr;
    }

    body.profile-dashboard-active .profile-settings-card {
        display: grid;
        grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.52fr);
        grid-template-rows: auto auto;
        align-items: center;
    }

    body.profile-dashboard-active .profile-settings-card > .profile-card-heading {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    body.profile-dashboard-active #main-container {
        padding: 0;
    }

    body.profile-dashboard-active #profile-page {
        padding: 34px 18px calc(102px + env(safe-area-inset-bottom));
    }

    body.profile-dashboard-active .profile-hero-card {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.74fr);
        gap: 22px;
        padding: 25px;
    }

    body.profile-dashboard-active .profile-tools-card .menu-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body.profile-dashboard-active #user-profile {
        gap: 16px;
    }

    body.profile-dashboard-active .profile-dashboard-heading {
        align-items: center;
        gap: 14px;
    }

    body.profile-dashboard-active .profile-dashboard-copy h1 {
        font-size: 30px;
    }

    body.profile-dashboard-active .profile-dashboard-copy p {
        display: none;
    }

    body.profile-dashboard-active .profile-hero-card {
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 19px;
        padding: 22px;
        border-radius: 24px;
    }

    body.profile-dashboard-active .profile-user-main {
        gap: 14px;
    }

    body.profile-dashboard-active .profile-avatar-editor {
        flex-basis: 62px;
    }

    body.profile-dashboard-active .profile-avatar-editor > small {
        display: none;
    }

    body.profile-dashboard-active .profile-avatar-edit-badge {
        top: -6px;
        right: -6px;
        width: 24px;
        height: 24px;
        border-radius: 9px;
    }

    body.profile-dashboard-active .profile-hero-card .user-avatar-large {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
        border-radius: 19px;
    }

    body.profile-dashboard-active .profile-hero-card .user-avatar-large #profile-avatar-text {
        font-size: 23px;
    }

    body.profile-dashboard-active .profile-hero-card .user-details h2 {
        font-size: 27px;
    }

    body.profile-dashboard-active .profile-hero-card .profile-quota-inline {
        padding: 17px;
    }

    body.profile-dashboard-active .profile-hero-card .credit-amount {
        font-size: 38px;
    }

    body.profile-dashboard-active .profile-hero-stats > div {
        min-height: 58px;
        padding: 10px 12px;
    }

    body.profile-dashboard-active .profile-checkin-card,
    body.profile-dashboard-active .profile-grid-bottom > .bento-card {
        padding: 20px;
        border-radius: 24px;
    }

    body.profile-dashboard-active .profile-section-heading {
        padding-top: 4px;
    }

    body.profile-dashboard-active .profile-section-heading p {
        display: none;
    }

    body.profile-dashboard-active .profile-settings-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    body.profile-dashboard-active #main-container {
        padding: 0;
    }

    body.profile-dashboard-active #profile-page {
        padding: 28px 14px calc(102px + env(safe-area-inset-bottom));
    }

    body.profile-dashboard-active .profile-dashboard-copy h1 {
        font-size: 27px;
    }

    body.profile-dashboard-active .profile-account-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    body.profile-dashboard-active .profile-hero-card #profile-email {
        max-width: 180px;
    }

    body.profile-dashboard-active .profile-quota-actions {
        grid-template-columns: 1fr;
    }

    body.profile-dashboard-active .profile-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    body.profile-dashboard-active .profile-hero-stats > div:nth-child(3) {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255, 255, 255, 0.075);
        border-left: 0;
    }

    body.profile-dashboard-active .profile-checkin-card .checkin-main {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    body.profile-dashboard-active .profile-checkin-rewards {
        justify-items: end;
    }

    body.profile-dashboard-active .profile-checkin-card .checkin-main .profile-checkin-rewards span,
    body.profile-dashboard-active .profile-checkin-card .checkin-main .profile-checkin-rewards em {
        text-align: right;
    }

    body.profile-dashboard-active .profile-checkin-card .checkin-day {
        min-height: 43px;
        border-radius: 9px;
    }

    body.profile-dashboard-active .profile-tools-card .menu-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body.profile-dashboard-active .profile-tools-card .menu-item {
        min-height: 76px;
        align-items: center;
        padding: 12px 40px 12px 12px;
    }

    body.profile-dashboard-active .profile-tools-card .menu-icon-text {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
    }

    body.profile-dashboard-active .profile-tools-card .menu-icon-text svg {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
}

/* Profile account overview V2: separate identity, creation and quota responsibilities. */
body.profile-dashboard-active .profile-hero-card {
    min-height: 342px;
    grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 22px 26px;
    padding: 26px;
    border-color: rgba(103, 88, 243, 0.14) !important;
    background:
        radial-gradient(circle at 3% 0%, rgba(103, 88, 243, 0.13), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.07), transparent 30%),
        linear-gradient(145deg, #ffffff 0%, #fbfaff 52%, #f7f5ff 100%) !important;
    color: var(--profile-ink);
    box-shadow: 0 24px 64px rgba(54, 47, 108, 0.12) !important;
}

body.profile-dashboard-active .profile-hero-orb-one {
    width: 220px;
    height: 220px;
    top: -150px;
    right: 28%;
    border: 38px solid rgba(103, 88, 243, 0.055);
}

body.profile-dashboard-active .profile-hero-orb-two {
    width: 170px;
    height: 170px;
    right: -76px;
    bottom: -82px;
    background: rgba(236, 72, 153, 0.055);
    filter: blur(1px);
}

body.profile-dashboard-active .profile-identity-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 6px 4px 2px;
}

body.profile-dashboard-active .profile-user-main {
    align-items: center;
    gap: 20px;
}

body.profile-dashboard-active .profile-avatar-editor {
    flex-basis: 86px;
}

body.profile-dashboard-active .profile-avatar-editor > small {
    color: var(--profile-muted);
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large {
    width: 86px;
    height: 86px;
    flex-basis: 86px;
    border-color: rgba(103, 88, 243, 0.22);
    border-radius: 27px;
    background: linear-gradient(145deg, #8679ff 0%, #6758f3 58%, #9c4de4 100%);
    box-shadow: 0 18px 38px rgba(75, 61, 173, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large:hover {
    box-shadow: 0 22px 46px rgba(75, 61, 173, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

body.profile-dashboard-active .profile-avatar-edit-badge {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--profile-accent);
}

body.profile-dashboard-active .profile-hero-card .user-avatar-large i {
    border-color: #ffffff;
}

body.profile-dashboard-active .profile-hero-card .profile-welcome {
    color: var(--profile-copy);
}

body.profile-dashboard-active .profile-hero-card .user-details h2 {
    color: var(--profile-ink);
}

body.profile-dashboard-active .profile-hero-card #profile-level-tag {
    border-color: rgba(103, 88, 243, 0.16);
    background: rgba(103, 88, 243, 0.09);
    color: var(--profile-accent-strong);
    backdrop-filter: none;
}

body.profile-dashboard-active .profile-hero-card #profile-level-tag:hover {
    border-color: rgba(103, 88, 243, 0.3);
    background: rgba(103, 88, 243, 0.14);
}

body.profile-dashboard-active .profile-hero-card #profile-email {
    color: var(--profile-muted);
}

body.profile-dashboard-active .profile-identity-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-top: 18px;
    border-top: 1px solid var(--profile-line);
}

body.profile-dashboard-active .profile-hero-create-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--profile-accent) 0%, #7c5df7 100%);
    color: #ffffff;
    box-shadow: 0 13px 28px rgba(103, 88, 243, 0.25);
    font-family: inherit;
    font-size: var(--profile-type-body);
    font-weight: 800 !important;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

body.profile-dashboard-active .profile-hero-create-btn svg {
    width: 16px;
    height: 16px;
    stroke-linecap: round;
}

body.profile-dashboard-active .profile-hero-create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 34px rgba(103, 88, 243, 0.32);
    filter: saturate(1.08);
}

body.profile-dashboard-active .profile-hero-create-btn:focus-visible {
    outline: 3px solid rgba(103, 88, 243, 0.3);
    outline-offset: 3px;
}

body.profile-dashboard-active .profile-identity-actions p {
    max-width: 280px;
    margin: 0;
    color: var(--profile-muted);
    font-size: var(--profile-type-overline);
    font-weight: 550 !important;
    line-height: 1.55;
}

body.profile-dashboard-active .profile-hero-card .profile-quota-inline {
    align-self: stretch;
    padding: 20px;
    border-color: var(--profile-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 34px rgba(54, 47, 108, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.profile-dashboard-active .profile-hero-card .profile-quota-heading span {
    color: var(--profile-ink);
}

body.profile-dashboard-active .profile-hero-card .profile-quota-heading small {
    color: var(--profile-muted);
}

body.profile-dashboard-active .profile-quota-icon {
    border-color: rgba(103, 88, 243, 0.13);
    background: rgba(103, 88, 243, 0.09);
    color: var(--profile-accent);
}

body.profile-dashboard-active .profile-hero-card .credit-amount {
    color: var(--profile-ink);
}

body.profile-dashboard-active .profile-hero-card .credit-amount em {
    color: var(--profile-muted);
}

body.profile-dashboard-active .profile-quota-status {
    border-top-color: var(--profile-line);
    color: var(--profile-muted);
}

body.profile-dashboard-active .profile-hero-card .profile-quota-btn {
    border: 1px solid rgba(103, 88, 243, 0.14);
    background: rgba(103, 88, 243, 0.1);
    color: var(--profile-accent-strong);
    box-shadow: none;
}

body.profile-dashboard-active .profile-quota-secondary {
    border-color: var(--profile-line);
    background: #ffffff;
    color: var(--profile-copy);
}

body.profile-dashboard-active .profile-hero-card .profile-quota-btn:hover {
    border-color: rgba(103, 88, 243, 0.24);
    background: rgba(103, 88, 243, 0.16);
}

body.profile-dashboard-active .profile-quota-secondary:hover {
    border-color: var(--profile-line-strong);
    background: var(--profile-panel-soft);
}

body.profile-dashboard-active .profile-hero-stats {
    border-color: var(--profile-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.profile-dashboard-active .profile-hero-stats > div {
    min-height: 68px;
    padding: 13px 18px;
}

body.profile-dashboard-active .profile-hero-stats > div + div {
    border-left-color: var(--profile-line);
}

body.profile-dashboard-active .profile-hero-stats span {
    color: var(--profile-muted);
}

body.profile-dashboard-active .profile-hero-stats strong {
    color: var(--profile-ink);
}

body.profile-dashboard-active .profile-hero-stats strong small {
    color: var(--profile-muted);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card {
    border-color: rgba(139, 124, 255, 0.18) !important;
    background:
        radial-gradient(circle at 2% 0%, rgba(103, 88, 243, 0.24), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.1), transparent 30%),
        linear-gradient(145deg, #171922 0%, #1a1b27 54%, #201c31 100%) !important;
    color: var(--profile-ink);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34) !important;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-hero-orb-one {
    border-color: rgba(139, 124, 255, 0.08);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-hero-orb-two {
    background: rgba(236, 72, 153, 0.07);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-avatar-editor > small,
body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card .profile-welcome,
body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card #profile-email,
body.profile-dashboard-active.profile-dashboard-dark .profile-identity-actions p,
body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card .profile-quota-heading small,
body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card .credit-amount em,
body.profile-dashboard-active.profile-dashboard-dark .profile-quota-status,
body.profile-dashboard-active.profile-dashboard-dark .profile-hero-stats span,
body.profile-dashboard-active.profile-dashboard-dark .profile-hero-stats strong small {
    color: #9fa6b6;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card .user-details h2,
body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card .profile-quota-heading span,
body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card .credit-amount,
body.profile-dashboard-active.profile-dashboard-dark .profile-hero-stats strong {
    color: #f5f6fa;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-avatar-edit-badge {
    border-color: #1b1c26;
    background: #f2f1ff;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card .user-avatar-large i {
    border-color: #1b1c26;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card #profile-level-tag {
    border-color: rgba(139, 124, 255, 0.24);
    background: rgba(139, 124, 255, 0.13);
    color: #cfc9ff;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-identity-actions {
    border-top-color: rgba(255, 255, 255, 0.09);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card .profile-quota-inline,
body.profile-dashboard-active.profile-dashboard-dark .profile-hero-stats {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.052);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-quota-status,
body.profile-dashboard-active.profile-dashboard-dark .profile-hero-stats > div + div {
    border-color: rgba(255, 255, 255, 0.085);
}

body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card .profile-quota-btn {
    border-color: rgba(139, 124, 255, 0.24);
    background: rgba(139, 124, 255, 0.14);
    color: #d8d4ff;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-quota-secondary {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
    color: #c7cbd5;
}

body.profile-dashboard-active.profile-dashboard-dark .profile-hero-card .profile-quota-btn:hover,
body.profile-dashboard-active.profile-dashboard-dark .profile-quota-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    body.profile-dashboard-active .profile-hero-card {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
        gap: 20px;
        padding: 24px;
    }
}

@media (max-width: 680px) {
    body.profile-dashboard-active .profile-hero-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 18px;
        padding: 21px;
    }

    body.profile-dashboard-active .profile-identity-panel {
        gap: 18px;
        padding: 2px 0 0;
    }

    body.profile-dashboard-active .profile-avatar-editor {
        flex-basis: 68px;
    }

    body.profile-dashboard-active .profile-hero-card .user-avatar-large {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
        border-radius: 21px;
    }

    body.profile-dashboard-active .profile-identity-actions {
        padding-top: 15px;
    }

    body.profile-dashboard-active .profile-hero-card .profile-quota-inline {
        padding: 17px;
    }
}

@media (max-width: 480px) {
    body.profile-dashboard-active .profile-identity-actions {
        align-items: stretch;
        flex-direction: column;
    }

    body.profile-dashboard-active .profile-hero-create-btn {
        width: 100%;
    }

    body.profile-dashboard-active .profile-identity-actions p {
        max-width: none;
        text-align: center;
    }

    body.profile-dashboard-active .profile-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    body.profile-dashboard-active .profile-hero-stats > div:nth-child(3) {
        grid-column: 1 / -1;
        border-top: 1px solid var(--profile-line);
        border-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.profile-dashboard-active #user-profile > .profile-grid-top > .glass-card,
    body.profile-dashboard-active #user-profile > .profile-grid-bottom > .glass-card,
    body.profile-dashboard-active .profile-hero-create-btn,
    body.profile-dashboard-active .profile-tools-card .menu-item,
    body.profile-dashboard-active .profile-settings-card .menu-item {
        transition: none;
    }
}
