.famp-profile-history{margin-top:24px;padding:22px;background:#fff;border:1px solid #e7dcf2;border-radius:18px;color:#4b3364}.famp-profile-history header,.famp-profile-history footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.famp-profile-history h2{font-size:20px;margin:0 0 8px}.famp-profile-history p{font-size:13px;margin:0 0 12px}.famp-profile-history button{border:1px solid #dac8ed;background:#f5effb;color:#7444a1;padding:8px 12px;border-radius:9px;cursor:pointer;font:inherit;font-size:12px}.famp-profile-history button:disabled{opacity:.4;cursor:default}.famp-profile-history-scroll{overflow-x:auto;margin:14px 0}.famp-profile-history table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.famp-profile-history th{background:#f5effb;color:#6c438e}.famp-profile-history td,.famp-profile-history th{padding:12px;border-bottom:1px solid #eee7f5;vertical-align:top}.famp-profile-history td:first-child{white-space:nowrap}.famp-profile-history .positive{color:#168653;font-weight:750}.famp-profile-history .negative{color:#c03858;font-weight:750}.famp-profile-history footer{font-size:12px;color:#9479a5}.famp-profile-history footer>div{display:flex;gap:8px}.famp-profile-history small{display:block}@media(max-width:600px){.famp-profile-history{padding:15px}.famp-profile-history h2{font-size:17px}}

.fam-app[data-mode="profile"] [data-famp-action-color]{color:#fff!important;border:1px solid transparent!important;border-radius:11px;box-shadow:0 3px 8px #27143912;transition:filter .2s,transform .2s}
.fam-app [data-famp-action-color="logout"]{background:#c82e4e!important;border-color:#c82e4e!important}
.fam-app [data-famp-action-color="share"]{background:#2466c6!important;border-color:#2466c6!important}
.fam-app [data-famp-action-color="edit"]{background:#16805a!important;border-color:#16805a!important}
.fam-app [data-famp-action-color="password"]{background:#a65c06!important;border-color:#a65c06!important}
.fam-app [data-famp-action-color="photo"]{background:#7c42b2!important;border-color:#7c42b2!important}
.fam-app [data-famp-action-color]:hover{filter:brightness(1.08);transform:translateY(-1px)}
.fam-app [data-famp-action-color]:focus-visible{outline:3px solid #341453;outline-offset:3px}

.famp-profile-history-open{display:inline-flex;align-items:center;justify-content:center;margin:5px 0 5px 8px;padding:11px 14px;background:#16836b;color:#fff;border:0;border-radius:10px;font:inherit;font-size:12px;cursor:pointer;vertical-align:middle}
.famp-profile-history-popup{width:1000px;max-width:calc(100vw - 28px);max-height:88dvh;box-sizing:border-box;border:1px solid #e3d5ee;border-radius:20px;padding:42px 10px 10px;background:#faf7fe;box-shadow:0 24px 80px #24113755;overflow:auto}
.famp-profile-history-popup::backdrop{background:#24123799;backdrop-filter:blur(4px)}
.famp-profile-history-popup .famp-profile-history{margin:0}
.famp-profile-history-close{position:absolute;top:8px;right:12px;width:30px;height:30px;border:0;border-radius:50%;background:#7542a7;color:white;font-size:24px;line-height:1;cursor:pointer}
@media(max-width:600px){.famp-profile-history-open{margin-left:0;margin-right:6px;font-size:11px}.famp-profile-history-popup{padding-left:5px;padding-right:5px}}

.fam-rank-badge .famp-profile-rank-actions{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;width:100%;margin-top:9px}.fam-rank-badge .famp-profile-rank-actions .fam-rank-results{flex:0 0 auto;margin:0!important}.fam-rank-badge .famp-profile-rank-actions .famp-profile-history-open{flex:1;min-width:0;margin:0!important;padding:11px 9px;font-size:11px;line-height:1.5;white-space:nowrap}@media(max-width:380px){.fam-rank-badge .famp-profile-rank-actions{gap:6px}.fam-rank-badge .famp-profile-rank-actions .famp-profile-history-open{font-size:10px;padding:10px 6px}}

.famp-profile-history-open{text-decoration:none}.famp-history-page{max-width:1200px;margin:32px auto;padding:0 20px}.famp-history-member{display:flex;align-items:center;gap:28px;background:linear-gradient(120deg,#eee2ff,#fff0f5);border-radius:22px;padding:32px;color:#51316f}.famp-history-member img{width:140px;height:140px;border-radius:50%;object-fit:cover;border:5px solid white}.famp-history-member h1{font-size:clamp(22px,3vw,36px);line-height:1.4;overflow-wrap:anywhere;margin:8px 0}.famp-history-member p{margin:7px 0}.famp-history-member a{display:inline-block;margin-top:8px;color:#62358c}@media(max-width:600px){.famp-history-member{flex-direction:column;text-align:center;padding:24px 16px}.famp-history-page{padding:0 12px}}

.fam-profile .famp-profile-history-inline{box-sizing:border-box;width:100%;margin:0;border-radius:0;padding:28px 36px;scroll-margin-top:24px}.fam-profile .famp-profile-history-inline table{font-size:14px}@media(max-width:600px){.fam-profile .famp-profile-history-inline{padding:20px 14px}}

.fam-profile .famp-profile-history-inline[hidden]{display:none!important}

.famp-profile-history-open[hidden]{display:none!important}

.famp-history-source{display:inline-block;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.famp-history-source.automatic{background:#dff8eb;color:#087d42}.famp-history-source.editor{background:#f1e6ff;color:#7927e4}.famp-history-source.correction{background:#fff0d4;color:#995d00}

.famp-profile-history h2{font-size:18px!important;line-height:1.6}.famp-profile-history p,.fam-profile .famp-profile-history-inline table,.famp-profile-history table{font-size:13px!important;line-height:1.6}.famp-profile-history th,.famp-profile-history td{font-size:13px!important;font-weight:400;padding:10px 12px}.famp-profile-history th{font-weight:600}.famp-profile-history footer,.famp-profile-history button,.famp-history-source{font-size:12px!important}.famp-profile-history .positive,.famp-profile-history .negative{font-weight:600}

.famp-winner-area{flex:0 0 270px;display:flex;flex-direction:column;align-items:center;gap:2px}.famp-winner-award{position:relative;display:block;width:235px;height:235px;text-decoration:none;filter:drop-shadow(0 8px 8px #59336b26)}.famp-winner-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:2;pointer-events:none}.famp-winner-photo{position:absolute;left:32%;top:22%;width:36%;height:36%;border-radius:50%;object-fit:cover;z-index:1}.famp-winner-name{position:absolute;z-index:3;left:18%;bottom:17%;width:64%;text-align:center;color:#fff5cf;font-size:12px;line-height:1.5;text-shadow:0 1px 2px #3b155a;overflow-wrap:anywhere}.famp-winner-rank{position:absolute;bottom:4%;left:0;width:100%;text-align:center;color:#735028;font-size:11px;font-weight:800}.fam-directory-hero .famp-winner-area .fam-member-total{align-self:center;text-align:center;font-size:28px}.fam-directory-hero .famp-winner-area .fam-member-total small{font-size:12px}@media(max-width:800px){.famp-winner-area{flex:0 1 auto;width:100%}.famp-winner-award{width:210px;height:210px}}

.famp-winner-photo{left:27%;top:19%;width:46%;height:46%}.famp-winner-name{bottom:13%;left:27%;width:46%;font-size:10px}.famp-winner-rank{bottom:0%;font-size:10px}

.fam-directory-hero .famp-winner-area{flex-basis:340px;align-items:flex-start}.fam-directory-hero .famp-winner-award{margin-left:0;transform:translateX(-35px)}.fam-directory-hero .famp-winner-area .fam-member-total{align-self:stretch;width:100%;margin-top:10px;text-align:center;font-size:58px;line-height:1.1;font-weight:850}.fam-directory-hero .famp-winner-area .fam-member-total small{font-size:18px;line-height:1.6;margin-top:5px}@media(max-width:1000px){.fam-directory-hero .famp-winner-area{flex-basis:260px}.fam-directory-hero .famp-winner-award{transform:translateX(-15px)}}@media(max-width:800px){.fam-directory-hero .famp-winner-area{flex-basis:auto;align-items:center}.fam-directory-hero .famp-winner-award{transform:none}.fam-directory-hero .famp-winner-area .fam-member-total{font-size:48px}.fam-directory-hero .famp-winner-area .fam-member-total small{font-size:16px}}

/* Gallery banner proportions from the supplied reference. */
.fam-directory-hero:has(.famp-winner-area){min-height:400px;padding:20px 40px;gap:28px}.fam-directory-hero .famp-winner-area{flex:0 0 370px;align-items:center;gap:0}.fam-directory-hero .famp-winner-award{width:300px;height:300px;transform:none;margin:0}.fam-directory-hero .famp-winner-rank{display:none}.fam-directory-hero .famp-winner-name{font-size:12px}.fam-directory-hero .famp-winner-area .fam-member-total{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:0;font-size:64px;line-height:1.1;white-space:nowrap}.fam-directory-hero .famp-winner-area .fam-member-total small{display:inline;margin:0;font-size:18px;line-height:1.5}.fam-directory-hero:has(.famp-winner-area) .fam-hero-symbol{padding:22px}.fam-directory-hero:has(.famp-winner-area) .fam-hero-symbol svg{width:105px;height:105px}@media(max-width:1100px){.fam-directory-hero:has(.famp-winner-area){padding:24px;gap:18px}.fam-directory-hero .famp-winner-area{flex-basis:290px}.fam-directory-hero .famp-winner-award{width:270px;height:270px}.fam-directory-hero .famp-winner-area .fam-member-total{font-size:54px}.fam-directory-hero .famp-winner-area .fam-member-total small{font-size:15px}}@media(max-width:800px){.fam-directory-hero:has(.famp-winner-area){min-height:0;height:auto;padding:26px 20px}.fam-directory-hero .famp-winner-area{flex-basis:auto}.fam-directory-hero .famp-winner-award{width:280px;height:280px}.fam-directory-hero .famp-winner-area .fam-member-total{font-size:54px}}

.fam-directory-hero .famp-winner-rank{display:block;position:absolute;z-index:4;left:30%;bottom:4%;width:40%;padding:3px 6px;border-radius:4px;background:#d91f42;color:#fff;text-shadow:none;text-align:center;font-size:11px;font-weight:750;line-height:1.5}

.famp-winner-placeholder{display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 35% 30%,#9567c1,#37204e);color:#ffe38a;font:800 78px/1 Georgia,serif;text-shadow:0 3px 0 #a67721,0 6px 12px #160b38}

.famp-winner-rank{font-size:clamp(9px,1vw,13px)!important;white-space:normal;text-align:center}.famp-winner-award [hidden]{display:none!important}

.famp-winner-rank.famp-winner-waiting{font-size:10px!important;font-weight:500!important;line-height:1.4!important}@media(max-width:600px){.famp-winner-rank.famp-winner-waiting{font-size:9px!important}}

/* Members directory: reference layout, scoped to the public hero only. */
.fam-directory-hero.famp-reference-hero{box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,29fr) minmax(0,36fr) minmax(0,32fr);align-items:center;gap:20px!important;min-height:512px!important;padding:40px 30px 30px 50px!important;border:1px solid #dfd2e8;border-radius:34px;background:linear-gradient(110deg,#f1e5ff 0%,#fff0f5 58%,#e7f5f2 100%);overflow:hidden;position:relative}
.famp-reference-hero>*{position:relative;z-index:1;min-width:0}
.famp-reference-hero>.famp-reference-copy{grid-column:1;grid-row:1;text-align:left}
.famp-reference-hero .famp-reference-copy h1,.famp-reference-hero .famp-reference-copy h2{font-size:clamp(30px,3.25vw,54px);line-height:1.55;color:#503961;letter-spacing:-.025em;margin:24px 0 12px;font-weight:850}
.famp-reference-hero .famp-reference-copy h1 em,.famp-reference-hero .famp-reference-copy h2 em{color:#8c56b2;font-style:normal}
.famp-reference-hero .famp-reference-copy p{font-size:16px;line-height:2;color:#95869e}
.famp-reference-hero>.fam-hero-center{grid-column:2;grid-row:1;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:24px;width:100%;padding:0!important}
.famp-reference-hero .fam-hero-symbol{box-sizing:border-box;width:240px;min-height:230px;padding:30px!important;border-radius:45px;background:#ffffff70;transform:rotate(-8deg);color:#9b79b3}
.famp-reference-hero .fam-hero-symbol svg{width:120px!important;height:120px!important}
.famp-reference-hero .fam-hero-center button,.famp-reference-hero .fam-hero-center a{border-radius:14px}
.famp-reference-hero .famp-gallery-leaders{width:100%;margin:14px 0 0!important;padding:0!important;background:none!important}
.famp-reference-hero .famp-leaderboard-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;margin:0}
.famp-reference-hero .famp-leaderboard-button{box-sizing:border-box;width:100%;min-width:0;margin:0;padding:16px 14px;min-height:68px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #cdb36d;border-radius:14px;background:linear-gradient(110deg,#522279,#8b45bf);color:#fff;box-shadow:0 6px 18px #74438e18;font-size:13px;text-align:left}
.famp-reference-hero .famp-leaderboard-button svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7}
.famp-reference-hero .famp-leaderboard-button>svg:first-child{color:#efce77}
.famp-reference-hero .famp-leaderboard-button span{font-weight:750;white-space:nowrap}
.famp-reference-hero .famp-leaderboard-button small{display:block;font-size:10px;font-weight:400;margin-top:4px;color:#f0e3f8}
.fam-directory-hero.famp-reference-hero>.famp-winner-area{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-self:stretch;justify-content:flex-end;align-items:center;gap:0;width:100%;min-width:0;flex:none}
.fam-directory-hero.famp-reference-hero .fam-member-total{order:0;display:flex!important;align-items:center;justify-content:center;gap:10px;width:100%;font-size:76px!important;font-weight:850;line-height:1.1;margin:0 0 0!important;color:#a17bb5;white-space:nowrap}
.fam-directory-hero.famp-reference-hero .fam-member-total small{font-size:23px!important;color:#a294ac;margin:0!important;line-height:1.5}
.fam-directory-hero.famp-reference-hero .famp-winner-award{display:block;position:relative;order:1;width:calc(100% + 35px)!important;max-width:none;height:auto!important;aspect-ratio:3/2;flex:none;margin:0!important;transform:none!important;filter:none}
.famp-reference-hero .famp-winner-frame{display:block;position:static;width:100%;height:auto;object-fit:contain}
@media(min-width:1400px){.fam-directory-hero.famp-reference-hero{grid-template-columns:29fr 36fr 32fr}.fam-directory-hero.famp-reference-hero .famp-winner-award{width:calc(100% + 50px)!important;aspect-ratio:1.38}.famp-reference-hero .famp-winner-frame{height:100%;object-fit:contain}}
@media(min-width:801px) and (max-width:1200px){.fam-directory-hero.famp-reference-hero{padding:28px 20px!important;gap:14px!important;min-height:410px!important}.famp-reference-hero .fam-hero-symbol{width:180px;min-height:180px}.famp-reference-hero .famp-leaderboard-button{padding:12px 7px;font-size:10px;gap:5px}.famp-reference-hero .famp-leaderboard-button small{font-size:8px}.famp-reference-hero .famp-leaderboard-button>svg:last-child{display:none}.fam-directory-hero.famp-reference-hero .fam-member-total{font-size:52px!important}.fam-directory-hero.famp-reference-hero .fam-member-total small{font-size:15px!important}}
@media(max-width:800px){.fam-directory-hero.famp-reference-hero{grid-template-columns:1fr!important;min-height:0!important;padding:28px 20px!important;gap:28px!important;border-radius:24px}.famp-reference-hero>.famp-reference-copy,.famp-reference-hero>.fam-hero-center,.fam-directory-hero.famp-reference-hero>.famp-winner-area{grid-column:1;grid-row:auto;text-align:center}.famp-reference-hero .famp-reference-copy h1,.famp-reference-hero .famp-reference-copy h2{font-size:34px}.famp-reference-hero .fam-hero-symbol{width:190px;min-height:185px}.fam-directory-hero.famp-reference-hero .famp-winner-award{width:100%!important;max-width:520px;aspect-ratio:3/2}.fam-directory-hero.famp-reference-hero .fam-member-total{font-size:54px!important}.fam-directory-hero.famp-reference-hero .fam-member-total small{font-size:17px!important}.famp-reference-hero .famp-leaderboard-button{padding:12px 8px;font-size:11px;gap:6px}.famp-reference-hero .famp-leaderboard-button small{font-size:9px}.famp-reference-hero .famp-leaderboard-button>svg:last-child{display:none}}

.fam-directory-hero.famp-reference-hero #famp-app.famp-gallery-leaders{max-width:none;width:100%;margin:14px 0 0!important}
.fam-directory-hero.famp-reference-hero #famp-app.famp-gallery-leaders>.famp-leaderboard-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fam-directory-hero.famp-reference-hero #famp-app.famp-gallery-leaders .famp-leaderboard-button{min-width:0;padding:16px 12px;font-size:13px;min-height:68px}
.famp-reference-hero [data-famp-directory-action]{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px!important;border:0!important;border-radius:14px!important;color:#fff!important;text-decoration:none!important}
.famp-reference-hero [data-famp-directory-action="login"]{background:#d92044!important}.famp-reference-hero [data-famp-directory-action="register"]{background:#246dc8!important}
@media(max-width:1200px){.fam-directory-hero.famp-reference-hero #famp-app.famp-gallery-leaders .famp-leaderboard-button{font-size:10px;padding:12px 6px}}

/* Total points in place of the directory membership label. */
.fam-app .famp-directory-total{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;max-width:calc(100% - 24px);margin:10px auto 12px!important;padding:8px 14px!important;border:1px solid #b7d7ff!important;border-radius:10px!important;background:#e7f1ff!important;color:#1565c0!important;font-size:13px!important;font-weight:750!important;line-height:1.6!important;letter-spacing:0!important;text-align:center!important}
/* Lock the desktop banner to the supplied 512px reference height. */
@media(min-width:1101px){
.fam-app .fam-directory-hero.famp-reference-hero{height:512px!important;min-height:512px!important;max-height:512px!important;grid-template-columns:minmax(0,29fr) minmax(0,36fr) minmax(0,32fr)!important;padding:40px 30px 30px 50px!important;gap:20px!important;align-items:center!important}
.fam-app .fam-directory-hero.famp-reference-hero>.famp-reference-copy{width:100%!important;max-width:none!important;min-width:0!important;padding:0!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h1,.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h2{font-size:clamp(28px,3.05vw,54px)!important;line-height:1.55!important;letter-spacing:-.035em!important;margin:22px 0 12px!important;max-width:none!important;width:100%!important;white-space:nowrap!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h1 span,.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h2 span,.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h1 em,.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h2 em{font-size:inherit!important;line-height:inherit!important;white-space:nowrap!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy p{font-size:16px!important;line-height:2!important;margin:24px 0 0!important;max-width:none!important}
.fam-app .fam-directory-hero.famp-reference-hero>.fam-hero-center{max-width:none!important;gap:22px!important;min-height:0!important;height:auto!important;align-self:center!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-hero-symbol{width:240px!important;height:230px!important;min-height:230px!important;padding:22px!important}
.fam-app .fam-directory-hero.famp-reference-hero>.famp-winner-area{height:442px!important;min-height:0!important;justify-content:flex-start!important;align-self:center!important;padding:0!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-member-total{font-size:76px!important;line-height:1.1!important;min-height:84px!important;margin:0!important;flex:0 0 84px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-award{width:calc(100% + 40px)!important;height:358px!important;aspect-ratio:auto!important;flex:0 0 358px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-frame{width:100%!important;height:100%!important;object-fit:fill!important}
.fam-app .fam-directory-hero.famp-reference-hero #famp-app.famp-gallery-leaders .famp-leaderboard-button{height:68px!important;min-height:68px!important;padding:12px!important}
}
@media(min-width:801px) and (max-width:1100px){
.fam-app .fam-directory-hero.famp-reference-hero{height:440px!important;min-height:440px!important;max-height:440px!important;padding:24px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h1,.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h2{font-size:28px!important;line-height:1.55!important;white-space:nowrap!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy p{font-size:12px!important;line-height:1.9!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-hero-symbol{width:170px!important;height:170px!important;min-height:170px!important}
.fam-app .fam-directory-hero.famp-reference-hero>.famp-winner-area{height:auto!important;align-self:center!important}
}

/* Compact reference typography and undistorted 3:2 award artwork. */
.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-award{position:relative!important;height:auto!important;aspect-ratio:3/2!important;flex:0 0 auto!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-frame{display:block!important;position:static!important;width:100%!important;height:auto!important;aspect-ratio:3/2;object-fit:contain!important}
.famp-reference-hero .famp-award-question{position:absolute;z-index:5;left:32%;top:78.2%;width:36%;height:8%;display:flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;color:#fff3d1;font-size:clamp(11px,1vw,17px);font-weight:800;line-height:1.3;text-shadow:0 1px 2px #311046}
.famp-reference-hero .famp-award-wait{position:absolute;z-index:5;left:37%;top:90%;width:26%;padding:5px 4px;box-sizing:border-box;background:#e51d43;border-radius:5px;color:#fff;text-align:center;white-space:nowrap;font-size:clamp(10px,.85vw,14px);font-weight:750;line-height:1.5}
@media(min-width:1101px){
.fam-app .fam-directory-hero.famp-reference-hero{height:512px!important;min-height:512px!important;max-height:512px!important;padding:35px 30px 30px 50px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h1,.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h2{font-size:clamp(28px,2.65vw,46px)!important;line-height:1.65!important;margin:20px 0 10px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy p{font-size:14px!important;line-height:2.1!important;margin-top:24px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy>small{font-size:12px!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-hero-symbol{width:210px!important;height:210px!important;min-height:210px!important;padding:22px!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-hero-symbol svg{width:105px!important;height:105px!important}
.fam-app .fam-directory-hero.famp-reference-hero>.fam-hero-center{gap:18px!important}
.fam-app .fam-directory-hero.famp-reference-hero [data-famp-directory-action]{padding:12px 18px!important;font-size:14px!important;min-height:50px!important}
.fam-app .fam-directory-hero.famp-reference-hero #famp-app.famp-gallery-leaders{margin-top:20px!important}
.fam-app .fam-directory-hero.famp-reference-hero #famp-app.famp-gallery-leaders .famp-leaderboard-button{height:68px!important;min-height:68px!important;font-size:12px!important;padding:12px!important}
.fam-app .fam-directory-hero.famp-reference-hero>.famp-winner-area{height:442px!important;justify-content:center!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-member-total{font-size:68px!important;min-height:75px!important;flex:0 0 75px!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-member-total small{font-size:21px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-award{width:calc(100% + 40px)!important;max-width:none!important;}
}
@media(max-width:800px){.famp-reference-hero .famp-award-question{font-size:clamp(9px,2.8vw,15px)}.famp-reference-hero .famp-award-wait{font-size:clamp(9px,2.4vw,13px);padding:3px}}
/* Award labels track the image coordinates at every screen size. */
.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-award{container-type:inline-size;overflow:visible!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-award-question{left:34%!important;top:78%!important;width:30%!important;height:7.7%!important;margin:0!important;padding:0 2px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:clamp(8px,2.65cqw,18px)!important;line-height:1.25!important;white-space:nowrap!important;letter-spacing:-.03em!important;overflow:hidden!important;text-overflow:clip!important;color:#fff5d8!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-award-wait{left:36.5%!important;top:87.5%!important;width:27%!important;height:7.2%!important;margin:0!important;padding:0 3px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:5px!important;background:#e51d43!important;color:#fff!important;font-size:clamp(8px,2.45cqw,16px)!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important}
@media(min-width:1101px){
.fam-app .fam-directory-hero.famp-reference-hero{grid-template-columns:minmax(0,28fr) minmax(0,32fr) minmax(0,37fr)!important;gap:18px!important;padding-right:20px!important}
.fam-app .fam-directory-hero.famp-reference-hero>.famp-winner-area{height:442px!important;justify-content:center!important;overflow:visible!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-member-total{font-size:60px!important;min-height:66px!important;flex:0 0 66px!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-member-total small{font-size:19px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-award{width:calc(100% + 55px)!important;max-width:640px!important;height:auto!important;aspect-ratio:3/2!important;flex:0 0 auto!important;margin:0!important}
}
@media(min-width:801px) and (max-width:1100px){.fam-app .fam-directory-hero.famp-reference-hero{grid-template-columns:28fr 32fr 37fr!important}.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-award{width:calc(100% + 25px)!important}}
@media(max-width:800px){.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-award{width:calc(100% + 24px)!important;max-width:560px!important}}
/* Latest reference: large award first, member count underneath. */
.fam-app .fam-directory-hero.famp-reference-hero>.famp-winner-area{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:6px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-award{order:0!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-member-total{order:1!important;margin:0!important}
@media(min-width:1101px){
.fam-app .fam-directory-hero.famp-reference-hero>.famp-winner-area{height:470px!important;align-self:center!important;transform:translateY(-8px)}
.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-award{width:calc(100% + 65px)!important;max-width:650px!important;height:auto!important;aspect-ratio:3/2!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-member-total{font-size:68px!important;min-height:76px!important;flex:0 0 76px!important;gap:10px!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-member-total small{font-size:21px!important}
}
/* Compact vertical rhythm requested for the members banner. */
@media(min-width:1101px){
.fam-app .fam-directory-hero.famp-reference-hero{height:430px!important;min-height:430px!important;max-height:430px!important;padding:20px 24px 20px 40px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h1,.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h2{line-height:1.22!important;margin:14px 0 12px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h1 span,.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h2 span,.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h1 em,.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h2 em{line-height:1.22!important;margin-top:5px!important;margin-bottom:0!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy p{line-height:1.65!important;margin:16px 0 0!important}
.fam-app .fam-directory-hero.famp-reference-hero>.fam-hero-center{gap:12px!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-hero-symbol{width:180px!important;height:175px!important;min-height:175px!important;padding:16px!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-hero-symbol svg{width:88px!important;height:88px!important}
.fam-app .fam-directory-hero.famp-reference-hero #famp-app.famp-gallery-leaders{margin-top:12px!important}
.fam-app .fam-directory-hero.famp-reference-hero #famp-app.famp-gallery-leaders .famp-leaderboard-button{height:60px!important;min-height:60px!important;padding:9px!important}
.fam-app .fam-directory-hero.famp-reference-hero>.famp-winner-area{height:390px!important;gap:0!important;transform:none!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-winner-award{width:min(calc(100% + 35px),510px)!important;max-width:510px!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-member-total{font-size:54px!important;min-height:60px!important;flex:0 0 60px!important;line-height:1.05!important}
.fam-app .fam-directory-hero.famp-reference-hero .fam-member-total small{font-size:18px!important}
}
@media(max-width:800px){
.fam-app .fam-directory-hero.famp-reference-hero{padding:22px 18px!important;gap:20px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h1,.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy h2{line-height:1.3!important;margin:12px 0!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-reference-copy p{line-height:1.65!important;margin-top:14px!important}
}

/* Published winner portrait covers the question mark inside the gold ring. */
.fam-app .fam-directory-hero.famp-reference-hero .famp-published-photo{position:absolute!important;z-index:4!important;left:36.1%!important;top:21.1%!important;width:29.3%!important;height:auto!important;aspect-ratio:1!important;object-fit:cover!important;border-radius:50%!important;display:block!important;margin:0!important;padding:0!important;border:0!important;max-width:none!important}

/* Fit the portrait exactly inside the circular gold frame (1536 x 1024 artwork). */
.fam-app .fam-directory-hero.famp-reference-hero .famp-published-photo{left:36.72%!important;top:20.7%!important;width:28%!important;height:42%!important;aspect-ratio:1!important;object-fit:cover!important;object-position:center center!important;border-radius:50%!important;clip-path:circle(50%)!important;overflow:hidden!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-award-question{left:35%!important;top:78%!important;width:29%!important;height:7.7%!important;font-size:12px!important;padding:0 4px!important;overflow:hidden!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-award-label-text{display:inline-block!important;flex:0 0 auto!important;max-width:none!important;white-space:nowrap!important;line-height:1.3!important;transform-origin:center center!important;letter-spacing:0!important}
/* Centre plaque lettering on the artwork's actual plaque centre. */
.fam-app .fam-directory-hero.famp-reference-hero .famp-award-question{left:50.7%!important;top:81.15%!important;transform:translate(-50%,-50%)!important;width:29%!important;height:7.7%!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;margin:0!important;padding:0 4px!important}
.fam-app .fam-directory-hero.famp-reference-hero .famp-award-question .famp-award-label-text{display:block!important;position:relative!important;float:none!important;margin:0!important;padding:0!important;text-align:center!important;line-height:1.2!important;transform-origin:center center!important}

/* Five reconciled profile point groups. */
.fam-app .fam-activity-points{grid-template-columns:repeat(5,minmax(0,1fr))}
.fam-app .fam-activity-4{--point:#52649e;--light:#e4eafb;background:linear-gradient(110deg,#e4eafb,#ffffff88)}
@media(max-width:1100px){.fam-app .fam-activity-points{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.fam-app .fam-activity-points{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep the fifth counter equal to its neighbours. */
.fam-app .fam-profile .fam-activity-points{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;align-items:stretch}
.fam-app .fam-profile .fam-activity-points>.fam-activity-point{width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;box-sizing:border-box;flex-direction:column;justify-content:center;padding:12px 8px!important;text-align:center}
.fam-app .fam-profile .fam-activity-point>span{white-space:normal!important;overflow-wrap:anywhere}
@media(max-width:1100px){.fam-app .fam-profile .fam-activity-points{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:720px){.fam-app .fam-profile .fam-activity-points{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}}
