.rdc-player { max-width: 100%; }
.rdc-player [hidden] { display: none !important; }
.rdc-card, .rdc-screen { position: relative; aspect-ratio: 16 / 9; min-height: 0; background: #172332; }
.rdc-card { display: grid; align-items: center; overflow: hidden; }
.rdc-card img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rdc-card img { object-fit: cover; }
.rdc-actions { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: clamp(1rem, 4%, 2rem); text-shadow: 0 1px 4px #000; color: white; }
.rdc-actions strong { font-size: 1.25em; overflow-wrap: anywhere; }
.rdc-actions button { border-radius: .4rem; border: 1px solid white; background: white; color: #172332; font: inherit; cursor: pointer; padding: .5em 1em; }
.rdc-actions button:focus-visible { outline: 3px solid #49cfff; outline-offset: 3px; }
.rdc-player .rdc-status:empty { margin: 0; }
.rdc-player { --plyr-color-main: var(--rdc-accent, #146c83); }
.rdc-screen .plyr { width: 100%; } .rdc-screen .plyr--youtube .plyr__video-wrapper { overflow: hidden; }
.rdc-screen .plyr--youtube .plyr__video-wrapper iframe {
position: absolute;
top: -50%;
left: 0;
width: 100%;
height: 200%;
max-height: none;
}
.cei-repaso .ia-screen > .ia-youtube { width: 100%; }
.ia-youtube .rdc-player { position: relative; }
.ia-youtube .rdc-player .rdc-card,
.ia-youtube .rdc-player .rdc-screen { min-height: 0; }
.ia-youtube .rdc-player .rdc-actions button {
background: white;
color: #172332;
padding: .5em 1em;
}
.ia-youtube .rdc-player .rdc-status:not(:empty) {
position: absolute;
bottom: 0;
left: 0;
margin: 0;
padding: .25em .5em;
background: #172332;
color: white;
pointer-events: none;
}
.rdc-player { width: 100%; container-type: inline-size; }
.rdc-player .rdc-card {
border-radius: 14px;
background: radial-gradient(ellipse at 8% 100%, var(--rdc-accent, #146c83), transparent 72%), #101826;
}
.rdc-card::after {
content: ''; position: absolute; inset: 0; pointer-events: none;
background: linear-gradient(0deg, #08101ee6, #08101e66 82%);
}
.rdc-card .rdc-actions {
z-index: 1; align-self: end; align-items: start; gap: .65rem;
padding: clamp(12px, 4cqw, 36px); text-align: left;
}
.rdc-card .rdc-actions strong { font: 650 clamp(16px, 3.8cqw, 34px)/1.15 system-ui, sans-serif; }
.rdc-player .rdc-card .rdc-actions button {
border: 0; border-radius: 99px; background: white; color: #142031;
font: 600 .95rem/1.1 system-ui, sans-serif; min-height: 40px; padding: 8px 18px;
}
.rdc-actions button::before { content: '▶'; margin-right: .55em; color: #344358; }
.rdc-screen .plyr { border-radius: 12px; }
.rdc-screen .plyr--fullscreen-active { border-radius: 0; }
.rdc-screen .plyr.plyr--fullscreen-fallback {
z-index: 2147483647;
border-radius: 0;
inset: 0;
width: auto;
height: 100dvh;
}
.rdc-player:has(.plyr--fullscreen-fallback) { container-type: normal; }
.cei-repaso article:has(.plyr--fullscreen-fallback) { animation: none; transform: none; }
.rdc-player .plyr.plyr--fullscreen-fallback .plyr__video-wrapper {
position: absolute;
top: 50%;
left: 50%;
width: min(100vw, 177.7778dvh);
height: min(56.25vw, 100dvh);
max-height: none;
padding: 0 !important;
transform: translate(-50%, -50%);
}
.rdc-player .plyr--video .plyr__controls {
display: flex;
gap: 4px;
padding: 3px 5px;
margin: 6px;
border: 1px solid rgb(238 241 255 / 24%);
border-radius: 14px;
background: rgb(12 17 33 / 65%);
color: #eef0ff;
backdrop-filter: blur(10px);
}
.rdc-player .plyr--video .plyr__controls .plyr__controls__item { margin-inline: 0; }
.rdc-player .plyr--video .plyr__controls :is(button.plyr__controls__item, .plyr__volume > button.plyr__control, .plyr__menu > button.plyr__control) {
display: inline-grid;
place-items: center;
box-sizing: border-box;
min-width: 44px;
min-height: 36px;
padding: 5px 8px;
border-radius: 10px;
background: transparent;
color: #eef0ff;
}
.rdc-player .plyr--video .plyr__controls button.plyr__control:is(:hover, [aria-expanded="true"]) {
background: rgb(238 241 255 / 18%);
}
.rdc-player .plyr--video button.plyr__control:focus-visible {
outline: 2px solid #eef0ff;
outline-offset: -2px;
}
.rdc-player .plyr--video .plyr__progress__buffer { visibility: hidden; }
.rdc-player .plyr--video .plyr__controls input[type="range"] {
--plyr-video-range-track-background: rgb(238 240 255 / 28%);
appearance: none;
background: transparent !important;
padding-block: 0;
border: 0 !important;
box-shadow: none !important;
} .rdc-player .plyr--video .plyr__controls input[type="range"]::-webkit-slider-runnable-track {
appearance: none;
height: 4px;
border: 0;
border-radius: 99px;
box-shadow: none;
background: linear-gradient(to right, var(--plyr-color-main) var(--value, 0%), var(--plyr-video-range-track-background) var(--value, 0%));
}
.rdc-player .plyr--video .plyr__controls input[type="range"]::-webkit-slider-thumb {
appearance: none;
height: 12px;
width: 12px;
margin-top: -4px;
border-radius: 50%;
background: #fff;
box-shadow: none;
}
.rdc-player.rdc-controls-resting .plyr--video .plyr__controls:not(:has(:focus-visible)) {
opacity: 0;
pointer-events: none;
transform: translateY(4px);
}
.rdc-player .plyr__time { color: #eef0ff; font-variant-numeric: tabular-nums; white-space: nowrap; }
@container (max-width: 560px) {
.rdc-player .plyr--video .plyr__controls { margin: 4px; padding: 2px 4px; gap: 1px; }
}
@container (max-width: 400px) {
.rdc-player .plyr--video .plyr__controls { flex-wrap: wrap; }
.rdc-screen .plyr__controls .plyr__progress__container { order: -1; flex: 0 0 100%; }
.rdc-player .plyr--video .plyr__controls .plyr__time { margin-right: auto; }
.rdc-player .plyr--video .plyr__controls :is(button.plyr__controls__item, .plyr__volume > button.plyr__control, .plyr__menu > button.plyr__control) {
min-width: 34px;
padding-inline: 5px;
}
.rdc-player .plyr--video .plyr__controls .plyr__volume {
width: auto;
min-width: 0;
}
.rdc-player .plyr--video .plyr__volume input[type="range"] {
width: 42px;
margin-inline: 1px 4px;
}
}
.rdc-player .plyr--video .plyr__menu__container {
background: rgb(12 17 33 / 94%);
color: #eef0ff;
border: 1px solid rgb(238 241 255 / 24%);
border-radius: 10px;
}
.rdc-player .plyr--video .plyr__menu__container::after { border-top-color: #12172a; }
.rdc-player .plyr--video .plyr__menu__container button.plyr__control { color: #eef0ff; }
.rdc-player .plyr--video .plyr__menu__container button.plyr__control:is(:hover, :focus-visible) {
background: rgb(238 241 255 / 18%);
}
.rdc-player .plyr--video .plyr__menu__container button.plyr__control::after { border-left-color: currentColor; }
.rdc-player .plyr--video .plyr__menu__container button.plyr__control--back::after { border-right-color: currentColor; }