.profile-page {
    min-height: var(--page-available-height);
    padding: 94px 24px 90px;
}

/* The established hero/history remain the desktop and tablet presentation. */
.profile-mobile { display: none; }

/* Desktop gets the shared account panel; tablets retain the separate cards. */
@media (max-width: 850px) {
    .profile-card { display: contents; }
    .profile-card::before { content: none; }
}

.profile-hero-card,
.profile-section-card {
    position: relative;
    max-width: 1040px;
    margin-inline: auto;
}

.profile-hero-card {
    display: grid;
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    gap: 42px;
    padding: 30px;
    border-radius: 34px;
}

.profile-photo-column {
    min-width: 0;
}

.profile-main-img,
.profile-main-placeholder {
    display: block;
    width: 100%;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 26px;
    background: rgba(255, 255, 255, .32);
    box-shadow: 0 18px 42px rgba(21, 54, 82, .16);
}

.profile-main-img {
    object-fit: cover;
}

.profile-main-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .76), transparent 44%),
        linear-gradient(145deg, rgba(255, 255, 255, .46), rgba(129, 201, 233, .32));
}

.profile-main-placeholder span {
    color: rgba(20, 20, 20, .42);
    font-size: 92px;
    font-weight: 850;
    line-height: 1;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.profile-badges span {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: 999px;
    background: rgba(255, 255, 255, .32);
    color: rgba(20, 20, 20, .6);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.profile-info-column {
    min-width: 0;
    padding: 10px 4px 4px 0;
}

.profile-label {
    margin: 0 0 10px;
    color: rgba(20, 20, 20, .48);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.profile-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 22px;
}

.profile-title-row h1 {
    max-width: 470px;
    margin: 0;
    overflow-wrap: anywhere;
    color: #222;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.055em;
}

.profile-username,
.profile-location {
    margin: 8px 0 0;
    color: rgba(20, 20, 20, .5);
    font-size: 14px;
    font-weight: 700;
}

.profile-title-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.share-profile-btn {
    min-width: 142px;
    padding: 12px 17px;
    border: 1px solid rgba(24, 24, 24, .88);
    border-radius: 999px;
    background: rgba(24, 24, 24, .9);
    color: #fff;
    font: 850 13px/1 inherit;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(0, 0, 0, .15);
    transition: transform .18s ease, background .18s ease;
}

.share-profile-btn:hover {
    transform: translateY(-1px);
    background: #181818;
}

.share-profile-btn:focus-visible {
    outline: 2px solid #181818;
    outline-offset: 3px;
}

.profile-bio {
    max-width: 620px;
    min-height: 52px;
    margin: 28px 0 24px;
    color: rgba(20, 20, 20, .66);
    font-size: 15px;
    font-weight: 550;
    line-height: 1.55;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.social-links:empty {
    display: none;
}

.social-links a {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: 999px;
    background: rgba(255, 255, 255, .3);
    color: rgba(20, 20, 20, .72);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.rank-display {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.rank-display > div,
.stat-box {
    border: 1px solid rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62);
}

.rank-display > div {
    min-height: 118px;
    padding: 20px;
    border-radius: 20px;
}

.score {
    display: block;
    color: #222;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.045em;
}

.score { font-size: 48px; }

.rank-display p,
.stat-box p {
    margin: 9px 0 0;
    color: rgba(20, 20, 20, .44);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

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

.stat-box {
    min-width: 0;
    padding: 15px 10px;
    border-radius: 17px;
    text-align: center;
}

.stat-box span {
    display: block;
    overflow: hidden;
    color: rgba(20, 20, 20, .75);
    font-size: 22px;
    font-weight: 850;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.confidence-tier {
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(20, 20, 20, .75);
    cursor: pointer;
    font: inherit;
    font-size: 22px;
    font-weight: 850;
    text-decoration: none;
}

.confidence-tier[data-confidence-tier="Low"] {
    color: #8B9099;
}

.confidence-tier[data-confidence-tier="Basic"] {
    color: #64748B;
}

.confidence-tier[data-confidence-tier="Medium"] {
    color: #3B82F6;
}

.confidence-tier[data-confidence-tier="High"] {
    color: #22C55E;
}

.confidence-tier[data-confidence-tier="Very High"] {
    color: #F59E0B;
}

.confidence-tier[data-confidence-tier="Ultra"] {
    color: #8B5CF6;
}

.confidence-box {
    cursor: pointer;
}

.confidence-tier:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 3px;
}

.confidence-detail {
    margin-top: 7px;
    font-size: 12px !important;
    white-space: normal !important;
}

.confidence-detail[hidden] {
    display: none !important;
}

.confidence-tier--photo {
    align-self: flex-start;
    font-size: 13px;
}

.profile-section-card {
    margin-top: 26px;
    padding: 30px;
    border-radius: 28px;
}

.section-header h2 {
    margin: 0;
    color: #222;
    font-size: 27px;
    letter-spacing: -.035em;
}

.section-header p {
    margin: 6px 0 22px;
    color: rgba(20, 20, 20, .52);
    font-size: 14px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.photo-card,
.empty-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 19px;
    background: rgba(255, 255, 255, .24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58);
}

.photo-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.ranked-photo-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.ranked-photo-trigger img {
    transition: transform .22s ease, filter .22s ease;
}

.ranked-photo-trigger-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    background: rgba(20, 20, 20, .72);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    opacity: .88;
    transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease;
}

.ranked-photo-trigger:hover img,
.ranked-photo-trigger:focus-visible img {
    filter: brightness(.82);
    transform: scale(1.025);
}

.ranked-photo-trigger:hover .ranked-photo-trigger-hint,
.ranked-photo-trigger:focus-visible .ranked-photo-trigger-hint {
    opacity: 1;
}

.ranked-photo-trigger:focus-visible {
    outline: 3px solid #222;
    outline-offset: -3px;
}

.profile-modal-open {
    overflow: hidden;
}

.ranked-photo-modal {
    position: fixed;
    inset: 0;
    width: min(940px, calc(100vw - 36px));
    max-width: none;
    max-height: calc(100vh - 36px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 28px;
    background: rgba(244, 249, 252, .94);
    color: #222;
    box-shadow: 0 34px 100px rgba(12, 32, 48, .38);
    backdrop-filter: blur(30px) saturate(1.15);
    -webkit-backdrop-filter: blur(30px) saturate(1.15);
}

.ranked-photo-modal::backdrop {
    background: rgba(12, 24, 34, .64);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ranked-photo-modal-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr);
    min-height: min(650px, calc(100vh - 36px));
}

.ranked-photo-modal-media {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    padding: 22px;
    background: rgba(17, 25, 32, .94);
}

.ranked-photo-modal-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 80px);
    object-fit: contain;
    border-radius: 18px;
}

.ranked-photo-modal-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 68px 30px 34px;
}

.ranked-photo-modal-label {
    margin: 0 0 8px;
    color: rgba(20, 20, 20, .48);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ranked-photo-modal-details h2 {
    margin: 0 0 28px;
    font-size: 32px;
    letter-spacing: -.04em;
}

.ranked-photo-modal-stats {
    display: grid;
    gap: 12px;
    margin: 0;
}

.ranked-photo-modal-stats div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 17px;
    background: rgba(255, 255, 255, .48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.ranked-photo-modal-stats dt {
    color: rgba(20, 20, 20, .48);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ranked-photo-modal-stats dd {
    margin: 7px 0 0;
    overflow-wrap: anywhere;
    color: #222;
    font-size: 25px;
    font-weight: 850;
}

.ranked-photo-modal-estimate {
    margin: 14px 2px 0;
    color: rgba(20, 20, 20, .58);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.ranked-photo-modal-close {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0 0 3px;
    border: 1px solid rgba(20, 20, 20, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
    color: #222;
    font: 400 30px/1 Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.ranked-photo-modal-close:hover {
    background: #fff;
}

.ranked-photo-modal-close:focus-visible {
    outline: 3px solid #222;
    outline-offset: 3px;
}

.photo-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    color: rgba(20, 20, 20, .68);
    font-size: 13px;
    font-weight: 750;
}

.empty-card {
    grid-column: 1 / -1;
    padding: 28px;
    color: rgba(20, 20, 20, .5);
    font-size: 14px;
    font-weight: 750;
    text-align: center;
}

.progress-list { display: grid; gap: 10px; }

.progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 16px;
    background: rgba(255, 255, 255, .24);
    color: rgba(20, 20, 20, .7);
    font-weight: 750;
}

.progress-row strong { color: #222; font-size: 20px; }

@media (max-width: 900px) {
    .profile-page { padding: 90px 16px 70px; }
    .profile-hero-card { grid-template-columns: 1fr; gap: 28px; }
    .profile-main-img,
    .profile-main-placeholder { height: min(520px, 72vh); }
    .profile-title-row { flex-direction: column; }
    .profile-title-actions { width: 100%; flex-direction: row; align-items: center; }
    .ranked-photo-modal-layout {
        grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr);
    }
}

@media (max-width: 560px) {
    .profile-page { padding-inline: 12px; }
    .profile-hero-card { padding: 18px; border-radius: 27px; }
    .profile-main-img,
    .profile-main-placeholder { height: 390px; border-radius: 21px; }
    .profile-info-column { padding: 6px 2px 2px; }
    .profile-title-row h1 { font-size: 40px; }
    .rank-display { grid-template-columns: 1fr; }
    .profile-stats { grid-template-columns: 1fr; }
    .profile-section-card { padding: 22px 18px; border-radius: 24px; }
    .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .photo-card img { height: 180px; }
    .ranked-photo-modal {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        border-radius: 22px;
    }
    .ranked-photo-modal-layout {
        display: block;
        min-height: 0;
    }
    .ranked-photo-modal-media {
        height: min(56vh, 480px);
        padding: 14px;
    }
    .ranked-photo-modal-media img {
        max-height: 100%;
        border-radius: 14px;
    }
    .ranked-photo-modal-details {
        padding: 26px 18px 22px;
    }
    .ranked-photo-modal-details h2 {
        margin-bottom: 18px;
        font-size: 27px;
    }
    .ranked-photo-modal-close {
        position: fixed;
        top: max(20px, env(safe-area-inset-top));
        right: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ranked-photo-trigger img,
    .ranked-photo-trigger-hint {
        transition: none;
    }
}

/* Rating-first phone profile. The photo absorbs available height; controls,
   thumbnails and the 2x2 stats keep their own readable, intrinsic sizes. */
@media (max-width: 600px) {
    .page-profile { min-height: 100svh; }
    .page-profile .navbar { margin-top: 12px; }

    .page-profile[data-ad-layout="responsive"] .responsive-ads-shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "top" "content" "right";
        grid-template-rows: minmax(var(--compare-ad-height), auto) auto minmax(var(--compare-ad-height), auto);
        gap: var(--compare-gap);
        align-items: start;
        padding: var(--compare-gap) var(--mobile-page-gutter) max(18px, var(--compare-gap));
    }

    .page-profile .responsive-ads-shell [data-ad-slot="left"],
    .page-profile .profile-page > .profile-card { display: none; }

    .page-profile[data-ad-layout="responsive"] .responsive-ads-shell > :is([data-ad-slot="top"], [data-ad-slot="right"]) {
        position: relative;
        top: auto;
        width: 100%;
        min-height: var(--compare-ad-height);
        padding: var(--compare-ad-mat-padding);
        gap: 0;
        --surface-radius: clamp(12px, 3.5vw, 18px);
        background: #fff;
        border: 1px solid rgba(145, 174, 195, .5);
        box-shadow: 0 2px 6px rgba(24, 70, 105, .055);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        overflow: visible;
    }
    .page-profile .responsive-ad::before,
    .page-profile .responsive-ad::after { content: none; }
    .page-profile .responsive-ad-label { font: 650 clamp(10px, 2.9vw, 14px)/1.4 "Mozilla Text", sans-serif; letter-spacing: .055em; color: #58708b; }
    .page-profile .responsive-ad-creative,
    .page-profile .responsive-ad-creative > ins,
    .page-profile .responsive-ad-creative iframe { overflow: visible; border-radius: 0; }
    .page-profile .responsive-ad-creative:not(:empty) { display: block; width: 100%; }
    .page-profile .responsive-ad:has(> .responsive-ad-creative:not(:empty)) > [data-ad-placeholder] { display: none; }
    .page-profile .responsive-ad-creative :is(img, video, iframe) { max-width: none; }

    .page-profile .profile-page { min-height: 0; padding: 0; }
    .profile-mobile { display: grid; gap: var(--compare-gap); min-width: 0; }
    .profile-mobile-card {
        --surface-radius: clamp(22px, 6vw, 30px);
        /* Budget readable identity/actions, two bio lines, thumbnails and
           stats first. Reuse Compare's navbar, margins and ad geometry, and
           subtract the body's safe areas from the available photo height.
           Do not force a taller card after the photo reaches its 360px cap. */
        --profile-controls-space: 350px;
        --profile-photo-height: clamp(210px, calc(100svh - clamp(58px, 14.5vw, 68px) - 12px - var(--compare-ad-height) - var(--compare-gap) * 2 - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - var(--profile-controls-space)), 360px);
        min-height: 0;
        display: grid;
        grid-template-rows: auto auto var(--profile-photo-height) auto auto;
        gap: var(--compare-control-gap);
        padding: var(--compare-card-padding);
        min-width: 0;
    }
    .profile-mobile-card:not(:has(.profile-mobile-bio)) { --profile-controls-space: 316px; }
    .profile-mobile-identity { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; min-width: 0; }
    .profile-mobile-name { display: contents; }
    .profile-mobile-name h1 { grid-column: 1 / -1; min-width: 0; margin: 0; font-size: clamp(25px, 6.8vw, 32px); line-height: 1.15; letter-spacing: -.04em; font-weight: 850; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .profile-mobile-name p { grid-column: 1; grid-row: 2; min-width: 0; margin: 0; font-size: 13px; line-height: 1.2; color: #687580; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .profile-mobile-actions { grid-column: 2; grid-row: 2; display: flex; gap: 4px; align-items: stretch; }
    .profile-mobile-actions :is(.share-profile-btn, .report-trigger-btn) {
        min-width: 94px;
        min-height: 30px;
        padding: 6px 12px;
        border: 1px solid rgba(255, 255, 255, .8);
        border-radius: 999px;
        background: linear-gradient(180deg, #fff, #f8fafb);
        box-shadow: 0 3px 8px rgba(24, 70, 105, .06), inset 0 1px 0 #fff;
        color: #222;
        font: 650 12px/1.2 "Mozilla Text", sans-serif;
        white-space: nowrap;
        transition: background .18s ease, box-shadow .18s ease;
    }
    .profile-mobile-actions :is(.share-profile-btn, .report-trigger-btn):hover { background: #fff; transform: none; }
    .profile-mobile-actions .report-trigger-btn { min-width: 62px; }
    .profile-mobile-bio { grid-column: 1 / -1; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #687580; font-size: 13px; line-height: 1.25; }
    .profile-rated-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .profile-rated-heading h2,
    .profile-overall-card h2 { margin: 0; font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; color: #536575; }
    .profile-rated-heading > span { font-size: 12px; color: #687580; white-space: nowrap; }
    .profile-rated-stage { position: relative; align-self: stretch; max-height: 360px; width: 100%; min-height: 0; touch-action: pan-y pinch-zoom; }
    /* An absolute portrait frame prevents the image's intrinsic dimensions
       from feeding back into WebKit's auto-height grid during toolbar resize. */
    .profile-rated-frame { position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 100%; aspect-ratio: 3 / 4; max-width: 100%; }
    .profile-rated-image {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 3px solid #fff;
        border-radius: clamp(14px, 4vw, 22px);
        background: rgba(230, 239, 245, .5);
        box-shadow: 0 5px 14px rgba(40, 80, 105, .1);
    }
    .profile-photo-arrow { position: absolute; top: calc(50% - 18px); z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 3px 10px rgba(24, 70, 105, .1); color: #233e56; font: 400 30px/1 Arial, sans-serif; cursor: pointer; }
    .profile-photo-prev { left: -14px; }
    .profile-photo-next { right: -14px; }
    .profile-photo-thumbnails { position: relative; display: flex; gap: 7px; justify-self: stretch; min-width: 0; min-height: calc(clamp(38px, 5.6svh, 49px) + 14px); overflow-x: auto; overflow-y: hidden; padding: 3px 2px; scrollbar-width: thin; scrollbar-color: #adc7db transparent; }
    .profile-photo-thumbnails::-webkit-scrollbar { height: 4px; }
    .profile-photo-thumbnail { flex: 0 0 auto; display: block; width: clamp(30px, 4.5svh, 39px); height: clamp(38px, 5.6svh, 49px); padding: 2px; border: 1px solid transparent; border-radius: 8px; background: transparent; cursor: pointer; }
    .profile-photo-thumbnail[aria-current="true"] { border-color: #228ed0; background: rgba(34, 142, 208, .07); }
    .profile-photo-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
    .profile-selected-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding: 10px 12px; margin: 0; border: 1px solid rgba(145, 174, 195, .25); border-radius: 16px; background: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85); }
    .profile-selected-stats > div { display: flex; flex-direction: column-reverse; gap: 2px; min-width: 0; }
    .profile-selected-stats dt { font-size: 11px; line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; color: #687580; }
    .profile-selected-stats dd { margin: 0; font-size: clamp(18px, 4.8vw, 22px); font-weight: 800; line-height: 1.1; color: #222; overflow-wrap: anywhere; }
    .profile-selected-stats [data-profile-confidence] { font-size: clamp(15px, 4vw, 18px); }
    .profile-rated-empty { height: 100%; display: grid; align-content: center; justify-items: center; gap: 10px; color: #687580; font-size: 14px; }
    .profile-rated-empty > span { font-size: 64px; color: #58708b; }
    .profile-mobile-card--empty { min-height: 0; grid-template-rows: auto auto 100px auto; }
    .profile-overall-card { --surface-radius: clamp(22px, 6vw, 30px); padding: clamp(14px, 4vw, 20px); }
    .profile-overall-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin: 16px 0 0; }
    .profile-overall-card dt { font-size: 12px; line-height: 1.3; color: #687580; }
    .profile-overall-card dd { margin: 4px 0 0; font-size: 20px; font-weight: 800; line-height: 1.2; }
    .profile-overall-card dl > div { min-width: 0; }
    .profile-mobile-links { display: flex; flex-wrap: wrap; gap: 10px; }
    .profile-mobile-links:has(a) { border-top: 1px solid rgba(145, 174, 195, .25); padding-top: 14px; margin-top: 16px; }
    .profile-mobile-links a { font-size: 13px; color: #386d93; }
    .profile-mobile :is(button, a):focus-visible { outline: 2px solid #228ed0; outline-offset: 2px; }
}
