.public-profile-page .inner-page-main {
    overflow: clip;
}

.public-profile-shell {
    display: grid;
    width: min(1120px, calc(100% - 32px));
    min-width: 0;
    gap: 16px;
    margin-inline: auto;
}

.public-profile-toolbar,
.public-profile-hero,
.public-profile-panel,
.public-profile-private-notice,
.public-profile-restricted {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(14, 14, 17, 0.96);
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.32);
    isolation: isolate;
}

.public-profile-restricted {
    display: grid;
    min-height: 390px;
    grid-template-columns: 110px minmax(0, 650px);
    gap: 24px;
    align-items: center;
    justify-content: center;
    padding: clamp(34px, 7vw, 72px);
    border-color: rgba(37, 244, 238, 0.22);
    border-radius: 24px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 0 0, rgba(37, 244, 238, 0.15), transparent 42%),
        radial-gradient(circle at 100% 100%, rgba(254, 44, 85, 0.14), transparent 43%),
        rgba(12, 12, 15, 0.97);
    background-size: 22px 22px, 22px 22px, auto, auto, auto;
}

.public-profile-restricted::before {
    position: absolute;
    right: -44px;
    bottom: -74px;
    width: 210px;
    aspect-ratio: 1;
    border: 1px solid rgba(254, 44, 85, 0.15);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(37, 244, 238, 0.025);
    content: "";
    pointer-events: none;
}

.public-profile-restricted::after {
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--cyan), #fff 52%, var(--pink), transparent);
    content: "";
    opacity: 0.7;
}

.public-profile-restricted-icon {
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
    border: 1px solid rgba(37, 244, 238, 0.3);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(37, 244, 238, 0.14), rgba(255, 255, 255, 0.035) 52%, rgba(254, 44, 85, 0.12));
    box-shadow: -5px 5px 0 rgba(37, 244, 238, 0.2), 5px -5px 0 rgba(254, 44, 85, 0.18);
    color: #fff;
    font-size: 36px;
}

.public-profile-restricted > div {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.public-profile-restricted > div > p:first-child {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 7px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.public-profile-restricted > div > p:first-child span {
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan) 50%, var(--pink) 50%);
}

.public-profile-restricted h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(31px, 5vw, 48px);
    line-height: 1.04;
}

.public-profile-restricted > div > strong {
    display: block;
    margin-top: 9px;
    color: var(--pink);
    font-size: 16px;
}

.public-profile-restricted > div > p:not(:first-child) {
    max-width: 590px;
    margin: 14px 0 20px;
    color: #b8b8bf;
    font-size: 14px;
    line-height: 1.6;
}

.public-profile-toolbar {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 13px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(254, 44, 85, 0.12), transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.027), transparent 46%),
        rgba(15, 15, 18, 0.94);
}

.public-profile-toolbar::before {
    position: absolute;
    right: -26px;
    bottom: -58px;
    width: 118px;
    aspect-ratio: 1;
    border: 1px solid rgba(37, 244, 238, 0.15);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(254, 44, 85, 0.035);
    content: "";
    pointer-events: none;
}

.public-profile-toolbar::after,
.public-profile-panel::after {
    position: absolute;
    top: 0;
    right: 24px;
    left: 24px;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--cyan), #fff 52%, var(--pink), transparent);
    content: "";
    opacity: 0.42;
}

.public-profile-back {
    display: inline-flex;
    min-height: 42px;
    gap: 9px;
    align-items: center;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

.public-profile-back i {
    color: var(--cyan);
}

.public-profile-back:hover,
.public-profile-back:focus-visible {
    border-color: rgba(37, 244, 238, 0.4);
    background: rgba(37, 244, 238, 0.08);
    color: #fff;
    outline: 0;
    transform: translateX(-2px);
}

.public-profile-context {
    display: flex;
    min-width: 0;
    gap: 10px;
    align-items: center;
}

.public-profile-context > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(254, 44, 85, 0.25);
    border-radius: 13px;
    background: rgba(254, 44, 85, 0.08);
    color: var(--pink);
}

.public-profile-context > div {
    display: grid;
    min-width: 0;
    justify-items: end;
}

.public-profile-context small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-profile-context strong {
    max-width: 220px;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-profile-hero {
    display: grid;
    min-height: 270px;
    grid-template-columns: 168px minmax(0, 1fr) 190px;
    gap: clamp(22px, 3vw, 34px);
    align-items: center;
    padding: clamp(25px, 3vw, 34px);
    border-color: rgba(37, 244, 238, 0.25);
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 18%, rgba(37, 244, 238, 0.16), transparent 29%),
        radial-gradient(circle at 94% 82%, rgba(254, 44, 85, 0.14), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 48%),
        rgba(11, 11, 14, 0.98);
    box-shadow: -3px 3px 0 rgba(37, 244, 238, 0.17), 3px -3px 0 rgba(254, 44, 85, 0.16), 0 30px 84px rgba(0, 0, 0, 0.38);
}

.public-profile-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.023) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.023) 1px, transparent 1px);
    background-size: 28px 28px;
    content: "";
    mask-image: linear-gradient(105deg, #000, transparent 82%);
}

