/* =========================
   PROFILE PAGE
========================= */

.profile-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px 50px;
}


/* =========================
   PROFILE HEADER
========================= */

.profile-header {
    display: flex;
    align-items: center;
    gap: 22px;

    padding: 28px 30px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 248, 218, 0.97),
            rgba(255, 239, 178, 0.93)
        );

    border: 1px solid rgba(90, 70, 20, 0.18);
    border-radius: 22px;

    box-shadow:
        0 10px 30px rgba(80, 60, 20, 0.10);
}


.profile-avatar {
    width: 88px;
    height: 88px;

    flex: 0 0 88px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 3px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;

    background: rgba(255, 225, 120, 0.65);

    box-shadow:
        0 4px 14px rgba(80, 60, 20, 0.14);

    font-size: 40px;
}

.profile-header .profile-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}

.profile-main {
    flex: 1;
}


.profile-main h1 {
    margin: 0 0 6px;

    color: #3f351d;

    font-size: clamp(27px, 4vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.profile-tagline {
    margin: 0 0 5px;

    color: #66552d;
}


.profile-location {
    margin: 0;

    color: #66552d;

    font-size: 13px;
}


/* =========================
   PROFILE ACTIONS
========================= */

.follow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 10px 19px;

    box-sizing: border-box;

    border: 1px solid #c79b27;
    border-radius: 999px;

    background: #d8ad35;
    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    box-shadow:
        0 3px 9px rgba(100, 75, 20, 0.12);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.follow-button:hover {
    transform: translateY(-2px);

    background: #c69d2d;

    box-shadow:
        0 5px 13px rgba(100, 75, 20, 0.16);
}

.follow-button.following {
    border-color: rgba(90, 110, 65, 0.30);

    background: rgba(125, 145, 90, 0.16);
    color: #52603c;

    box-shadow: none;
}

.follow-button.following:hover {
    background: rgba(125, 145, 90, 0.25);
}


/* =========================
   SECTIONS
========================= */

.profile-section {
    margin-bottom: 30px;
}


.profile-section > h2,
.section-heading h2 {
    color: #4a3b16;
}

.profile-section > h2 {
    margin: 0 0 12px;

    color: #4a3b16;

    font-size: 20px;
    line-height: 1.25;
}


.section-heading {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 15px;
}


.section-heading h2 {
    margin: 0;
}


.section-heading a {
    flex-shrink: 0;

    padding: 8px 14px;

    border-radius: 18px;

    background: #d8ad35;

    color: white;

    text-decoration: none;

    font-size: 13px;

    transition:
        transform 0.2s,
        background-color 0.2s;
}


.section-heading a:hover {
    transform: translateY(-2px);

    background: #c69d2d;
}


/* =========================
   ABOUT
========================= */

.profile-about {
    position: relative;

    padding: 20px 22px;

    background:
        rgba(255, 248, 218, 0.78);

    border:
        1px solid rgba(90, 70, 20, 0.16);

    border-radius: 15px;

    box-shadow:
        0 3px 10px rgba(80, 60, 20, 0.05);
}

.profile-about p {
    margin: 0 0 12px;

    color: #51452a;

    font-size: 14px;
    line-height: 1.65;

    overflow-wrap: anywhere;
}

.profile-about p:last-child {
    margin-bottom: 0;
}

/* =========================
   PROFILE HOBBIES
========================= */

.profile-hobbies {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;
}

.profile-hobbies a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    min-height: 38px;

    padding: 8px 10px 8px 14px;

    box-sizing: border-box;

    border: 1px solid rgba(90, 70, 20, 0.16);
    border-radius: 999px;

    background: rgba(255, 248, 218, 0.78);

    color: #4a3b16;

    font-size: 13px;
    font-weight: 650;

    text-decoration: none;

    box-shadow:
        0 2px 7px rgba(80, 60, 20, 0.04);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.profile-hobbies a:hover {
    transform: translateY(-2px);

    background: rgba(255, 235, 165, 0.88);

    border-color: rgba(216, 173, 53, 0.32);

    box-shadow:
        0 4px 10px rgba(80, 60, 20, 0.08);
}

.profile-hobbies a:focus-visible {
    outline: 3px solid rgba(216, 173, 53, 0.55);
    outline-offset: 3px;
}

/* =========================
   PROFILE PROJECTS
========================= */

.profile-projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 15px;
}


/* CARD */

.profile-project {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border: 1px solid rgba(90, 70, 20, 0.15);
    border-radius: 15px;

    background: rgba(255, 248, 218, 0.78);

    color: #3f351d;
    text-decoration: none;

    box-shadow:
        0 3px 10px rgba(80, 60, 20, 0.05);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.profile-project:hover {
    transform: translateY(-4px);

    border-color:
        rgba(216, 173, 53, 0.28);

    box-shadow:
        0 8px 18px rgba(80, 60, 20, 0.10);
}


/* IMAGE */

.profile-project-image {
    width: 100%;
    height: 155px;

    flex: 0 0 155px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        rgba(255, 225, 120, 0.40);

    font-size: 50px;
}

.profile-project-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.3s ease;
}

.profile-project:hover
.profile-project-image img {
    transform: scale(1.035);
}


/* CONTENT */

.profile-project-info {
    flex: 1;

    min-width: 0;

    padding: 14px 15px 15px;

    box-sizing: border-box;
}

.profile-project-category {
    display: block;

    margin-bottom: 7px;

    color: #806a2d;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.profile-project-info h3 {
    display: -webkit-box;

    margin: 0 0 7px;

    overflow: hidden;

    color: #3f351d;

    font-size: 16px;
    font-weight: 750;
    line-height: 1.3;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.profile-project-info p {
    display: -webkit-box;

    margin: 0 0 11px;

    overflow: hidden;

    color: #6d6041;

    font-size: 12px;
    line-height: 1.45;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.profile-project-info
> span:not(.profile-project-category) {
    display: inline-flex;
    align-items: center;

    margin: 4px 5px 0 0;

    padding: 4px 7px;

    border-radius: 999px;

    background:
        rgba(216, 173, 53, 0.12);

    color: #6b5928;

    font-size: 10px;
    font-weight: 650;
    line-height: 1.2;
}


/* KEYBOARD */

.profile-project:focus-visible {
    outline:
        3px solid rgba(216, 173, 53, 0.55);

    outline-offset: 3px;
}

/* =========================
   EMPTY PROJECTS
========================= */

.profile-empty {
    padding: 25px;

    text-align: center;

    background:
        rgba(255, 244, 190, 0.65);

    border:
        1px dashed rgba(90, 70, 20, 0.3);

    border-radius: 12px;

    color: #66552d;
}


.profile-empty p {
    margin: 0 0 12px;
}


.profile-empty p:last-of-type {
    margin-bottom: 15px;
}


.primary-button {
    display: inline-block;

    padding: 10px 18px;

    border-radius: 20px;

    background: #d8ad35;

    color: white;

    text-decoration: none;

    font-size: 14px;

    transition:
        transform 0.2s,
        background-color 0.2s;
}


.primary-button:hover {
    transform: translateY(-2px);

    background: #c69d2d;
}

/* =========================
   SAVED PROJECTS
========================= */

#saved-projects {
    padding-top: 4px;
}

#saved-projects .section-heading {
    margin-bottom: 15px;
}

#saved-projects .section-heading h2 {
    display: flex;
    align-items: center;

    gap: 7px;
}


