/* Dashboard composition follows the approved ImageGen reference. */
.profile-body{isolation:isolate;position:relative}.profile-body:before,.profile-body:after{content:'';position:fixed;bottom:0;width:200px;height:160px;background:url('/images/profile/foliage.svg') left bottom/contain no-repeat;pointer-events:none;z-index:-1;opacity:.8}.profile-body:before{left:0}.profile-body:after{right:0;transform:scaleX(-1)}.profile-page{padding-top:28px}.profile-hero{display:grid;grid-template-columns:190px minmax(300px,1fr) minmax(480px,1.15fr);padding:22px 20px 18px;gap:24px;background:linear-gradient(110deg,#f0f2e6,#f8f7ee 55%,#f3f2e8);border:0;border-radius:22px;min-height:230px;position:relative;overflow:hidden;isolation:isolate}.profile-hero:after{content:'';position:absolute;bottom:-8px;left:44%;width:140px;height:92px;background:url('/images/profile/foliage.svg') left bottom/cover no-repeat;pointer-events:none;z-index:-1;opacity:.7}.profile-avatar{width:190px;height:195px;object-fit:contain;align-self:end}.profile-welcome h1{font-size:36px;line-height:1.15;letter-spacing:-1.1px;margin:0 0 8px}.profile-welcome>p{font-size:17px;font-weight:500;line-height:1.4;margin:0 0 15px;color:#576366;max-width:390px}.profile-rename{padding:9px 16px;border-radius:12px;min-height:42px;background:#fbfcf6;color:#31593b;font-size:14px;font-weight:600}.profile-rename:before{content:'✎';margin-right:8px;color:#57934d}.profile-welcome #profile-storage{font-size:12px;line-height:1.5;margin:12px 0 0;max-width:330px;font-weight:400}.profile-totals{gap:16px;align-self:stretch;align-items:center}.profile-totals>div{padding:18px;min-height:185px;border-radius:18px;position:relative;overflow:hidden;background:#fffefa}.profile-totals>div:nth-child(2){background:#fffbf0}.profile-totals>div:nth-child(3){background:#faf6fd}.profile-totals>div:after{content:'';position:absolute;right:-2px;bottom:17px;width:66px;height:96px;background:url('/images/profile/foliage.svg') left bottom/cover no-repeat;opacity:.24;transform:rotate(-10deg);pointer-events:none}.profile-totals .total-icon{display:grid;place-items:center;width:58px;height:58px;background:#f2edf5;border-radius:50%;color:#a28dbb}.total-icon svg{width:28px;height:28px}.profile-totals>div:nth-child(2) .total-icon{color:#eaba57;background:#fff1d4}.profile-totals>div:nth-child(3) .total-icon{color:#a18acb;background:#f0e7fa}.profile-totals strong{font-size:42px;line-height:1.05;margin:12px 0 4px;z-index:1}.profile-totals small{font-size:13px;line-height:1.4;max-width:135px;z-index:1}.profile-page h2{font-size:27px;line-height:1.2;letter-spacing:-.7px;margin:28px 0 16px;display:flex;align-items:center;gap:12px}.section-icon{display:inline-flex;width:30px;height:32px;color:#6e9f56;flex-shrink:0}.section-icon[data-icon=trophy]{color:#e3aa4a}.section-icon svg{width:100%;height:100%}.profile-section-heading>a{border-radius:22px;padding:10px 18px;background:#eef4e5;color:#456540;font-weight:600;font-size:13px}.profile-section-heading>span{font-size:12px}.profile-resume{gap:18px}.profile-resume-card{min-height:265px;padding:20px;display:grid;grid-template-columns:62px 1fr;grid-template-rows:auto 1fr auto;gap:0 13px;border-radius:15px;align-items:start}.profile-resume-card:after{background:linear-gradient(180deg,#0f272c66,transparent 45%,#0d2e2abb)}.profile-resume-card>img:not(.resume-icon){z-index:-2}.profile-resume-card>.resume-icon{position:static;width:62px;height:62px;border-radius:14px;border:2px solid #fff7ce88;object-fit:cover;grid-column:1;z-index:0;box-shadow:0 3px 8px #0003}.resume-copy{grid-column:2;grid-row:1;align-self:center;min-width:0}.profile-resume-card h3{font-size:23px;text-shadow:0 2px 5px #142f30aa;margin:0 0 6px;letter-spacing:-.6px}.profile-resume-card p{font-size:13px;text-shadow:0 1px 4px #0008;margin:0;line-height:1.5}.profile-body .profile-resume-card .green-button{grid-column:1 / -1;grid-row:3;border:0;box-shadow:none;background:linear-gradient(115deg,#68b23d,#4d962c);color:white;padding:12px 25px;border-radius:28px;font-size:14px;font-weight:700;width:max-content;min-height:44px}.profile-page .profile-achievements{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0}.profile-page .profile-achievements li{display:flex;align-items:center;gap:6px;padding:10px 14px 10px 2px;min-height:146px;border:1px solid #e8e5d8;border-radius:15px;background:#fffefa;opacity:1}.profile-page .profile-achievements li.unlocked{background:#fffefa;color:#123737;border:1px solid #e8e5d8}.profile-achievements li>img{width:120px;height:120px;object-fit:contain;flex-shrink:0}.profile-achievements .achievement-copy{min-width:0}.profile-page .profile-achievements strong{font-size:16px;line-height:1.25;letter-spacing:-.4px}.profile-page .profile-achievements span{font-size:12px;color:#7a7e80;line-height:1.5;margin-top:8px}.profile-achievements li:not(.unlocked){background:#f3f2ef}.profile-achievements li:not(.unlocked) strong{color:#777}.profile-page .profile-progress{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.profile-page .profile-game{display:grid;grid-template-columns:68px minmax(0,1fr) 40px;align-items:center;padding:13px 16px;gap:15px;min-height:104px;position:relative;overflow:hidden;background:#fffefa}.profile-game:after{content:'';position:absolute;right:55px;bottom:-16px;background:url('/images/profile/foliage.svg') left bottom/contain no-repeat;width:60px;height:70px;opacity:.18;pointer-events:none}.profile-game-icon{width:68px;height:68px;object-fit:cover;border-radius:15px}.profile-game-copy{min-width:0;z-index:1}.profile-page .profile-game h3{font-size:18px;line-height:1.2;margin:0 0 6px;letter-spacing:-.4px}.profile-page .profile-game p{font-size:13px;line-height:1.4;margin:0;color:#7a7d82}.profile-game-open{display:grid;place-items:center;min-width:40px;min-height:48px;font-size:32px;background:#eff5e7;border-radius:40px;z-index:1}.profile-game:nth-child(3n+2) .profile-game-open{background:#fbf0f2}.profile-game:nth-child(3n) .profile-game-open{background:#edf8f7}.game-metrics summary{font-size:11px;cursor:pointer;color:#53784a;margin:8px 0}.profile-page .game-metrics dl{font-size:11px;margin:8px 0 0;gap:6px;grid-template-columns:1fr auto}
@media(min-width:1700px){.profile-hero{grid-template-columns:210px 1fr 1.1fr}.profile-avatar{width:210px;height:210px}.profile-totals>div{min-height:195px}.profile-resume-card{min-height:280px}}
@media(max-width:1250px){.profile-hero{grid-template-columns:150px 1fr 1.2fr;gap:18px}.profile-avatar{width:150px;height:175px}.profile-welcome h1{font-size:28px}.profile-welcome>p{font-size:14px}.profile-totals{gap:9px}.profile-totals>div{padding:12px;min-height:174px}.profile-totals small{font-size:11px}.profile-page .profile-achievements li{padding:10px;gap:8px}.profile-achievements li>img{width:85px;height:95px}.profile-page .profile-achievements strong{font-size:14px}.profile-page .profile-achievements span{font-size:11px}.profile-page .profile-game{grid-template-columns:54px 1fr 36px;padding:12px;gap:10px}.profile-game-icon{width:54px;height:58px}.profile-page .profile-game h3{font-size:16px}}
@media(max-width:1000px){.profile-hero{grid-template-columns:160px 1fr}.profile-avatar{width:160px;height:180px}.profile-totals{grid-column:1 / -1}.profile-totals>div{min-height:145px}.profile-totals .total-icon{width:44px;height:44px}.profile-totals strong{font-size:35px}.profile-totals small{max-width:none}.profile-resume-card{min-height:240px;grid-template-columns:44px 1fr;gap:8px;padding:14px}.profile-resume-card>.resume-icon{width:44px;height:44px}.profile-resume-card h3{font-size:18px}.profile-resume-card p{font-size:11px}.profile-page .profile-achievements{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-achievements li>img{width:105px;height:105px}.profile-page .profile-progress{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.profile-page{padding-top:16px}.profile-hero{grid-template-columns:88px 1fr;padding:15px 12px;gap:12px}.profile-avatar{width:100px;height:125px;align-self:center;margin-left:-7px}.profile-welcome h1{font-size:23px;letter-spacing:-.7px}.profile-welcome>p{font-size:12px;margin-bottom:10px}.profile-rename{font-size:11px;min-height:40px;padding:8px 10px}.profile-welcome #profile-storage{font-size:10px;line-height:1.4;margin-top:8px}.profile-totals{gap:7px}.profile-totals>div{padding:11px 9px;min-height:145px;border-radius:14px}.profile-totals strong{font-size:29px}.profile-totals small{font-size:10px}.profile-totals .total-icon{width:35px;height:35px}.total-icon svg{width:21px;height:21px}.profile-page h2{font-size:22px;gap:7px;margin:24px 0 13px}.section-icon{width:25px;height:28px}.profile-section-heading>a{font-size:10px;padding:8px 10px;max-width:120px}.profile-resume{grid-template-columns:1fr;gap:12px}.profile-resume-card{min-height:220px;grid-template-columns:52px 1fr;padding:16px}.profile-resume-card>.resume-icon{width:52px;height:52px}.profile-resume-card h3{font-size:21px}.profile-resume-card p{font-size:12px}.profile-body .profile-resume-card .green-button{padding:10px 20px;font-size:13px}.profile-page .profile-achievements{gap:9px}.profile-page .profile-achievements li{flex-direction:column;align-items:flex-start;padding:10px;gap:5px;min-height:0}.profile-achievements li>img{width:86px;height:86px;align-self:center}.profile-page .profile-achievements strong{font-size:13px}.profile-page .profile-achievements span{font-size:10px;line-height:1.5}.profile-page .profile-progress{grid-template-columns:1fr;gap:10px}.profile-page .profile-game{grid-template-columns:58px 1fr 40px;min-height:92px;padding:12px;gap:12px}.profile-game-icon{width:58px;height:62px}.profile-page .profile-game h3{font-size:17px}.profile-page .profile-game p{font-size:12px}.profile-body:before,.profile-body:after{width:95px;height:100px;opacity:.5}.profile-body #profile-summary{font-size:10px;max-width:95px}.profile-hero:after{display:none}}
.profile-body:before,.profile-body:after{position:absolute}.profile-totals>div:after{background-image:url('/images/profile/sprig.svg');background-size:contain;background-position:center;opacity:.4;width:62px;height:110px;right:2px;bottom:24px}.profile-totals>div:nth-child(2):after{filter:sepia(.8) saturate(1.2)}.profile-totals>div:nth-child(3):after{filter:hue-rotate(160deg)}.profile-body .profile-settings .green-button{background:#4e9933;box-shadow:none;border:0;border-radius:12px}.profile-resume-card p{font-weight:600}.profile-body .profile-resume-card .resume-copy{align-self:start;padding-top:5px}
.achievement-filters{display:flex;gap:8px;margin:0 0 15px;flex-wrap:wrap}.achievement-filters button,.achievement-more{border:1px solid #d5dfca;background:#fffdf6;color:#4e7140;border-radius:24px;min-height:44px;padding:10px 18px;font-size:12px;font-weight:700}.achievement-filters button[aria-pressed=true]{background:#e7efd9;border-color:#a9c68c;color:#2f632a}.achievement-more{display:block;margin:18px auto 0}.profile-page .profile-achievements li{align-items:flex-start;min-height:210px;padding-top:15px}.profile-achievements li>img{margin-top:8px}.profile-achievements li.locked>img{filter:grayscale(.9);opacity:.55}.achievement-copy progress{display:block;width:100%;height:7px;margin-top:10px;accent-color:#7fae49;border:0;border-radius:8px;overflow:hidden;background:#e4e7db}.achievement-copy progress::-webkit-progress-bar{background:#e4e7db;border-radius:8px}.achievement-copy progress::-webkit-progress-value{background:#8bb358;border-radius:8px}.achievement-copy progress::-moz-progress-bar{background:#8bb358}.achievement-state{display:block;font-size:10px;color:#8c8d7e;margin-top:8px}.unlocked .achievement-state{color:#52813d}.achievement-amount{display:block;font-size:10px;color:#8a907e;margin-top:5px}.achievement-play{display:inline-flex;align-items:center;min-height:36px;font-size:11px;font-weight:700;color:#577b3f;margin-top:2px}#achievement-empty{font-size:13px;line-height:1.6;color:#7b8771}#achievement-count{font-size:12px;color:#718264}@media(max-width:640px){.profile-page .profile-achievements li{min-height:0;align-items:stretch}.profile-achievements li>img{margin-top:0}.achievement-copy progress{margin-top:8px}#achievement-count{max-width:100px;text-align:right;font-size:10px}.achievement-filters{gap:6px}.achievement-filters button{padding:9px 12px;font-size:11px}.achievement-play{min-height:40px}}
/* Keep the keyboard skip link hidden in full-page captures until keyboard focus. */
.profile-body .skip-link:not(:focus-visible){clip-path:inset(50%);pointer-events:none}