.public-profile-hero::after {
    position: absolute;
    top: 0;
    right: 36px;
    left: 36px;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--cyan), #fff 52%, var(--pink), transparent);
    content: "";
    opacity: 0.72;
}

.public-profile-avatar-wrap {
    position: relative;
    display: grid;
    width: 168px;
    min-width: 0;
    justify-items: center;
    padding-bottom: 34px;
}

.public-profile-avatar {
    display: grid;
    width: 142px;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 5px solid #09090b;
    border-radius: 36px;
    background: linear-gradient(135deg, var(--cyan), #fff 50%, var(--pink));
    box-shadow: -7px 7px 0 rgba(37, 244, 238, 0.76), 7px -7px 0 rgba(254, 44, 85, 0.76), 0 24px 52px rgba(0, 0, 0, 0.42);
    color: #060608;
    font-size: 52px;
    font-weight: 950;
    transition: border-radius 200ms var(--ease), transform 200ms var(--ease);
}

.public-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-profile-avatar-wrap:hover .public-profile-avatar {
    border-radius: 41px;
    transform: translateY(-3px);
}

.public-profile-presence {
    position: absolute;
    bottom: 0;
    display: inline-flex;
    width: max-content;
    max-width: none;
    min-height: 38px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border: 2px solid #0a0a0c;
    border-radius: 999px;
    background: #18181d;
    color: #d0d0d5;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.public-profile-presence i {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #767680;
}

.public-profile-presence.is-online i {
    background: var(--success);
    box-shadow: 0 0 12px rgba(54, 230, 154, 0.82);
}

.public-profile-presence.is-away i {
    background: var(--warning);
    box-shadow: 0 0 12px rgba(255, 204, 77, 0.72);
}

.public-profile-presence.is-hidden {
    border-color: rgba(255, 255, 255, 0.09);
    color: #b8b8bf;
}

.public-profile-presence.is-hidden i {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: #a9a9b1;
    font-size: 12px;
}

.public-profile-identity {
    display: grid;
    min-width: 0;
    align-content: center;
}

.public-profile-eyebrow {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 0 0 7px;
    color: #d1d1d6;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.public-profile-eyebrow > span {
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan) 0 47%, #fff 47% 55%, var(--pink) 55%);
}

.public-profile-identity h1 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: clamp(38px, 4.7vw, 56px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.public-profile-name-line {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
}

.public-profile-entitlement-badge {
    display: inline-flex;
    min-height: 32px;
    gap: 7px;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid color-mix(in srgb, var(--cyan) 42%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--cyan) 10%, rgba(5, 10, 18, 0.88));
    color: #dffcff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 28px rgba(0, 229, 255, 0.08);
}

.public-profile-entitlement-badge.is-pink {
    border-color: color-mix(in srgb, var(--pink) 46%, transparent);
    background: color-mix(in srgb, var(--pink) 10%, rgba(5, 10, 18, 0.88));
    color: #ffe7f4;
}

.public-profile-entitlement-badge.is-gold {
    border-color: rgba(255, 201, 92, 0.46);
    background: rgba(255, 201, 92, 0.1);
    color: #ffe5a8;
}

.public-profile-entitlement-badge.is-white {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.public-profile-nickname {
    margin: 9px 0 14px;
    color: var(--cyan);
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 850;
}

.public-profile-facts,
.public-profile-actions {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 9px;
}

.public-profile-facts > span {
    display: inline-flex;
    min-width: 0;
    min-height: 36px;
    gap: 8px;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
    color: #c4c4ca;
    font-size: 12px;
    font-weight: 700;
}

.public-profile-country-flag {
    width: 24px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
    object-fit: cover;
}

.public-profile-facts > span > i {
    color: var(--pink);
}

.public-profile-actions {
    margin-top: 20px;
}

.public-profile-action-form { display: contents; margin: 0; }

.public-profile-button {
    position: relative;
    display: inline-flex;
    min-height: 46px;
    gap: 9px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}

.public-profile-button:hover,
.public-profile-button:focus-visible {
    outline: 0;
    transform: translateY(-2px);
}

.public-profile-button.is-primary {
    background: var(--cyan);
    color: #050507;
    box-shadow: 3px 3px 0 var(--pink);
}

.public-profile-button.is-primary:hover {
    background: #fff;
    box-shadow: 5px 5px 0 var(--pink);
}

.public-profile-button.is-secondary {
    border-color: rgba(254, 44, 85, 0.35);
    background: rgba(254, 44, 85, 0.1);
}

.public-profile-button.is-secondary:hover {
    border-color: var(--pink);
    background: rgba(254, 44, 85, 0.2);
}

.public-profile-button.is-like {
    border-color: rgba(37, 244, 238, 0.34);
    background: rgba(37, 244, 238, 0.08);
}

.public-profile-button.is-like:hover,
.public-profile-button.is-like.is-active {
    border-color: var(--pink);
    background: rgba(254, 44, 85, 0.14);
    box-shadow: 3px 3px 0 rgba(37, 244, 238, 0.5);
}

.public-profile-button:disabled {
    cursor: wait;
    opacity: 0.6;
    transform: none;
}

.public-profile-rank {
    position: relative;
    display: grid;
    min-width: 0;
    justify-items: center;
    padding: 20px 15px 16px;
    overflow: hidden;
    border: 1px solid rgba(37, 244, 238, 0.23);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(37, 244, 238, 0.09), rgba(255, 255, 255, 0.024) 54%, rgba(254, 44, 85, 0.07));
    text-align: center;
    transition: border-color 180ms ease, transform 180ms var(--ease);
}

