/* Message names are ordinary Discord text. Only the application badge is blue. */
.tools-page .panel{border-radius:10px}.tools-page h1{font-size:clamp(26px,4vw,34px);letter-spacing:-.5px}.discord-preview :is(strong,.preview-author,.live-embed-title){font-family:inherit}
.preview-author>span:not(.discord-app-badge){font:inherit;background:none;padding:0;margin:0;border-radius:0;color:#f2f3f5;vertical-align:baseline}
.discord-app-badge,.preview-author>.discord-app-badge{display:inline-flex;align-items:center;gap:2px;background:#5865f2;color:#fff;border-radius:3px;padding:1px 4px;margin-left:4px;font:600 10px/14px system-ui,sans-serif;vertical-align:middle;white-space:nowrap}
.discord-app-badge svg{width:13px;height:13px;flex:none}
.discord-preview{font-family:"gg sans","Noto Sans",system-ui,sans-serif}.live-embed{width:100%;max-width:520px;box-sizing:border-box}.live-embed-image{display:block;grid-column:1/-1;width:auto;max-width:100%;height:auto;max-height:350px;object-fit:contain;border-radius:4px;margin-top:12px}.live-embed-thumb{display:block;max-width:80px;object-fit:contain}.preview-avatar{object-fit:cover}
.preview-media-error{display:block;grid-column:1/-1;font-size:12px;color:#b5bac1;margin:8px 0;line-height:1.5}.discord-ticket-menu{margin-top:8px;background:#1e1f22;border:1px solid #111214;border-radius:4px;color:#dbdee1;width:100%;max-width:400px;padding:10px 12px;font:14px/1.5 system-ui;box-sizing:border-box}.preview-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.preview-action{display:inline-flex;gap:6px;align-items:center;border:0;border-radius:4px;padding:8px 16px;background:#5865f2;color:white;font:500 14px/1.3 system-ui}.preview-action.preview-link{background:#4e5058}.preview-action:disabled{opacity:.55}.preview-action img{width:20px;height:20px;object-fit:contain}
.xp-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.xp-summary>div{padding:18px;border:1px solid #ffffff18;border-radius:8px;background:#15131c}.xp-summary strong{display:block;font-size:25px;margin-top:6px}.xp-summary span,.xp-estimate{color:#b5acbf;font-size:13px}.xp-progress{width:110px;max-width:100%;height:7px;accent-color:#a782df}.xp-member-action{min-height:36px}.tools-page .panel,.dashboard-embed .embed-card{box-shadow:none}.tools-page .page-heading .eyebrow{letter-spacing:.03em}.tools-page .preview-heading>span{display:none}.tool-form [data-tool-status]:empty{display:none}
@media(max-width:600px){.xp-summary{grid-template-columns:1fr}.discord-preview{padding:16px 10px;gap:8px}.preview-avatar{width:32px;height:32px;flex-basis:32px}.live-embed{padding:12px}.live-embed.has-thumbnail{grid-template-columns:minmax(0,1fr) 56px}.live-embed-thumb{width:56px;height:56px}}

.network-summary dt,.server-result-metrics dt,.shard-card dt,.overview-metrics>div>span{display:flex;align-items:center;gap:7px}.network-summary dt svg,.server-result-metrics dt svg,.shard-card dt svg,.overview-metrics>div>span svg{width:16px;height:16px;flex-shrink:0;color:#ba8fe6}

.order-facts dt{display:flex;align-items:center;gap:7px}.order-facts dt svg{width:16px;height:16px;flex-shrink:0;color:#ba8fe6}

/* Shared Discord surfaces: message previews, profile cards, and saved profiles. */
.discord-preview{background:#313338;color:#dbdee1;font:400 14px/1.45 "gg sans","Noto Sans",system-ui,sans-serif;border:1px solid #1e1f22;border-radius:8px;box-shadow:none}
.discord-preview:has(>.preview-message){display:grid;grid-template-columns:40px minmax(0,1fr);gap:4px 16px;padding:20px 16px}
.discord-preview>.preview-avatar{grid-column:1;grid-row:1;width:40px;height:40px;border-radius:50%;object-fit:cover;margin:0}
.discord-preview>.preview-message{grid-column:2;grid-row:1;min-width:0}
.discord-preview .preview-author{display:flex;align-items:center;flex-wrap:wrap;gap:4px;color:#f2f3f5;font-size:16px;font-weight:500;line-height:22px;margin:0 0 4px}
.discord-preview .preview-author time{color:#949ba4;font-size:11px;font-weight:400;margin-left:4px}
.discord-preview .preview-content{font-size:15px;line-height:1.45;color:#dbdee1;white-space:pre-wrap;overflow-wrap:anywhere}
.discord-preview .live-embed{background:#2b2d31;border-radius:4px;border-left-width:4px;box-shadow:none;padding:12px 16px;line-height:1.4}
.discord-preview .live-embed-title{color:#00a8fc;font-size:16px;font-weight:600}
.discord-preview :is(.live-embed-description,.live-embed-field-value){font-size:14px;color:#dbdee1;line-height:1.45}
.discord-preview :is(.live-embed-author,.live-embed-field-name){font-size:14px;font-weight:600;color:#f2f3f5}
.discord-preview .live-embed-footer{font-size:12px;color:#dbdee1}
.discord-preview :is(.preview-channel,.preview-top){background:#313338;color:#f2f3f5;border-bottom:1px solid #232428;box-shadow:0 1px 0 #0002}
.discord-preview .discord-mention{background:#5865f24d;color:#c9cdfb;border-radius:3px;padding:0 2px}
.discord-preview .discord-timestamp{background:#ffffff14;color:#dbdee1;border-radius:3px;padding:0 3px}
.discord-preview :is(.ticket-support-embed,.discord-embed){background:#2b2d31;border-radius:4px;box-shadow:none;color:#dbdee1}
.discord-preview :is(.ticket-author,.discord-name){color:#f2f3f5;font-size:16px}
.discord-preview :is(.ticket-avatar,.discord-message>img){border-radius:50%;object-fit:cover}
.discord-preview :is(.ticket-app,.app-tag){background:#5865f2;color:#fff;border-radius:3px;font:600 10px/14px system-ui;padding:1px 4px}
.discord-preview .discord-composer{background:#383a40;color:#949ba4;border-radius:8px}
.brand-discord-card,.brand-saved-card{background:#232428;color:#f2f3f5;border:1px solid #111214;border-radius:8px;box-shadow:none;overflow:hidden}
.brand-discord-card .branding-banner,.brand-saved-card .saved-brand-cover{background-color:#5865f2}
.brand-discord-card .branding-person,.brand-saved-card .brand-saved-content{background:#232428}
.brand-discord-card [data-brand-preview=avatar],.brand-saved-card .saved-brand-avatar{border-radius:50%;object-fit:cover;border-color:#232428}
.brand-discord-card .brand-about{background:#111214;border-radius:8px;padding:12px;color:#dbdee1}
.brand-discord-card .brand-about>span{color:#f2f3f5;font-size:12px;font-weight:700}
.brand-discord-card .brand-about p{font-size:14px;line-height:1.5}
.branding-preview:has(.discord-current-status) .brand-live-status{display:none}
.discord-current-status{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#b5bac1;font:400 12px/1.5 "gg sans",system-ui,sans-serif;padding:10px 0 0;min-width:0;flex-basis:100%;box-sizing:border-box}
.discord-preview>.discord-current-status{grid-column:2}
.discord-current-status>i{width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:#80848e;position:relative}
.discord-current-status[data-presence=online]>i{background:#23a55a}
.discord-current-status[data-presence=idle]>i{background:#f0b232;box-shadow:inset -3px -2px 0 #313338}
.discord-current-status[data-presence=dnd]>i{background:#f23f43}
.discord-current-status[data-presence=dnd]>i:after{content:"";position:absolute;width:6px;height:2px;left:2px;top:4px;background:#313338;border-radius:2px}
.discord-current-status[data-presence=offline]>i{background:transparent;border:2px solid #80848e;box-sizing:border-box}
.discord-current-status[data-presence=unavailable]>i,.discord-current-status[data-presence=mixed]>i{background:transparent;border:1px dashed #949ba4;box-sizing:border-box}
.discord-current-status [data-current-activity]{flex-basis:100%;padding-left:16px;overflow-wrap:anywhere}
.discord-current-status [data-current-activity]:empty{display:none}
:is(.brand-discord-card,.brand-saved-card)>.discord-current-status{padding:0 16px 16px}
.server-result-profile{flex-wrap:wrap}
.server-result-profile>.discord-current-status{padding-top:6px}
.server-result-profile .server-result-name{color:#f2f3f5}
.home-page .discord-preview>.discord-current-status{padding:12px 16px;background:#2b2d31;border-top:1px solid #232428}
@media(max-width:600px){.discord-preview:has(>.preview-message){grid-template-columns:32px minmax(0,1fr);gap:4px 10px;padding:16px 10px}.discord-preview>.preview-avatar{width:32px;height:32px}.discord-preview .live-embed{padding:12px}.discord-current-status{font-size:11px}}

.discord-bio-emoji{display:inline-block!important;width:20px!important;height:20px!important;max-width:20px;object-fit:contain;vertical-align:-5px;margin:0 1px!important;border:0!important;border-radius:0!important;background:none!important}
.discord-profile-actions{padding:0 16px 16px}.brand-saved-content .discord-profile-actions{padding:0 0 12px}
.discord-add-app{display:flex;align-items:center;justify-content:center;min-height:32px;border-radius:4px;background:#5865f2;color:#fff;font:500 13px/1.3 system-ui;text-decoration:none}
.discord-add-app:hover{background:#4752c4;color:#fff}

.brand-discord-card .branding-person{position:relative;display:flow-root;padding:58px 20px 24px}
.brand-discord-card .branding-person>[data-brand-preview=avatar]{position:absolute;top:-46px;left:16px;z-index:2;width:92px;height:92px;margin:0;border:6px solid #232428;box-sizing:border-box}
.brand-discord-card .branding-person .brand-preview-identity{margin-top:0}
.brand-saved-card .brand-saved-content{position:relative;display:flow-root;padding:46px 20px 12px}
.brand-saved-card .brand-saved-content>.saved-brand-avatar{position:absolute;top:-32px;left:16px;z-index:2;width:64px;height:64px;margin:0;border:5px solid #232428;box-sizing:border-box}
.brand-library-dialog .brand-saved-card .brand-saved-content{padding:42px 16px 12px}
.brand-library-dialog .brand-saved-card .brand-saved-content>.saved-brand-avatar{top:-32px;left:12px;margin:0}
.server-result:has(.server-result-banner:not([hidden])) .server-result-body{position:relative;padding-top:48px}
.server-result:has(.server-result-banner:not([hidden])) .server-result-profile>[data-server-avatar]{position:absolute;top:-36px;left:16px;z-index:2;width:72px;height:72px;box-sizing:border-box;border:5px solid #1b1522;background:#1b1522}
.overview-profile>.discord-current-status{padding:0 28px 20px}
.discord-preview>.discord-current-status,discord-messages>.discord-current-status{display:none}

.discord-profile-avatar{position:relative;display:block;flex:none;box-sizing:content-box}
.discord-profile-avatar>img{display:block}
.discord-profile-status-dot{position:absolute;right:0;bottom:0;width:16px;height:16px;border-radius:50%;background:#80848e;border:4px solid #232428;box-sizing:content-box}
.discord-profile-status-dot[data-presence=online]{background:#23a55a}
.discord-profile-status-dot[data-presence=idle]{background:#f0b232}
.discord-profile-status-dot[data-presence=idle]:after{content:'';position:absolute;width:11px;height:11px;top:-2px;left:-2px;border-radius:50%;background:#232428}
.discord-profile-status-dot[data-presence=dnd]{background:#f23f43}
.discord-profile-status-dot[data-presence=dnd]:after{content:'';position:absolute;width:10px;height:3px;left:3px;top:6px;border-radius:2px;background:#232428}
.discord-profile-status-dot[data-presence=offline]{background:#232428;box-shadow:inset 0 0 0 4px #80848e}
.discord-profile-status-dot:is([data-presence=unavailable],[data-presence=mixed]){background:#232428;outline:1px dashed #949ba4;outline-offset:-6px}
:is(.brand-discord-card,.brand-saved-card,.server-result-profile,.overview-profile) .discord-current-status{padding:0;margin:4px 0 10px;gap:0;color:#b5bac1}
:is(.brand-discord-card,.brand-saved-card,.server-result-profile,.overview-profile) .discord-current-status [data-current-activity]{padding:0}
.server-result-profile .discord-profile-status-dot{width:10px;height:10px;border-width:3px}

.brand-discord-card,.brand-saved-card{position:relative}.brand-discord-card>.discord-profile-actions{position:absolute;top:132px;right:16px;padding:0}.brand-saved-content>.discord-profile-actions{position:absolute;top:10px;right:12px;padding:0}.discord-profile-actions .discord-add-app{padding:6px 12px}.brand-discord-card .branding-person{padding-top:58px}.brand-saved-content>h2{padding-top:12px}

/* Discord mini profiles share fixed avatar geometry, independent of page width. */
:is(.overview-profile,.brand-discord-card,.brand-saved-card){--profile-surface:#232428;--profile-avatar-size:92px;width:340px;max-width:100%;box-sizing:border-box;font:14px/1.4 "gg sans","Noto Sans",system-ui,sans-serif;background:#232428;color:#f2f3f5;border:1px solid #111214;border-radius:8px;overflow:hidden}
.branding-preview{width:340px;max-width:100%;justify-self:center}
:is(.overview-profile-cover,.branding-banner,.brand-library-dialog .saved-brand-cover,.saved-brand-cover){height:120px;background-color:#5865f2;background-image:none}
:is(.overview-profile-body,.brand-discord-card .branding-person,.brand-saved-card .brand-saved-content,.brand-library-dialog .brand-saved-card .brand-saved-content){position:relative;display:flow-root;padding:60px 16px 16px;background:#232428}
:is(.overview-profile-body,.branding-person,.brand-saved-content)>.discord-profile-avatar{position:absolute;top:-46px;left:16px;z-index:2;width:var(--profile-avatar-size);height:var(--profile-avatar-size);margin:0;box-sizing:border-box}
:is(.overview-profile,.brand-discord-card,.brand-saved-card) .discord-profile-avatar>img{position:static;display:block;width:100%;height:100%;max-width:none;margin:0;border:6px solid #232428;border-radius:50%;object-fit:cover;box-sizing:border-box;background:#232428}
:is(.overview-profile,.brand-discord-card,.brand-saved-card) .discord-profile-status-dot{right:2px;bottom:2px;width:24px;height:24px;border:5px solid #232428;box-sizing:border-box;z-index:3}
:is(.overview-profile,.brand-discord-card,.brand-saved-card) .discord-profile-status-dot[data-presence=dnd]:after{width:10px;height:3px;left:2px;top:5px}
:is(.overview-profile,.brand-discord-card,.brand-saved-card) .discord-profile-status-dot[data-presence=idle]:after{width:11px;height:11px;top:-2px;left:-2px}
:is(.overview-profile-identity h2,.brand-preview-identity,.brand-saved-content>h2){display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:20px;font-weight:700;line-height:1.3;letter-spacing:0;margin:0;padding:0;color:#f2f3f5;overflow-wrap:anywhere}
.brand-preview-identity strong{font:inherit}.discord-app-badge{margin-left:0;letter-spacing:0}
:is(.overview-profile-body>.discord-add-app,.brand-discord-card>.discord-profile-actions,.brand-saved-content>.discord-profile-actions){position:absolute;top:12px;right:16px;padding:0;z-index:1}
.brand-discord-card>.discord-profile-actions{top:132px}
:is(.overview-profile,.brand-discord-card,.brand-saved-card) .discord-add-app{padding:7px 12px;min-height:32px;width:auto;box-sizing:border-box;font-size:13px}
:is(.overview-profile,.brand-discord-card,.brand-saved-card) .discord-current-status{margin:6px 0 12px;padding:0;min-height:0}
:is(.overview-profile,.brand-discord-card,.brand-saved-card) .discord-current-status:has([data-current-activity]:empty){margin:0}
:is(.overview-profile .overview-about,.brand-discord-card .brand-about){margin:16px 0 0;padding:12px 0 0;background:transparent;border:0;border-top:1px solid #ffffff14;border-radius:0}
:is(.overview-about>span,.brand-about>span){font-size:12px;font-weight:700;letter-spacing:0;color:#f2f3f5}
:is(.overview-about p,.brand-about>p,.brand-saved-card .saved-brand-bio){font:14px/1.5 "gg sans","Noto Sans",system-ui,sans-serif;color:#dbdee1;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:none;min-height:0}
.brand-saved-card .brand-saved-content>h2{padding-top:0}.brand-saved-card .saved-brand-name{color:#b5bac1;font-size:12px}.brand-saved-card .brand-card-footer{margin-top:16px}
.server-result-profile>.discord-profile-avatar{position:relative;width:48px;height:48px;margin:0;flex:none}.server-result-profile>.discord-profile-avatar>img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.server-result:has(.server-result-banner:not([hidden])) .server-result-profile>.discord-profile-avatar{position:absolute;top:-36px;left:16px;width:72px;height:72px;z-index:2}
.server-result:has(.server-result-banner:not([hidden])) .discord-profile-avatar>img{border:5px solid #232428;box-sizing:border-box}

.brand-library-dialog .brand-saved-content>h2{font-size:20px;font-weight:700;line-height:1.3;margin:0;padding:0;color:#f2f3f5}
.brand-saved-card .brand-about{margin:16px 0 0;padding:12px 0 0;border:0;border-top:1px solid #ffffff14;background:transparent;border-radius:0}
.brand-library-dialog .brand-saved-card .saved-brand-bio{padding:0;background:transparent;border-radius:0;margin:8px 0 0;font-size:14px;line-height:1.5;max-height:none}
.brand-library-dialog .saved-brand-bio:before{content:none}
