/* ROSERIALIS engagement COMPACT V2 — one module, no overrides elsewhere. */
/* The player sits above this card; desktop and mobile share a single surface. */
.roseng {
    min-width: 0;
    margin: 0 0 12px;
    padding: 12px 13px 14px;
    background: #fff;
    border: 1px solid #e1e7f1;
    border-top: 0;
    border-radius: 0 0 11px 11px;
}
.roseng .rsv2-share.roseng-share {
    display: block;
    min-width: 0;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.roseng .rsv2-share__lead {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
}
.roseng .rsv2-share__lead > .fa {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    border-radius: 8px;
}
.roseng .rsv2-share__lead strong {font-size: 13px; font-weight: 550; color: #2c3d5a;}
.roseng .rsv2-share__lead small {font-size: 12px; line-height: 1.25;}
.roseng .roseng-share-content {display: grid; gap: 7px; min-width: 0;}
.roseng .roseng-networks {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 6px;
    min-width: 0;
}
.roseng .ps-share, .roseng .ps-tool {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    min-height: 34px;
    padding: 6px 8px;
    border: 1px solid #dfe6f2;
    border-radius: 8px;
    background: #fff;
    color: #536783;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    box-sizing: border-box;
    transition: border-color .18s ease,background-color .18s ease;
}
.roseng .ps-share {
    color: var(--ps-brand,#526cff);
    background: rgba(var(--ps-brand-rgb,82,108,255),.045);
    border-color: rgba(var(--ps-brand-rgb,82,108,255),.16);
}
.roseng .ps-share:hover, .roseng .ps-share:focus-visible,
.roseng .ps-tool:hover, .roseng .ps-tool:focus-visible {
    border-color: #aebcf4;
    background: #f3f6ff;
}
.roseng .ps-share svg {display: block; flex: 0 0 16px; width: 16px; height: 16px; fill: currentColor;}
.roseng .ps-share svg [fill="none"] {fill: none;}
.roseng .ps-share__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.roseng .ps-share__count {
    margin-left: auto;
    min-width: 1.4ch;
    color: #71809a;
    font-size: 12px;
    font-weight: 500;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.roseng .ps-share--telegram {--ps-brand:#229ed9;--ps-brand-rgb:34,158,217;}
.roseng .ps-share--max {--ps-brand:#7457ff;--ps-brand-rgb:116,87,255;}
.roseng .ps-share--vk {--ps-brand:#2787f5;--ps-brand-rgb:39,135,245;}
.roseng .ps-share--ok {--ps-brand:#ee8208;--ps-brand-rgb:238,130,8;}
.roseng .ps-share--whatsapp {--ps-brand:#20b85a;--ps-brand-rgb:32,184,90;}
.roseng .ps-share--lj {--ps-brand:#547da0;--ps-brand-rgb:84,125,160;}
.roseng .ps-share--viber {--ps-brand:#7360a7;--ps-brand-rgb:115,96,167;}
.roseng .ps-share--native {--ps-brand:#5c759d;--ps-brand-rgb:92,117,157;}
.roseng .roseng-tools {display:flex; flex-wrap:wrap; gap:6px;}
.roseng .ps-tool {justify-content:center; min-width:87px; min-height:31px; padding:5px 9px; color:#60718c;}
.roseng .ps-tool .fa {font-size:14px;}
/* Emotions form the lower half of exactly the same card. */
.roseng .rs-v2-reactions {
    min-width: 0;
    margin: 12px 0 0;
    padding: 13px 0 0;
    border: 0;
    border-top: 1px solid #e9edf5;
    border-radius: 0;
    background: transparent;
}
.roseng .rs-v2-reactions__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 9px;
    margin-bottom: 10px;
}
.roseng .rs-v2-reactions__heading {min-width:0; flex:1 1 auto;}
.roseng .rs-v2-reactions__head h3 {
    margin: 0;
    color: #2c3d5a;
    font-size: 15px;
    font-weight: 550;
    line-height: 1.35;
}
.roseng .rs-v2-reactions__head p {
    margin: 2px 0 0;
    color: #78869c;
    font-size: 12px;
    line-height: 1.35;
}
.roseng .rs-v2-reactions__total {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 5px;
    min-height: 30px;
    padding: 5px 9px;
    white-space: nowrap;
    border: 1px solid #e2e8f5;
    border-radius: 8px;
    background: #f6f8ff;
    color: #677996;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.roseng .rs-v2-reactions__total strong {
    color: #3855a1;
    font-size: 15px;
    font-weight: 550;
    line-height: 1.25;
}
.roseng .rs-v2-reactions__grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
}
.roseng .rs-v2-reactions__grid button {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    min-height: 64px;
    padding: 8px 9px;
    border: 1px solid #dfe6f2;
    border-radius: 9px;
    background: #fafbfe;
    color: #31435f;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color .18s ease,border-color .18s ease;
}
.roseng .rs-v2-reaction__top {display:flex; align-items:center; gap:7px; min-width:0;}
.roseng .rs-v2-reaction__emoji {
    display: grid;
    place-items: center;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: #edf3fd;
    font-size: 19px;
    line-height: 1;
}
.roseng .rs-v2-reaction__text {min-width:0;}
.roseng .rs-v2-reactions__grid button b {
    display: block;
    min-width: 0;
    color: #3a4b68;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: break-word;
}
.roseng .rs-v2-reactions__grid button small {
    display: block;
    min-width: 0;
    margin-top: 2px;
    color: #738099;
    font-size: 12px;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}
.roseng .rs-v2-reaction__track {
    position: relative;
    display: block;
    align-self: stretch;
    flex: 0 0 3px;
    width: 100%;
    height: 3px;
    overflow: hidden;
    border-radius: 99px;
    background: #e8edfa;
}
.roseng .rs-v2-reaction__fill {
    display:block;
    width:0;
    height:100%;
    border-radius:inherit;
    background:var(--rsv2-blue);
    transition:none;
}
.roseng .rs-v2-reactions__grid button:hover,
.roseng .rs-v2-reactions__grid button:focus-visible {background:#f2f6ff; border-color:#b2c7eb;}
.roseng .rs-v2-reactions__grid button[aria-pressed="true"] {background:#eff3ff; border-color:#91a9ed;}
.roseng .rs-v2-reactions__grid button[aria-pressed="true"] .rs-v2-reaction__fill {background:var(--rsv2-blue-dark);}
.roseng .rs-v2-reactions.is-interactive .rs-v2-reaction__fill {transition:width .22s ease;}
.roseng .rs-v2-reactions__message {margin:8px 0 0; color:#718096; font-size:12px; line-height:1.35;}
.roseng .rs-v2-reactions__message:empty {display:none;}
@media (max-width:760px) {
    .roseng {padding:11px 10px 13px;}
    .roseng .roseng-networks {grid-template-columns:repeat(3,minmax(0,1fr));}
    .roseng .rs-v2-reactions__grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:520px) {
    .roseng .roseng-networks {grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px;}
    .roseng .ps-share {padding:5px 7px;}
    .roseng .rsv2-share__lead small {display:none;}
    .roseng .rs-v2-reactions__head {gap:7px;}
    .roseng .rs-v2-reactions__grid {gap:6px;}
    .roseng .rs-v2-reactions__grid button {min-height:62px; padding:7px 6px;}
    .roseng .rs-v2-reaction__top {gap:6px;}
    .roseng .rs-v2-reaction__emoji {flex-basis:27px; width:27px; height:27px; font-size:18px;}
    .roseng .rs-v2-reactions__total {padding:5px 7px;}
}