.public-profile-rank:hover {
    border-color: rgba(37, 244, 238, 0.43);
    transform: translateY(-2px);
}

.public-profile-rank-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--cyan), #fff 48%, var(--pink));
    color: #050507;
    box-shadow: -3px 3px 0 rgba(37, 244, 238, 0.36), 3px -3px 0 rgba(254, 44, 85, 0.38);
    font-size: 20px;
}

.public-profile-rank > small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.public-profile-rank > strong {
    max-width: 100%;
    margin-top: 4px;
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.2;
}

.public-profile-rank > div {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #c3c3c9;
    font-size: 12px;
    font-weight: 750;
}

.public-profile-rank > div b {
    color: var(--cyan);
    font-size: 27px;
    line-height: 1;
}

.public-profile-rank.is-administrator {
    border-color: rgba(255, 210, 92, 0.46);
    background: radial-gradient(circle at 50% 0, rgba(255, 220, 105, 0.16), transparent 48%), linear-gradient(145deg, rgba(37, 244, 238, 0.08), rgba(255, 211, 94, 0.06) 50%, rgba(254, 44, 85, 0.08));
}

.public-profile-rank.is-administrator .public-profile-rank-icon {
    background: linear-gradient(135deg, #ffe599, #fff 45%, #ffc445);
    box-shadow: -3px 3px 0 var(--cyan), 3px -3px 0 var(--pink);
}

.public-profile-rank.is-administrator > strong,
.public-profile-rank.is-administrator > div b {
    color: #ffe08a;
}

.public-profile-private-notice {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    padding: 17px 19px;
    border-color: rgba(255, 204, 77, 0.25);
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(255, 204, 77, 0.08), rgba(254, 44, 85, 0.045));
}

.public-profile-private-notice > i {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 204, 77, 0.11);
    color: var(--warning);
}

.public-profile-private-notice strong {
    display: block;
}

.public-profile-private-notice p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.public-profile-private-notice > a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.public-profile-panel {
    --panel-accent: 37, 244, 238;
    padding: 22px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(var(--panel-accent), 0.13), transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.027), transparent 46%),
        rgba(15, 15, 18, 0.94);
    transition: border-color 190ms ease, box-shadow 190ms ease, transform 190ms var(--ease);
}

.public-profile-panel::before {
    position: absolute;
    z-index: -1;
    right: -58px;
    bottom: -64px;
    width: 174px;
    aspect-ratio: 1;
    border: 1px solid rgba(var(--panel-accent), 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(var(--panel-accent), 0.025);
    content: "";
    opacity: 0.72;
    pointer-events: none;
    transition: opacity 190ms ease, transform 260ms var(--ease);
}

.public-profile-panel:hover {
    border-color: rgba(var(--panel-accent), 0.31);
    box-shadow: -3px 3px 0 rgba(37, 244, 238, 0.16), 3px -3px 0 rgba(254, 44, 85, 0.14), 0 24px 62px rgba(0, 0, 0, 0.34);
    transform: translateY(-3px);
}

.public-profile-panel:hover::before {
    opacity: 1;
    transform: scale(1.08);
}

.public-profile-panel > header {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    gap: 13px;
    align-items: center;
    margin-bottom: 18px;
}

.public-profile-panel > header > span {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(var(--panel-accent), 0.24);
    border-radius: 14px;
    background: rgba(var(--panel-accent), 0.09);
    color: rgb(var(--panel-accent));
}

.public-profile-panel > header > div {
    min-width: 0;
}

.public-profile-panel > header p {
    margin: 0;
    color: rgb(var(--panel-accent));
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.public-profile-panel > header h2 {
    margin: 1px 0 0;
    overflow-wrap: anywhere;
    font-size: 18px;
    line-height: 1.12;
}

.public-profile-overview {
    --panel-accent: 37, 244, 238;
}

.public-profile-metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.public-profile-metric {
    --profile-accent: 37, 244, 238;
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(var(--profile-accent), 0.07), rgba(255, 255, 255, 0.018) 58%);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}

.public-profile-metric.is-pink {
    --profile-accent: 254, 44, 85;
}

.public-profile-metric.is-white {
    --profile-accent: 255, 255, 255;
}

.public-profile-metric > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(var(--profile-accent), 0.22);
    border-radius: 13px;
    background: rgba(var(--profile-accent), 0.09);
    color: rgb(var(--profile-accent));
}

.public-profile-metric > div {
    display: grid;
    min-width: 0;
}

.public-profile-metric small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
}

.public-profile-metric strong {
    overflow-wrap: anywhere;
    font-size: clamp(19px, 2.2vw, 25px);
    line-height: 1.1;
}

