body {
    margin: 20px;
    background-image: url("bg.gif");
    background-repeat: repeat;
    background-size: 75px 75px;
    background-attachment: fixed;
    font-family: "Segoe UI", sans-serif;
}

.main-window,
.discord-window {
    max-width: 650px;
    margin: 20px auto;
}

.window {
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}



.window-body a {
    color: var(--link);
}

.content {
    text-align: center;
    margin: 0;
    font-size: 15px;
}

#discord-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar-container {
    position: relative;
    width: 64px;
    height: 64px;
    margin-top: 8px;
    margin-left: 8px;
    flex-shrink: 0;
}

#avatar {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    display: block;
    margin: 0 !important;
}

#avatar-decoration {
    position: absolute;
    top: -6px;
    left: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    pointer-events: none;
    display: none;
}

#username {
    font-size: 18px;
    font-weight: 600;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 12px;
}

#status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

#activities {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity {
    display: flex;
    gap: 10px;
    padding: 8px;
}

.activity-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: block;
}

.img-wrap {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 64px;
    margin-right: 12px;
    flex-shrink: 0;
}

.small-icon {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: #ffffff;
}

.activity-body {
    flex: 1;
}

.activity-type {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.activity-title {
    font-weight: 600;
    margin-top: 2px;
}

.activity-details {
    margin-top: 2px;
    font-size: 12px;
    color: #444;
}

.title {
    display: flex;
    justify-content: center;
}

[role="progressbar"].is-paused>div {
    background: linear-gradient(to bottom,
            #ffeb9c 0%,
            #f3b110 40%,
            #e09900 60%,
            #b87b00 100%) !important;
    background-color: #f3b110 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

[role="progressbar"].animate.is-paused>div::after,
[role="progressbar"].animate.is-paused::after {
    animation: none !important;
    display: none !important;
}