/* SUBTLE SAVED CARD DIFFERENCE */

#saved-projects .profile-project {
    background:
        linear-gradient(
            180deg,
            rgba(255, 250, 228, 0.88),
            rgba(255, 246, 207, 0.78)
        );
}

#saved-projects .profile-project:hover {
    background:
        linear-gradient(
            180deg,
            rgba(255, 248, 216, 0.96),
            rgba(255, 239, 184, 0.88)
        );
}


/* SAVED METADATA */

#saved-projects
.profile-project-info
> span:not(.profile-project-category) {
    background:
        rgba(216, 173, 53, 0.14);
}

#saved-projects .profile-empty {
    padding: 28px 22px;

    background:
        rgba(255, 248, 218, 0.58);

    border:
        1px dashed rgba(90, 70, 20, 0.20);

    border-radius: 15px;
}

#saved-projects .profile-empty p:first-child {
    color: #51452a;

    font-weight: 700;
}

#saved-projects .profile-empty p:last-child {
    margin-bottom: 0;

    color: #7a6b48;

    font-size: 13px;
    line-height: 1.5;
}

/* =========================
   PROFILE ACCOUNT
========================= */

.profile-account .profile-about {
    padding: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 250, 230, 0.88),
            rgba(255, 244, 202, 0.78)
        );

    border:
        1px solid rgba(90, 70, 20, 0.16);

    border-radius: 16px;

    box-shadow:
        0 3px 10px rgba(80, 60, 20, 0.05);
}

.profile-account .profile-about h2 {
    margin: 0 0 8px;

    color: #443717;

    font-size: 19px;
    line-height: 1.25;
}

.profile-account .profile-about p {
    margin: 0 0 15px;

    color: #716342;

    font-size: 13px;
    line-height: 1.5;
}

.profile-account .profile-about a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 9px 15px;

    box-sizing: border-box;

    border:
        1px solid rgba(90, 70, 20, 0.20);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.60);

    color: #55451f;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.profile-account .profile-about a:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 255, 255, 0.88);

    border-color:
        rgba(216, 173, 53, 0.36);

    box-shadow:
        0 4px 10px rgba(80, 60, 20, 0.08);
}