.public-profile-metric:hover {
    border-color: rgba(var(--profile-accent), 0.36);
    background: linear-gradient(145deg, rgba(var(--profile-accent), 0.11), rgba(255, 255, 255, 0.025) 58%);
    transform: translateY(-2px);
}

.public-profile-metric:hover > span {
    box-shadow: 0 0 20px rgba(var(--profile-accent), 0.15);
    transform: rotate(-6deg) scale(1.06);
}

.public-profile-metric > span {
    transition: box-shadow 180ms ease, transform 200ms var(--ease);
}

.public-profile-collection-value {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 0;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 13px;
    padding: 13px 15px;
    border: 1px solid rgba(37, 244, 238, 0.2);
    border-radius: 18px;
    background: linear-gradient(100deg, rgba(37, 244, 238, 0.065), rgba(255, 255, 255, 0.02), rgba(254, 44, 85, 0.05));
}

.public-profile-collection-value > span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 15px;
    background: rgba(37, 244, 238, 0.1);
    color: var(--cyan);
    font-size: 18px;
}

.public-profile-collection-value > div {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.public-profile-collection-value small,
.public-profile-gift-collection-total > div > span,
.public-profile-gift-collection-total > small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.public-profile-collection-value > div > small {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.public-profile-collection-value > p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.public-profile-collection-value > p b {
    margin-left: 4px;
    color: #fff;
    font-size: 17px;
}

.public-profile-coin-slot {
    display: flex;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 7px 10px;
    align-items: center;
}

.public-profile-usd-value {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid rgba(37, 244, 238, 0.2);
    border-radius: 999px;
    background: rgba(37, 244, 238, 0.065);
    color: #dffefd;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.public-profile-content {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
    gap: 18px;
}

.public-profile-content.is-single {
    grid-template-columns: 1fr;
}

.public-profile-progression {
    --panel-accent: 37, 244, 238;
}

.public-profile-about {
    --panel-accent: 254, 44, 85;
}

.public-profile-progression-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.public-profile-progression-grid article {
    display: grid;
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.public-profile-progression-grid article:nth-child(2) i {
    color: var(--pink);
}

.public-profile-progression-grid article:nth-child(3) i {
    color: #fff;
}

.public-profile-progression-grid i {
    margin-bottom: 10px;
    color: var(--cyan);
    font-size: 16px;
}

.public-profile-progression-grid span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

.public-profile-progression-grid strong {
    overflow-wrap: anywhere;
    font-size: clamp(19px, 2.5vw, 25px);
}

.public-profile-progress-route {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.22);
}

.public-profile-progress-route > header,
.public-profile-progress-route > footer {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    color: #c8c8ce;
    font-size: 11px;
    font-weight: 750;
}

.public-profile-progress-route > header strong {
    color: #dcdce1;
}

.public-profile-progress-route progress {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 9px;
    margin: 11px 0 5px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.075);
    color: var(--cyan);
}

.public-profile-progress-route progress::-webkit-progress-bar {
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.075);
}

.public-profile-progress-route progress::-webkit-progress-value {
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), #fff 53%, var(--pink));
    box-shadow: 0 0 14px rgba(37, 244, 238, 0.3);
}

.public-profile-progress-route progress::-moz-progress-bar {
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), #fff 53%, var(--pink));
}

.public-profile-progress-route > footer {
    color: #777780;
}

.public-profile-maximum {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 62px;
    gap: 11px;
    align-items: center;
    justify-content: center;
    margin-top: 17px;
    border: 1px solid rgba(255, 215, 104, 0.28);
    border-radius: 16px;
    background: linear-gradient(100deg, rgba(37, 244, 238, 0.045), rgba(255, 215, 104, 0.09), rgba(254, 44, 85, 0.05));
    color: #ffe08a;
}

.public-profile-about > p {
    position: relative;
    z-index: 1;
    margin: 0;
    overflow-wrap: anywhere;
    color: #d7d7dc;
    font-size: 15px;
    line-height: 1.75;
}

.public-profile-gifts {
    --panel-accent: 254, 44, 85;
}

.public-profile-gifts > header > a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
    color: #d3d3d8;
    font-size: 12px;
    font-weight: 800;
}

.public-profile-gifts > header > a:hover {
    color: var(--cyan);
}

.public-profile-gift-collection-total {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin: -6px 0 16px;
    padding: 13px 15px;
    border: 1px solid rgba(37, 244, 238, 0.17);
    border-radius: 15px;
    background: rgba(37, 244, 238, 0.04);
}

.public-profile-gift-collection-total > div {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.public-profile-gift-collection-total > small {
    display: grid;
    gap: 4px;
    text-align: right;
}

.public-profile-gift-collection-total > small b {
    color: #fff;
    font-size: 14px;
}

.public-profile-gift-suggestion-notice {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 204, 77, 0.24);
    border-radius: 14px;
    background: rgba(255, 204, 77, 0.05);
}

.public-profile-gift-suggestion-notice > i {
    margin-top: 2px;
    color: var(--warning);
}

.public-profile-gift-suggestion-notice strong {
    display: block;
    font-size: 12px;
}

