/* ============================================================
   SkibidiLii Partner CSS v3
   ============================================================ */

/* Feature 1: Partner Badge / Custom Icon */
.partner_badge {
    color: #c8820a;
    font-size: 16px;
    margin-left: 4px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
}

.partner_icon {
    width: 14px;
    height: 14px;
    max-width: 14px;
    max-height: 14px;
    vertical-align: middle;
    margin-left: 4px;
    position: relative;
    top: -1px;
    cursor: default;
    image-rendering: auto;
    float: none !important;       /* defeat .wt_des img { float:left } in uploader block */
    display: inline-block !important;
}

/* Profile page header — slightly larger */
#ch_profile .partner_icon,
.profile_username .partner_icon,
strong > .partner_badge .partner_icon {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
}

/* Smaller variant for comments (kept explicit even though it matches default) */
.wt_c_sct .partner_badge,
.wt_c_sct .partner_icon {
    font-size: 13px;
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    margin-left: 3px;
    top: -1px;
}

/* Watch page uploader block — keep partner icon inline (not floated by .wt_des img rule) */
.wt_des .partner_badge,
.wt_des .partner_badge img.partner_icon {
    float: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
}
.wt_des .partner_icon {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
}

/* Search result variant */
.r_partner_badge {
    color: #c8820a;
    font-size: 13px;
    margin-left: 2px;
    vertical-align: middle;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
}

/* Feature 3: Announcement bar — neutral, immune to channel theme */
.partner_announcement {
    background: #f0f0f0 !important;
    border-bottom: 1px solid #989898 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    padding: 5px 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #333 !important;
    border-radius: 0 !important;
}

/* Feature 4: Social links */
.partner_social_links {
    margin: 5px 0 0;
}
.partner_social_links a {
    font-size: 12.3px;
    color: #06c;
    text-decoration: none;
}
.partner_social_links a:hover { text-decoration: underline; }
.partner_social_sep { color: #bbb; margin: 0 4px; font-size: 11px; }

/* Feature 5: Video Spotlight — .nm_in gives it the channel theme BG */
.partner_spotlight_hd {
    color: #c8820a;
    font-size: 12px;
    margin-right: 4px;
}
.sp_title {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #06c;
    text-decoration: none;
    margin-bottom: 3px;
    line-height: 1.3;
}
.sp_title:hover { text-decoration: underline; }
.sp_meta { font-size: 11px; color: #666; margin-bottom: 4px; }
.sp_desc { font-size: 12px; color: #444; line-height: 1.4; }

/* Feature 6: Milestone plaques */
.plaque_milestone {
    display: inline-block;
    background: #edede9;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px 7px;
    font-size: 11px;
    margin: 0 4px 4px 0;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
    color: #444;
}
.plaque_bronze { border-color: #b87333; color: #7a4a10; background: #fdf0e0; }
.plaque_silver { border-color: #999;    color: #444;    background: #f4f4f4; }
.plaque_gold   { border-color: #c8820a; color: #6b4700; background: #fdf5dc; }
.plaque_plat   { border-color: #5a8fc4; color: #1a4e7a; background: #e8f2fb; }
.plaque_diam   { border-color: #9b59b6; color: #5b2d8e; background: #f4ecfb; }

/* Feature 7: Thumbnail P badge */
.th_p {
    position: absolute;
    top: 3px;
    left: 3px;
    background: rgba(200,130,10,0.88);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 2px;
    line-height: 14px;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    z-index: 2;
}

/* Feature 8: Poll — .nm_in gives channel theme BG */
.poll_question {
    font-size: 13px;
    font-weight: bold;
    color: #222;
    margin-bottom: 9px;
    line-height: 1.4;
}
.poll_option_row { margin-bottom: 6px; font-size: 13px; }
.poll_option_row label { cursor: pointer; color: #333; }
.poll_option_row input[type="radio"] {
    cursor: pointer;
    margin-right: 5px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}
.poll_vote_btn { margin-top: 8px; padding: 3px 12px; font-size: 12px; cursor: pointer; }
.poll_res_row { margin-bottom: 7px; font-size: 12px; }
.poll_res_label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
    color: #333;
}
.poll_res_bar_bg {
    background: #e8e8e8;
    border: 1px solid #ccc;
    border-radius: 2px;
    height: 12px;
    overflow: hidden;
}
.poll_res_bar { background: #4a90d9; height: 100%; min-width: 2px; }
.poll_total { margin-top: 7px; font-size: 11px; color: #888; }

/* Channel title tag [TAG] in comments and profile */
.ch_tag {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    font-style: normal;
    padding: 0 5px;
    border-radius: 2px;
    margin-left: 4px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
    text-decoration: none;
}

/* Tag font variants */
.ch_tag.tag_bold        { font-weight: 900; }
.ch_tag.tag_italic      { font-style: italic; font-weight: bold; }
.ch_tag.tag_bold_italic { font-weight: 900; font-style: italic; }
.ch_tag.tag_mono        { font-family: "Courier New", Courier, monospace; font-size: 10px; }
.ch_tag.tag_serif       { font-family: Georgia, "Times New Roman", serif; }
.ch_tag.tag_impact      { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; letter-spacing: 0.5px; }

/* Tag gradient text */
.ch_tag.tag_gradient {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 100%;
}

/* ==========================================================
   RSS Feed Icon — used on Subscriptions widget header and
   channel profile name. Inline, no float, no border.
   ========================================================== */
.feed_link {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    text-decoration: none;
    border: 0;
}
.feed_link img {
    display: inline-block !important;
    vertical-align: middle !important;
    border: 0 !important;
    float: none !important;
    background: transparent !important;
}
/* In .wt_des and .wdg blocks the surrounding "img { float:left }"
   rules need an explicit override so the RSS icon stays inline. */
.wdg .feed_link img,
.wt_des .feed_link img {
    float: none !important;
    display: inline-block !important;
}

/* The widget header is a flex row (display:flex; justify-content:space-between).
   Adding a 3rd child (the RSS feed anchor) made `space-between` spread the
   children, pushing our RSS icon into the dead middle of the header. Fix:
   override the flex distribution so the RSS icon stays next to "Subscriptions"
   and only the up/down arrows (`.wdg_sel`) get pushed to the right. */
.wdg > div:first-of-type {
    justify-content: flex-start !important;
    gap: 4px;
}
.wdg > div:first-of-type > .wdg_sel {
    margin-left: auto;       /* push arrows to the right edge */
}
.wdg > div:first-of-type > .feed_link {
    margin: 0;               /* override default margin-left:4px; the parent gap covers spacing */
    padding: 0;
    line-height: 0;          /* prevent the anchor from contributing extra vertical space */
    align-self: center;
}
.wdg > div:first-of-type > .feed_link > img {
    margin: 0 !important;    /* defeat the global ".wdg ... img { margin: 0 9px 0 0 }" rule */
    width: 20px !important;
    height: 20px !important;
}