.profile-account .profile-about a:focus-visible {
    outline:
        3px solid rgba(216, 173, 53, 0.55);

    outline-offset: 3px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .profile-header {
        margin-left: 15px;
        margin-right: 15px;
    }


    .profile-projects {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .profile-project-image {
    height: 160px;
    flex-basis: 160px;
}

}


@media (max-width: 500px) {
  
  .profile-page {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 45px;
}

    .profile-header {
    flex-direction: column;

    gap: 14px;

    margin-left: 0;
    margin-right: 0;

    padding: 22px 18px;

    border-radius: 18px;

    text-align: center;
}

.profile-avatar {
    width: 78px;
    height: 78px;

    flex-basis: 78px;

    font-size: 35px;
}

.profile-main {
    width: 100%;
}

.profile-main h1 {
    font-size: 27px;
}

.profile-tagline {
    font-size: 13px;
    line-height: 1.45;
}

.profile-location {
    font-size: 12px;
}


    .follow-button {
    width: 100%;
    min-height: 44px;
}


    .profile-stats {
        grid-template-columns:
            1fr 1fr;

        gap: 15px;
    }


    .stat {
        border-right: none;
    }


    .section-heading {
        align-items: flex-start;

        flex-direction: column;
    }


    .section-heading > a {
    width: 100%;

    text-align: center;
}


    .profile-projects {
        grid-template-columns: 1fr;
    }


    .profile-project-image {
    height: 210px;
    flex-basis: 210px;
}
  
  /* PROFILE MOBILE SPACING */

.profile-stats {
    gap: 8px;

    margin: 14px 0 28px;
}

.profile-stats .stat {
    min-height: 74px;

    padding: 12px 7px;

    border-radius: 12px;
}

.profile-stats .stat strong {
    font-size: 20px;
}

.profile-stats .stat span {
    margin-top: 6px;

    font-size: 11px;
}


/* SECTIONS */

.profile-section {
    margin-bottom: 26px;
}

.section-heading {
    gap: 10px;

    margin-bottom: 13px;
}

.profile-section > h2,
.section-heading h2 {
    font-size: 18px;
}
  
  /* PROJECT CARDS */

.profile-projects {
    gap: 12px;
}

.profile-project-image {
    height: 200px;
    flex-basis: 200px;
}

.profile-project-info {
    padding: 13px 14px 15px;
}

.profile-project-info h3 {
    font-size: 15px;
}

.profile-project-info p {
    margin-bottom: 9px;
}


/* ACTIVITY */

.profile-activity {
    margin-top: 26px;
    margin-bottom: 30px;
}

.profile-activity-list {
    gap: 8px;
}

.profile-activity-item {
    align-items: flex-start;

    gap: 11px;

    padding: 12px 13px;

    border-radius: 13px;
}

.profile-activity-icon {
    flex-basis: 38px;

    width: 38px;
    height: 38px;

    border-radius: 11px;
}

.profile-activity-text {
    font-size: 12px;
}

.profile-activity-date {
    font-size: 10px;
}


/* DASHBOARD */

.profile-dashboard {
    margin: 26px 0 32px;
}

.profile-dashboard h2 {
    margin-bottom: 13px;

    font-size: 19px;
}

.profile-dashboard-grid {
    grid-template-columns: 1fr;

    gap: 9px;
}

.profile-dashboard-card {
    min-height: 76px;

    gap: 12px;

    padding: 13px 14px;

    border-radius: 14px;
}

.profile-dashboard-icon {
    flex-basis: 42px;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    font-size: 19px;
}

.profile-dashboard-card-content strong {
    font-size: 13px;
}

.profile-dashboard-card-content > span {
    font-size: 11px;
}


/* SECTION ACTION BUTTON */

.section-heading a {
    min-height: 42px;

    padding: 10px 14px;

    box-sizing: border-box;

    border-radius: 999px;
}


/* ABOUT */

.profile-about {
    padding: 17px 16px;

    border-radius: 14px;
}

.profile-about p {
    font-size: 13px;
    line-height: 1.6;
}


/* HOBBY PILLS */

.profile-hobbies {
    gap: 8px;
}

.profile-hobbies a {
    min-height: 40px;

    padding: 8px 9px 8px 13px;

    font-size: 12px;
}

}

/* =========================
   PROFILE CONNECTIONS
========================= */

.connections-heading {
    margin-bottom: 7px;
}

.connections-heading h1 {
    margin: 0;

    color: #443717;

    font-size: clamp(25px, 4vw, 31px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.connections-heading a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 8px 14px;

    box-sizing: border-box;

    border:
        1px solid rgba(90, 70, 20, 0.18);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.55);

    color: #5d4d27;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.connections-heading a:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 248, 218, 0.92);

    border-color:
        rgba(216, 173, 53, 0.34);
}

.connections-heading a:focus-visible {
    outline:
        3px solid rgba(216, 173, 53, 0.55);

    outline-offset: 3px;
}

@media (max-width: 500px) {

    .connections-heading {
        gap: 10px;
    }

    .connections-heading a {
        width: auto;

        align-self: flex-start;
    }

  /* PROFILE MOBILE SPACING */

.profile-stats {
    gap: 8px;

    margin: 14px 0 28px;
}

.profile-stats .stat {
    min-height: 74px;

    padding: 12px 7px;

    border-radius: 12px;
}

.profile-stats .stat strong {
    font-size: 20px;
}

.profile-stats .stat span {
    margin-top: 6px;

    font-size: 11px;
}


/* SECTIONS */

.profile-section {
    margin-bottom: 26px;
}

.section-heading {
    gap: 10px;

    margin-bottom: 13px;
}

.profile-section > h2,
.section-heading h2 {
    font-size: 18px;
}


/* SECTION ACTION BUTTON */

.section-heading > a {
    min-height: 42px;

    padding: 10px 14px;

    box-sizing: border-box;

    border-radius: 999px;
}


/* ABOUT */

.profile-about {
    padding: 17px 16px;

    border-radius: 14px;
}

.profile-about p {
    font-size: 13px;
    line-height: 1.6;
}


/* HOBBY PILLS */

.profile-hobbies {
    gap: 8px;
}

.profile-hobbies a {
    min-height: 40px;

    padding: 8px 9px 8px 13px;

    font-size: 12px;
}
  
}

.connections-description {
    margin: -3px 0 20px;

    color: #746746;

    font-size: 13px;
    line-height: 1.5;
}


/* LIST */

.connections-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


/* CARD */

.connection-card {
    display: flex;
    align-items: center;

    gap: 15px;

    min-width: 0;
    min-height: 78px;

    padding: 13px 15px;

    box-sizing: border-box;

    background:
        rgba(255, 248, 218, 0.78);

    border:
        1px solid rgba(90, 70, 20, 0.15);

    border-radius: 15px;

    color: #3f351d;
    text-decoration: none;

    box-shadow:
        0 3px 10px rgba(80, 60, 20, 0.05);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.connection-card:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 239, 184, 0.90);

    border-color:
        rgba(216, 173, 53, 0.28);

    box-shadow:
        0 6px 15px rgba(80, 60, 20, 0.09);
}


