/*
 * The Feed (Media Feed).
 *
 * Follows the native app: one continuous stream on white with hairline separators, the
 * publisher header on one line, a quiet format line, media that keeps its shape while it loads,
 * and one action row. Desktop adds the rail on the left and a light discovery column on the
 * right; a phone gets the stream edge to edge with sticky tabs and the bottom navigation.
 *
 * Every rule is scoped under .mfeed* or .media-shell--feed, so nothing here can restyle another
 * surface. Colours come from the shared tokens, with the app's values as fallbacks.
 */

.media-shell--feed {
    --mf-text: var(--media-text-primary, #142033);
    --mf-text-2: var(--media-text-secondary, #5d6b7c);
    --mf-muted: var(--media-text-muted, #68717f);
    --mf-line: var(--media-border-subtle, #edf1f6);
    --mf-sunken: var(--media-surface-sunken, #f7f9fc);
    --mf-blue: var(--media-primary, #0b5fff);
    --mf-selected: #1f2937;
    --mf-inactive: #8a9099;
    --mf-icon: #6b7280;
    --mf-liked: #e0245e;
    --mf-col: 680px;
}

/* ------------------------------------------------------------------ layout */

/*
 * The same three columns as Discover: rail | content | 300px sidebar, with the shell's own
 * gap. The Feed fills the content column exactly as Discover's middle panel does, so the two
 * pages share one width at every screen size and the rail never moves.
 */

.media-shell--feed .mfeed { display: contents; }

.mfeed__main {
    margin-top: -14px;
    width: 100%;
    min-width: 0;
}

.mfeed__aside {
    position: sticky;
    top: calc(var(--media-header-height, 64px) + 16px);
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 4px;
    min-width: 0;
}



@media (max-width: 900px) {
    .media-shell.media-shell--feed { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ header and tabs */

.mfeed__top {
    position: sticky;
    top: var(--media-header-height, 64px);
    z-index: 6;
    background: #fff;
}

.mfeed__title {
    /* Kept for screen readers and the document outline; the tabs carry the page visually. */
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.mfeed__tabs {
    display: flex;
    border-bottom: 1px solid var(--mf-line);
}

.mfeed__tab {
    position: relative;
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    font-size: 15px;
    font-weight: 400;
    color: var(--mf-inactive);
    text-decoration: none;
    transition: color .15s ease;
}

.mfeed__tab:hover { color: var(--mf-selected); }

.mfeed__tab.is-active {
    color: var(--mf-selected);
    font-weight: 600;
}

.mfeed__tab.is-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 44px;
    height: 2px;
    margin-left: -22px;
    border-radius: 1px;
    background: var(--mf-selected);
}

.mfeed__tab:focus-visible { outline: 2px solid var(--mf-blue); outline-offset: -4px; border-radius: 6px; }

/* ------------------------------------------------------------------ composer */

.mfeed-composer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0 14px;
    border-bottom: 1px solid var(--mf-line);
}

.mfeed-composer__row { display: flex; align-items: center; gap: 12px; }

.mfeed-composer__avatar { flex: none; display: inline-flex; border-radius: 50%; }
.mfeed-composer__avatar .media-avatar,
.mfeed-composer__avatar img,
.mfeed-composer__avatar-img { width: 40px !important; height: 40px !important; border-radius: 50%; }

.mfeed-composer__guest {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #f1f6ff; color: var(--mf-blue);
}

.mfeed-composer__input {
    flex: 1;
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 21px;
    background: var(--mf-sunken);
    color: var(--mf-muted);
    font-size: 15.5px;
    text-decoration: none;
    transition: background .15s ease;
}

.mfeed-composer__input:hover { background: #eef2f7; color: var(--mf-text-2); }

.mfeed-composer__actions {
    display: flex;
    gap: 8px;
    padding-left: 52px;
    overflow-x: auto;
    scrollbar-width: none;
}

.mfeed-composer__actions::-webkit-scrollbar { display: none; }

.mfeed-composer__action {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 13px;
    border-radius: 10px;
    background: var(--mf-sunken);
    color: var(--mf-text);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease;
}

.mfeed-composer__action:hover { background: #eef2f7; }

.mfeed-composer__icon { display: inline-flex; color: var(--mf-selected); }
.mfeed-composer__icon svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ cards */

.mfeed-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0 4px;
    border-bottom: 1px solid var(--mf-line);
}

.mfeed-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
}

.mfeed-card__avatar { flex: none; display: inline-flex; border-radius: 50%; }
.mfeed-card__avatar .media-avatar,
.mfeed-card__avatar img,
.mfeed-card__avatar-img { width: 40px !important; height: 40px !important; font-size: 14px; }

.mfeed-card__byline { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }

.mfeed-card__who {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 0;
    min-width: 0;
    font-size: 14.5px;
    line-height: 19px;
    color: var(--mf-text-2);
    white-space: nowrap;
}

.mfeed-card__name {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    color: var(--mf-text);
    text-decoration: none;
}

.mfeed-card__name:hover { text-decoration: underline; }
/* The name keeps its room; the handle gives way first, as in the app. */
.mfeed-card__name { flex-shrink: 0; max-width: 72%; }
.mfeed-card__handle { flex: 0 1 auto; white-space: nowrap; }
.mfeed-card__name svg, .mfeed-card__name .media-verified { flex: none; }

.mfeed-card__handle { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mfeed-card__handle, .mfeed-card__dot, .mfeed-card__time { font-size: 13.5px; color: var(--mf-text-2); }
.mfeed-card__dot, .mfeed-card__time { flex: none; }

.mfeed-card__kind {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    font-size: 12.5px;
    line-height: 16px;
    font-weight: 500;
    color: var(--mf-text-2);
}

.mfeed-card__kind-icon { flex: none; }

/* Repost attribution (25 Nov 2026). */
.mfeed-card__reposted { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 12.5px; line-height: 16px; font-weight: 500; color: var(--mf-text-2); }
.mfeed-card__reposted svg { flex: none; }
.mfeed-card__reposted a { color: inherit; font-weight: 600; text-decoration: none; }
.mfeed-card__reposted a:hover { text-decoration: underline; }

/* The More menu, reusing the shared <details> menu. */
.mfeed-card__head .media-engage__menu { position: relative; flex: none; margin-left: auto; }
.mfeed-card__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--mf-icon);
    cursor: pointer;
    list-style: none;
}

.mfeed-card__more::-webkit-details-marker { display: none; }
.mfeed-card__more:hover { background: var(--mf-sunken); color: var(--mf-text); }
.mfeed-card__head .media-engage__menu-panel { right: 0; left: auto; z-index: 20; }

.mfeed-card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mfeed-card__body a { color: inherit; text-decoration: none; }

.mfeed-card__text {
    font-size: 15.5px;
    line-height: 23px;
    color: var(--mf-text);
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mfeed-card__text.is-open { -webkit-line-clamp: unset; display: block; }

.mfeed-card__textmore {
    align-self: flex-start;
    margin-top: -4px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--mf-text-2);
    cursor: pointer;
}

.mfeed-card__headline {
    margin: 0;
    font-size: 19px;
    line-height: 25px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--mf-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mfeed-card__headline a:hover, .mfeed-card__title a:hover { text-decoration: underline; text-underline-offset: 2px; }

.mfeed-card__title {
    margin: 0;
    font-size: 16px;
    line-height: 21px;
    font-weight: 600;
    color: var(--mf-text);
}

.mfeed-card__stand {
    margin: 0;
    font-size: 15px;
    line-height: 21px;
    color: var(--mf-text-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mfeed-card__issued {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid var(--mf-line);
    border-radius: 12px;
    background: var(--mf-sunken);
}

.mfeed-card__headline--issued { font-size: 17px; line-height: 23px; -webkit-line-clamp: 2; }
.mfeed-card__issuer { margin: 0; font-size: 12.5px; color: var(--mf-muted); }

/* Media keeps its frame while loading, so the stream never jumps. */
.mfeed-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #0e1520;
}

.mfeed-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mfeed-card__media--wide { aspect-ratio: 16 / 9; }
.mfeed-card__media--portrait { aspect-ratio: 4 / 5; max-width: 340px; }

.mfeed-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    color: #fff;
}

.mfeed-card__play svg { margin-left: 3px; }

.mfeed-card__duration, .mfeed-card__pill {
    position: absolute;
    bottom: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.mfeed-card__duration { right: 10px; }
.mfeed-card__pill { left: 12px; }

.mfeed-card__gallery {
    display: grid;
    gap: 3px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--mf-sunken);
}

.mfeed-card__gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mfeed-card__gallery--1 { aspect-ratio: 4 / 5; max-height: 560px; }
.mfeed-card__gallery--1 img { max-height: 560px; }
.mfeed-card__gallery--2 { grid-template-columns: 1fr 1fr; aspect-ratio: 16 / 10; }
.mfeed-card__gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 10; }
.mfeed-card__gallery--3 img:first-child { grid-row: 1 / 3; }
.mfeed-card__gallery--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 1 / 1; }

.mfeed-card__response {
    margin: 0;
    padding-left: 10px;
    border-left: 2px solid var(--mf-line);
    font-size: 13px;
    line-height: 18px;
    color: var(--mf-text-2);
}

.mfeed-card__response a { color: var(--mf-text); font-weight: 500; text-decoration: none; }
.mfeed-card__response a:hover { text-decoration: underline; }
.mfeed-card__response-label { font-weight: 600; color: var(--mf-text); margin-right: 2px; }
.mfeed-card__response-source::before { content: '\00B7\00A0'; }

/* ------------------------------------------------------------------ action row */

.mfeed-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    margin: 0 -10px;
}

.mfeed-card__actions-main { display: flex; align-items: center; }

.mfeed-act {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 44px;
    height: 40px;
    padding: 0 8px;
    border: 0;
    border-radius: 20px;
    background: none;
    color: var(--mf-icon);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.mfeed-act:hover { background: var(--mf-sunken); color: var(--mf-text); }
.mfeed-act:focus-visible { outline: 2px solid var(--mf-blue); outline-offset: 1px; }
.mfeed-act svg, .mfeed-act .media-source-icon { width: 21px; height: 21px; }
.mfeed-act .media-source-icon img { width: 19px; height: 19px; }
/* The Source mark takes the row's grey, like the other actions; blue stays for primary actions. */
.mfeed-act .media-source-icon--mark { background-color: currentColor; width: 20px; height: 20px; }
.mfeed-act__count:empty { display: none; }

.mfeed-act--like.is-liked, .mfeed-act--like[aria-pressed='true'] { color: var(--mf-liked); }
.mfeed-act--like[aria-pressed='true'] svg { fill: currentColor; }
.mfeed-act--save[aria-pressed='true'] { color: var(--mf-selected); }
.mfeed-act--save[aria-pressed='true'] svg { fill: currentColor; }

/* ------------------------------------------------------------------ People to follow */

.mfeed-people {
    padding: 16px 0 18px;
    border-bottom: 1px solid var(--mf-line);
}

.mfeed-people--top { border-top: 1px solid var(--mf-line); margin-top: 8px; }

.mfeed-people__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mfeed-people__title { margin: 0; font-size: 17px; font-weight: 600; color: var(--mf-text); letter-spacing: -0.2px; }
.mfeed-people__tools { display: flex; align-items: center; gap: 6px; }

.mfeed-people__nav {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--mf-line); border-radius: 50%;
    background: #fff; color: var(--mf-text); cursor: pointer;
}

.mfeed-people__nav:hover { background: var(--mf-sunken); }
.mfeed-people__all { font-size: 14px; font-weight: 500; color: var(--mf-blue); text-decoration: none; margin-left: 4px; }
.mfeed-people__all:hover { text-decoration: underline; }

.mfeed-people__rail {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.mfeed-people__rail::-webkit-scrollbar { display: none; }

.mfeed-person {
    position: relative;
    flex: none;
    width: 168px;
    height: 260px;
    border: 1px solid var(--mf-line);
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    scroll-snap-align: start;
}

.mfeed-person__open { display: block; color: inherit; text-decoration: none; }

.mfeed-person__photo {
    display: block;
    width: 100%;
    height: 146px;
    object-fit: cover;
    object-position: center;
    background: var(--mf-sunken);
}

.mfeed-person__photo--initials {
    display: flex; align-items: center; justify-content: center;
    background: #f1f6ff; color: var(--mf-blue);
    font-size: 40px; font-weight: 600;
}

.mfeed-person__text { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px 0; height: 62px; overflow: hidden; }

.mfeed-person__name {
    font-size: 14.5px;
    line-height: 18px;
    font-weight: 600;
    color: var(--mf-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mfeed-person__name svg { width: 14px; height: 14px; vertical-align: -2px; }
.mfeed-person__desc { font-size: 12.5px; line-height: 15.5px; color: var(--mf-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mfeed-person__follow, .mfeed-side__follow {
    border: 0;
    border-radius: 17px;
    background: var(--mf-blue);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.mfeed-person__follow { position: absolute; left: 11px; right: 11px; bottom: 11px; height: 34px; }
.mfeed-person__follow:hover, .mfeed-side__follow:hover { background: #0a4fd6; }

.mfeed-person__follow[aria-pressed='true'],
.mfeed-side__follow[aria-pressed='true'] { background: var(--mf-sunken); color: var(--mf-text); }

/* ------------------------------------------------------------------ states and paging */

.mfeed-state { padding: 56px 24px; text-align: center; }
.mfeed-state__title { margin: 0 0 8px; font-size: 20px; font-weight: 600; color: var(--mf-text); }
.mfeed-state__body { margin: 0 auto 20px; max-width: 380px; font-size: 15px; line-height: 22px; color: var(--mf-text-2); }

.mfeed__more { padding: 8px 0 48px; }
.mfeed__end, .mfeed__error { margin: 24px 0 0; text-align: center; font-size: 14px; color: var(--mf-muted); }
.mfeed__retry { border: 0; background: none; color: var(--mf-blue); font: inherit; font-weight: 500; cursor: pointer; }
.mfeed__sentinel { display: block; height: 1px; }

.mfeed-skel { padding: 16px 0; border-bottom: 1px solid var(--mf-line); }
.mfeed-skel__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mfeed-skel__avatar { width: 40px; height: 40px; border-radius: 50%; }
.mfeed-skel__lines { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mfeed-skel__lines span { height: 10px; width: 40%; border-radius: 5px; }
.mfeed-skel__lines span + span { width: 25%; }
.mfeed-skel__line { display: block; height: 12px; margin-bottom: 8px; border-radius: 6px; }
.mfeed-skel__line--short { width: 60%; }
.mfeed-skel__media { display: block; aspect-ratio: 16 / 9; border-radius: 12px; margin-top: 4px; }

.mfeed-skel__avatar, .mfeed-skel__lines span, .mfeed-skel__line, .mfeed-skel__media {
    background: linear-gradient(90deg, #f2f4f7 0%, #e9edf2 50%, #f2f4f7 100%);
    background-size: 200% 100%;
    animation: mfeed-shimmer 1.4s ease-in-out infinite;
}

@keyframes mfeed-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.mfeed__list[aria-busy='true'] { opacity: .5; transition: opacity .15s ease; }

/* ------------------------------------------------------------------ sidebar */

.mfeed-side__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.mfeed-side__title { margin: 0; font-size: 15px; font-weight: 600; color: var(--mf-text); }
.mfeed-side__all { font-size: 13.5px; font-weight: 500; color: var(--mf-blue); text-decoration: none; }
.mfeed-side__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }

.mfeed-side__person { display: flex; align-items: center; gap: 10px; }
.mfeed-side__person-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.mfeed-side__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--mf-sunken); }
.mfeed-side__avatar.is-org { border-radius: 10px; }
.mfeed-side__avatar--initials { display: inline-flex; align-items: center; justify-content: center; background: #f1f6ff; color: var(--mf-blue); font-size: 14px; font-weight: 600; }
.mfeed-side__person-text { min-width: 0; display: flex; flex-direction: column; }
.mfeed-side__person-name { font-size: 14px; font-weight: 600; color: var(--mf-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mfeed-side__person-name svg { width: 13px; height: 13px; vertical-align: -2px; }
.mfeed-side__person-desc { font-size: 12.5px; color: var(--mf-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mfeed-side__follow { flex: none; height: 30px; padding: 0 14px; font-size: 13px; }

.mfeed-side__topics { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.mfeed-side__topic {
    display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
    border-radius: 16px; background: var(--mf-sunken); color: var(--mf-text);
    font-size: 13.5px; font-weight: 500; text-decoration: none;
}
.mfeed-side__topic:hover { background: #eef2f7; }
.mfeed-side__note { margin: 0; font-size: 12px; line-height: 17px; color: var(--mf-muted); }

/* ------------------------------------------------------------------ tablet and phone */

@media (max-width: 900px) {
    .media-shell--feed > .media-shell__nav { display: none; }
}

@media (max-width: 900px) {
    .media-shell--feed { padding-top: 0; }
    .mfeed__main { margin-top: 0; }
}

@media (max-width: 640px) {
    .media-shell--feed { padding-left: 0; padding-right: 0; }

    .mfeed__tab { min-height: 44px; font-size: 14.5px; }

    .mfeed-composer, .mfeed-card, .mfeed-people, .mfeed-state, .mfeed-skel { padding-left: 16px; padding-right: 16px; }
    .mfeed-composer__actions { padding-left: 0; margin: 0 -16px; padding: 0 16px; }

    /* Media runs edge to edge, as in the app. */
    .mfeed-card__media, .mfeed-card__gallery { margin-left: -16px; margin-right: -16px; border-radius: 0; }
    .mfeed-card__media--portrait { max-width: none; }
    .mfeed-card__actions { margin: 0 -10px; }
    .mfeed-card__headline { font-size: 18px; line-height: 23px; }

    .mfeed-people__rail { margin: 0 -16px; padding: 0 16px; scroll-padding-left: 16px; }
    .mfeed-people__nav { display: none !important; }
    .mfeed-person { width: 162px; height: 254px; }
    .mfeed-person__photo { height: 140px; }

    /* Room for the bottom navigation and the device's safe area. */
    .mfeed__more { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
    .mfeed-people__rail { scroll-behavior: auto; }
    .mfeed-skel__avatar, .mfeed-skel__lines span, .mfeed-skel__line, .mfeed-skel__media { animation: none; }
}

/* ==================================================================
 * Refinement (Feed UI refinement brief, Nov 2026).
 *
 * Later in the file on purpose: these rules restate the layout and tighten the components
 * above without restructuring them.
 * ================================================================== */

/* ------------------------------------------------------------------ layout */

/* Columns, widths and breakpoints come from the shared shell (shell.css). */
.mfeed__main { max-width: 720px; }
.mfeed__aside { gap: 24px; }
.mfeed-card__media--portrait { width: 100%; margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------------ tabs */

/* Compact and left-aligned on wide screens; a short underline under the chosen tab. */
@media (min-width: 641px) {
    .mfeed__tabs { gap: 28px; padding-left: 2px; }
    .mfeed__tab { flex: none; min-height: 44px; padding: 0; justify-content: flex-start; }
    .mfeed__tab.is-active::after { left: 0; width: 100%; margin-left: 0; }
}

/* ------------------------------------------------------------------ composer */

.mfeed-composer { gap: 8px; padding-top: 10px; padding-bottom: 12px; }
.mfeed-composer__row { gap: 10px; }
.mfeed-composer__avatar .media-avatar,
.mfeed-composer__avatar img,
.mfeed-composer__avatar-img,
.mfeed-composer__guest { width: 36px !important; height: 36px !important; }
.mfeed-composer__input { height: 38px; padding: 0 16px; border-radius: 19px; font-size: 15px; }
.mfeed-composer__actions { gap: 6px; padding-left: 46px; }
.mfeed-composer__action { height: 30px; padding: 0 11px; border-radius: 8px; font-size: 13px; gap: 6px; }
.mfeed-composer__icon svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------------ publications */

.mfeed-card { gap: 8px; padding-top: 16px; padding-bottom: 6px; }
.mfeed-card__who { font-size: 15px; line-height: 20px; }
.mfeed-card__handle, .mfeed-card__dot, .mfeed-card__time { font-size: 13.5px; }
.mfeed-card__kind { font-size: 12.5px; color: var(--mf-muted); }

.mfeed-card__headline { font-size: 20px; line-height: 26px; letter-spacing: -0.35px; }
.mfeed-card__headline--issued { font-size: 18px; line-height: 24px; }
.mfeed-card__title { font-size: 17px; line-height: 23px; letter-spacing: -0.2px; }
.mfeed-card__stand { font-size: 15px; line-height: 22px; }

/* Statements: attributed and calm, without a heavy box. */
.mfeed-card__issued { border: 0; padding: 14px 16px; border-radius: 12px; }

.mfeed-act svg, .mfeed-act .media-source-icon { width: 20px; height: 20px; }

/* "In response to": a compact source reference, visibly separate from the Response itself. */
.mfeed-ref {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
    padding: 10px 12px;
    border: 1px solid var(--mf-line);
    border-radius: 10px;
    background: var(--mf-sunken);
    color: var(--mf-text);
    text-decoration: none;
    transition: background .15s ease;
}

a.mfeed-ref:hover { background: #eef2f7; }
.mfeed-ref__label { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mf-muted); }
.mfeed-ref__headline { font-size: 14px; line-height: 19px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mfeed-ref__source { font-size: 12.5px; color: var(--mf-text-2); }

/* ------------------------------------------------------------------ People to follow */

/* One module per screen: the app's carousel on a phone, a later, de-duplicated one on wide screens. */
.mfeed-people--phone { display: none; }

@media (max-width: 900px) {
    .mfeed-people--phone { display: block; }
    .mfeed-people--wide { display: none; }
}

/* ------------------------------------------------------------------ sidebar */

.mfeed-side__head { margin-bottom: 8px; }
.mfeed-side__title { font-size: 14.5px; }
.mfeed-side__all { font-size: 13px; }
.mfeed-side__list { gap: 10px; }
.mfeed-side__person, .mfeed-side__person-open { gap: 9px; }
.mfeed-side__avatar { width: 36px; height: 36px; }
.mfeed-side__avatar--initials { font-size: 13px; }
.mfeed-side__person-name { font-size: 13.5px; line-height: 18px; }
.mfeed-side__person-desc { font-size: 12px; line-height: 16px; }
.mfeed-side__follow { height: 28px; padding: 0 12px; border-radius: 14px; font-size: 12.5px; }

.mfeed-side__topics { gap: 6px; }
.mfeed-side__topic { height: 28px; padding: 0 11px; border-radius: 14px; font-size: 12.5px; font-weight: 500; color: var(--mf-text-2); }
.mfeed-side__topic:hover { color: var(--mf-text); }
.mfeed-side__note { font-size: 11.5px; line-height: 16px; padding-top: 4px; }

/* Phones and small tablets: one column, the app's layout with the bottom navigation. Restated after the laptop rules above. */
@media (max-width: 900px) {
    .media-shell.media-shell--feed { grid-template-columns: minmax(0, 1fr); }
    .mfeed__main { max-width: none; }
}

/* Composer actions fit five items on phones */
@media (max-width: 640px) {
  .mfeed-composer__actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; overflow: hidden; }
  .mfeed-composer__action { flex-direction: column; gap: 4px; padding: 6px 2px; min-width: 0; justify-content: center; text-align: center; font-size: 12px; }
  .mfeed-composer__action > span:not(.mfeed-composer__icon) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
}


/* ------------------------------------------------------------------ polish (UI polish brief, Nov 2026) */

/* Discovery column: 15px headings, 14px names, 38px avatars, 32px buttons and pills. */
.mfeed__aside { gap: 26px; }
.mfeed-side__head { margin-bottom: 12px; }
.mfeed-side__title { font-size: 15px; font-weight: 600; letter-spacing: -0.1px; }
.mfeed-side__all { font-size: 13px; }
.mfeed-side__list { gap: 13px; }
.mfeed-side__person, .mfeed-side__person-open { gap: 10px; }
.mfeed-side__avatar { width: 38px; height: 38px; }
.mfeed-side__avatar--initials { font-size: 13.5px; }
.mfeed-side__person-text { gap: 1px; }
.mfeed-side__person-name { font-size: 14px; line-height: 19px; font-weight: 500; color: var(--mf-text); }
.mfeed-side__person-name .media-verified,
.mfeed-side__person-name svg { margin-left: 3px; vertical-align: -2px; }
.mfeed-side__person-desc { font-size: 12.5px; line-height: 17px; }
.mfeed-side__follow { height: 32px; min-width: 74px; padding: 0 14px; border-radius: 16px; font-size: 13px; font-weight: 600; }
.mfeed-side__topics { gap: 8px; }
.mfeed-side__topic { height: 32px; padding: 0 13px; border-radius: 16px; font-size: 13px; }
.mfeed-side__note { font-size: 12px; line-height: 17px; }

/* Tabs: 15px, a 2px indicator, a quiet hover. */
.mfeed__tab { font-size: 15px; transition: color .15s ease; }
.mfeed__tab:not(.is-active) { color: var(--mf-inactive); }
.mfeed__tab:not(.is-active):hover { color: var(--mf-selected); }
.mfeed__tab.is-active::after { height: 2px; border-radius: 2px; }

@media (min-width: 641px) {
    /* Composer: avatar and field on one line, actions start under the field. */
    .mfeed-composer { gap: 10px; }
    .mfeed-composer__row { gap: 12px; }
    .mfeed-composer__input { height: 40px; }
    .mfeed-composer__actions { gap: 4px; padding-left: 48px; }
    .mfeed-composer__action { height: 32px; padding: 0 10px; gap: 6px; }
    .mfeed-composer__icon svg { width: 16px; height: 16px; }

    /* Publication cards: publisher line, then a clear editorial headline. */
    .mfeed-card { gap: 10px; }
    .mfeed-card__head { gap: 12px; align-items: center; }
    .mfeed-card__who { font-size: 15px; line-height: 20px; }
    .mfeed-card__name { font-weight: 600; }
    .mfeed-card__handle { font-size: 14px; color: var(--mf-muted); }
    .mfeed-card__kind { margin-top: 2px; font-size: 12.5px; color: var(--mf-muted); }

    .mfeed-card__headline { font-size: 20px; line-height: 27px; letter-spacing: -0.3px; -webkit-line-clamp: 4; }
    .mfeed-card__headline--issued { font-size: 18px; line-height: 25px; -webkit-line-clamp: 3; }
    .mfeed-card__title { font-size: 17px; line-height: 24px; letter-spacing: -0.15px; }

    /* Portrait video: centred, 340px, uncropped 4:5 frame, 12px corners, 12px under the title. */
    .mfeed-card__media--portrait { max-width: 340px; border-radius: 12px; margin-top: 2px; }

    /* "In response to": lighter and tighter, still clearly the other publication. */
    .mfeed-ref { padding: 8px 12px; gap: 2px; border: 0; background: var(--mf-sunken); border-radius: 10px; }
    .mfeed-ref:hover { background: #eff2f6; }
    .mfeed-ref__label { font-size: 10.5px; letter-spacing: .06em; }
    .mfeed-ref__headline { font-size: 14px; line-height: 19px; -webkit-line-clamp: 1; }
    .mfeed-ref__source { font-size: 12.5px; line-height: 17px; }

    /* Engagement: 20px icons on 36px targets, Save on the right. */
    .mfeed-card__actions { display: flex; align-items: center; justify-content: space-between; margin-left: -8px; margin-right: -8px; }
    .mfeed-card__actions-main { gap: 4px; }
    .mfeed-act { min-width: 36px; height: 36px; padding: 0 8px; gap: 6px; border-radius: 18px; font-size: 13px; transition: background-color .15s ease, color .15s ease; }
    .mfeed-act svg, .mfeed-act .media-source-icon { width: 20px; height: 20px; }
}

/* ------------------------------------------------------------------ final refinements (Nov 2026) */

/* Follow in the discovery column: outlined, so the header's Create stays the one solid blue action. */
.mfeed-side__follow {
    background: #fff;
    color: var(--mf-blue);
    border: 1px solid var(--mf-blue);
    height: 32px;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.mfeed-side__follow:hover { background: #edf3ff; color: var(--mf-blue); }
.mfeed-side__follow:focus-visible { outline: 2px solid var(--mf-blue); outline-offset: 2px; }
.mfeed-side__follow[aria-pressed='true'] { background: var(--mf-sunken); color: var(--mf-text-2); border-color: #dfe5ec; }
.mfeed-side__follow[aria-pressed='true']:hover { background: #eef1f5; color: var(--mf-text); }

@media (min-width: 641px) {
    /* Engagement: 20px icons on 40px targets, one stroke weight, quiet hover, Save on the right. */
    .mfeed-card__actions-main { gap: 2px; }
    .mfeed-act { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 20px; }
    .mfeed-act svg { stroke-width: 1.75; }
    .mfeed-act:hover { background: var(--mf-sunken); color: var(--mf-text); }
    .mfeed-act:active { background: #e9edf2; }
    .mfeed-act--like:hover { color: var(--mf-liked); background: #fdf0f4; }
}

/* A video with no thumbnail still reads as a video rather than an empty box. */
.mfeed-card__media--noposter { background: linear-gradient(160deg, #eef2f7 0%, #dfe6ef 100%); }

/* Profiles to Follow cards: the button sits under the text in the card's own flow, so a two-line name and a descriptor can never run under it. (The shared grey follow pill makes the button position: relative, which undid the old absolute placement.) */
.mfeed-person { display: flex; flex-direction: column; }
.mfeed-person__open { flex: 1 1 auto; min-height: 0; }
.mfeed-person__text { height: auto; max-height: none; padding-bottom: 8px; }
body .mfeed-person .mfeed-person__follow { position: relative; z-index: 2; flex: none; align-self: flex-start; margin: auto 11px 11px; }
.mfeed-person { height: 268px; }
@media (max-width: 767px) { .mfeed-person { height: 262px; } }

/* ==== Statements and Press Releases in the Feed (editorial presentation, Nov 2026) ==== */
.mfeed-issued { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.mfeed-issued__headline { margin: 0; font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.35px; color: var(--mf-text, #101828); -webkit-line-clamp: 3; }
.mfeed-issued--text .mfeed-issued__headline { font-size: 22px; line-height: 29px; letter-spacing: -0.4px; }
.mfeed-issued__stand { margin: 0; font-size: 15px; line-height: 22px; color: var(--mf-text-2, #475467); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mfeed-issued__media { margin-top: 4px; }
.mfeed-issued__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mfeed-issued__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 0; font-size: 13px; line-height: 18px; color: var(--mf-muted, #667085); }
.mfeed-issued__issuer { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfeed-card__body a.mfeed-issued__read { display: inline-flex; align-items: center; gap: 4px; flex: none; margin-left: auto; font-weight: 600; color: var(--media-primary, #155EEF); text-decoration: none; }
.mfeed-card__body a.mfeed-issued__read:hover { text-decoration: underline; text-underline-offset: 2px; }
.mfeed-card__body a.mfeed-issued__read svg { transition: transform .15s ease; }
.mfeed-card__body a.mfeed-issued__read:hover svg { transform: translateX(2px); }
@media (max-width: 767px) {
  .mfeed-issued__headline { font-size: 19px; line-height: 25px; }
  .mfeed-issued--text .mfeed-issued__headline { font-size: 20px; line-height: 27px; }
  .mfeed-issued__stand { font-size: 14.5px; line-height: 21px; }
}
@media (prefers-reduced-motion: reduce) { .mfeed-card__body a.mfeed-issued__read svg { transition: none; } }

/* Feed video thumbnails: the same centre play treatment as the player, at the medium size (22 Nov 2026). Decorative: the card is the link. */
.mfeed-card__play { width: 56px; height: 56px; border-radius: 50%; background: rgba(15, 23, 42, .68); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; border: 0; box-shadow: none; }
.mfeed-card__play svg { width: 26px; height: 26px; margin-left: 3px; }
@media (max-width: 640px) { .mfeed-card__play { width: 48px; height: 48px; } .mfeed-card__play svg { width: 22px; height: 22px; } }

/* Who to Follow: the verified mark sits close to the name, centred on the text (Nov 2026). The &nbsp; before it already gives the gap. */
.mfeed-side__person-name .media-verified { margin-left: 1px; vertical-align: -2px; }
.mfeed-side__person-name .media-verified svg { margin-left: 0; vertical-align: top; }


/* Feed cards (JM, 23 Nov 2026): no Source in the engagement row; the row sits 6px under the content (was 10px) with a little less space beneath it. */
.mfeed-card .mfeed-card__actions .mx-act--source { display: none !important; }
.mfeed-card > .mfeed-card__actions { margin-top: -4px !important; }
.mfeed-card:has(> .mfeed-card__actions) { padding-bottom: 3px !important; }

/* Nov 2026: unverified organization note on feed cards. */
.mfeed-card__unverified{color:#667085;cursor:help}

/* Unified Feed: selected tab indicator in the Media.com blue, the same on all four tabs (Nov 2026). */
.mfeed__tab.is-active::after { background: var(--mf-blue, #0b5fff); }

/* Visual Polish (Nov 2026): Feed sidebar 320px on all four Feed tabs, for fuller names and headlines. */
.media-shell.media-shell--feed { --mx-aside-w: 320px; }

/* Organization logos on profile cards: always the full tile, centred (Nov 2026). */
.mpc__media--logo { overflow: hidden; aspect-ratio: 1 / 1; }
.mpc__media--logo img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: contain; object-position: 50% 50%; margin: 0 !important; }

/* ==================================================================
 * Top of For You (Discover People & Feed Header Refinement, Nov 2026).
 * ================================================================== */
.mfeed-composer { padding: 14px 0; margin: 0; border-bottom: 1px solid #EAECF0; }
.mfeed-composer__row { display: flex; align-items: center; gap: 12px; margin: 0; }
.mfeed-composer__input { flex: 1 1 auto; display: flex; align-items: center; height: 44px; padding: 0 52px 0 18px; border-radius: 999px; background: #F2F4F7; color: #667085; font-size: 15px; text-decoration: none; }
.mfeed-composer__input:hover { background: #E9ECF1; color: #475467; }
.mfeed-composer__field { position: relative; flex: 1 1 auto; display: flex; }
.mfeed-composer__media { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: #667085; cursor: pointer; }
.mfeed-composer__media:hover { background: #E4E7EC; color: #101828; }
.mfeed-composer__actions { display: none !important; }
.mdp { position: relative; padding: 16px 0 14px; border-bottom: 1px solid #EAECF0; }
.mdp__head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.mdp__title { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: #101828; }
.mdp__tools { display: flex; align-items: center; gap: 6px; }
.mdp__all { display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 0 10px 0 12px; border-radius: 999px; background: #F2F4F7; font-size: 13px; font-weight: 600; color: #101828 !important; text-decoration: none !important; }
.mdp__all:hover { background: #E9ECF1; }
.mdp__rail { display: flex; gap: 18px; margin: 0; padding: 2px 2px 4px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.mdp__rail::-webkit-scrollbar { display: none; }
.mdp__p { flex: 0 0 80px; scroll-snap-align: start; }
.mdp__link { display: flex; flex-direction: column; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.mdp__ring { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; padding: 3px; border: 2px solid transparent; border-radius: 50%; box-sizing: border-box; }
.mdp__ring.is-unseen { border-color: var(--media-primary, #0b5fff); }
.mdp__ring.is-viewed { border-color: #D0D5DD; }
.mdp__av { display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; border-radius: 50%; overflow: hidden; background: #F2F4F7; }
.mdp__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mdp__p.is-org .mdp__av { background: #fff; box-shadow: inset 0 0 0 1px #EAECF0; }
.mdp__p.is-org .mdp__av img { object-fit: contain; padding: 0; }
.mdp__init { font-size: 22px; font-weight: 700; color: #475467; }
.mdp__name { display: flex; align-items: flex-start; justify-content: center; gap: 3px; width: 100%; min-height: 32px; font-size: 12.5px; line-height: 1.3; font-weight: 500; color: #101828; text-align: center; }
.mdp__name-t { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.mdp__p.is-org .mdp__name-t { -webkit-line-clamp: 2; }
.mdp__name .media-verified, .mdp__name svg { flex: none; width: 13px; height: 13px; margin-top: 1px; }
.mdp__link:hover .mdp__name-t { text-decoration: underline; text-underline-offset: 2px; }
.mdp__link:focus-visible { outline: none; }
.mdp__link:focus-visible .mdp__ring { outline: 2px solid var(--media-primary, #0b5fff); outline-offset: 2px; }
.mdp-card { position: absolute; z-index: 30; width: 288px; padding: 14px; border: 1px solid #EAECF0; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(16, 24, 40, .10); }
.mdp-card__top { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.mdp-card__av { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #F2F4F7; display: flex; align-items: center; justify-content: center; }
.mdp-card__av img { width: 100%; height: 100%; object-fit: cover; }
.mdp-card__av.is-org img { object-fit: contain; }
.mdp-card__id { display: flex; flex-direction: column; min-width: 0; }
.mdp-card__name { font-size: 15px; font-weight: 700; color: #101828; }
.mdp-card__name svg { width: 14px; height: 14px; vertical-align: -2px; }
.mdp-card__handle { font-size: 13px; color: #667085; }
.mdp-card__desc { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: #344054; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mdp-card__new { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 12.5px; font-weight: 600; color: var(--media-primary, #0b5fff); }
.mdp-card__new span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mdp-card__acts { display: flex; gap: 8px; margin-top: 12px; }
.mdp-card__acts > * { flex: 1 1 0; justify-content: center; height: 34px; }
@media (max-width: 700px) {
    .mdp__rail { gap: 14px; }
    .mdp__p { flex-basis: 70px; }
    .mdp__ring { width: 70px; height: 70px; padding: 3px; }
    .mdp__av { width: 60px; height: 60px; }
    .mdp__name { font-size: 11.5px; }
    .mfeed-composer__input { height: 42px; font-size: 14.5px; }
}
.mdp .mdp__name-t { white-space: normal !important; text-overflow: clip; max-width: 100%; }
.mdp .mdp__p.is-org .mdp__name-t { -webkit-line-clamp: 2; line-clamp: 2; }
.mdp .mdp__p:not(.is-org) .mdp__name-t { white-space: nowrap !important; text-overflow: ellipsis; display: block; }

/* Discover people: org names wrap on words, 2 lines */
.mdp .mdp__p.is-org .mdp__name{align-items:flex-start}
.mdp .mdp__p.is-org .mdp__name-t{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;word-break:normal!important;overflow-wrap:normal!important;font-size:12px;line-height:1.25;text-align:center}
.mdp .mdp__p.is-org .media-verified{margin-top:1px}
/* Mobile gutters (26 Nov 2026): the composer and Discover people line up with the cards. */
@media (max-width: 760px) {
    html body .mfeed-composer, html body .mdp { padding-left: 16px !important; padding-right: 16px !important; }
}

/* Discover people final visual polish (26 Nov 2026): 64px photo, 3px gap, 2px ring; even spacing; Users icon heading; right arrow only. */
.mdp .mdp__ring{width:74px;height:74px;padding:3px;border-width:2px;box-shadow:none;outline-offset:2px}
.mdp .mdp__av{width:64px;height:64px;box-shadow:none;border:0}
.mdp .mdp__p.is-org .mdp__av{box-shadow:inset 0 0 0 1px #EAECF0}
.mdp .mdp__rail{justify-content:space-between;gap:12px}
.mdp .mdp__p{flex:0 0 76px}
.mdp .mdp__title{display:flex;align-items:center;gap:8px}
.mdp .mdp__ic{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;background:#EEF4FF;color:var(--media-primary,#0b5fff);flex:none}
.mdp .mdp__nav[data-mdp-nav="-1"]{display:none}
@media (max-width:700px){.mdp .mdp__rail{justify-content:flex-start;gap:12px}.mdp .mdp__p{flex-basis:68px}.mdp .mdp__ring{width:64px;height:64px}.mdp .mdp__av{width:54px;height:54px}}

/* Discover people ring, refined (JM, 26 Nov 2026): a 1.5px line with a 2px white gap. */
html body .mdp .mdp__ring { padding: 3.5px !important; border: 0 !important; background: transparent !important; box-shadow: none; }
html body .mdp .mdp__ring.is-unseen { box-shadow: inset 0 0 0 1.5px var(--media-primary, #0b5fff) !important; }
html body .mdp .mdp__ring.is-viewed { box-shadow: inset 0 0 0 1px #D0D5DD !important; }
html body .mdp .mdp__ring .mdp__av { border: 0 !important; width: 100% !important; height: 100% !important; }
