/* Shared video actions: the same red play-button language as our posters. */
html body .dc-video-action{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;max-width:100%;min-height:76px;padding:12px 18px!important;border:1px solid #a81526!important;border-radius:12px!important;background:#dc2535!important;color:#fff!important;box-shadow:0 3px 0 #a81526!important;font:700 16px/1.3 system-ui,sans-serif;text-align:center;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}
html body .dc-video-action::before{content:"";display:block;width:30px;height:30px;flex:none;background:currentColor;clip-path:polygon(17% 5%,95% 50%,17% 95%)}
html body .dc-video-action:hover{background:#bd1e2d!important}
html body .dc-video-action:focus-visible{outline:3px solid #176b61!important;outline-offset:4px}
html body :is(.video-play-icon,.library-play){display:flex;align-items:center;justify-content:center;width:76px;height:54px;padding:0;border-radius:12px;background:#dc2535!important;color:white!important;box-shadow:0 3px 0 #a81526;font-size:32px;line-height:1}
html body :is(.video-thumbnail,.library-thumbnail):hover :is(.video-play-icon,.library-play){background:#bd1e2d!important}
html body .section-tabs.resource-tiles .resource-tile-videos{--tile-bg:#dc2535;--tile-hover:#bd1e2d;--tile-accent:#a81526;--tile-ink:#fff;--tile-dark-bg:#dc2535;--tile-dark-hover:#bd1e2d;--tile-dark-ink:#fff}
html body :is(#video-close.video-return,#library-player-close){background:#dc2535!important;color:#fff!important;border-color:#a81526!important;box-shadow:0 3px 0 #a81526!important}
html body :is(#video-close.video-return,#library-player-close):hover{background:#bd1e2d!important}
html[data-reading-contrast="high"] body .dc-video-action{background:#fff!important;color:#000!important;border:2px solid #000!important;box-shadow:none!important}
html[data-reading-contrast="high"][data-appearance="dark"] body .dc-video-action{background:#000!important;color:#fff!important;border-color:#fff!important}

html body .dc-video-action[hidden]{display:none!important}

/* Match the adjacent All Posters square on the teacher home page. */
html body .teacher-collections > a.dc-video-action[href="all-videos.html"]{box-sizing:border-box;flex:0 0 128px;width:128px;height:128px;min-height:128px;aspect-ratio:1;padding:8px 6px!important;border-radius:14px!important}