/* AVATAR */

.connection-avatar {
    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border:
        2px solid rgba(255, 255, 255, 0.72);

    border-radius: 50%;

    background:
        rgba(255, 225, 120, 0.58);

    box-shadow:
        0 2px 7px rgba(80, 60, 20, 0.10);

    font-size: 27px;
}

.connection-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* USER */

.connection-info {
    flex: 1;

    min-width: 0;
}

.connection-info h3 {
    margin: 0 0 4px;

    overflow: hidden;

    color: #443717;

    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.connection-info p {
    margin: 0;

    overflow: hidden;

    color: #786a49;

    font-size: 12px;
    line-height: 1.4;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ARROW */

.connection-arrow {
    flex: 0 0 auto;

    color: #9b833d;

    font-size: 25px;
    line-height: 1;

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.connection-card:hover .connection-arrow {
    transform: translateX(3px);

    color: #6f581d;
}


/* KEYBOARD */

.connection-card:focus-visible {
    outline:
        3px solid rgba(216, 173, 53, 0.55);

    outline-offset: 3px;
}


/* MOBILE */

@media (max-width: 500px) {

    .connection-card {
        gap: 12px;

        min-height: 72px;

        padding: 12px 13px;
    }

    .connection-avatar {
        flex-basis: 48px;

        width: 48px;
        height: 48px;

        font-size: 24px;
    }

    .connection-info h3 {
        font-size: 14px;
    }

    .connection-arrow {
        font-size: 23px;
    }

}

/* =========================
   PROFILE STATS
========================= */

.profile-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 10px;

    margin: 18px 0 34px;
    padding: 0;

    background: transparent;
    border: 0;
}

.profile-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 82px;

    padding: 13px 8px;

    box-sizing: border-box;

    border: 1px solid rgba(90, 70, 20, 0.16);
    border-radius: 14px;

    background: rgba(255, 248, 218, 0.78);

    text-align: center;

    box-shadow:
        0 3px 10px rgba(80, 60, 20, 0.05);
}

.profile-stats .stat strong {
    display: block;

    color: #443717;

    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.profile-stats .stat span {
    display: block;

    margin-top: 7px;

    color: #74633a;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.profile-stats .stat:last-child {
    border-right:
        1px solid rgba(90, 70, 20, 0.16);
}


/* CLICKABLE FOLLOW STATS */

.profile-stats .stat-link {
    color: inherit;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.profile-stats .stat-link:hover {
    transform: translateY(-3px);

    background: rgba(255, 235, 165, 0.88);

    border-color: rgba(216, 173, 53, 0.32);

    box-shadow:
        0 6px 14px rgba(80, 60, 20, 0.10);
}


/* TABLET */

@media (max-width: 700px) {

    .profile-stats {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


/* MOBILE */

@media (max-width: 500px) {

    .profile-stats {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 8px;

        margin-top: 15px;
    }

    .profile-stats .stat {
        min-height: 76px;
    }

}



/* =========================
   PROFILE HOBBY COUNTS
========================= */

.hobby-project-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 22px;
    height: 22px;

    padding: 0 6px;

    box-sizing: border-box;

    border-radius: 999px;

    background: rgba(216, 173, 53, 0.18);

    color: #66521c;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

/* =========================
   EDIT PROFILE
========================= */

.edit-profile-page {
    max-width: 700px;

    margin: 0 auto;
    padding: 10px 20px 60px;
}


/* HEADER */

.edit-profile-header {
    margin-bottom: 22px;

    text-align: center;
}

.edit-profile-header h1 {
    margin: 0 0 7px;

    color: #3f351d;

    font-size: clamp(27px, 4vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.edit-profile-header p {
    max-width: 480px;

    margin: 0 auto;

    color: #746746;

    font-size: 14px;
    line-height: 1.5;
}


/* MAIN FORM CARD */

.edit-profile-form {
    padding: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 250, 229, 0.94),
            rgba(255, 244, 200, 0.88)
        );

    border:
        1px solid rgba(90, 70, 20, 0.16);

    border-radius: 20px;

    box-shadow:
        0 8px 24px rgba(80, 60, 20, 0.08);
}


/* =========================
   EDIT PROFILE AVATAR
========================= */

.edit-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 30px;
    padding-bottom: 28px;

    border-bottom:
        1px solid rgba(90, 70, 20, 0.12);
}


/* PREVIEW */

.edit-avatar-preview {
    position: relative;

    width: 112px;
    height: 112px;

    margin-bottom: 15px;

    overflow: hidden;

    border:
        3px solid rgba(255, 255, 255, 0.78);

    border-radius: 50%;

    background:
        rgba(255, 225, 120, 0.58);

    box-shadow:
        0 5px 16px rgba(80, 60, 20, 0.14);
}

.edit-avatar-preview img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* EMPTY AVATAR */

.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    font-size: 48px;
    line-height: 1;
}


/* HIDDEN FILE INPUT */

#avatar {
    display: none;
}


/* UPLOAD BUTTON */

.avatar-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 9px 16px;

    box-sizing: border-box;

    border:
        1px solid rgba(90, 70, 20, 0.20);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.62);

    color: #55451f;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 2px 7px rgba(80, 60, 20, 0.05);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.avatar-upload-button:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 255, 255, 0.88);

    border-color:
        rgba(216, 173, 53, 0.38);

    box-shadow:
        0 4px 10px rgba(80, 60, 20, 0.08);
}

