/* Fixed profile colors: do not derive a theme from account or avatar colors. */
body { padding: 40px 20px; min-height: 100svh; }
.columnsContainer { grid-template-columns: repeat(2, minmax(0, 340px)); width: 100%; max-width: 712px; margin-inline: auto; gap: 32px; align-items: center; }
.liveProfile { min-width: 0; color: #f2f3f5; background: #09090b; border: 1px solid #252529; border-radius: 15px; padding: 22px 16px 16px; box-shadow: 0 20px 65px #0008; font-family: 'gg sans', 'Inter', sans-serif; }
.profileTop { display: flex; align-items: flex-end; justify-content: center; gap: 18px; min-height: 96px; margin: 4px 10px 22px; }
.liveProfile:has(.profileBanner) .profileTop { margin-top: 74px; }
.profileAvatar { position: relative; width: 88px; height: 88px; flex: 0 0 88px; }
.profilePhoto { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #202024; }
.liveProfile { position: relative; isolation: isolate; }
.profileBanner { position: absolute; inset: 0 0 auto; height: 180px; z-index: -1; overflow: hidden; border-radius: 14px 14px 0 0; background: #202024; pointer-events: none; }
.profileBanner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #0003, #09090b22 45%, #09090b); }
.liveProfile:has(.profileBanner) .profilePhoto { box-shadow: 0 0 0 5px #09090b; }
.profileBannerImage { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatarDecoration { position: absolute; width: 120%; height: 120%; left: -10%; top: -10%; pointer-events: none; }
.presence { position: absolute; bottom: 0; right: 0; width: 23px; height: 23px; border: 5px solid #09090b; border-radius: 50%; background: #80848e; }
.online { background: #23a55a; } .idle { background: #f0b232; } .dnd { background: #f23f43; } .offline,.unknown { background: #80848e; }
.presence.dnd:after { content: ''; position: absolute; width: 9px; height: 3px; background: #09090b; top: 5px; left: 2px; border-radius: 2px; }
.presence.idle:after { content: ''; position: absolute; width: 10px; height: 10px; background: #09090b; top: -2px; left: -2px; border-radius: 50%; }
.profileBody { padding: 16px 13px 13px; border-radius: 7px; background: #111113; }
.profileTitleRow { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.profileHeading { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; flex: 1; }
.profileHeading h2 { font-size: 23px; line-height: 1.2; font-weight: 750; overflow-wrap: anywhere; }
.serverTag { display: inline-flex; align-items: center; gap: 5px; background: #20202c; border: 1px solid #34344b; padding: 3px 7px; border-radius: 8px; font-size: 12px; }
.serverTag img { width: 17px; height: 17px; }
.profileUsername { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-top: 7px; overflow-wrap: anywhere; }
.profileMeta { display: flex; align-items: center; justify-content: flex-end; flex: 0 0 auto; max-width: 48%; padding-top: 5px; color: #b5bac1; font-size: 12px; }
.devices { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; } .device { display: inline-flex; align-items: center; gap: 4px; }
.device svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.profileBadges { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 2px 5px; background: #202024; width: fit-content; border-radius: 5px; }
.profileBadge { width: 18px; height: 18px; object-fit: contain; }
.customStatus { position: relative; min-width: 0; max-width: 180px; margin: 0 0 5px; padding: 11px 15px; border: 1px solid #3b3c40; border-radius: 22px; background: #232428; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; color: #f2f3f5; }
.customStatus::before,.customStatus::after { content: ''; position: absolute; border: 1px solid #3b3c40; border-radius: 50%; background: #232428; }
.customStatus::before { width: 17px; height: 17px; top: -11px; left: 12px; border-bottom-color: #232428; }
.customStatus::after { width: 9px; height: 9px; top: -21px; left: -4px; }
.profileAbout { border-top: 1px solid #303034; margin-top: 18px; padding-top: 16px; }
.profileAbout h3 { font-size: 12px; margin-bottom: 9px; }
.profileConnections { border-top: 1px solid #303034; margin-top: 16px; padding-top: 16px; }
.profileConnections h3 { font-size: 12px; margin-bottom: 12px; }
.connectedAccounts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 3px 0 7px; }
.connectionIcon { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 6px; border-radius: 8px; color: #f2f3f5; text-decoration: none; }
a.connectionIcon:hover { background: #27272c; transform: translateY(-2px); }
.connectionIcon svg { width: 24px; height: 24px; }
.connectionName,.connectionsEmpty { font-size: 12px; overflow-wrap: anywhere; }
.connectionsEmpty { padding: 5px 0 10px; line-height: 1.5; }
.connectionIcon:focus-visible { outline: 2px solid #39b8f5; outline-offset: 3px; }
.profileBio { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; }
.profileBio a { color: #39b8f5; text-decoration: none; } .profileBio a:hover { text-decoration: underline; }
.muted { color: #969ba4; } .profileNotice { margin: 8px 0 15px; color: #d7bb81; font-size: 12px; line-height: 1.5; }
.messageForm { margin-top: 18px; }
.messageForm textarea { display: block; width: 100%; min-height: 44px; box-sizing: border-box; resize: none; padding: 11px 12px; border: 1px solid #45454c; border-radius: 5px; background: #09090b; color: #f2f3f5; font: inherit; font-size: 13px; line-height: 1.45; }
.messageForm textarea::placeholder { color: #969ba4; }
.messageForm textarea:focus-visible,.profileBio a:focus-visible { outline: 2px solid #39b8f5; outline-offset: 3px; }
.srOnly { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 720px) { .columnsContainer { grid-template-columns: minmax(0, 340px); } body { padding: 30px 16px; } }
