
.es-player .httm-player-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 0 12px;margin:0 0 4px;border-bottom:1px solid #e8e4d7}
.es-player .httm-playback-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.es-player .httm-playback-controls button,.es-player .httm-player-next a{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:9px;border:1px solid #d9def0;background:#f4f6ff;color:#304eb2;font-weight:700;font-size:13px;min-height:38px;box-shadow:none;text-decoration:none;white-space:nowrap;margin:0}
.es-player .httm-playback-controls button:hover,.es-player .httm-player-next a:hover{background:#dfe7ff;color:#183f9a}
.es-player .httm-player-next{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0;flex-wrap:wrap}
.es-player .httm-volume-label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#334155;margin:0}
.es-player .httm-volume-label input{width:88px;margin:0;accent-color:#4164c4;cursor:pointer}
.es-player .httm-video-help{font-size:12px;color:#64748b;margin:4px 0 10px;min-height:0}
@media(max-width:800px){.es-player .httm-player-toolbar{flex-direction:column;align-items:stretch}.es-player .httm-playback-controls,.es-player .httm-player-next{justify-content:center}}

/* Fullscreen mode for YouTube iframe or HTML5 video: requested by direct learner click */
.es-player .httm-playback-controls .httm-fullscreen-btn{gap:7px;background:#e9efff;border-color:#aebfea;color:#22449c}
.es-player .httm-playback-controls .httm-fullscreen-btn:hover{background:#dce6ff}
.es-player .httm-fullscreen-symbol{font-size:20px;line-height:1}
.es-player .es-player-video:fullscreen,.es-player .es-player-video:-webkit-full-screen{width:100vw!important;height:100vh!important;min-height:0!important;max-height:none!important;background:#000!important;border-radius:0!important;display:flex!important;align-items:center;justify-content:center;padding:0!important;margin:0!important}
.es-player .es-player-video:fullscreen iframe,.es-player .es-player-video:fullscreen video,.es-player .es-player-video:-webkit-full-screen iframe,.es-player .es-player-video:-webkit-full-screen video{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;border:0!important;object-fit:contain}
@media(max-width:600px){.es-player .httm-playback-controls .httm-fullscreen-btn{flex:1 0 auto}}
/* Google Drive preview renders inside the existing 16:9 video frame. */
.es-player .es-player-video iframe.httm-google-drive-video{display:block;width:100%;height:100%;min-height:320px;border:0;background:#0b0b0b}
@media(max-width:600px){.es-player .es-player-video iframe.httm-google-drive-video{min-height:220px}}