.avatar-upload-button:focus-visible {
    outline:
        3px solid rgba(216, 173, 53, 0.55);

    outline-offset: 3px;
}

/* HELPER TEXT */

.edit-avatar small {
    margin-top: 8px;

    color: #827454;

    font-size: 11px;
    line-height: 1.4;
}


/* =========================
   EDIT PROFILE FIELDS
========================= */

.edit-profile-form .form-group {
    margin-bottom: 23px;
}

.edit-profile-form .form-group > label:not(.email-notification-option) {
    display: block;

    margin-bottom: 7px;

    color: #443717;

    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
}


/* INPUTS */

.edit-profile-form input[type="text"],
.edit-profile-form input[type="email"],
.edit-profile-form textarea {
    width: 100%;

    padding: 12px 14px;

    box-sizing: border-box;

    border:
        1px solid rgba(90, 70, 20, 0.20);

    border-radius: 11px;

    background:
        rgba(255, 255, 255, 0.72);

    color: #3f351d;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;

    outline: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.edit-profile-form textarea {
    min-height: 125px;

    resize: vertical;
}


/* FOCUS */

.edit-profile-form input[type="text"]:focus,
.edit-profile-form input[type="email"]:focus,
.edit-profile-form textarea:focus {
    background:
        rgba(255, 255, 255, 0.92);

    border-color:
        rgba(216, 173, 53, 0.72);

    box-shadow:
        0 0 0 3px rgba(216, 173, 53, 0.12);
}


/* DISABLED */

.edit-profile-form input:disabled {
    opacity: 0.65;

    cursor: not-allowed;
}


/* HELPER TEXT */

.edit-profile-form .form-group > small {
    display: block;

    margin-top: 7px;

    color: #827454;

    font-size: 11px;
    line-height: 1.45;
}

/* PENDING EMAIL */

.pending-email-message {
    margin: 10px 0 0;
    padding: 10px 12px;

    border:
        1px solid rgba(216, 173, 53, 0.22);

    border-radius: 10px;

    background:
        rgba(255, 239, 184, 0.48);

    color: #66552d;

    font-size: 12px;
    line-height: 1.45;
}

.pending-email-message strong {
    color: #443717;

    font-weight: 750;

    overflow-wrap: anywhere;
}


/* =========================
   EDIT PROFILE ACTIONS
========================= */

.edit-profile-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 28px;
    padding-top: 22px;

    border-top:
        1px solid rgba(90, 70, 20, 0.12);
}


/* SHARED */

.save-profile-button,
.cancel-profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 10px 18px;

    box-sizing: border-box;

    border-radius: 999px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* PRIMARY */

.save-profile-button {
    border:
        1px solid #c79b27;

    background:
        #d8ad35;

    color: #fff;

    box-shadow:
        0 3px 9px rgba(100, 75, 20, 0.12);
}

.save-profile-button:hover {
    transform: translateY(-2px);

    background:
        #c69d2d;

    box-shadow:
        0 5px 13px rgba(100, 75, 20, 0.16);
}


/* SECONDARY */

.cancel-profile-button {
    border:
        1px solid rgba(90, 70, 20, 0.20);

    background:
        rgba(255, 255, 255, 0.52);

    color: #5d4d27;
}

.cancel-profile-button:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 255, 255, 0.82);

    border-color:
        rgba(216, 173, 53, 0.34);
}


/* KEYBOARD */

.save-profile-button:focus-visible,
.cancel-profile-button:focus-visible {
    outline:
        3px solid rgba(216, 173, 53, 0.55);

    outline-offset: 3px;
}

/* =========================
   PROFILE FORM MESSAGES
========================= */

.profile-message {
    position: relative;

    margin: 0 0 18px;
    padding: 12px 14px 12px 40px;

    box-sizing: border-box;

    border: 1px solid transparent;
    border-radius: 12px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}


/* ERROR */

.profile-error {
    border-color:
        rgba(170, 65, 55, 0.20);

    background:
        rgba(255, 235, 231, 0.82);

    color: #8a3d35;
}

