/* This css was originally based on: https://discord-embed.glitch-bypass.com/
Go check them out, they are a really smart person!
*/

.ds-main {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    color: #fff;
    position: relative;
    background-color: #2c2f33;
    background-image: var(--ds-banner, none);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 12px;
    overflow: hidden;
}

.ds-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    border-radius: 12px;
}

.ds-main h1,
.ds-main p,
.ds-main label,
.ds-main div,
.ds-main span,
.ds-main button {
    user-select: none;
    -webkit-user-select: none;
    /* Safari/Chrome */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
}

.ds-inputs input,
.ds-inputs textarea {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.ds-container {
    position: relative;
    z-index: 1;
    padding: 16px;
    max-width: 400px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ds-avatar-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    overflow: visible;
}

.ds-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.ds-decoration {
    position: absolute;
    width: 120%;
    height: 120%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    object-fit: contain;
}

.ds-status-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    bottom: -2px;
    right: -2px;
    border: 3px solid rgba(0, 0, 0, 0.6);
}

.ds-status-dot[data-status="online"] {
    background: #43b581;
}

.ds-status-dot[data-status="idle"] {
    background: #faa61a;
}

.ds-status-dot[data-status="dnd"] {
    background: #f04747;
}

.ds-status-dot[data-status="offline"] {
    background: #747f8d;
}

.ds-profile-info {
    margin-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ds-username-line {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ds-username-text {
    font-size: 1.2rem;
}

.ds-username-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    opacity: 0.85;
}

.ds-clan-icon {
    height: 1em;
    width: auto;
    vertical-align: middle;
}

.ds-clan-tag-border {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
    line-height: 1.4;
}

.ds-activity {
    width: 100%;
    padding: 10px 16px 14px;
    background: rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ds-activity--empty::before {
    display: none;
}

.ds-activity::before {
    content: attr(data-label);
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #b9bbbe;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ds-activity-inner {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ds-activity-icons {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.ds-activity-large-icon {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
}

.ds-activity-small-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    bottom: -4px;
    right: -4px;
    border: 2px solid #23262a;
    object-fit: cover;
}

.ds-activity-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
    text-align: left;
}

.ds-activity-name {
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-activity-details,
.ds-activity-state {
    font-size: 0.8rem;
    color: #b9bbbe;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-activity-elapsed {
    font-size: 0.78rem;
    color: #87898c;
    margin-top: 2px;
}

.ds-activity-empty {
    font-size: 0.8rem;
    color: #4f545c;
    text-align: center;
    padding: 4px 0;
    font-style: italic;
}

.ds-pronouns {
    font-size: 0.9rem;
    color: #b9bbbe;
    margin-top: 2px;
}

.ds-badges {
    margin-top: 4px;
    display: flex;
    gap: 4px;
}

.ds-badges img {
    height: 24px;
    vertical-align: middle;
}