.profile-page{padding-top:30px}
.profile-showcase{position:relative;isolation:isolate;margin-top:24px;border:1px solid #cfb17b38;border-radius:18px;overflow:hidden;background:#09121d;box-shadow:0 24px 70px #0004}
.profile-showcase::before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:405px;background:linear-gradient(180deg,#07101c10 0%,#07101c55 34%,#09121df0 87%,#09121d 100%),url('statistics-hero.webp') center 35%/cover no-repeat}
.profile-showcase::after{content:"";position:absolute;top:0;left:15%;right:15%;height:1px;background:linear-gradient(90deg,transparent,#e8ca8b,transparent)}
.profile-showcase .profile-hero{min-height:335px;margin:0;padding:140px 36px 30px;align-items:flex-end;gap:24px}
.profile-showcase .profile-identity{align-items:center;min-width:0;gap:24px}
.profile-showcase .profile-avatar{width:116px;height:116px;flex-shrink:0;border-radius:14px;border:2px solid var(--player-color);outline:5px solid #0b1426ba;box-shadow:0 14px 40px #0008}
.profile-nameplate{min-width:0}
.profile-nameplate .eyebrow{color:#efd3a0;font-size:10px;letter-spacing:.16em;line-height:1.8;margin:0}
.profile-nameplate .eyebrow span{color:#c4ccda;white-space:nowrap}
.profile-showcase .profile-identity h1{font-size:clamp(34px,5vw,64px);letter-spacing:-.04em;line-height:1.1;margin:9px 0 14px;overflow-wrap:anywhere;text-shadow:0 3px 25px #000b}
.profile-showcase .profile-class{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.1em}
.profile-class-dot{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 14px currentColor}
.profile-showcase .profile-score{flex-shrink:0;min-width:190px;padding:24px 26px;background:linear-gradient(135deg,#152235e8,#09121de8);border:1px solid #dfbf7847;border-radius:12px;text-align:center;box-shadow:0 12px 34px #0004}
.profile-showcase .profile-score span{color:#e6c993;font-size:10px}
.profile-showcase .profile-score strong{font-size:54px;letter-spacing:-.05em;margin:14px 0 12px}
.profile-showcase .profile-score small{color:#b6c2d2;font-size:11px}
.profile-showcase .profile-stats{margin:0 36px;background:#ffffff08;border:1px solid #ffffff12;border-radius:10px;overflow:hidden}
.profile-showcase .profile-stats article{background:#0b1625cc;padding:20px}
.profile-showcase .profile-stats span{color:#9aaabe;line-height:1.6}
.profile-showcase .profile-stats strong{font-size:20px;line-height:1.4}
.profile-showcase .profile-stats small{color:#94a3b8;line-height:1.6}
.profile-showcase .profile-stats:last-child{margin-bottom:32px}
.profile-showcase .profile-collection{margin:0;padding:28px 36px 32px}
.profile-showcase .section-heading{align-items:center;margin:0 0 18px;gap:16px}
.profile-showcase .section-heading .eyebrow{font-size:9px;margin:0 0 6px;color:#c3a772}
.profile-showcase .section-heading h2{font-size:23px;margin:0;letter-spacing:-.025em}
.profile-showcase .section-heading>p{font-size:11px;color:#94a3b8;max-width:230px;text-align:right;line-height:1.7}
.profile-showcase .collection-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.profile-showcase .collection-profile-card{padding:20px 16px;background:linear-gradient(135deg,#17233690,#0b1420);border:1px solid #ffffff0d;border-radius:10px;gap:13px}
.profile-showcase .collection-profile-card>span{font-size:23px}
.profile-showcase .collection-profile-card small{color:#a6b3c6;font-size:10px}
.profile-showcase .collection-profile-card strong{color:#eee8dc;font-size:26px;letter-spacing:-.025em}
.profile-showcase .collection-profile-card em{color:#bea879;font-size:10px}
@media(max-width:1000px){.profile-showcase .collection-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-showcase .profile-hero{padding-inline:24px}.profile-showcase .profile-stats{margin-inline:24px}.profile-showcase .profile-collection{padding-inline:24px}}
@media(max-width:760px){.profile-showcase .profile-hero{flex-direction:row;align-items:flex-end;flex-wrap:wrap;padding:130px 20px 24px;min-height:0}.profile-showcase .profile-identity{flex-direction:row;width:100%;gap:16px}.profile-showcase .profile-avatar{width:80px;height:80px;border-radius:10px}.profile-nameplate .eyebrow{font-size:8px;letter-spacing:.08em}.profile-showcase .profile-identity h1{font-size:clamp(28px,7vw,46px)}.profile-showcase .profile-score{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;width:100%;padding:16px;min-width:0}.profile-showcase .profile-score strong{font-size:36px;margin:0}.profile-showcase .profile-score small{flex-basis:100%;text-align:left}.profile-showcase .profile-stats{margin-inline:20px}.profile-showcase .profile-stats article{padding:15px}.profile-showcase .profile-stats strong{font-size:17px}.profile-showcase .profile-collection{padding:24px 20px}.profile-showcase .section-heading>p{text-align:left;max-width:none}.profile-showcase .collection-profile-card{padding:16px 12px;gap:10px}.profile-showcase .collection-profile-card>span{font-size:18px}.profile-showcase .collection-profile-card strong{font-size:23px}}
@media(max-width:760px){.profile-showcase .profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-showcase .collection-profile-card{flex-direction:column;align-items:flex-start}.profile-showcase .collection-profile-card>div{min-width:0;width:100%}.profile-showcase .collection-profile-card small{font-size:9px;letter-spacing:.06em;overflow-wrap:anywhere;line-height:1.7}.profile-showcase .collection-profile-card em{font-size:9px;letter-spacing:.02em}}
/* Full-width player banner, with content aligned to the rest of the site. */
main.profile-page{width:100%;max-width:none}
.profile-page>p,.profile-page>.profile-history,.profile-page>.profile-key-tabs,.profile-page>.profile-runs{width:min(calc(100% - 2rem),1280px);margin-left:auto;margin-right:auto}
.profile-showcase{border-radius:0;border-inline:0;box-shadow:none;padding-inline:max(0px,calc((100% - 1280px)/2))}
.profile-showcase::before{height:510px;background:linear-gradient(180deg,#07101c08,#07101c45 38%,#09121de8 88%,#09121d),url('player-portal-hero.webp') center 42%/cover no-repeat}
.profile-showcase .profile-hero{min-height:365px;padding-top:150px}
.profile-history .chart-card{border:1px solid #dfbf7826;border-radius:14px;background:radial-gradient(ellipse at 90% 0,#dcae4210,transparent 70%),#0b1422;overflow:hidden}
.profile-history .chart-card:nth-child(2){border-color:#38bdf828;background:radial-gradient(ellipse at 90% 0,#38bdf813,transparent 70%),#0b1422}
.profile-history .chart-card>div:first-child span{color:#c9b383;font-size:10px}.profile-history .chart-card:nth-child(2)>div:first-child span{color:#8fbacf}
.profile-history .chart-card>div:first-child strong{font-size:34px;letter-spacing:-.04em}
.profile-history .chart-label{fill:#96a8bf}.profile-history .history-chart{margin-top:12px}
.chart-change{margin:0 0 16px;color:#c7d2e2;font-size:14px;font-weight:700}.chart-change span{display:block;margin-top:6px;font-size:11px;font-weight:400;color:#92a2b7}.chart-change.is-up{color:#65d8a2}.chart-change.is-down{color:#f4a581}
.profile-dungeon{display:flex;align-items:center;gap:14px;min-width:180px}.profile-dungeon img{width:80px;height:48px;object-fit:cover;border-radius:6px;border:1px solid #ffffff1a;flex-shrink:0}.profile-dungeon b{font-size:13px}
@media(max-width:760px){.profile-showcase .profile-hero{min-height:0;padding-top:125px}.profile-showcase::before{height:480px;background-position:62% top}.profile-dungeon{min-width:150px;gap:10px}.profile-dungeon img{width:54px;height:42px}.profile-dungeon b{font-size:12px}.profile-history .chart-card{padding:18px}}
/* Compact banner and a joined, full-width key navigation. */
main.profile-page{padding-top:0}
.profile-showcase{margin-top:0}
.profile-banner-back{margin:0;padding:24px 36px 0}
.profile-banner-back .back-link{padding:8px 12px;border:1px solid #ffffff24;border-radius:6px;background:#08111ebd;color:#dfc48e;backdrop-filter:blur(8px)}
.profile-showcase .profile-hero{min-height:235px;padding-top:30px}
.profile-key-module{width:min(calc(100% - 2rem),1280px);margin:28px auto 0;border:1px solid #d9bd7b30;border-radius:12px;overflow:hidden;background:#07101e}
.profile-key-module .profile-key-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;width:100%;margin:0;padding:0;border:0;border-bottom:1px solid #d9bd7b30;scroll-margin-top:120px;background:#0c1625}
.profile-key-module .profile-key-tabs a{display:flex;align-items:center;justify-content:center;gap:10px;position:relative;border:0;border-radius:0;margin:0;padding:22px 16px;background:transparent;color:#97a8bd;font-size:12px;letter-spacing:.06em;transition:background .15s,color .15s}
.profile-key-module .profile-key-tabs a+a{border-left:1px solid #ffffff10}
.profile-key-module .profile-key-tabs a:hover{background:#ffffff05;color:#eee4cf}
.profile-key-module .profile-key-tabs a[aria-current]{color:#f0cf91;background:linear-gradient(180deg,#dfb75a16,#dfb75a05);box-shadow:inset 0 -3px #d9b36d}
.profile-key-module .profile-key-tabs a:focus-visible{outline-offset:-4px}
.profile-key-tabs svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.profile-key-module .profile-runs{width:100%;margin:0;border:0;border-radius:0;background:transparent}
@media(max-width:1000px){.profile-banner-back{padding-inline:24px}}
@media(max-width:760px){.profile-banner-back{padding:20px 20px 0}.profile-showcase .profile-hero{min-height:0;padding-top:28px}.profile-key-module .profile-key-tabs a{padding:18px 10px;font-size:10px;gap:8px}}