.profile-error::before {
    content: "⚠";

    position: absolute;

    top: 11px;
    left: 14px;

    font-size: 15px;
}


/* SUCCESS */

.profile-success {
    border-color:
        rgba(70, 130, 80, 0.20);

    background:
        rgba(235, 247, 232, 0.82);

    color: #426b45;
}

.profile-success::before {
    content: "✓";

    position: absolute;

    top: 11px;
    left: 15px;

    font-size: 15px;
    font-weight: 800;
}


/* =========================
   EDIT PROFILE MOBILE
========================= */

@media (max-width: 550px) {

    .edit-profile-page {
        padding:
            5px 14px 45px;
    }

    .edit-profile-header {
        margin-bottom: 18px;
    }

    .edit-profile-header h1 {
        font-size: 27px;
    }

    .edit-profile-header p {
        font-size: 13px;
    }


    /* CARDS */

    .edit-profile-form,
    .password-settings {
        padding: 22px 17px;

        border-radius: 16px;
    }

    .password-settings {
        margin-top: 18px;
    }


    /* AVATAR */

    .edit-avatar {
        margin-bottom: 25px;
        padding-bottom: 24px;
    }

    .edit-avatar-preview {
        width: 100px;
        height: 100px;
    }


    /* FIELDS */

    .edit-profile-form .form-group,
    .change-password-form .form-group {
        margin-bottom: 19px;
    }

    .edit-profile-form input[type="text"],
    .edit-profile-form input[type="email"],
    .edit-profile-form textarea,
    .change-password-form input[type="password"] {
        font-size: 16px;
    }


    /* NOTIFICATION OPTIONS */

    .email-notification-option {
        padding: 13px 12px;
    }


    /* ACTIONS */

    .edit-profile-actions {
        flex-direction: column;

        gap: 9px;

        margin-top: 23px;
        padding-top: 19px;
    }

    .save-profile-button,
    .cancel-profile-button {
        width: 100%;

        min-height: 44px;

        text-align: center;
    }

}

/* =========================
   EDIT PROFILE ACCESSIBILITY
========================= */

.edit-profile-page input:focus-visible,
.edit-profile-page textarea:focus-visible,
.edit-profile-page button:focus-visible,
.edit-profile-page a:focus-visible {
    outline:
        3px solid rgba(216, 173, 53, 0.55);

    outline-offset: 3px;
}


/* Reduce motion when requested */

@media (prefers-reduced-motion: reduce) {

    .edit-profile-page *,
    .edit-profile-page *::before,
    .edit-profile-page *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}

/* =========================
   RECENT ACTIVITY
========================= */

.profile-activity {
    display: block;

    width: 100%;

    margin-top: 30px;
    margin-bottom: 35px;
}

.profile-activity .section-heading {
    display: block;

    margin-bottom: 15px;
}

.profile-activity .section-heading h2 {
    margin: 0 0 5px;
}

.profile-activity .section-heading p {
    margin: 0;

    color: #66552d;

    font-size: 13px;
    line-height: 1.45;
}

.profile-activity-list {
    display: flex;
    flex-direction: column;

    width: 100%;

    gap: 9px;
}


/* ACTIVITY CARD */

.profile-activity-item {
    display: flex;
    align-items: center;

    gap: 13px;

    min-width: 0;

    padding: 13px 15px;

    box-sizing: border-box;

    background:
        rgba(255, 248, 218, 0.72);

    border:
        1px solid rgba(90, 70, 20, 0.14);

    border-radius: 14px;

    box-shadow:
        0 2px 8px rgba(80, 60, 20, 0.04);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.profile-activity-item:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 242, 195, 0.86);

    border-color:
        rgba(216, 173, 53, 0.24);

    box-shadow:
        0 5px 12px rgba(80, 60, 20, 0.07);
}


/* ICON */

.profile-activity-icon {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        rgba(255, 225, 120, 0.55);

    font-size: 18px;
    line-height: 1;
}


/* CONTENT */

.profile-activity-content {
    min-width: 0;
    flex: 1;
}

.profile-activity-text {
    min-width: 0;

    color: #51452a;

    font-size: 13px;
    line-height: 1.45;

    overflow-wrap: anywhere;
}

.profile-activity-content,
.profile-activity-text {
    min-width: 0;
    max-width: 100%;
}

.profile-activity-text a {
    display: inline;

    max-width: 100%;

    color: #443717;

    font-weight: 750;
    text-decoration: none;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.profile-activity-text a:hover {
    text-decoration: underline;
}

.profile-activity-item {
    max-width: 100%;
    overflow: hidden;
}

/* DATE */

.profile-activity-date {
    margin-top: 4px;

    color: #8a7b58;

    font-size: 11px;
    line-height: 1.3;
}


/* EMPTY STATE */

.profile-activity-empty {
    padding: 22px;

    text-align: center;

    background:
        rgba(255, 248, 218, 0.58);

    border:
        1px dashed rgba(90, 70, 20, 0.20);

    border-radius: 14px;

    color: #75694c;

    font-size: 13px;
    line-height: 1.5;
}


@media (max-width: 600px) {

    .profile-activity-item {
        align-items: flex-start;

        gap: 11px;

        padding: 12px 13px;
    }

    .profile-activity-icon {
        flex-basis: 38px;

        width: 38px;
        height: 38px;
    }

}

/* =========================
   PROFILE DASHBOARD
========================= */

.profile-dashboard {
    margin: 32px 0 38px;
}

.profile-dashboard h2 {
    margin: 0 0 16px;

    color: #4a3b16;

    font-size: 22px;
    line-height: 1.2;
}


/* GRID */

.profile-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}