.public-profile-gift-suggestion-notice p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.public-profile-gift-podium {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 20px);
    align-items: end;
    overflow: hidden;
    padding: 28px clamp(14px, 3vw, 38px) 0;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.085), transparent 35%),
        radial-gradient(circle at 3% 82%, rgba(37, 244, 238, 0.1), transparent 31%),
        radial-gradient(circle at 97% 76%, rgba(254, 44, 85, 0.11), transparent 32%),
        rgba(4, 4, 6, 0.48);
}

.public-profile-gift-podium.is-count-1 {
    grid-template-columns: minmax(240px, 360px);
    justify-content: center;
}

.public-profile-gift-podium.is-count-2 {
    grid-template-columns: repeat(2, minmax(220px, 340px));
    justify-content: center;
}

.public-profile-podium-item {
    display: grid;
    min-width: 0;
    align-content: end;
}

.public-profile-podium-item.is-place-1 {
    order: 2;
}

.public-profile-podium-item.is-place-2 {
    order: 1;
}

.public-profile-podium-item.is-place-3 {
    order: 3;
}

.public-profile-podium-card {
    position: relative;
    display: block;
    min-width: 0;
    margin: 0 4px 12px;
    padding: 0;
    border: 0;
    border-radius: 19px;
    background: transparent;
    box-shadow: none;
    text-align: center;
    transition: transform 190ms var(--ease);
}

.public-profile-podium-card.is-flippable {
    height: 430px;
    cursor: pointer;
    outline: 0;
    perspective: 1200px;
}

.public-profile-podium-card.is-flippable.is-compact-details {
    height: 340px;
}

.public-profile-gift-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 620ms var(--ease);
}

.public-profile-podium-card.is-flipped .public-profile-gift-flip-inner {
    transform: rotateY(180deg);
}

.public-profile-gift-face {
    display: grid;
    min-width: 0;
    justify-items: center;
    align-content: start;
    gap: 7px;
    padding: 17px 13px 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 19px;
    background:
        radial-gradient(circle at 100% 0, rgba(37, 244, 238, 0.09), transparent 42%),
        linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(10, 10, 13, 0.96) 58%);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
    backface-visibility: hidden;
    transition: border-color 190ms ease, box-shadow 190ms ease;
}

.public-profile-podium-card.is-flippable .public-profile-gift-face {
    position: absolute;
    inset: 0;
    height: 100%;
}

.public-profile-gift-face.is-back {
    align-content: start;
    justify-items: stretch;
    padding: 15px;
    background:
        radial-gradient(circle at 100% 0, rgba(254, 44, 85, 0.12), transparent 42%),
        linear-gradient(145deg, rgba(37, 244, 238, 0.055), transparent 52%),
        rgba(10, 10, 13, 0.985);
    text-align: left;
    transform: rotateY(180deg);
}

.public-profile-podium-item.is-place-1 .public-profile-gift-face {
    border-color: rgba(255, 222, 116, 0.4);
    background: linear-gradient(150deg, rgba(255, 222, 116, 0.09), rgba(10, 10, 13, 0.94) 60%);
}

.public-profile-podium-item.is-place-1 .public-profile-gift-face.is-back {
    background: radial-gradient(circle at 100% 0, rgba(255, 222, 116, 0.12), transparent 42%), linear-gradient(145deg, rgba(37, 244, 238, 0.05), transparent 52%), rgba(10, 10, 13, 0.985);
}

.public-profile-podium-item.is-place-2 .public-profile-gift-face {
    border-color: rgba(37, 244, 238, 0.28);
}

.public-profile-podium-item.is-place-3 .public-profile-gift-face {
    border-color: rgba(254, 44, 85, 0.28);
}

.public-profile-podium-card:hover {
    transform: translateY(-3px);
}

.public-profile-podium-card:hover .public-profile-gift-face,
.public-profile-podium-card:focus-visible .public-profile-gift-face {
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: -3px 3px 0 rgba(37, 244, 238, 0.14), 3px -3px 0 rgba(254, 44, 85, 0.13), 0 22px 44px rgba(0, 0, 0, 0.4);
}

.public-profile-podium-position {
    position: absolute;
    top: 10px;
    left: 10px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: #0b0b0e;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
}

.is-place-1 .public-profile-podium-position {
    border-color: rgba(255, 222, 116, 0.58);
    color: #ffe18b;
}

.is-place-2 .public-profile-podium-position {
    color: var(--cyan);
}

.is-place-3 .public-profile-podium-position {
    color: var(--pink);
}

.public-profile-podium-art {
    display: grid;
    width: min(100%, 156px);
    aspect-ratio: 1;
    place-items: center;
}

.public-profile-podium-art img {
    width: 138px;
    height: 138px;
    object-fit: contain;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.4));
    transition: transform 210ms var(--ease);
}

.public-profile-podium-card:hover .public-profile-podium-art img {
    transform: translateY(-3px) scale(1.04);
}

