.gfx-portfolio {
    --profile-ink: #162436;
    --profile-muted: #52657b;
    --profile-border: #dce5ef;
    --profile-accent: #1955a0;
    padding-block: clamp(1.25rem, 4vw, 3rem);
    color: var(--profile-ink);
}
.gfx-profile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    padding: clamp(1.1rem, 4vw, 2.5rem);
    border-radius: 1.15rem;
    background: linear-gradient(125deg, #132033 16%, #1e3b57 100%);
    color: #fff;
}
.gfx-profile-identity { display: flex; align-items: flex-start; gap: clamp(.9rem, 3vw, 1.65rem); min-width: 0; }
.gfx-profile-portrait { display: grid; justify-items: center; gap: .5rem; flex: none; }
.gfx-profile-portrait img {
    width: clamp(66px, 12vw, 108px);
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid #adbed2;
    border-radius: 1rem;
    background: #344b63;
}
.gfx-profile-editor {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .22rem .45rem;
    border-radius: .45rem;
    background: #ffe6a3;
    color: #543a13;
    font-size: .75rem;
    font-weight: 700;
}
.gfx-profile-name { overflow-wrap: anywhere; }
.gfx-profile-name h1 {
    margin: .22rem 0 .44rem;
    font-size: clamp(1.5rem, 4.8vw, 3.4rem);
    font-weight: 780;
    line-height: 1.07;
    letter-spacing: -.035em;
}
.gfx-profile-name h1 a { color: inherit; text-decoration: none; }
.gfx-profile-name p { margin: 0; color: #e0ebf7; }
.gfx-profile-name .gfx-profile-handle { font-size: .88rem; color: #c4d6ea; }
.gfx-profile-name .gfx-profile-bio { max-width: 65ch; margin-top: .55rem; white-space: pre-line; }
.gfx-profile-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.gfx-profile-actions [data-follow-status]:empty { display: none; }
.gfx-profile-nav {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    margin-block: 1rem 1.5rem;
    padding: .45rem;
    border: 1px solid var(--profile-border);
    border-radius: .75rem;
    background: #fff;
}
.gfx-profile-nav a, .gfx-profile-pages a, .gfx-profile-pages span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .52rem .72rem;
    border-radius: .45rem;
    color: var(--profile-ink);
    font-size: .875rem;
    font-weight: 650;
    text-decoration: none;
}
.gfx-profile-nav a span { opacity: .85; font-size: .77rem; }
.gfx-profile-nav a[aria-current], .gfx-profile-pages span[aria-current] { background: var(--profile-accent); color: #fff; }
.gfx-profile-nav a:not([aria-current]):hover, .gfx-profile-pages a:hover { background: #eaf2fd; color: var(--profile-accent); }
.gfx-profile-layout { display: grid; align-items: start; gap: 1.3rem; }
.gfx-profile-content { min-width: 0; }
.gfx-profile-content > h2 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); margin: 0 0 .85rem; font-weight: 750; }
.gfx-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.gfx-profile-card, .gfx-profile-member, .gfx-profile-panel, .gfx-profile-empty {
    min-width: 0;
    overflow-wrap: anywhere;
    border: 1px solid var(--profile-border);
    border-radius: .72rem;
    background: #fff;
    color: inherit;
}
.gfx-profile-card { display: block; overflow: hidden; text-decoration: none; }
.gfx-profile-card img { display: block; background: #e5edf6; }
.gfx-profile-card h3 { margin: 0; padding: .65rem .75rem; font-size: .9rem; line-height: 1.25; }
.gfx-profile-card:hover, .gfx-profile-member:hover { color: var(--profile-accent); border-color: #94b2d5; }
.gfx-profile-empty, .gfx-profile-panel { padding: 1rem; }
.gfx-profile-empty { color: var(--profile-muted); }
.gfx-profile-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem; margin-top: 1rem; }
.gfx-profile-members { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .65rem; }
.gfx-profile-member { display: flex; align-items: center; gap: .65rem; padding: .58rem; text-decoration: none; font-weight: 650; }
.gfx-profile-member img { border-radius: .5rem; background: #e5edf6; }
.gfx-profile-sidebar { display: grid; gap: .8rem; }
.gfx-profile-panel h2 { font-size: 1.06rem; font-weight: 750; margin: 0 0 .6rem; }
.gfx-profile-panel h3 { font-size: .85rem; font-weight: 700; margin-bottom: .35rem; }
.gfx-profile-panel dl, .gfx-profile-panel ul { margin: 0; font-size: .85rem; }
.gfx-profile-panel ul { padding-left: 1rem; margin-bottom: .65rem; }
.gfx-profile-panel dl div { display: flex; justify-content: space-between; gap: .55rem; padding-block: .43rem; border-bottom: 1px solid #edf1f6; }
.gfx-profile-panel dt { color: var(--profile-muted); font-weight: 500; }
.gfx-profile-panel dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.gfx-profile-panel a:not(.btn) { color: var(--profile-accent); }
.gfx-profile-panel > a { display: inline-block; margin-top: .55rem; font-size: .85rem; }
.gfx-profile-admin { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .4rem; }
.gfx-profile-admin-email { margin: .55rem 0 0; font-size: .8rem; color: var(--profile-muted); }
.gfx-portfolio a:focus-visible, .gfx-portfolio button:focus-visible { outline: 2px solid #548ce0; outline-offset: 3px; }
@media (min-width: 768px) {
    .gfx-profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; }
}
@media (min-width: 992px) {
    .gfx-profile-layout { grid-template-columns: minmax(0, 1fr) minmax(15rem, 23%); }
}

.gfx-profile-hero {
    background: radial-gradient(ellipse at 100% 0%, #3a507b 0, transparent 56%),
        linear-gradient(125deg, #14233a 15%, #20304c 68%, #2f2849 100%);
    box-shadow: 0 12px 26px rgba(22, 36, 54, .15);
}
.gfx-profile-portrait img { border-color: #ebcb85; }
.gfx-profile-editor {
    background: linear-gradient(120deg, #fff2ba, #ecc36e);
    box-shadow: 0 3px 12px rgba(236, 195, 110, .25);
}
.gfx-profile-awards { margin-top: 1.15rem; }
.gfx-profile-awards h2 {
    margin: 0 0 .65rem;
    font-size: 1.12rem;
    font-weight: 750;
}
.gfx-profile-awards h2 i { color: #995712; margin-right: .25rem; }
.gfx-profile-awards ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.gfx-profile-award {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    height: 100%;
    padding: .72rem .85rem;
    border: 1px solid var(--award-border);
    border-radius: .85rem;
    background: linear-gradient(115deg, var(--award-bg), #fff);
    color: var(--award-ink);
    box-shadow: 0 4px 12px rgba(22, 36, 54, .06);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.gfx-profile-award-bestaward { --award-ink: #783813; --award-border: #e7b98c; --award-bg: #ffead6; }
.gfx-profile-award-week { --award-ink: #195e59; --award-border: #93cec2; --award-bg: #def6ef; }
.gfx-profile-award-editor { --award-ink: #5a3d85; --award-border: #c5b1e0; --award-bg: #f0e5ff; }
.gfx-profile-award img { object-fit: contain; }
.gfx-profile-award span {
    min-width: 2ch;
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 800;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.gfx-profile-award:hover, .gfx-profile-award[aria-current] {
    color: var(--award-ink);
    border-color: currentColor;
    box-shadow: 0 5px 14px rgba(22, 36, 54, .12);
}

.gfx-profile-sidebar .gfx-profile-side-icon {
    width: 1.3em;
    margin-inline-end: .25rem;
    color: var(--profile-accent);
    text-align: center;
}
.gfx-profile-sidebar .fa-heart.gfx-profile-side-icon { color: #ad315a; }
.gfx-profile-sidebar .fa-bookmark.gfx-profile-side-icon { color: #6c4696; }
.gfx-profile-sidebar :is(.fa-ranking-star, .fa-star).gfx-profile-side-icon { color: #8b570f; }