/* CARD */

.profile-dashboard-card {
    display: flex;
    align-items: center;

    gap: 14px;

    min-width: 0;
    min-height: 82px;

    padding: 16px 17px;

    box-sizing: border-box;

    border: 1px solid rgba(90, 70, 20, 0.15);
    border-radius: 15px;

    background:
        rgba(255, 248, 218, 0.78);

    color: #4d4227;
    text-decoration: none;

    box-shadow:
        0 3px 10px rgba(80, 60, 20, 0.05);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.profile-dashboard-card:hover {
    transform: translateY(-3px);

    background:
        rgba(255, 239, 184, 0.92);

    border-color:
        rgba(216, 173, 53, 0.28);

    box-shadow:
        0 7px 18px rgba(80, 60, 20, 0.09);
}


/* ICON */

.profile-dashboard-icon {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        rgba(255, 225, 120, 0.58);

    font-size: 21px;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.profile-dashboard-card:hover
.profile-dashboard-icon {
    transform: scale(1.06);

    background:
        rgba(255, 220, 100, 0.76);
}


/* TEXT */

.profile-dashboard-card-content {
    min-width: 0;
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.profile-dashboard-card-content strong {
    color: #443717;

    font-size: 14px;
    font-weight: 750;
    line-height: 1.25;
}

.profile-dashboard-card-content > span {
    color: #7b6d4c;

    font-size: 12px;
    line-height: 1.4;
}


/* LIVE NUMBER */

.profile-dashboard-number {
    flex: 0 0 auto;

    min-width: 34px;
    height: 34px;

    padding: 0 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border-radius: 999px;

    background:
        rgba(216, 173, 53, 0.16);

    color: #5d4b19;

    font-size: 13px;
    font-weight: 800;
}


/* ANCHOR SCROLLING */

#activity,
#saved-projects {
    scroll-margin-top: 20px;
}


/* MOBILE */

@media (max-width: 600px) {

    .profile-dashboard {
        margin-top: 26px;
    }

    .profile-dashboard-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .profile-dashboard-card {
        min-height: 78px;

        padding: 14px 15px;
    }

}

/* =========================
   EMAIL NOTIFICATIONS
========================= */

.edit-profile-form .form-group > h2 {
    margin: 3px 0 6px;

    color: #443717;

    font-size: 17px;
    font-weight: 750;
    line-height: 1.25;
}

.edit-profile-form .form-group > h2 + p {
    margin: 0 0 14px;

    color: #786a49;

    font-size: 12px;
    line-height: 1.5;
}


/* OPTION */

.email-notification-option {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 9px;
    padding: 13px 14px;

    box-sizing: border-box;

    border:
        1px solid rgba(90, 70, 20, 0.14);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.48);

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.email-notification-option:hover {
    transform: translateY(-1px);

    background:
        rgba(255, 255, 255, 0.72);

    border-color:
        rgba(216, 173, 53, 0.28);
}


/* CHECKBOX */

.email-notification-option input {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin: 2px 0 0;

    accent-color: #d8ad35;

    cursor: pointer;
}


/* TEXT */

.email-notification-option span {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 3px;
}

.email-notification-option strong {
    color: #4a3b16;

    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
}

.email-notification-option small {
    color: #7b6d4c;

    font-size: 11px;
    line-height: 1.45;
}


/* KEYBOARD */

.email-notification-option:focus-within {
    outline:
        3px solid rgba(216, 173, 53, 0.42);

    outline-offset: 2px;
}

/* =========================
   PROFILE TITLE + BADGES
========================= */

.profile-tagline {
    display: inline-flex;
    align-items: center;

    margin: 0;

    padding: 5px 11px;

    border: 1px solid rgba(216, 173, 53, 0.22);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.48);

    color: #66552d;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}


/* ACHIEVEMENT BADGES */

.profile-badges {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 9px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 5px 10px;

    border: 1px solid rgba(216, 173, 53, 0.28);
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 250, 226, 0.96),
            rgba(255, 239, 178, 0.82)
        );

    color: #55451f;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;

    box-shadow:
        0 2px 7px rgba(100, 75, 20, 0.07);
}

.profile-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    line-height: 1;
}

/* =========================
   CHANGE PASSWORD
========================= */

.password-settings {
    margin-top: 24px;
    padding: 28px 30px;

    box-sizing: border-box;

    border:
        1px solid rgba(90, 70, 20, 0.14);

    border-radius: 20px;

    background:
        rgba(255, 250, 229, 0.72);

    box-shadow:
        0 6px 20px rgba(80, 60, 20, 0.06);
}


/* HEADER */

.password-settings > h2 {
    margin: 0 0 6px;

    color: #443717;

    font-size: 18px;
    font-weight: 750;
    line-height: 1.3;
}