.public-profile-gift-face.is-front > strong {
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-profile-gift-face.is-front > small {
    max-width: 100%;
    overflow: hidden;
    color: var(--cyan);
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-profile-gift-face.is-front > p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.public-profile-gift-face.is-front > footer,
.public-profile-gift > footer {
    display: flex;
    min-width: 0;
    justify-content: center;
}

.public-profile-podium-action {
    display: inline-flex;
    min-height: 36px;
    gap: 7px;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
    padding: 7px 11px;
    border: 1px solid rgba(37, 244, 238, 0.3);
    border-radius: 11px;
    background: rgba(37, 244, 238, 0.075);
    color: #fff;
    font-size: 11px;
    font-weight: 850;
}

.public-profile-podium-action:hover {
    border-color: rgba(254, 44, 85, 0.45);
    background: rgba(254, 44, 85, 0.1);
    color: var(--cyan);
}

.public-profile-flip-hint {
    display: inline-flex;
    min-height: 30px;
    gap: 7px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 6px 9px;
    border: 1px solid rgba(37, 244, 238, 0.18);
    border-radius: 10px;
    background: rgba(37, 244, 238, 0.055);
    color: #c9c9cf;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
}

.public-profile-flip-hint i {
    color: var(--cyan);
    transition: transform 260ms var(--ease);
}

.public-profile-podium-card:hover .public-profile-flip-hint i {
    transform: rotate(-28deg);
}

.public-profile-flip-hint.is-back {
    width: 100%;
    margin-top: auto;
    border-color: rgba(254, 44, 85, 0.2);
    background: rgba(254, 44, 85, 0.055);
}

.public-profile-flip-hint.is-back i {
    color: var(--pink);
}

.public-profile-gift-face.is-back > header {
    display: grid;
    min-width: 0;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.public-profile-gift-face.is-back > header > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(37, 244, 238, 0.22);
    border-radius: 12px;
    background: rgba(37, 244, 238, 0.08);
    color: var(--cyan);
}

.public-profile-gift-face.is-back > header > div {
    display: grid;
    min-width: 0;
}

.public-profile-gift-face.is-back > header small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.public-profile-gift-face.is-back > header strong {
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-profile-gift-face.is-back > header > b {
    max-width: 100px;
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: #d5d5da;
    font-size: 9px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
}

.public-profile-gift-face.is-back > header > b.is-market,
.public-profile-gift-face.is-back > header > b.is-registration {
    border-color: rgba(37, 244, 238, 0.2);
    color: var(--cyan);
}

.public-profile-gift-face.is-back > header > b.is-gift {
    border-color: rgba(254, 44, 85, 0.22);
    color: #ff9aae;
}

.public-profile-gift-facts {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 3px 0 0;
}

.public-profile-gift-facts > div {
    display: grid;
    min-width: 0;
    align-content: center;
    gap: 2px;
    min-height: 50px;
    padding: 8px 9px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
}

.public-profile-gift-facts dt,
.public-profile-gift-facts dd {
    min-width: 0;
    margin: 0;
}

.public-profile-gift-facts dt {
    color: #898991;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.055em;
    line-height: 1.2;
    text-transform: uppercase;
}

.public-profile-gift-facts dd {
    overflow-wrap: anywhere;
    color: #f3f3f5;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.28;
}

.public-profile-gift-change.is-positive {
    border-color: rgba(37, 244, 238, 0.2);
    background: rgba(37, 244, 238, 0.055);
}

.public-profile-gift-change.is-positive dd {
    color: var(--cyan);
}

.public-profile-gift-change.is-negative {
    border-color: rgba(254, 44, 85, 0.23);
    background: rgba(254, 44, 85, 0.055);
}

.public-profile-gift-change.is-negative dd {
    color: #ff7893;
}

.public-profile-podium-step {
    position: relative;
    display: grid;
    height: 58px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(37, 244, 238, 0.26);
    border-bottom: 0;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(145deg, rgba(37, 244, 238, 0.14), rgba(13, 13, 17, 0.96) 58%);
}

.is-place-1 .public-profile-podium-step {
    height: 78px;
    border-color: rgba(255, 222, 116, 0.36);
    background: linear-gradient(145deg, rgba(255, 222, 116, 0.18), rgba(13, 13, 17, 0.97) 60%);
}

.is-place-3 .public-profile-podium-step {
    height: 44px;
    border-color: rgba(254, 44, 85, 0.28);
    background: linear-gradient(145deg, rgba(254, 44, 85, 0.15), rgba(13, 13, 17, 0.97) 60%);
}

.public-profile-podium-step b {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 950;
    line-height: 1;
}

.public-profile-podium-step i {
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 10px 10px 0 0;
    pointer-events: none;
}

.public-profile-gift-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.public-profile-gift-podium + .public-profile-gift-grid {
    margin-top: 16px;
}

.public-profile-gift {
    position: relative;
    display: grid;
    min-width: 0;
    align-content: start;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(254, 44, 85, 0.065), rgba(255, 255, 255, 0.02) 56%, rgba(37, 244, 238, 0.04));
    transition: border-color 180ms ease, transform 180ms var(--ease);
}

.public-profile-gift:hover {
    border-color: rgba(254, 44, 85, 0.36);
    transform: translateY(-3px);
}

.public-profile-gift-art {
    display: grid;
    min-height: 150px;
    place-items: center;
    padding: 16px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 65%);
}

.public-profile-gift-art img {
    width: 122px;
    height: 122px;
    object-fit: contain;
    transition: transform 210ms var(--ease);
}

.public-profile-gift:hover .public-profile-gift-art img {
    transform: translateY(-3px) scale(1.04);
}

.public-profile-gift > div {
    display: grid;
    min-width: 0;
    gap: 3px;
    padding: 0 14px 13px;
}

.public-profile-gift > div strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-profile-gift > div span {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 750;
}

.public-profile-gift > div p {
    display: -webkit-box;
    margin: 5px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.public-profile-gift > footer {
    margin-top: auto;
    padding: 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(0, 0, 0, 0.18);
}

.public-profile-toast {
    display: flex;
    max-width: min(420px, calc(100vw - 32px));
    gap: 10px;
    align-items: center;
    padding: 13px 15px;
    border: 1px solid rgba(37, 244, 238, 0.38);
    border-radius: 14px;
    background: #17171b;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.46);
    font-size: 13px;
    font-weight: 750;
    animation: public-profile-toast-in 200ms var(--ease) both;
}

.public-profile-toast.is-error {
    border-color: rgba(254, 44, 85, 0.5);
}

.public-profile-toast > i {
    color: var(--cyan);
}

.public-profile-toast.is-error > i {
    color: var(--pink);
}

.public-profile-toast.is-leaving {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms var(--ease);
}

@keyframes public-profile-toast-in {
    from { opacity: 0; transform: translateY(10px); }
}

.public-profile-shell > [data-reveal] {
    animation: account-dashboard-panel-in 420ms var(--ease) both;
}

.public-profile-shell > [data-reveal]:nth-child(2) { animation-delay: 45ms; }
.public-profile-shell > [data-reveal]:nth-child(3) { animation-delay: 90ms; }
.public-profile-shell > [data-reveal]:nth-child(4) { animation-delay: 135ms; }
.public-profile-shell > [data-reveal]:nth-child(5) { animation-delay: 180ms; }
.public-profile-shell > [data-reveal]:nth-child(6) { animation-delay: 225ms; }

.public-profile-metric,
.public-profile-podium-item,
.public-profile-gift {
    animation: account-dashboard-card-in 420ms var(--ease) both;
}

.public-profile-metric:nth-child(2),
.public-profile-podium-item:nth-child(2),
.public-profile-gift:nth-child(2) { animation-delay: 45ms; }
.public-profile-metric:nth-child(3),
.public-profile-podium-item:nth-child(3),
.public-profile-gift:nth-child(3) { animation-delay: 90ms; }
.public-profile-metric:nth-child(4),
.public-profile-gift:nth-child(4) { animation-delay: 135ms; }
.public-profile-metric:nth-child(5),
.public-profile-gift:nth-child(5) { animation-delay: 180ms; }
.public-profile-metric:nth-child(6),
.public-profile-gift:nth-child(6) { animation-delay: 225ms; }

@media (max-width: 980px) {
    .public-profile-hero {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .public-profile-avatar-wrap {
        width: 170px;
    }

    .public-profile-rank {
        grid-column: 1 / -1;
        grid-template-columns: 50px minmax(0, 1fr) auto;
        justify-items: start;
        gap: 11px 13px;
        align-items: center;
        padding: 16px 18px;
        text-align: left;
    }

    .public-profile-rank-icon {
        width: 50px;
        height: 50px;
        grid-row: 1 / span 2;
        margin: 0;
        border-radius: 15px;
        font-size: 19px;
    }

    .public-profile-rank > small {
        align-self: end;
    }

    .public-profile-rank > strong {
        align-self: start;
    }

    .public-profile-rank > div {
        grid-column: 3;
        grid-row: 1 / span 2;
        width: auto;
        min-width: 92px;
        gap: 12px;
        margin: 0;
        padding: 0 0 0 15px;
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .public-profile-content {
        grid-template-columns: 1fr;
    }

    .public-profile-gift-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .public-profile-page .inner-page-main {
        padding-top: 96px;
    }

    .public-profile-shell {
        width: calc(100% - 24px);
        gap: 14px;
    }

    .public-profile-toolbar {
        min-height: 58px;
        padding: 8px 10px;
        border-radius: 17px;
    }

    .public-profile-restricted {
        min-height: 430px;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 22px;
        padding: 34px 24px;
        text-align: center;
    }

    .public-profile-restricted > div > p:first-child {
        justify-content: center;
    }

    .public-profile-restricted > div > p:not(:first-child) {
        margin-inline: auto;
    }

    .public-profile-context small {
        font-size: 9px;
    }

    .public-profile-context > span {
        width: 38px;
        height: 38px;
    }

    .public-profile-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 24px;
        padding: 29px 20px 21px;
        border-radius: 24px;
        text-align: center;
    }

    .public-profile-avatar-wrap {
        width: min(100%, 210px);
    }

    .public-profile-avatar {
        width: 144px;
        border-radius: 38px;
    }

    .public-profile-identity {
        width: 100%;
        justify-items: center;
    }

    .public-profile-identity h1 {
        font-size: clamp(36px, 12vw, 52px);
    }

    .public-profile-facts,
    .public-profile-actions {
        justify-content: center;
    }

    .public-profile-rank {
        width: 100%;
    }

    .public-profile-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .public-profile-metric {
        padding: 13px;
    }

    .public-profile-collection-value {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: 13px;
    }

    .public-profile-collection-value > span {
        width: 46px;
        height: 46px;
    }

    .public-profile-collection-value > p {
        grid-column: 2;
    }

    .public-profile-panel {
        padding: 20px;
    }

    .public-profile-progression-grid {
        grid-template-columns: 1fr;
    }

    .public-profile-progression-grid article {
        grid-template-columns: 28px minmax(0, 1fr) auto;
        align-items: center;
    }

    .public-profile-progression-grid i {
        margin: 0;
    }

    .public-profile-progression-grid strong {
        font-size: 21px;
    }

    .public-profile-private-notice {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .public-profile-private-notice > i {
        width: 42px;
        height: 42px;
    }

    .public-profile-private-notice > a {
        grid-column: 2;
    }

    .public-profile-gift-collection-total {
        align-items: flex-start;
    }

    .public-profile-gift-podium,
    .public-profile-gift-podium.is-count-1,
    .public-profile-gift-podium.is-count-2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 16px;
    }

    .public-profile-podium-item.is-place-1 { order: 1; }
    .public-profile-podium-item.is-place-2 { order: 2; }
    .public-profile-podium-item.is-place-3 { order: 3; }

    .public-profile-podium-card {
        width: min(100%, 360px);
        justify-self: center;
        margin-bottom: 0;
    }

    .public-profile-podium-card.is-flippable {
        height: 420px;
    }

    .public-profile-podium-card.is-flippable.is-compact-details {
        height: 370px;
    }

    .public-profile-podium-step {
        display: none;
    }

    .public-profile-gift-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 430px) {
    .public-profile-toolbar {
        align-items: stretch;
    }

    .public-profile-back {
        min-height: 40px;
        padding-inline: 12px;
    }

    .public-profile-context > span {
        display: none;
    }

    .public-profile-context strong {
        max-width: 128px;
    }

    .public-profile-restricted {
        min-height: 390px;
        padding: 30px 18px;
    }

    .public-profile-restricted-icon {
        width: 84px;
        height: 84px;
        border-radius: 24px;
        font-size: 29px;
    }

    .public-profile-restricted h1 {
        font-size: 31px;
    }

    .public-profile-facts,
    .public-profile-actions {
        display: grid;
        width: 100%;
    }

    .public-profile-facts > span,
    .public-profile-button {
        width: 100%;
        justify-content: center;
    }

    .public-profile-rank {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 9px 11px;
        padding: 14px;
    }

    .public-profile-rank-icon {
        width: 44px;
        height: 44px;
    }

    .public-profile-rank > div {
        grid-column: 1 / -1;
        grid-row: auto;
        width: 100%;
        justify-content: space-between;
        padding: 11px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .public-profile-panel > header {
        align-items: flex-start;
    }

    .public-profile-gifts > header {
        flex-wrap: wrap;
    }

    .public-profile-gifts > header > a {
        width: 100%;
        margin: 0;
        padding-left: 59px;
    }

    .public-profile-gift-collection-total {
        display: grid;
    }

    .public-profile-gift-collection-total > small {
        text-align: left;
    }

    .public-profile-gift-collection-total > small > span {
        display: block;
    }

    .public-profile-podium-card.is-flippable {
        height: 500px;
    }

    .public-profile-podium-card.is-flippable.is-compact-details {
        height: 390px;
    }

    .public-profile-gift-face.is-back > header {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .public-profile-gift-face.is-back > header > b {
        width: max-content;
        max-width: 100%;
        grid-column: 1 / -1;
        justify-self: start;
    }

    .public-profile-gift-facts {
        gap: 6px;
    }

    .public-profile-gift-facts > div {
        min-height: 43px;
        padding: 6px 7px;
    }

    .public-profile-gift-grid {
        grid-template-columns: 1fr;
    }

    .public-profile-gift {
        grid-template-columns: 108px minmax(0, 1fr);
        align-items: center;
    }

    .public-profile-gift-art {
        min-height: 126px;
        padding: 11px;
    }

    .public-profile-gift-art img {
        width: 98px;
        height: 98px;
    }

    .public-profile-gift > div {
        padding: 13px 11px;
    }

    .public-profile-gift > footer {
        grid-column: 1 / -1;
    }
}

@media (max-width: 370px) {
    .public-profile-shell {
        width: calc(100% - 18px);
    }

    .public-profile-context small {
        display: none;
    }

    .public-profile-context strong {
        max-width: 118px;
        align-self: center;
    }

    .public-profile-hero {
        padding-inline: 15px;
    }

    .public-profile-metrics {
        grid-template-columns: 1fr;
    }

    .public-profile-panel {
        padding: 17px 14px;
    }

    .public-profile-progress-route > header {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .public-profile-podium-card.is-flippable {
        height: 530px;
    }

    .public-profile-podium-card.is-flippable.is-compact-details {
        height: 410px;
    }

    .public-profile-gift-face.is-back {
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-profile-shell *,
    .public-profile-shell *::before,
    .public-profile-shell *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
