.profile-dashboard {
    gap: 19px;
}

.profile-dashboard .profile-hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 184px;
    padding: 22px 26px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    border-radius: 19px;
    background: linear-gradient(90deg, #0b1022d9 0%, #0b1022b8 28%, #0b10224a 61%, #0b102225 100%),
        var(--profile-banner, url("/images/profile/profile-city-v3.webp")) center 44% / cover no-repeat;
    box-shadow: inset 0 1px #ffffff19, 0 0 24px color-mix(in srgb, var(--accent) 8%, transparent);
}

.profile-dashboard .profile-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, #080d1c73, transparent 34%);
    pointer-events: none;
}

.profile-hero-cover { display: none; }

.profile-hero-main {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.profile-dashboard .profile-avatar {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 106px;
    width: 106px;
    height: 106px;
    border: 2px solid color-mix(in srgb, var(--accent-soft) 85%, #fff);
    border-radius: 25px;
    color: var(--accent-ink);
    background: radial-gradient(circle at 24% 16%, #ffffffa0, transparent 39%),
                linear-gradient(145deg, var(--accent-soft), var(--accent) 56%, var(--accent-strong));
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 72%, #73a9ff),
                0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent),
                0 0 18px color-mix(in srgb, var(--accent) 64%, transparent),
                0 0 35px color-mix(in srgb, var(--accent) 31%, transparent),
                0 9px 26px #080d1c74,
                inset 0 2px #ffffff9c,
                inset 0 -12px 20px #671fbb24;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.profile-dashboard .profile-avatar .profile-avatar-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: cover;
}

.profile-dashboard .avatar-frame-none {
    border: 1px solid #ffffff4a;
    box-shadow: 0 8px 26px #080d1c74, inset 0 1px #ffffff60;
}

.profile-dashboard .avatar-frame-bronze { --frame: #d7946a; }
.profile-dashboard .avatar-frame-silver { --frame: #b8d2f3; }
.profile-dashboard .avatar-frame-gold { --frame: #f6ca6f; }
.profile-dashboard .avatar-frame-watch { --frame: #ff7a92; border-radius: 50%; }
.profile-dashboard .avatar-frame-critic { --frame: #77d7ff; border-style: double; border-width: 5px; }
.profile-dashboard .avatar-frame-social { --frame: #bb8cff; }
.profile-dashboard .avatar-frame-galaxy { --frame: #a9a3ff; border-style: double; border-width: 5px; }

.profile-dashboard .profile-avatar[class*="avatar-frame-"]:not(.avatar-frame-none) {
    border-color: var(--frame);
    box-shadow: 0 0 0 3px #101827, 0 0 0 5px var(--frame),
        0 0 18px color-mix(in srgb, var(--frame) 60%, transparent), 0 9px 26px #080d1c74;
}

.profile-dashboard .avatar-frame-watch .profile-avatar-image { border-radius: 50%; }
.profile-dashboard .name-glow-violet { color: #f0ddff; text-shadow: 0 0 13px #b45dffb0; }
.profile-dashboard .name-glow-cyan { color: #d6f9ff; text-shadow: 0 0 14px #42d9ffc0; }
.profile-dashboard .name-glow-gold { color: #ffeab2; text-shadow: 0 0 15px #ffbe61b0; }
.profile-dashboard .name-glow-prism {
    color: #fff;
    text-shadow: -2px 0 13px #ec78e6, 2px 0 13px #59ddff, 0 0 22px #ffffff80;
}

.profile-dashboard .profile-avatar .profile-avatar-letter {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding-top: .07em;
    text-shadow: 0 1px 1px #ffffff42;
}

.profile-dashboard .profile-avatar::before,
.profile-dashboard .profile-avatar::after {
    content: none;
    position: absolute;
    z-index: 1;
    width: 75px;
    height: 112px;
    background: url("/images/profile/sakura-spray.svg") center / contain no-repeat;
    pointer-events: none;
    filter: drop-shadow(0 0 9px #f25cc39c);
}
.profile-dashboard .avatar-decor-sakura::before,
.profile-dashboard .avatar-decor-sakura::after { content: ""; }
.profile-dashboard .avatar-decor-sakura::before { left: -38px; bottom: -17px; }
.profile-dashboard .avatar-decor-sakura::after { right: -38px; top: -22px; transform: rotate(177deg) scale(.85); }
.profile-dashboard .avatar-decor-stars::before,
.profile-dashboard .avatar-decor-stars::after {
    content: "";
    width: 86px;
    height: 108px;
    background: url("/images/profile/star-spray.svg") center / contain no-repeat;
    filter: drop-shadow(0 0 7px #9dbdffb8);
}
.profile-dashboard .avatar-decor-stars::before { left: -38px; bottom: -22px; }
.profile-dashboard .avatar-decor-stars::after { right: -39px; top: -22px; transform: rotate(180deg) scale(.86); }
.profile-dashboard .avatar-decor-lightning::before,
.profile-dashboard .avatar-decor-lightning::after {
    content: "";
    width: 75px;
    height: 112px;
    background: url("/images/profile/lightning-burst.svg") center / contain no-repeat;
    filter: drop-shadow(0 0 9px #69deffb8);
}
.profile-dashboard .avatar-decor-lightning::before { left: -29px; top: -28px; transform: rotate(-16deg); }
.profile-dashboard .avatar-decor-lightning::after { right: -31px; bottom: -25px; transform: rotate(164deg) scale(.84); }
.profile-dashboard .avatar-decor-orbit::before {
    content: "";
    left: -19px;
    top: -16px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #fff 0 8%, #9de6ff 24%, #706ec4 67%, #30366f 100%);
    box-shadow: 0 0 10px #80cfffbd, 0 0 21px #767de788;
}
.profile-dashboard .avatar-decor-orbit::after {
    content: "✧";
    right: -17px;
    bottom: -20px;
    width: auto;
    height: auto;
    background: none;
    color: #c9eeff;
    font-size: 34px;
    filter: drop-shadow(0 0 7px #66caff);
}

.profile-hero-info {
    min-width: 0;
}

.profile-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 9px;
    border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 18%, #111a30);
    color: var(--accent-soft);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
}

.profile-kicker-dot {
    width: 6px;
    height: 6px;
    border: 1px solid var(--accent-soft);
    border-radius: 50%;
    background: var(--accent);
}

.profile-dashboard .profile-hero-info h1 {
    margin: 6px 0 5px;
    overflow-wrap: anywhere;
    font-size: clamp(25px, 2.4vw, 32px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.05em;
}

.profile-dashboard .profile-sub {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #c7d1eb;
    font-size: 11px;
    font-weight: 500;
}

.profile-dashboard .profile-sub .icon {
    width: 14px;
    height: 14px;
}

.profile-level-row {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(170, 154, 221, .25);
    border-radius: 12px;
    background: linear-gradient(110deg, #101831d9, #161d3bbd);
    box-shadow: inset 0 1px #ffffff1a, 0 8px 22px #05081840;
}

.profile-dashboard .profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 5px 10px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.profile-dashboard .badge-level {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: var(--accent-control-text);
    box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 22%, transparent);
}

.profile-dashboard .badge-rank {
    border-color: #f7c56c70;
    background: #2b2032c9;
    color: #ffe0a0;
}

.profile-dashboard .badge-rank .icon {
    width: 14px;
    height: 14px;
    fill: #f7c56c;
    stroke: #f7c56c;
}

.profile-xp {
    width: clamp(80px, 10vw, 140px);
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #5660836e;
}

.profile-xp span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-strong), var(--accent));
    box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 42%, transparent);
}

.profile-xp-label {
    color: #e0e8fa;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.profile-hero-aside {
    display: flex;
    flex: 0 1 260px;
    flex-direction: column;
    align-items: flex-end;
    min-width: 170px;
    text-align: right;
    gap: 10px;
}

.profile-edit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid color-mix(in srgb, var(--accent) 65%, #fff);
    border-radius: 9px;
    background: #131b34d9;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
.profile-edit-link:hover { background: var(--accent-bg); color: #fff; }

.profile-quote {
    position: relative;
    max-width: 260px;
    margin: 0;
    padding: 16px 16px 15px 32px;
    border: 1px solid rgba(191, 160, 239, .32);
    border-left: 2px solid var(--accent);
    border-radius: 12px;
    background: linear-gradient(125deg, #0d142bcf, #111a30a8);
    box-shadow: inset 0 1px #ffffff1c, 0 8px 22px #05081845;
    color: #f0e8ff;
    font-size: 12px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.55;
    text-align: left;
    text-shadow: 0 1px 8px #080d1c;
}

.profile-quote::before {
    content: "“";
    position: absolute;
    top: 5px;
    left: 10px;
    color: var(--accent-soft);
    font-size: 29px;
    font-style: normal;
    line-height: 1;
}

.profile-dashboard .profile-stats {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
}

.profile-dashboard .stat-card {
    --stat: var(--accent);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 123px;
    padding: 15px 13px 12px;
    overflow: hidden;
    border: 1px solid rgba(130, 150, 210, .22);
    border-radius: 13px;
    background: radial-gradient(150px 90px at 0% 0%, color-mix(in srgb, var(--stat) 13%, transparent), transparent),
        linear-gradient(150deg, #15213ad9, #10192dcf);
    box-shadow: inset 0 1px #ffffff0a;
    text-align: left;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.profile-dashboard .stat-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--stat) 55%, #8096d2);
    box-shadow: 0 7px 20px color-mix(in srgb, var(--stat) 13%, transparent), inset 0 1px #ffffff12;
}

.stat-purple { --stat: var(--accent) !important; }
.stat-blue { --stat: #4d8dff !important; }
.stat-gold { --stat: #f7b989 !important; }
.stat-cyan { --stat: #52d8ff !important; }
.stat-violet { --stat: #a27cff !important; }
.stat-pink { --stat: #ec4899 !important; }
.stat-orange { --stat: #f7c56c !important; }

.profile-dashboard .stat-icon {
    position: absolute;
    top: 12px;
    right: 11px;
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border: 1px solid color-mix(in srgb, var(--stat) 58%, transparent);
    border-radius: 11px;
    background: color-mix(in srgb, var(--stat) 17%, #111a30);
    color: var(--stat);
}

.stat-icon .icon {
    width: 20px;
    height: 20px;
}

.profile-dashboard .stat-card strong {
    display: block;
    margin-top: 1px;
    color: #f4f7ff;
    font-size: clamp(20px, 1.65vw, 27px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.profile-dashboard .stat-label {
    margin-top: 2px;
    color: #b9c5dd;
    font-size: 10px;
    font-weight: 600;
}

.stat-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
    margin-top: auto;
}

.stat-bottom small {
    overflow: hidden;
    color: #91a0c0;
    font-size: 9px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stat-spark {
    display: flex;
    align-items: end;
    gap: 3px;
    flex: none;
    height: 18px;
}

.stat-spark i {
    width: 4px;
    height: 7px;
    border-radius: 2px 2px 1px 1px;
    background: var(--stat);
    opacity: .48;
}

.stat-spark i:nth-child(2) { height: 10px; opacity: .65; }
.stat-spark i:nth-child(3) { height: 8px; opacity: .8; }
.stat-spark i:nth-child(4) { height: 14px; opacity: .9; }
.stat-spark i:nth-child(5) { height: 16px; }
.stat-spark i:nth-child(6) { height: 11px; opacity: .72; }
.stat-spark i:nth-child(7) { height: 9px; opacity: .55; }

.profile-dashboard .profile-section {
    gap: 10px;
    min-width: 0;
}

.profile-dashboard .feed-heading {
    align-items: center;
    margin: 0;
}

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

.profile-dashboard .feed-heading h2 {
    margin: 0;
    color: #f4f7ff;
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 800;
    letter-spacing: -.04em;
}

.section-icon {
    width: 22px;
    height: 22px;
}

.profile-section-mark {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 34px;
    isolation: isolate;
}

.profile-section-mark::before {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--mark-glow), transparent 70%);
    filter: blur(5px);
    pointer-events: none;
}

.profile-section-mark svg { width: 29px; height: 29px; overflow: visible; }
.profile-section-mark-gold { --mark-glow: #ffba5c88; }
.profile-section-mark-gold svg { filter: drop-shadow(0 1px 2px #a44a22aa) drop-shadow(0 0 7px #f7b64caa); }
.profile-section-mark-purple { --mark-glow: color-mix(in srgb, var(--accent) 48%, transparent); }
.profile-section-mark-purple svg { filter: drop-shadow(0 0 5px var(--accent)) drop-shadow(0 0 11px color-mix(in srgb, var(--accent) 67%, transparent)); }

.section-icon-gold { color: #f7c56c; }
.section-icon-pink { color: #ec4899; filter: drop-shadow(0 0 5px #ec48997c); }
.section-icon-purple { color: var(--accent); }
.section-icon-blue { color: #79a6ff; filter: drop-shadow(0 0 5px #79a6ff68); }

.profile-dashboard .section-link {
    color: var(--accent);
    font-size: 11px;
}

.profile-dashboard .section-link:hover {
    color: var(--accent-soft);
}

.profile-dashboard .awards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.profile-dashboard .award-frame-round {
    --frame-color: #da9c72;
    --medal-light: #ffd0a8;
    --medal-dark: #835146;
}

.profile-dashboard .award-frame-crest {
    --frame-color: #b6c9ef;
    --medal-light: #eef6ff;
    --medal-dark: #6485ac;
}

.profile-dashboard .award-frame-diamond {
    --frame-color: #6eaaff;
    --medal-light: #b6dcff;
    --medal-dark: #315fa0;
}

.profile-dashboard .award-frame-star {
    --frame-color: #cc85ff;
    --medal-light: #f1ceff;
    --medal-dark: #8149b6;
}

.profile-dashboard .award-card {
    min-height: 152px;
    gap: 10px;
    padding: 14px 11px;
    border-color: color-mix(in srgb, var(--frame-color) 60%, #324264);
    border-radius: 13px;
    background: linear-gradient(90deg, #10182de8 0%, #10182dcb 50%, #10182d26 100%),
        var(--award-art) center / cover no-repeat;
    box-shadow: inset 0 1px #ffffff13, 0 0 17px color-mix(in srgb, var(--frame-color) 10%, transparent);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.profile-dashboard .award-card:hover {
    transform: translateY(-3px);
    border-color: var(--frame-color);
    box-shadow: inset 0 1px #ffffff18, 0 0 22px color-mix(in srgb, var(--frame-color) 17%, transparent);
}

.profile-dashboard .award-emblem {
    flex-basis: 68px;
    width: 68px;
    height: 79px;
    margin-top: 15px;
}

.profile-dashboard .award-emblem::before {
    left: 12px;
    width: 44px;
    height: 29px;
}

.profile-dashboard .award-medal {
    width: 67px;
    height: 67px;
}

.profile-dashboard .award-symbol {
    width: 34px;
    height: 34px;
}

.profile-dashboard .award-copy {
    gap: 4px;
}

.profile-dashboard .award-category,
.profile-dashboard .award-pts {
    font-size: 10px;
}

.profile-dashboard .award-pts {
    padding: 3px 5px;
    border: 1px solid #f7c56c44;
    border-radius: 8px;
    background: #111827ad;
    color: #f7c56c;
}

.profile-dashboard .award-title {
    font-size: 14px;
}

.profile-dashboard .award-description {
    display: -webkit-box;
    overflow: hidden;
    color: #b8c4de;
    font-size: 11px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.profile-dashboard .award-date,
.profile-dashboard .award-progress-text,
.profile-dashboard .award-max-level {
    font-size: 9px;
}

.profile-dashboard .award-date {
    color: #6ce6b4;
}

.profile-dashboard .profile-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.genre-card {
    --genre: var(--accent);
    display: flex;
    flex: 1 1 146px;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 240px;
    min-height: 52px;
    padding: 0 11px;
    border: 1px solid color-mix(in srgb, var(--genre) 60%, #647497);
    border-radius: 11px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--genre) 34%, #0b1225) 0%, #0b122595 52%, #0b122529 100%), var(--genre-image) center / cover no-repeat;
    box-shadow: inset 0 1px #ffffff28, 0 4px 14px #05081835;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-shadow: 0 1px 8px #050818;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.genre-card:hover {
    transform: translateY(-3px);
    border-color: var(--genre);
    box-shadow: 0 0 16px color-mix(in srgb, var(--genre) 19%, transparent);
    color: #fff;
}

.genre-card .icon {
    flex: none;
    width: 21px;
    height: 21px;
    color: var(--genre);
    filter: drop-shadow(0 1px 6px #050818);
}

.genre-card span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.genre-card strong {
    margin-left: auto;
    padding: 3px 6px;
    border: 1px solid color-mix(in srgb, var(--genre) 48%, transparent);
    border-radius: 7px;
    background: #101a33bc;
    color: #e9efff;
    font-size: 9px;
    font-weight: 800;
}

.profile-dashboard .profile-empty {
    margin: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #111a30ad;
    color: #aab5d1;
}

.profile-dashboard .comments {
    gap: 13px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #111a30a8;
}

.profile-dashboard .comment-avatar {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--accent-ink);
}

@media (max-width: 1100px) {
    .profile-dashboard .profile-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1360px) {
    .profile-dashboard .awards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-bottom small { font-size: 9px; }
}

@media (max-width: 680px) {
    .profile-dashboard { gap: 17px; }

    .profile-dashboard .profile-hero {
        min-height: 0;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 0 18px 18px;
        background: #0c1428;
    }

    .profile-dashboard .profile-hero::after { content: none; }

    .profile-dashboard .profile-hero-cover {
        position: absolute;
        inset: 0 0 auto;
        display: block;
        height: 146px;
        background: linear-gradient(180deg, #050b1b35 0%, #050b1b15 50%, #0c1428 100%),
            var(--profile-banner, url("/images/profile/profile-city-v3.webp")) center 43% / cover no-repeat;
        pointer-events: none;
    }

    .profile-dashboard .profile-hero-main,
    .profile-dashboard .profile-hero-aside { position: relative; z-index: 1; }
    .profile-dashboard .profile-hero-main {
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding-top: 105px;
    }
    .profile-dashboard .profile-hero-info { width: 100%; min-width: 0; padding-top: 15px; }

    .profile-dashboard .profile-avatar {
        flex: 0 0 auto;
        width: 88px;
        height: 88px;
        border-radius: 21px;
        font-size: 44px;
    }

    .profile-dashboard .profile-avatar .profile-avatar-image { border-radius: 19px; }
    .profile-dashboard .avatar-frame-watch,
    .profile-dashboard .avatar-frame-watch .profile-avatar-image { border-radius: 50%; }

    .profile-dashboard .profile-hero-info h1 { margin: 8px 0 6px; font-size: clamp(25px, 7vw, 32px); }
    .profile-dashboard .profile-sub { margin: 0; }
    .profile-level-row {
        display: grid;
        box-sizing: border-box;
        grid-template-columns: max-content minmax(0, 1fr) max-content;
        align-items: center;
        width: 100%;
        gap: 8px;
        margin-top: 14px;
        padding: 10px;
    }
    .profile-xp { width: 100%; min-width: 0; }
    .profile-dashboard .badge-rank { grid-column: 1 / -1; justify-self: start; }
    .profile-dashboard .profile-hero-aside {
        flex: none;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        margin-top: 14px;
        text-align: left;
    }
    .profile-dashboard .profile-quote { box-sizing: border-box; width: 100%; max-width: none; }
    .profile-dashboard .profile-edit-link { box-sizing: border-box; width: 100%; min-height: 40px; }

    .profile-dashboard .profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .profile-dashboard .profile-stats > .stat-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .profile-dashboard .stat-card { min-height: 112px; }
    .profile-dashboard .awards-grid { grid-template-columns: 1fr; }
    .genre-card { flex-basis: 135px; }
    .profile-dashboard .feed-heading h2 { font-size: 18px; }
    .profile-dashboard .section-link { font-size: 10px; }
}

@media (max-width: 400px) {
    .profile-dashboard .profile-hero-cover { height: 134px; }
    .profile-dashboard .profile-hero-main { padding-top: 97px; }
    .profile-dashboard .profile-avatar { width: 78px; height: 78px; font-size: 39px; }
    .profile-dashboard .profile-avatar .profile-avatar-image { border-radius: 18px; }
    .profile-level-row { grid-template-columns: max-content minmax(0, 1fr); }
    .profile-xp { grid-column: 1 / -1; grid-row: 2; }
    .profile-xp-label { justify-self: end; }
    .profile-dashboard .stat-card strong { font-size: 22px; }
    .profile-dashboard .award-card { min-height: 145px; }
}

@media (prefers-reduced-motion: reduce) {
    .profile-dashboard .award-card:hover,
    .profile-dashboard .stat-card:hover,
    .genre-card:hover { transform: none; }
}
