/* osu!watch: Discord's own dark. The section wears the osu!daily pink, the
   embed keeps the blue the bot itself sets (3447003).
   All selectors stay under #site-osu-watch. */

#site-osu-watch::before {
    background:
        radial-gradient(80% 60% at 12% 20%, rgba(232, 109, 178, .10), transparent 62%),
        linear-gradient(180deg, var(--bg), #0b1016 50%, var(--bg));
}

#site-osu-watch .sh__lede code,
#site-osu-watch .ow__cmds code {
    font-family: var(--mono);
    font-size: .86em;
    padding: .1em .4em;
    border-radius: 5px;
    background: rgba(255, 255, 255, .08);
    color: var(--ink);
}

#site-osu-watch .ow__note {
    margin: 2rem 0 0;
    color: var(--dim);
    font-size: .92rem;
}
#site-osu-watch .ow__note b { color: var(--accent); }

#site-osu-watch .ow__cmds {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    gap: .45rem;
    max-width: 42ch;
}

#site-osu-watch .ow__cmds li {
    display: flex;
    align-items: baseline;
    gap: .7rem;
}

#site-osu-watch .ow__cmds span { font-size: .84rem; color: var(--mute); }

/* ---- the notification, as Discord renders it ---- */

#site-osu-watch .ow__discord {
    background: #313338;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--r-lg);
    padding: 14px 16px;
    box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .95);
    font-size: 14px;
    line-height: 1.4;
    color: #dbdee1;
}

#site-osu-watch .ow__msg { display: flex; gap: 12px; }

#site-osu-watch .ow__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex: none;
    object-fit: cover;
}

#site-osu-watch .ow__body { flex: 1; min-width: 0; }

#site-osu-watch .ow__who {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #f2f3f5;
    display: flex;
    align-items: center;
    gap: 6px;
}

#site-osu-watch .ow__bot {
    background: #5865f2;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    letter-spacing: .02em;
}

#site-osu-watch .ow__who time { font-size: 11px; font-weight: 400; color: #949ba4; }

/* the coloured bar down the left is the embed colour the bot sets */
#site-osu-watch .ow__embed {
    position: relative;
    margin-top: 2px;
    padding: 10px 12px 12px 14px;
    border-radius: 4px;
    background: #2b2d31;
    border-left: 4px solid #3498db;
    min-height: 96px;
}

#site-osu-watch .ow__author { margin: 0 0 3px; font-size: 12px; font-weight: 600; color: #f2f3f5; }

#site-osu-watch .ow__title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #00a8fc;
    padding-right: 90px;
}

#site-osu-watch .ow__len,
#site-osu-watch .ow__dl { margin: 0 0 4px; font-size: 12px; }

#site-osu-watch .ow__embed code {
    font-family: var(--mono);
    font-size: 11px;
    padding: 1px 4px;
    border-radius: 3px;
    background: #1e1f22;
    color: #dbdee1;
}
#site-osu-watch .ow__dl code { color: #00a8fc; }

#site-osu-watch .ow__diffs {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 2px;
}

#site-osu-watch .ow__diffs li {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#site-osu-watch .ow__diffs b {
    font-family: var(--mono);
    color: #f0c674;
    font-weight: 700;
}

#site-osu-watch .ow__diffs span { color: #00a8fc; font-family: var(--mono); }

#site-osu-watch .ow__more { color: #949ba4; font-style: italic; }

#site-osu-watch .ow__thumb {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 4px;
}

@media (max-width: 520px) {
    #site-osu-watch .ow__thumb { display: none; }
    #site-osu-watch .ow__title { padding-right: 0; }
}
