/* ==========================================================
   N5TG V1.0.59 — Glossy social media capsule (under the title)
   ========================================================== */
html body .rn-social-capsule {
    --rn-chip-size: 30px;
    --rn-chip-glyph: 17px;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin: 2px 0 12px !important;
    padding: 4px 5px 4px 4px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .02) 51%, rgba(255, 255, 255, .07) 100%),
        rgba(12, 12, 18, .55);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .32),
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 -1px 0 rgba(0, 0, 0, .35);
    vertical-align: middle;
    box-sizing: border-box;
    isolation: isolate;
    overflow: hidden;
    touch-action: pan-x pan-y;
    -webkit-tap-highlight-color: transparent;
}

/* moving sheen across the capsule */
html body .rn-social-capsule::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .28) 45%, rgba(255, 255, 255, 0) 60%);
    transform: translateX(-120%);
}
html body .rn-feed-card.rn-is-active .rn-social-capsule::after,
html body .rn-social-preview .rn-social-capsule::after {
    animation: rnSocialSheen 2.6s cubic-bezier(.4, 0, .2, 1) .5s 1 both;
}
@keyframes rnSocialSheen {
    to { transform: translateX(120%); }
}

html body .rn-social-capsule.rn-social-align-center { align-self: center; margin-left: auto !important; margin-right: auto !important; }
html body .rn-news-text-stack > .rn-social-capsule.rn-social-align-center { display: flex !important; width: max-content; }

html body .rn-social-capsule .rn-social-label {
    flex: 0 0 auto;
    padding: 0 4px 0 9px;
    color: rgba(255, 255, 255, .82);
    font: 800 10.5px/1 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .4);
}

html body .rn-social-capsule .rn-social-track {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 2px 2px 5px;
    margin-bottom: -3px;
}
html body .rn-social-capsule .rn-social-track::-webkit-scrollbar { display: none; }

html body .rn-social-capsule .rn-social-chip {
    --rn-chip: #e4002b;
    position: relative;
    flex: 0 0 var(--rn-chip-size);
    width: var(--rn-chip-size);
    height: var(--rn-chip-size);
    display: grid !important;
    place-items: center;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff !important;
    text-decoration: none !important;
    background:
        radial-gradient(120% 85% at 32% 12%, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .12) 38%, rgba(255, 255, 255, 0) 48%),
        linear-gradient(165deg, var(--rn-chip) 0%, color-mix(in srgb, var(--rn-chip) 72%, #000) 100%);
    box-shadow:
        0 2px 5px rgba(0, 0, 0, .45),
        inset 0 -2px 4px rgba(0, 0, 0, .25),
        inset 0 1px 0 rgba(255, 255, 255, .55);
    transition: transform .22s cubic-bezier(.2, .8, .2, 1.3), box-shadow .22s ease, filter .2s ease;
    outline: none;
    cursor: pointer;
    overflow: hidden;
}
/* older browsers without color-mix */
@supports not (background: color-mix(in srgb, red 50%, black)) {
    html body .rn-social-capsule .rn-social-chip {
        background:
            radial-gradient(120% 85% at 32% 12%, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .12) 38%, rgba(255, 255, 255, 0) 48%),
            linear-gradient(165deg, var(--rn-chip), var(--rn-chip));
        box-shadow: 0 2px 5px rgba(0, 0, 0, .45), inset 0 -2px 4px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .55);
    }
}

html body .rn-social-capsule .rn-social-chip:hover { transform: translateY(-1px) scale(1.06); filter: brightness(1.1); }
html body .rn-social-capsule .rn-social-chip:active { transform: scale(.92); transition-duration: .08s; }
html body .rn-social-capsule .rn-social-chip:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--rn-chip); }

html body .rn-social-capsule .rn-social-glyph {
    width: var(--rn-chip-glyph) !important;
    height: var(--rn-chip-glyph) !important;
    font-size: var(--rn-chip-glyph) !important;
    line-height: 1 !important;
    color: inherit;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
}
html body .rn-social-capsule .rn-social-text {
    display: grid;
    place-items: center;
    width: auto !important;
    font: 900 calc(var(--rn-chip-glyph) * .78)/1 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
    letter-spacing: -.02em;
}
html body .rn-social-capsule .rn-social-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* --- styles --- */
html body .rn-social-capsule.rn-social-style-glass .rn-social-chip {
    color: var(--rn-chip) !important;
    background:
        radial-gradient(120% 85% at 32% 12%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .78) 45%, rgba(236, 239, 245, .9) 100%);
    border-color: rgba(255, 255, 255, .7);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .35), inset 0 -2px 4px rgba(0, 0, 0, .08), inset 0 1px 0 #fff;
}
html body .rn-social-capsule.rn-social-style-glass .rn-social-glyph { text-shadow: none; }
html body .rn-social-capsule.rn-social-style-mono .rn-social-chip {
    background:
        radial-gradient(120% 85% at 32% 12%, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, 0) 55%),
        rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 10px rgba(0, 0, 0, .25);
}

