.profile-ui{--background:#fff;--foreground:#172b40;--card:#fff;--card-foreground:#172b40;--primary:#075fbe;--primary-foreground:#fff;--muted:#edf2f8;--muted-foreground:#526277;--accent:#edf2f8;--accent-foreground:#14365d;--border:#dbe3ed;--input:#8090a4;--ring:#1673d1;--destructive:#ad2525;--destructive-foreground:#fff;color:var(--foreground);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.profile-dialog-layer{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:visible}.profile-dialog-layer::backdrop{background:transparent}.profile-dialog-overlay{background:#0b17227a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.profile-dialog.profile-sheet{display:flex;flex-direction:column;gap:0;width:min(720px,calc(100% - 32px));max-width:720px;height:min(900px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:0;margin:0;border:1px solid var(--border);border-radius:18px;overflow:hidden;background:#f6f8fb;box-shadow:0 24px 80px #0b172238}.profile-ui .profile-sheet-header{flex:none;display:flex;flex-direction:row;align-items:center;justify-content:space-between;min-height:68px;padding:10px 24px;border-bottom:1px solid var(--border);background:var(--background);text-align:left}.profile-sheet-header h2{margin:0;font-size:17px;font-weight:600;letter-spacing:-.025em}.profile-sheet-header [data-slot=button]{color:var(--primary)}.profile-content{display:flex;flex-direction:column;gap:16px;padding:24px;overflow-y:auto;overscroll-behavior:contain;min-height:0;background:#f6f8fb}.profile-content:focus{outline:none}.profile-ui [data-slot=button]{min-height:44px;height:auto;border-radius:10px;font-size:14px;line-height:1.4;font-weight:600}.profile-ui :is(button,a):focus-visible{outline:2px solid var(--ring);outline-offset:3px}.profile-ui .profile-card{border-color:var(--border);border-radius:14px;background:var(--card);color:var(--foreground);box-shadow:0 1px 3px #0b17220a}.profile-card>div{padding:20px}.profile-card>div+div{padding-top:0}.profile-card h2{margin:0;font-size:16px;line-height:1.4;font-weight:600;letter-spacing:-.02em}.profile-identity{text-align:center}.profile-identity>div:first-child{align-items:center;gap:0;padding-top:24px;padding-bottom:16px}.profile-ui .profile-avatar{display:inline-grid;position:relative;width:80px;height:80px;min-height:80px;padding:0;border:2px solid var(--border);border-radius:50%;background:var(--muted)}.profile-avatar .profile-avatar-image{width:100%;height:100%;font-size:28px}.profile-avatar img{object-fit:cover}.profile-avatar .profile-camera{display:grid;place-items:center;position:absolute;right:-4px;bottom:-2px;width:28px;height:28px;background:var(--primary);border:3px solid var(--background);border-radius:50%;color:var(--primary-foreground)}.profile-avatar .profile-camera svg{width:13px;height:13px}.profile-identity .profile-name{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;max-width:100%}.profile-name h1{margin:0;min-width:0;font-size:25px;line-height:1.25;font-weight:650;letter-spacing:-.035em;overflow-wrap:anywhere}.profile-name [data-slot=button]{width:44px;flex:none;color:var(--primary)}.profile-email{margin-top:4px;color:var(--muted-foreground);font-size:13px;line-height:1.5;overflow-wrap:anywhere;max-width:100%}.profile-rank{display:flex;justify-content:center;align-items:center;gap:10px;margin:0 0 16px;color:var(--foreground)}.profile-rank img{width:36px;height:44px;object-fit:contain}.profile-rank strong{font-size:14px;font-weight:600}.profile-metrics{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.profile-metrics>div{display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:1.4;font-weight:500;border-color:var(--border);background:#f6f8fb;color:var(--muted-foreground)}.profile-metrics svg{width:13px;height:13px;color:#9a4b13}.profile-member{margin:14px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.5}.profile-milestone>div:first-child{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px}.profile-milestone>div:first-child>div:first-child>div:first-child{font-size:12px;margin-bottom:4px;color:var(--muted-foreground)}.profile-milestone>div:first-child>div:last-child{flex-shrink:0;font-size:11px;border-color:var(--border);background:var(--muted);color:var(--primary)}.profile-milestone [role=progressbar]{height:6px;background:var(--muted)}.profile-progress-labels{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;margin-top:10px;color:var(--muted-foreground);font-size:11px;line-height:1.5}.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.profile-stats>div{min-width:0;padding:16px 8px;text-align:center}.profile-stats .profile-card>div{padding:0;gap:0}.profile-stats strong{display:block;font-size:23px;line-height:1.3;font-weight:650;letter-spacing:-.025em}.profile-stats span{display:block;margin-top:5px;color:var(--muted-foreground);font-size:11px;line-height:1.5;overflow-wrap:anywhere}.profile-section{margin:0;min-width:0}.profile-card .profile-section-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px}.profile-section-header [data-slot=button]{color:var(--primary)}.profile-achievements-strip{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;padding:0 0 6px}.profile-ui .profile-achievement{display:flex;flex-direction:column;justify-content:flex-start;gap:8px;flex:0 0 104px;min-width:0;padding:8px;border-radius:10px;white-space:normal;color:var(--muted-foreground);text-align:center}.profile-ui .profile-achievement.is-earned{color:var(--foreground)}.profile-achievement-art{position:relative;display:inline-grid;place-items:center;width:64px;height:64px;border-radius:14px;background:#f6f8fb}.profile-achievement-art>img{width:60px;height:60px;object-fit:contain;opacity:.4}.profile-ui .profile-achievement-art>svg{width:40px;height:40px}.profile-achievement.is-earned img{opacity:1}.profile-achievement strong{font-size:12px;font-weight:600;line-height:1.4}.profile-achievement small{font-size:12px;font-weight:400;line-height:1.55}.profile-achievement-lock{display:grid;place-items:center;position:absolute;bottom:-2px;right:-2px;width:22px;height:22px;border:2px solid var(--background);border-radius:50%;background:var(--muted);color:var(--muted-foreground)}.profile-ui .profile-achievement-lock>svg{width:11px;height:11px}.profile-achievements-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 8px}.profile-log-empty{padding:16px 0;gap:14px}.profile-log-empty [data-slot=empty-icon]{background:var(--muted);color:var(--primary);border-radius:12px}.profile-log-empty [data-slot=empty-description]{color:var(--muted-foreground);font-size:13px;line-height:1.65}.profile-log{list-style:none;margin:0;padding:0}.profile-log li{display:flex;align-items:center;gap:12px;padding:14px 0}.profile-log li+li{border-top:1px solid var(--border)}.profile-log-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;color:var(--primary);background:var(--muted)}.profile-log-icon svg{width:18px;height:18px}.profile-log li>div{min-width:0;flex:1}.profile-log strong{font-size:13px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.profile-log p{margin:4px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.profile-log a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}.profile-log li>img{width:52px;height:52px;border-radius:8px;object-fit:cover;flex:none}.profile-more{width:100%;margin-top:12px}.profile-ui .profile-leaderboard{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:20px;width:100%;padding:20px;border-color:var(--border);border-radius:14px;white-space:normal;background:var(--card);color:var(--foreground);box-shadow:0 1px 3px #0b17220a;text-align:left}.profile-leaderboard-heading{display:flex;align-items:center;gap:10px}.profile-leaderboard-heading>span{flex:1}.profile-leaderboard-heading>svg{color:var(--primary)}.profile-leaderboard-heading strong{font-size:16px;font-weight:600;letter-spacing:-.02em}.profile-leaderboard small{display:block;margin-top:4px;color:var(--muted-foreground);font-size:12px;font-weight:400}.profile-leaderboard-preview{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;color:var(--muted-foreground);font-size:12px;font-weight:400}.profile-leaderboard-preview b{display:block;margin-top:4px;font-size:24px;line-height:1.3;color:var(--foreground);font-weight:650}.profile-top-mariners{text-align:right}.profile-top-mariners>span{display:flex;justify-content:flex-end;padding-left:6px}.profile-top-mariners>span>span{width:32px;height:32px;margin-left:-6px;border:2px solid var(--background);font-size:12px}.profile-actions{display:flex;flex-direction:column;gap:10px}.profile-ui .profile-actions [data-slot=button]{display:flex;justify-content:flex-start;min-height:48px;width:100%;padding:12px 14px;white-space:normal;text-align:left;border-color:var(--border);box-shadow:none}.profile-actions [data-icon=inline-end]{margin-left:auto;color:var(--muted-foreground)}.profile-ui .profile-delete{color:var(--destructive)}.profile-subheader{display:flex;align-items:center;gap:12px}.profile-subheader h2{font-size:21px;line-height:1.35;letter-spacing:-.03em;font-weight:600}.profile-subheader [data-slot=button]{width:44px;height:44px;flex:none;color:var(--primary)}.profile-form [data-slot=field-group]{gap:20px}.profile-form [data-slot=field]{gap:8px}.profile-form [data-slot=field-label]{color:var(--foreground);font-size:13px;font-weight:600;line-height:1.5}.profile-form [data-slot=field-description]{margin:0;color:var(--muted-foreground);font-size:14px;line-height:1.65}.profile-form input{min-height:48px;border:1px solid var(--input);border-radius:10px;background:var(--background);color:var(--foreground);font-size:16px;box-shadow:none}.profile-form input:focus-visible{outline:2px solid var(--ring);outline-offset:2px;border-color:var(--ring)}.profile-form .profile-card>div:last-child [data-slot=button]{width:100%;min-height:48px;white-space:normal}.profile-ui .profile-error,.profile-ui .profile-delete-notice{border-color:#f0b8b8;border-radius:10px;background:#fff5f5;color:var(--destructive)}.profile-ui .profile-success{border-color:#bddcc9;border-radius:10px;background:#f0f8f3;color:#22623f}.profile-error>div,.profile-success>div,.profile-delete-notice>div{transform:none;font-size:13px;line-height:1.6}.profile-error button{margin-top:12px}.profile-status{padding:28px;color:var(--muted-foreground);font-size:14px;line-height:1.6}.profile-status [data-slot=button]{min-height:44px}.profile-skeletons{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:24px}.profile-skeletons>div{background:var(--muted)}.profile-skeleton-avatar{width:80px;height:80px;border-radius:50%}.profile-skeleton-line{width:60%;height:20px;border-radius:6px}.profile-skeleton-card{width:100%;height:140px;border-radius:14px}.profile-standings{list-style:none;margin:0;padding:0}.profile-standings li{display:flex;align-items:center;gap:12px;padding:14px 0}.profile-standings li+li{border-top:1px solid var(--border)}.profile-standings li.is-current{background:var(--muted);border-radius:10px;padding-inline:10px}.profile-standings li>span:first-child{flex:none;min-width:28px;color:var(--muted-foreground);font-size:13px}.profile-standings li>span:nth-child(2){width:36px;height:36px;flex:none;font-size:13px}.profile-standings li>div{flex:1;min-width:0}.profile-standings strong{font-size:13px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.profile-standings small{display:block;margin-top:3px;color:var(--muted-foreground);font-size:11px;line-height:1.5;font-weight:400}.profile-standings li>b{flex:none;text-align:right;font-size:14px}.profile-page{min-height:100dvh;background:#f6f8fb;padding:16px max(12px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom))}.profile-page-header{display:flex;justify-content:flex-end;max-width:720px;margin:0 auto}.profile-page-header [data-slot=button]{color:var(--primary)}.profile-page .profile-content{max-width:720px;margin:auto}.profile-spinner{animation:profile-spin 1s linear infinite}@keyframes profile-spin{to{transform:rotate(360deg)}}@media(max-width:767px){.profile-dialog.profile-sheet{width:calc(100% - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.profile-ui .profile-sheet-header{min-height:60px;padding:8px 16px}.profile-content{padding:16px;gap:14px}.profile-card>div{padding:16px}.profile-card>div+div{padding-top:0}.profile-name h1{font-size:23px}.profile-stats{gap:8px}.profile-stats span{font-size:11px}.profile-card .profile-section-header{gap:6px;padding-bottom:10px}.profile-section-header [data-slot=button]{padding-left:10px;padding-right:10px;font-size:13px}.profile-ui .profile-achievement{flex-basis:96px}.profile-achievements-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 0}.profile-subheader{gap:8px}.profile-subheader h2{font-size:20px}.profile-page .profile-content{padding:12px 0}}@media(max-width:359px){.profile-achievements-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.profile-ui *,.profile-dialog,.profile-dialog-overlay{animation:none;transition:none}}.profile-card>.profile-hidden-header{padding:0}.profile-card>.profile-hidden-header+div{padding-top:20px}.profile-ui .profile-form button[type=submit]{color:var(--primary-foreground)}.profile-ui [data-slot=button]:disabled{opacity:1;background:var(--muted);color:var(--muted-foreground);box-shadow:none}.profile-ui input:disabled{opacity:1;background:var(--muted);color:var(--muted-foreground)}.profile-ui .profile-form button[type=submit]:disabled{color:var(--muted-foreground)}
