/* SeansMatch 2.9.20.365 – compact trailer launch next to ranking film titles. */
.cmh-ranking-page .cmh-rank-title-line{
  display:flex!important;align-items:center!important;gap:8px!important;max-width:100%;min-width:0;
}
.cmh-ranking-page .cmh-rank-title-line>.cmh-rank-title-text{
  flex:0 1 auto!important;min-width:0!important;max-width:100%;margin:0!important;
}
.cmh-ranking-page .cmh-rank-title-line>.cmh-rank-title-text a{
  min-width:0;max-width:100%;text-overflow:ellipsis;overflow:hidden;
}
.cmh-ranking-page .cmh-rank-title-slot{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:0}
.cmh-ranking-page .cmh-rank-inline-play{
  display:grid!important;place-items:center!important;position:relative!important;
  flex:0 0 29px!important;width:29px!important;min-width:29px!important;
  height:29px!important;min-height:29px!important;max-height:29px!important;
  margin:0!important;padding:0!important;border:1px solid rgba(255,116,155,.48)!important;
  border-radius:50%!important;background:#20202c!important;color:#ff7695!important;
  box-shadow:none!important;outline-offset:3px!important;font-size:12px!important;
  transform:none!important;line-height:1!important;cursor:pointer!important;
  opacity:1!important;visibility:visible!important;z-index:2!important;
}
.cmh-ranking-page .cmh-rank-inline-play svg{display:block!important;width:11px!important;height:11px!important;flex:none;margin-left:1px}
.cmh-ranking-page .cmh-rank-inline-play:hover{background:#ff315f!important;border-color:#ff315f!important;color:#fff!important}
.cmh-ranking-page .cmh-rank-inline-play:focus-visible{outline:2px solid #ff9bb7!important}
/* 2.9.20.365: SMTR v1.3.0 appends a LARGE .smtr-play directly to the
   whole ranking row, not inside the poster. Its stylesheet is loaded later
   and uses !important. Hide the original overlay in precisely these three
   ranking sections; keep it in DOM so the small button can forward .click()
   to SMTR's unchanged native modal handler. Elsewhere nothing changes. */
html body .cmh-ranking-page .cmh-top10-card > .smtr-play,
html body .cmh-ranking-page .cmh-pulse-movie > .smtr-play,
html body .cmh-ranking-page .cmh-pulse-show > .smtr-play {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Hide older large overlapping trailer controls only on the three miniature posters.
   Movie posters themselves remain links to film pages. */
.cmh-ranking-page .cmh-rank-thumb-clean::before,
.cmh-ranking-page .cmh-rank-thumb-clean::after{content:none!important;display:none!important}
.cmh-ranking-page .cmh-top10-card .cmh-top10-poster>button,
.cmh-ranking-page .cmh-pulse-movie .cmh-pulse-thumb>button,
.cmh-ranking-page .cmh-pulse-show .cmh-pulse-thumb>button,
.cmh-ranking-page .cmh-rank-thumb-clean :is([class*="trailer"],[class*="play"],[class*="zwiastun"]):not(img),
.cmh-ranking-page .cmh-rank-poster-overlay-hidden{
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;box-shadow:none!important;
}
.cmh-ranking-page .cmh-pulse-movie-main .cmh-rank-title-line>a,
.cmh-ranking-page .cmh-pulse-movie-main .cmh-rank-title-line>strong{
  font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.cmh-ranking-page .cmh-pulse-show .cmh-rank-title-line>h3{line-height:1.3!important}
.cmh-ranking-page .cmh-top10-copy .cmh-rank-title-line{margin-bottom:5px}
@media(max-width:700px){
  .cmh-ranking-page .cmh-rank-title-line{gap:6px!important}
  .cmh-ranking-page .cmh-rank-inline-play{flex-basis:28px!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important}
}
.cmh-rank-video-modal[hidden]{display:none!important}
.cmh-rank-video-modal{position:fixed;inset:0;z-index:2147483600;display:grid;place-items:center;padding:16px}
.cmh-rank-video-shade{position:absolute;inset:0;background:rgba(1,3,9,.89);backdrop-filter:blur(5px)}
.cmh-rank-video-panel{position:relative;z-index:1;width:min(930px,calc(100vw - 28px));padding:14px;border:1px solid #363547;border-radius:16px;background:#11121c;box-shadow:0 25px 95px #000b}
.cmh-rank-video-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px;color:#fff;font:700 15px/1.3 system-ui,sans-serif}
.cmh-rank-video-head strong{min-width:0;overflow-wrap:anywhere}
.cmh-rank-video-head button{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #444150;border-radius:10px;background:#272430;color:#fff;cursor:pointer}
.cmh-rank-video-head button:hover{background:#ff315f}
.cmh-rank-video-frame{width:100%;aspect-ratio:16/9;background:#000;border-radius:10px;overflow:hidden}
.cmh-rank-video-frame iframe{width:100%;height:100%;border:0;display:block}
@media(max-width:600px){.cmh-rank-video-panel{padding:10px;border-radius:13px}.cmh-rank-video-head{font-size:13px}.cmh-rank-video-modal{padding:7px}}

/* 2.9.20.366 — a 44x44px touch target, but still only a 29px visual button.
   The original SMTR giant play remains hidden on these 3 ranking rows ONLY. */
@media (max-width:760px), (pointer:coarse) {
  html body .cmh-ranking-page .cmh-rank-inline-play {
    flex:0 0 44px!important;width:44px!important;min-width:44px!important;
    height:44px!important;min-height:44px!important;max-height:44px!important;
    padding:0!important;border:0!important;border-radius:12px!important;
    background:transparent!important;touch-action:manipulation!important;
  }
  html body .cmh-ranking-page .cmh-rank-inline-play::before {
    content:"";position:absolute;inset:50% auto auto 50%;
    width:28px;height:28px;border-radius:50%;
    transform:translate(-50%,-50%);
    border:1px solid rgba(255,116,155,.48);background:#20202c;
    pointer-events:none;
  }
  html body .cmh-ranking-page .cmh-rank-inline-play svg {position:relative;z-index:1;}
  html body .cmh-ranking-page .cmh-rank-inline-play:hover,
  html body .cmh-ranking-page .cmh-rank-inline-play:focus-visible {background:transparent!important;}
  html body .cmh-ranking-page .cmh-rank-inline-play:hover::before,
  html body .cmh-ranking-page .cmh-rank-inline-play:focus-visible::before {
    background:#ff315f;border-color:#ff315f;
  }
  html body .cmh-ranking-page .cmh-rank-title-line {gap:3px!important;min-width:0;}
  html body .cmh-ranking-page .cmh-rank-title-slot {min-width:44px!important;}
}
@media (max-width:950px) and (max-height:500px) and (orientation:landscape) {
  .cmh-rank-video-modal {padding:5px!important;}
  .cmh-rank-video-panel {max-height:calc(100dvh - 10px)!important;overflow-y:auto!important;
    padding:8px!important;border-radius:12px!important;}
  .cmh-rank-video-head {margin-bottom:5px!important;min-height:44px!important;}
  .cmh-rank-video-head button {min-width:44px!important;min-height:44px!important;}
  .cmh-rank-video-frame {height:min(56.25vw,calc(100dvh - 110px))!important;
    min-height:120px!important;aspect-ratio:auto!important;}
}
@media (max-width:760px) and (pointer:coarse) {
  .cmh-rank-video-head button {min-width:44px!important;min-height:44px!important;}
}
