.r84-rutube { margin-block: 18px 8px; }
.r84-rutube .dn-section-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem 1rem; margin: 0 0 .75rem; }
.r84-rutube .dn-section-heading h2 { margin: 0; font-size: clamp(15px,1.25vw,19px); text-transform:uppercase; }
.r84-rutube .dn-section-heading a { font-size:.79rem; color:#155595; text-decoration:underline; }
.r84-rutube-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.r84-rutube-card { min-width:0; }
.r84-rutube-card button { color:inherit; display:block; width:100%; padding:0; border:0; background:none; text-align:start; font:inherit; cursor:pointer; }
.r84-rutube-poster { display:block; aspect-ratio:16 / 9; position:relative; background:#e9eef3; color:#fff; }
.r84-rutube-poster img { display:block; width:100%; height:100%; object-fit:cover; }
.r84-rutube-play,.r84-rutube-time { position:absolute; background:#172945eb; color:#fff; border-radius:3px; padding:.2rem .42rem; }
.r84-rutube-play { inset-block-end:.35rem; inset-inline-start:.4rem; }
.r84-rutube-time { inset-block-end:.35rem; inset-inline-end:.4rem; font-size:.66rem; }
.r84-rutube :is(a,button):focus-visible { outline:2px solid #2466a7; outline-offset:2px; }
.r84-rutube-dialog { box-sizing:border-box; max-width:calc(100% - 1.2rem); width:min(52rem,calc(100vw - 1.2rem)); max-height:calc(100dvh - 1.2rem); padding:.7rem; background:#fff; color:#172945; border:1px solid #d8e0e9; }
.r84-rutube-dialog::backdrop { background:#102133bb; }
.r84-rutube-dialog > header { display:flex; justify-content:space-between; align-items:baseline; gap:.7rem; margin-block-end:.5rem; }
.r84-rutube-dialog h3 { margin:0; font-size:1rem; }
.r84-rutube-dialog iframe { display:block; border:0; width:100%; aspect-ratio:16/9; background:#102133; }
.r84-rutube-dialog-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.45rem 1rem; margin-block-start:.6rem; font-size:.84rem; }
.r84-rutube-dialog-actions a { text-decoration:underline; text-underline-offset:.16em; }
.r84-rutube-dialog-actions [hidden] { display:none; }
@media (max-width:46rem) {
 .r84-rutube-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
}

.r84-rutube-placeholder { color:#316090; display:grid; place-items:center; width:100%; height:100%; font-weight:750; letter-spacing:.05em; }

body.r84 .r84-rutube-dialog > header { align-items:center }
body.r84 .r84-rutube-dialog button[data-r84-video-close] {
 display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;
 min-height:44px;padding:6px 11px;border:0;border-radius:4px;margin:0;
 background:#b82039;color:#fff;box-shadow:none;
 font:650 14px/1.2 var(--sans,system-ui);cursor:pointer;text-transform:none;letter-spacing:normal;
}
body.r84 .r84-rutube-dialog button[data-r84-video-close]:hover {background:#96172d}
body.r84 .r84-rutube-dialog button[data-r84-video-close]:focus-visible {outline:2px solid #142a44;outline-offset:3px}
body.r84 .r84-rutube-dialog button[data-r84-video-close] svg {width:15px;height:15px;flex:none;pointer-events:none}
body.r84 .r84-rutube-dialog h3 {overflow-wrap:anywhere}