.password-settings > p {
    margin: 0 0 22px;

    color: #786a49;

    font-size: 12px;
    line-height: 1.5;
}


/* FORM */

.change-password-form .form-group {
    margin-bottom: 20px;
}

.change-password-form .form-group > label {
    display: block;

    margin-bottom: 7px;

    color: #443717;

    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
}


/* PASSWORD FIELDS */

.change-password-form input[type="password"] {
    width: 100%;

    padding: 12px 14px;

    box-sizing: border-box;

    border:
        1px solid rgba(90, 70, 20, 0.20);

    border-radius: 11px;

    background:
        rgba(255, 255, 255, 0.72);

    color: #3f351d;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;

    outline: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.change-password-form input[type="password"]:focus {
    background:
        rgba(255, 255, 255, 0.92);

    border-color:
        rgba(216, 173, 53, 0.72);

    box-shadow:
        0 0 0 3px rgba(216, 173, 53, 0.12);
}


/* HELPER TEXT */

.change-password-form .form-group > small {
    display: block;

    margin-top: 7px;

    color: #827454;

    font-size: 11px;
    line-height: 1.45;
}


/* ACTION */

.password-settings .edit-profile-actions {
    margin-top: 24px;
}

/* =========================
   PROFILE AVATAR LIGHTBOX
========================= */

.profile-avatar {
    position: relative;
}

.profile-avatar-button {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;

    cursor: zoom-in;
}

.profile-avatar-button img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 50%;
}

.profile-avatar-button:focus-visible {
    outline: 3px solid rgba(216, 173, 53, 0.65);
    outline-offset: 3px;
}


/* LIGHTBOX */

.profile-avatar-lightbox {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;

    background: rgba(25, 22, 16, 0.9);

    backdrop-filter: blur(4px);
}

.profile-avatar-lightbox[hidden] {
    display: none !important;
}

.profile-avatar-lightbox img {
    display: block;

    width: auto;
    height: auto;

    max-width: min(90vw, 700px);
    max-height: 85vh;

    object-fit: contain;

    border-radius: 18px;

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35);
}


/* CLOSE BUTTON */

.profile-avatar-lightbox-close {
    position: fixed;

    top: 20px;
    right: 24px;

    z-index: 100000;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    background: rgba(30, 27, 20, 0.78);
    color: #fff;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}

.profile-avatar-lightbox-close:hover {
    background: rgba(30, 27, 20, 0.95);
}

@media (max-width: 500px) {

    .profile-about {
        padding: 17px 18px;
    }

    .profile-section > h2 {
        font-size: 19px;
    }

}

/* =========================
   PROFILE MOBILE FINAL POLISH
========================= */

@media (max-width: 500px) {

    /* CONNECTIONS HEADER */

    .connections-heading {
        gap: 9px;
        margin-bottom: 8px;
    }

    .connections-heading h1 {
        font-size: 25px;
    }

    .connections-heading a {
        min-height: 42px;

        padding: 9px 14px;

        align-self: flex-start;
    }

    .connections-description {
        margin-bottom: 17px;

        font-size: 12px;
    }


    /* CONNECTION CARDS */

    .connections-list {
        gap: 8px;
    }

    .connection-card {
        gap: 11px;

        min-height: 70px;

        padding: 11px 12px;

        border-radius: 13px;
    }

    .connection-avatar {
        flex-basis: 46px;

        width: 46px;
        height: 46px;

        font-size: 23px;
    }

    .connection-info h3 {
        font-size: 14px;
    }

    .connection-info p {
        font-size: 11px;
    }

    .connection-arrow {
        font-size: 21px;
    }


    /* EMPTY STATES */

    .profile-empty,
    #saved-projects .profile-empty {
        padding: 21px 16px;

        border-radius: 13px;
    }


    /* ACCOUNT */

    .profile-account .profile-about {
        padding: 18px 16px;

        border-radius: 14px;
    }

    .profile-account .profile-about h2 {
        font-size: 18px;
    }

    .profile-account .profile-about a {
        width: 100%;

        min-height: 44px;

        box-sizing: border-box;

        justify-content: center;
    }

}

/* =========================
   PROFILE ACCESSIBILITY
========================= */

.profile-page a:focus-visible,
.profile-page button:focus-visible,
.edit-profile-page a:focus-visible,
.edit-profile-page button:focus-visible,
.edit-profile-page input:focus-visible,
.edit-profile-page textarea:focus-visible,
.avatar-upload-button:focus-visible {
    outline: 3px solid rgba(216, 173, 53, 0.55);
    outline-offset: 3px;
}


/* =========================
   ACTIVITY LINK HARD RESET
========================= */

.profile-page .profile-activity .profile-activity-text a {
    display: inline !important;

    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    color: #443717 !important;

    font: inherit;
    font-weight: 750 !important;
    line-height: inherit !important;

    text-align: inherit !important;
    text-decoration: none !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;

    transform: none !important;
}

.profile-page .profile-activity .profile-activity-text a:hover,
.profile-page .profile-activity .profile-activity-text a:active {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;

    color: #443717 !important;

    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.profile-page .profile-activity-content,
.profile-page .profile-activity-text {
    min-width: 0;
    max-width: 100%;
}

.profile-page .profile-activity-item {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}