/* --- sizes --- */
html body .rn-social-capsule.rn-social-size-sm { --rn-chip-size: 26px; --rn-chip-glyph: 14px; gap: 6px; }
html body .rn-social-capsule.rn-social-size-lg { --rn-chip-size: 36px; --rn-chip-glyph: 20px; }

/* --- placement inside the feed card --- */
html body .rn-feed-card .rn-news-text-stack > .rn-social-capsule { align-self: flex-start; }

@media (max-width: 768px) {
    html body .rn-social-capsule { --rn-chip-size: 28px; --rn-chip-glyph: 16px; margin: 0 0 10px !important; }
    html body .rn-social-capsule.rn-social-size-sm { --rn-chip-size: 24px; --rn-chip-glyph: 13px; }
    html body .rn-social-capsule.rn-social-size-lg { --rn-chip-size: 33px; --rn-chip-glyph: 18px; }
    html body .rn-social-capsule .rn-social-label { font-size: 9.5px; padding-left: 7px; }
    html body .rn-social-capsule.rn-social-hide-mobile { display: none !important; }
}
@media (min-width: 769px) and (max-width: 1180px) {
    html body .rn-social-capsule.rn-social-hide-tablet { display: none !important; }
}
@media (min-width: 1181px) {
    html body .rn-social-capsule.rn-social-hide-desktop { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    html body .rn-social-capsule::after { display: none; }
    html body .rn-social-capsule .rn-social-chip { transition: none; }
}

/* ==========================================================
   V1.0.59b — minimal icons in the free space above the title
   (under the date/author pill, beside Views / Listen).
   No capsule, no label: icons only, so the description keeps its room.
   ========================================================== */
html body:not(#rn-x) .rn-feed-card .rn-meta-views-row:has(> .rn-social-capsule) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "meta stack" "social stack" !important;
    align-items: start !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
}
html body:not(#rn-x) .rn-feed-card .rn-meta-views-row:has(> .rn-social-capsule) > .rn-news-meta-top {
    grid-area: meta;
    justify-self: start;
    max-width: 100% !important;
    margin-bottom: 0 !important;
}
html body:not(#rn-x) .rn-feed-card .rn-meta-views-row:has(> .rn-social-capsule) > .rn-views-listen-stack { grid-area: stack; }

html body:not(#rn-x) .rn-feed-card .rn-meta-views-row > .rn-social-capsule {
    --rn-chip-size: 27px;
    --rn-chip-glyph: 15px;
    grid-area: social;
    justify-self: start;
    display: flex !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible;
}
html body:not(#rn-x) .rn-feed-card .rn-meta-views-row > .rn-social-capsule::after,
html body:not(#rn-x) .rn-feed-card .rn-meta-views-row > .rn-social-capsule .rn-social-label { display: none !important; }
html body:not(#rn-x) .rn-feed-card .rn-meta-views-row > .rn-social-capsule .rn-social-track { gap: 7px; padding: 2px 2px 4px; margin: 0; }
html body:not(#rn-x) .rn-feed-card .rn-meta-views-row > .rn-social-capsule .rn-social-chip {
    border-width: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .5);
}
html body:not(#rn-x) .rn-feed-card .rn-meta-views-row > .rn-social-capsule.rn-social-size-sm { --rn-chip-size: 24px; --rn-chip-glyph: 13px; }
html body:not(#rn-x) .rn-feed-card .rn-meta-views-row > .rn-social-capsule.rn-social-size-lg { --rn-chip-size: 31px; --rn-chip-glyph: 17px; }

@media (max-width: 768px) {
    html body:not(#rn-x) .rn-feed-card .rn-meta-views-row > .rn-social-capsule { --rn-chip-size: 25px; --rn-chip-glyph: 14px; }
    html body:not(#rn-x) .rn-feed-card .rn-meta-views-row > .rn-social-capsule .rn-social-track { gap: 6px; }
}
