/* Top Stories page skin. Matches the design-system.php #topstories spec.
   Loaded after top-stories.css. Keeps the live DOM and script hooks. */

.mc-watch-page {
  --watch-stage: #0b1120;
  --amber-50: #fffbeb;
  --amber-600: #d97706;
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
  background: var(--bg-surface, #fff);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  color: var(--slate-700, #334155);
}

/* Page chrome follows the header theme tokens in light and dark. */
html:has(.mc-watch-page),
body:has(.mc-watch-page),
body:has(.mc-watch-page) #site-content.site-content {
  background: var(--bg-page, #f8fafc) !important;
  color: var(--slate-800, #1e293b);
}

/* Fill the space under the header so the control bar is not clipped. */
body:has(.mc-watch-page) {
  display: flex;
  flex-direction: column;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}

body:has(.mc-watch-page) #site-content.site-content {
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 1421px) {
  body:has(.mc-watch-page) #site-content.site-content {
    width: calc(100% - var(--mc-sidebar-rail-width, 76px) - var(--mc-header-gap, 14px) - 12px) !important;
    margin-right: 12px !important;
  }
}

[data-theme="dark"] .mc-watch-page {
  --amber-50: rgba(245, 158, 11, 0.14);
  --amber-600: #fbbf24;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mc-watch-page {
    --amber-50: rgba(245, 158, 11, 0.14);
    --amber-600: #fbbf24;
    color-scheme: dark;
  }
}

.mc-watch-page #mainplayerdiv {
  order: 1;
  position: relative !important;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-surface, #fff) !important;
}

.mc-watch-page #P1,
.mc-watch-page #P11 {
  position: relative !important;
  flex: 1 1 auto;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  width: 100% !important;
  overflow: hidden;
  background: var(--watch-stage) !important;
}

.mc-watch-page #P1:after,
.mc-watch-page #P11:after {
  height: 100% !important;
}

.mc-watch-page #player,
.mc-watch-page #Vimeoplayer,
.mc-watch-page #player iframe,
.mc-watch-page #vimeoframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  object-fit: contain;
}

.mc-watch-page #filters {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: auto !important;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 0;
}

.mc-watch-page #filters a {
  float: none !important;
  display: inline-flex;
  align-items: center;
  height: 36px;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: var(--radius-full, 999px) !important;
  border: 1px solid var(--border-subtle, #e2e8f0) !important;
  background: var(--bg-surface, #fff) !important;
  color: var(--slate-600, #475569) !important;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 23, 42, 0.08));
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.mc-watch-page #filters a.activeFilter {
  color: var(--primary-700, #0369a1) !important;
  background: var(--bg-surface, #fff) !important;
  border: 2px solid var(--primary-600, #0284c7) !important;
  opacity: 1 !important;
}

.mc-watch-page .channelListing {
  order: 2;
  display: flex;
  flex-direction: column;
  position: relative !important;
  right: auto !important;
  left: auto !important;
  flex: 0 0 200px;
  width: 200px !important;
  height: 100%;
  max-height: 100%;
  z-index: 5;
  overflow: hidden;
  background: var(--bg-surface, #fff) !important;
  border-left: 1px solid var(--border-subtle, #e2e8f0);
  box-sizing: border-box;
}

.mc-watch-page .top-channels-titile {
  display: block;
  margin: 0 !important;
  padding: 14px 12px 10px;
  text-align: left;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--slate-900, #0f172a);
}

.mc-watch-page #listingchannels {
  height: calc(100% - 42px) !important;
  max-height: none;
  overflow: auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: start;
  padding: 0 10px 12px;
  white-space: normal;
  box-sizing: border-box;
}

.mc-watch-page .listfromserver {
  display: block;
  min-width: 0;
}

.mc-watch-page .channelcard {
  float: none !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100% !important;
  height: auto !important;
  min-height: 72px;
  margin: 0 !important;
  padding: 8px 6px !important;
  box-sizing: border-box;
  border-radius: var(--radius-md, 12px) !important;
  border: 1px solid var(--border-subtle, #e2e8f0) !important;
  background: var(--bg-surface-elevated, #fff) !important;
  box-shadow: none;
}

.mc-watch-page .channelcard.activeChannel {
  border-color: var(--primary-600, #0284c7) !important;
  box-shadow: 0 0 0 3px var(--primary-ring, rgba(2, 132, 199, 0.25));
}

.mc-watch-page .channelcard img.card-img-top {
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  object-fit: contain;
  border-radius: var(--radius-sm, 8px);
  background: var(--bg-surface-subtle, #f8fafc);
}

.mc-watch-page .channelcard p {
  max-width: 100%;
  margin: 0 !important;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-700, #334155) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-watch-page .hidelisting {
  display: none;
}

.mc-watch-page #restvid {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  flex: 0 0 auto;
  order: 2;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  margin: 0;
  padding: 10px 48px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  background: var(--bg-surface, #fff) !important;
  border-top: 1px solid var(--border-subtle, #e2e8f0);
  z-index: 6;
  scrollbar-width: none;
}

.mc-watch-page #restvid::-webkit-scrollbar {
  display: none;
}

.mc-watch-page #restvid img {
  width: 132px !important;
  height: 74px !important;
  margin: 0 8px 0 0 !important;
  padding: 0;
  object-fit: cover;
  vertical-align: middle;
  border-radius: var(--radius-sm, 8px) !important;
  border: 3px solid transparent !important;
  box-sizing: border-box;
  background: var(--watch-stage);
}

.mc-watch-page #restvid img.activelink {
  border-color: var(--primary-500, #0ea5e9) !important;
}

.mc-watch-page #mainplayerdiv #actiondiv {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  order: 3;
  flex: 0 0 auto;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  margin: 0;
  padding: 12px 16px 18px;
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: 36px 36px minmax(88px, 150px) minmax(0, 1fr) 36px;
  align-items: center;
  column-gap: 10px;
  background: var(--bg-surface, #fff) !important;
  border: none !important;
  z-index: 7;
  overflow: visible;
}

.mc-watch-page #mainplayerdiv:not(.watch-chrome-visible) #actiondiv {
  padding-top: 16px;
}

.mc-watch-page #playpause,
.mc-watch-page #muteUnmute,
.mc-watch-page #fullScreen {
  box-sizing: border-box;
  width: 36px !important;
  min-width: 36px;
  height: 36px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 3px;
  overflow: hidden;
  border-radius: var(--radius-full, 999px);
  border: 1px solid var(--border-subtle, #e2e8f0);
  background: var(--bg-surface-subtle, #f8fafc);
  color: var(--slate-700, #334155);
}

.mc-watch-page #playpause img {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.mc-watch-page #playpause:has(.fa-pause)::before,
.mc-watch-page #playpause:has(.fa-pause)::after {
  content: "";
  width: 3px;
  height: 12px;
  border-radius: 1px;
  background: var(--primary-600, #0284c7);
}

.mc-watch-page #playpause:has(.fa-play)::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent var(--primary-600, #0284c7);
}

.mc-watch-page #fullScreen {
  justify-self: end;
}

.mc-watch-page #muteUnmute img,
.mc-watch-page #fullScreen img,
.mc-watch-page .expandScreen {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  object-fit: contain;
}

.mc-watch-page #volumediv {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  max-width: none;
  height: 36px;
  margin: 0;
  display: flex;
  align-items: center;
  align-self: center;
}

.mc-watch-page #volume {
  display: block;
  width: 100%;
  height: 18px;
  margin: 0;
  accent-color: var(--primary-600, #0284c7);
}

.mc-watch-page #actions {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100% !important;
  height: 36px;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  order: 0;
  justify-self: center;
  align-self: center;
}

.mc-watch-page #actions div {
  box-sizing: border-box;
  margin: 0 !important;
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px !important;
  border-radius: var(--radius-full, 999px);
  border: 1px solid var(--border-subtle, #e2e8f0);
  background: var(--bg-surface-subtle, #f8fafc);
  color: var(--slate-700, #334155) !important;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.mc-watch-page #actions img {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  object-fit: contain;
}

.mc-watch-page #zapclap {
  margin: 0 !important;
  color: var(--amber-600) !important;
  background: var(--amber-50) !important;
  border-color: transparent !important;
}

.mc-watch-page #zapclapcount {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full, 999px);
  background: var(--primary-600, #0284c7);
  color: #fff;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.mc-watch-page #listtoggle {
  display: none !important;
}

.mc-watch-page #left-scroll,
.mc-watch-page #right-scroll {
  position: absolute !important;
  top: auto !important;
  bottom: 78px !important;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full, 999px);
  border: 1px solid var(--border-subtle, #e2e8f0);
  background: var(--bg-surface, #fff);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 23, 42, 0.08));
  font-size: 16px;
  z-index: 8;
}

.mc-watch-page #left-scroll {
  left: 8px !important;
  float: none;
}

.mc-watch-page #right-scroll {
  right: 8px !important;
  float: none;
}

.mc-watch-page #left-scroll .fa,
.mc-watch-page #right-scroll .fa {
  font-size: 18px !important;
  font-weight: 700;
  color: var(--slate-700, #334155) !important;
  padding: 0 !important;
  line-height: 1;
}

.mc-watch-page .alert-clipboard,
.alert-clipboard {
  background: var(--primary-600, #0284c7) !important;
  border: none !important;
  border-radius: var(--radius-md, 12px) !important;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif) !important;
}

#mainplayerdiv:fullscreen,
#mainplayerdiv:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  background: var(--watch-stage, #0b1120) !important;
  display: flex !important;
  flex-direction: column;
}

#mainplayerdiv:fullscreen #P1,
#mainplayerdiv:fullscreen #P11,
#mainplayerdiv:-webkit-full-screen #P1,
#mainplayerdiv:-webkit-full-screen #P11 {
  flex: 1 1 auto;
  height: auto !important;
}

@media (max-width: 900px) {
  .mc-watch-page {
    flex-direction: column;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  html:has(.mc-watch-page),
  body:has(.mc-watch-page) {
    display: block;
    overflow: auto !important;
    height: auto !important;
    max-height: none !important;
  }

  .mc-watch-page #mainplayerdiv {
    height: auto !important;
    max-height: none !important;
    flex: none;
  }

  .mc-watch-page #P1,
  .mc-watch-page #P11 {
    flex: none;
    aspect-ratio: 16 / 9;
    min-height: 210px;
  }

  .mc-watch-page .channelListing {
    flex: none;
    width: 100% !important;
    height: auto;
    max-height: 240px;
    border-left: none;
    border-top: 1px solid var(--border-subtle, #e2e8f0);
  }

  .mc-watch-page #mainplayerdiv #actiondiv {
    grid-template-columns: 36px 36px minmax(0, 1fr) 36px;
  }

  .mc-watch-page #volumediv {
    display: none;
  }

  .mc-watch-page #actions {
    grid-column: 1 / -1;
  }
}

/* Interactivity sheet sits on the lower part of the player. The video stays visible above it. */
.mc-watch-page #interactivityDiv {
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 42% !important;
  max-height: 380px !important;
  margin: 0 !important;
  background: var(--bg-surface, #fff) !important;
  color: var(--slate-700, #334155);
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  border-top: 1px solid var(--border-subtle, #e2e8f0);
  box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.22);
  z-index: 40;
  overflow: hidden;
}

.mc-watch-page #interactivityDiv #optionsk {
  position: absolute !important;
  top: 0;
  left: 0;
  bottom: 0;
  width: 220px !important;
  margin: 0;
  padding: 14px 10px 12px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-surface, #fff) !important;
  border-right: 1px solid var(--border-subtle, #e2e8f0);
  overflow: auto;
  z-index: 2;
}

.mc-watch-page #interactivityDiv #optionsk::before {
  content: "Interactivity";
  display: block;
  padding: 2px 8px 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--slate-900, #0f172a);
}

.mc-watch-page #interactivityDiv #optionsk > span {
  width: auto !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: var(--radius-md, 12px);
}

.mc-watch-page #interactivityDiv .viewcreate {
  display: flex !important;
  gap: 4px;
  padding: 4px;
  margin-bottom: 8px !important;
  background: var(--slate-100, #f1f5f9) !important;
  border-radius: var(--radius-full, 999px);
}

.mc-watch-page #interactivityDiv .vcinner {
  position: relative;
  flex: 1 1 0;
  display: flex;
  padding: 0;
}

.mc-watch-page #interactivityDiv .vcinner input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.mc-watch-page #interactivityDiv .vcinner label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  margin: 0 !important;
  border-radius: var(--radius-full, 999px);
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-600, #475569);
  cursor: pointer;
}

.mc-watch-page #interactivityDiv .vcinner input:checked + label {
  background: var(--bg-surface, #fff);
  color: var(--primary-700, #0369a1);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 23, 42, 0.08));
}

.mc-watch-page #interactivityDiv .interbtn {
  display: flex !important;
  align-items: center;
  gap: 10px;
  height: 44px !important;
  padding: 0 10px;
  cursor: pointer;
}

.mc-watch-page #interactivityDiv #optionsk span img {
  position: static !important;
  width: 28px !important;
  height: 28px;
  margin: 0 !important;
  object-fit: contain;
}

.mc-watch-page #interactivityDiv .subheadings {
  position: static !important;
  top: auto !important;
  left: auto !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700, #334155);
}

.mc-watch-page #interactivityDiv .interbtn.sel {
  background: var(--primary-50, #f0f9ff) !important;
}

.mc-watch-page #interactivityDiv .interbtn.sel .subheadings {
  color: var(--primary-700, #0369a1);
  font-weight: 700;
}

.mc-watch-page #interactivityDiv #maincontentdiv {
  position: absolute !important;
  top: 0;
  left: 220px;
  right: 0;
  bottom: 0;
  width: auto !important;
  margin: 0;
  padding: 56px 20px 16px;
  box-sizing: border-box;
  overflow: auto;
  background: var(--bg-surface, #fff) !important;
  color: var(--slate-700, #334155);
}

.mc-watch-page #interactivityDiv .crossDiv {
  position: absolute !important;
  top: 12px;
  right: 12px;
  width: 36px !important;
  height: 36px;
  margin: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full, 999px);
  border: 1px solid var(--border-subtle, #e2e8f0);
  background: var(--bg-surface, #fff);
  cursor: pointer;
  z-index: 5;
}

.mc-watch-page #interactivityDiv .crossbutton {
  display: none !important;
}

.mc-watch-page #interactivityDiv .crossDiv::before,
.mc-watch-page #interactivityDiv .crossDiv::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.mc-watch-page #interactivityDiv .crossDiv::before {
  transform: rotate(45deg);
}

.mc-watch-page #interactivityDiv .crossDiv::after {
  transform: rotate(-45deg);
}

.mc-watch-page #interactivityDiv .interdivs,
.mc-watch-page #interactivityDiv .loading-text {
  padding: 8px 4px 20px !important;
  color: var(--slate-500, #64748b);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  text-align: left;
}

.mc-watch-page #interactivityDiv .createLink {
  color: var(--primary-600, #0284c7);
  font-weight: 700;
}

.mc-watch-page #interactivityDiv .interdivs tr,
.mc-watch-page #interactivityDiv .interdivs td {
  display: block;
  width: auto !important;
  margin: 0 0 8px !important;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  text-align: left !important;
}

.mc-watch-page #interactivityDiv .historydiv .listing {
  height: auto !important;
  max-height: none;
  overflow: visible;
  padding: 0 !important;
}

.mc-watch-page #interactivityDiv .historydiv .imglist {
  width: auto;
  max-width: 280px;
}

.mc-watch-page #interactivityDiv .historydiv .imglist:empty {
  display: none;
}

.mc-watch-page #interactivityDiv .maindiv {
  position: relative;
  width: 100% !important;
  max-width: 560px;
  margin: 0 0 12px !important;
  padding: 16px !important;
  box-sizing: border-box;
  border: 1px solid var(--border-subtle, #e2e8f0) !important;
  border-radius: var(--radius-lg, 18px) !important;
  background: var(--bg-surface, #fff);
}

.mc-watch-page #interactivityDiv .interactivity-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--slate-500, #64748b);
  border-bottom-color: var(--border-subtle, #e2e8f0);
}

.mc-watch-page #interactivityDiv .interactivity-meta .creator-name i,
.mc-watch-page #interactivityDiv .interactivity-meta .interaction-count,
.mc-watch-page #interactivityDiv .interactivity-meta .interaction-count i {
  color: var(--primary-600, #0284c7);
}

.mc-watch-page #interactivityDiv .interactivity-meta .interaction-count {
  background: var(--primary-50, #f0f9ff);
}

.mc-watch-page #interactivityDiv .questionimg {
  display: block;
  margin: 10px 0;
}

.mc-watch-page #interactivityDiv .listing img.mainimg,
.mc-watch-page #interactivityDiv .questionimg img {
  width: 100%;
  max-width: 280px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md, 12px);
}

.mc-watch-page #interactivityDiv .choices {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 12px;
}

.mc-watch-page #interactivityDiv .choices > div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid var(--border-subtle, #e2e8f0) !important;
  border-radius: var(--radius-md, 12px);
  background: var(--slate-50, #f8fafc);
}

.mc-watch-page #interactivityDiv .choicesubmit,
.mc-watch-page #interactivityDiv .savebtn {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  align-self: flex-start;
  width: auto;
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 8px 16px !important;
  background: var(--primary-600, #0284c7) !important;
  color: #fff !important;
  border-radius: var(--radius-full, 999px) !important;
  font-size: 13px !important;
  font-weight: 700;
  text-decoration: none;
}

.mc-watch-page #interactivityDiv [id^="questionAnswer_"],
.mc-watch-page #interactivityDiv #questionAnswer {
  position: static !important;
  top: auto !important;
  width: 100% !important;
  max-width: 100%;
  height: 44px;
  box-sizing: border-box;
  margin: 8px 0 0 !important;
  padding: 10px 12px !important;
  border: 1px solid var(--border-subtle, #e2e8f0) !important;
  border-radius: var(--radius-md, 12px) !important;
  background: var(--bg-surface, #fff);
  color: var(--slate-800, #1e293b);
}

.mc-watch-page #interactivityDiv .maindiv .rate {
  position: static !important;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  margin: 8px 0;
}

.mc-watch-page #interactivityDiv .maindiv .rate label,
.mc-watch-page #interactivityDiv .maindiv .rate:not(:checked) label:before {
  float: none;
  width: auto;
  font-size: 22px;
}

.mc-watch-page #interactivityDiv .createinter,
.mc-watch-page #interactivityDiv .createinter.question,
.mc-watch-page #interactivityDiv .createinter.rating,
.mc-watch-page #interactivityDiv .createinter.betting,
.mc-watch-page #interactivityDiv .createinter.voting,
.mc-watch-page #interactivityDiv .createinter.quiz {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  height: auto !important;
  width: 100%;
  max-width: 520px;
  margin: 0 !important;
  padding: 0 0 8px !important;
  background: transparent !important;
  box-sizing: border-box;
}

.mc-watch-page #interactivityDiv .createinter > div {
  width: 100%;
  margin: 0;
}

.mc-watch-page #interactivityDiv .createinter textarea,
.mc-watch-page #interactivityDiv .createinter .inputs,
.mc-watch-page #interactivityDiv #maincontentdiv textarea {
  width: 100% !important;
  max-width: 100%;
  height: 44px !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 10px 12px !important;
  box-sizing: border-box;
  border: 1px solid var(--border-subtle, #e2e8f0) !important;
  border-radius: var(--radius-md, 12px) !important;
  background: var(--slate-50, #f8fafc) !important;
  color: var(--slate-800, #1e293b);
  font-family: inherit;
  font-size: 14px;
  resize: none;
}

.mc-watch-page #interactivityDiv .votingsection_,
.mc-watch-page #interactivityDiv .quizsection_,
.mc-watch-page #interactivityDiv .ratingsection_,
.mc-watch-page #interactivityDiv .bettingsection_,
.mc-watch-page #interactivityDiv .createinter > .imgcont {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  margin: 0 !important;
}

.mc-watch-page #interactivityDiv #selectquiz,
.mc-watch-page #interactivityDiv #selectvoting {
  position: static;
  display: inline-flex;
  gap: 4px;
  margin: 0;
  padding: 4px;
  background: var(--slate-100, #f1f5f9);
  border-radius: var(--radius-full, 999px);
}

.mc-watch-page #interactivityDiv #selectquiz input,
.mc-watch-page #interactivityDiv #selectvoting input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.mc-watch-page #interactivityDiv #selectquiz label,
.mc-watch-page #interactivityDiv #selectvoting label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: 30px;
  margin: 0 !important;
  padding: 0 12px;
  border-radius: var(--radius-full, 999px);
  background: transparent;
  color: var(--slate-600, #475569);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mc-watch-page #interactivityDiv #selectquiz input:checked + label,
.mc-watch-page #interactivityDiv #selectvoting input:checked + label {
  background: var(--bg-surface, #fff);
  color: var(--primary-700, #0369a1);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 23, 42, 0.08));
}

.mc-watch-page #interactivityDiv .createinter .InterImg_ {
  width: 88px !important;
  height: 72px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md, 12px);
  border: 1px solid transparent;
  background-color: var(--slate-50, #f8fafc);
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.mc-watch-page #interactivityDiv .createinter img.InterImg_[src*="upload_img.png"] {
  object-fit: none;
  object-position: -9999px -9999px;
  border: 1.5px dashed var(--slate-300, #cbd5e1);
  background-color: var(--slate-50, #f8fafc);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='none' stroke='%230284c7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='22' height='18' rx='3'/%3E%3Ccircle cx='9.5' cy='11' r='1.5' fill='%230284c7' stroke='none'/%3E%3Cpath d='M3 18l6-5 4 3.5L16.5 13 25 19'/%3E%3Cpath d='M18 3.5v6M15 6.5h6'/%3E%3C/svg%3E");
  background-size: 28px 28px;
}

.mc-watch-page #interactivityDiv .createinter img.InterImg_[src*="upload_img.png"]:hover {
  border-color: var(--primary-500, #0ea5e9);
  background-color: var(--primary-50, #f0f9ff);
}

.mc-watch-page #interactivityDiv .innerdivs img.InterImg_[src*="upload_img.png"],
.mc-watch-page #interactivityDiv img.InterImg_.opt[src*="upload_img.png"] {
  background-size: 18px 18px;
}

.mc-watch-page #interactivityDiv .optionscroll,
.mc-watch-page #interactivityDiv .quizansdiv,
.mc-watch-page #interactivityDiv .votingansdiv {
  position: relative;
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  margin: 0 !important;
  overflow: visible;
}

.mc-watch-page #interactivityDiv .createinter.voting,
.mc-watch-page #interactivityDiv .createinter.quiz {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  max-width: none;
  gap: 8px 10px;
}

.mc-watch-page #interactivityDiv .votingsection_,
.mc-watch-page #interactivityDiv .quizsection_ {
  flex-direction: row;
  align-items: center;
  width: auto !important;
  flex: 0 1 auto;
}

.mc-watch-page #interactivityDiv .createinter.voting > div:nth-child(2),
.mc-watch-page #interactivityDiv .createinter.quiz > div:nth-child(2) {
  flex: 0 1 280px;
  width: 280px;
  max-width: 320px;
  min-width: 160px;
}

.mc-watch-page #interactivityDiv .createinter.question {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  max-width: none;
}

.mc-watch-page #interactivityDiv .createinter.question > .imgcont {
  width: auto !important;
  flex: 0 0 auto;
}

.mc-watch-page #interactivityDiv .createinter.question #interquestiontext_,
.mc-watch-page #interactivityDiv .createinter.question #interquestiontext,
.mc-watch-page #interactivityDiv .createinter.quiz #interquiztext_,
.mc-watch-page #interactivityDiv .createinter.quiz #interquiztext {
  width: 280px !important;
  max-width: 320px;
  flex: 0 1 280px;
}

.mc-watch-page #interactivityDiv .createinter.voting .optionscroll,
.mc-watch-page #interactivityDiv .createinter.quiz .optionscroll {
  flex: 1 1 100%;
  overflow: visible !important;
  height: auto !important;
}

.mc-watch-page #interactivityDiv #votingAnw,
.mc-watch-page #interactivityDiv #quizAnw {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 !important;
}

.mc-watch-page #interactivityDiv .createinter.voting .innerdivs,
.mc-watch-page #interactivityDiv .createinter.quiz .innerdivs {
  flex: 1 1 220px;
  width: auto !important;
  max-width: 340px;
}

.mc-watch-page #interactivityDiv .innerdivs {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.mc-watch-page #interactivityDiv .innerdivs > div:first-child {
  flex: 0 0 auto;
}

.mc-watch-page #interactivityDiv .innerdivs .InterImg_,
.mc-watch-page #interactivityDiv .InterImg_.opt {
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
}

.mc-watch-page #interactivityDiv .innerdiv {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  margin: 0;
}

.mc-watch-page #interactivityDiv .innerdiv input {
  flex: 1 1 auto;
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  box-sizing: border-box;
  border: 1px solid var(--border-subtle, #e2e8f0) !important;
  border-radius: var(--radius-md, 12px) !important;
  background: var(--slate-50, #f8fafc) !important;
  color: var(--slate-800, #1e293b);
  font-family: inherit;
  font-size: 14px;
}

.mc-watch-page #interactivityDiv .fa-minus {
  position: static !important;
  right: auto !important;
  top: auto !important;
  flex: 0 0 auto;
  margin: 0;
  padding: 0 !important;
  font-size: 16px !important;
  line-height: 1;
  color: var(--slate-500, #64748b);
  cursor: pointer;
}

.mc-watch-page #interactivityDiv .plus {
  position: relative;
  width: 32px;
  height: 32px;
  margin: 0;
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-full, 999px);
  background: var(--bg-surface, #fff);
  cursor: pointer;
}

.mc-watch-page #interactivityDiv .plus:before,
.mc-watch-page #interactivityDiv .plus:after {
  content: "";
  position: absolute;
  background: var(--primary-600, #0284c7);
  border: none !important;
  margin: 0 !important;
}

.mc-watch-page #interactivityDiv .plus:before {
  width: 14px;
  height: 2px;
  left: 9px;
  top: 15px;
}

.mc-watch-page #interactivityDiv .plus:after {
  width: 2px;
  height: 14px;
  left: 15px;
  top: 9px;
}

@media (max-width: 900px) {
  .mc-watch-page #interactivityDiv #optionsk {
    right: 0;
    bottom: auto;
    width: auto !important;
    height: auto;
    max-height: 46%;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle, #e2e8f0);
  }

  .mc-watch-page #interactivityDiv #optionsk::before,
  .mc-watch-page #interactivityDiv .viewcreate {
    flex: 1 1 100%;
  }

  .mc-watch-page #interactivityDiv .interbtn {
    flex: 1 1 auto;
  }

  .mc-watch-page #interactivityDiv #maincontentdiv {
    top: 46%;
    left: 0;
    padding: 12px;
  }
}

/* Zap & Clap is a pair of dark cards on the bottom of the video, not a white slab. */
.mc-watch-page #zapclapDiv {
  position: absolute !important;
  top: auto !important;
  right: 16px !important;
  bottom: 12px !important;
  left: 16px !important;
  width: auto !important;
  height: 248px !important;
  max-height: 248px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  color: #f8fafc;
  z-index: 40;
  overflow: visible;
  pointer-events: none;
}

.mc-watch-page #zapclapDiv > div {
  display: flex !important;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 1080px;
  height: 248px !important;
  max-height: 248px !important;
  min-height: 0 !important;
  margin: 0 auto;
  overflow: visible;
  position: relative !important;
  pointer-events: none;
}

.mc-watch-page #zapclapDiv .histogram-container,
.mc-watch-page #zapclapDiv .zapclapBtn {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.mc-watch-page #zapclapDiv .zapclapBtn {
  position: relative !important;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1.15 1 480px;
  min-width: 0;
  height: 248px !important;
  max-height: 248px !important;
  min-height: 0 !important;
  overflow: hidden;
  margin: 0 !important;
  padding: 8px 16px 12px;
  box-sizing: border-box;
  right: auto !important;
  top: auto !important;
}

.mc-watch-page #zapclapDiv .clickzapclap,
.mc-watch-page #zapclapDiv .claps__ {
  margin: 0 !important;
  position: relative !important;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mc-watch-page #zapclapDiv .zaps,
.mc-watch-page #zapclapDiv .claps {
  width: 64px !important;
  height: 64px !important;
  max-width: none;
  object-fit: contain;
  cursor: pointer;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.mc-watch-page #zapclapDiv .mainzapclap {
  position: relative !important;
  zoom: 1;
  transform: scale(0.58);
  transform-origin: center 62%;
  width: 520px;
  height: 250px;
  max-height: none;
  margin: 0;
  flex: 0 0 310px;
  overflow: visible;
  pointer-events: none;
}

.mc-watch-page #zapclapDiv .mainzapclap > div:not(.clock) {
  z-index: 3;
  min-width: 72px;
  padding: 4px 8px 6px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.72);
  text-align: center;
}

.mc-watch-page #zapclapDiv #zappy,
.mc-watch-page #zapclapDiv #clappy {
  display: block;
  color: #fff !important;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.mc-watch-page #zapclapDiv .zappp,
.mc-watch-page #zapclapDiv .clapp {
  margin: 2px 0 0 !important;
  color: rgba(248, 250, 252, 0.82) !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.mc-watch-page #zapclapDiv #zapclapTime {
  z-index: 4;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.mc-watch-page #zapclapDiv .histogram-container {
  position: relative !important;
  flex: 1 1 340px;
  width: auto !important;
  max-width: 420px;
  height: 248px !important;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 14px 14px 10px !important;
  box-sizing: border-box;
  z-index: 1;
}

.mc-watch-page #zapclapDiv .histogram-wrapper {
  height: 100% !important;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mc-watch-page #zapclapDiv .histogram-title,
.mc-watch-page #zapclapDiv .histogram-legend,
.mc-watch-page #zapclapDiv .time-label {
  color: #f8fafc !important;
  text-align: left;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.mc-watch-page #zapclapDiv .histogram-legend {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  margin: 8px 0 0;
  font-weight: 600;
  font-size: 12px;
}

.mc-watch-page #zapclapDiv .zap-legend,
.mc-watch-page #zapclapDiv .clap-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mc-watch-page #zapclapDiv .zap-legend::before,
.mc-watch-page #zapclapDiv .clap-legend::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full, 999px);
  background: #ef4444;
}

.mc-watch-page #zapclapDiv .clap-legend::before {
  background: #22c55e;
}

.mc-watch-page #zapclapDiv .histogram-chart {
  position: relative;
  display: block !important;
  flex: 1 1 auto;
  height: 148px !important;
  min-height: 148px;
  padding: 0 !important;
  overflow: hidden;
}

.mc-watch-page #zapclapDiv .histogram-chart canvas {
  width: 100% !important;
  height: 100% !important;
}

.mc-watch-page #zapclapDiv #ziggle {
  display: none;
}

@media (max-width: 900px) {
  .mc-watch-page #zapclapDiv {
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    height: auto !important;
    max-height: min(62vh, 420px) !important;
  }

  .mc-watch-page #zapclapDiv > div {
    flex-direction: column;
    align-items: stretch;
    height: auto !important;
    max-height: none !important;
    max-width: none;
  }

  .mc-watch-page #zapclapDiv .histogram-container,
  .mc-watch-page #zapclapDiv .zapclapBtn {
    max-width: 100%;
    width: 100% !important;
    flex: 1 1 auto;
    height: 168px !important;
    max-height: 168px !important;
  }

  .mc-watch-page #zapclapDiv .histogram-chart {
    height: 100px !important;
    min-height: 100px;
  }

  .mc-watch-page #zapclapDiv .mainzapclap {
    transform: scale(0.46);
    transform-origin: center 58%;
    margin: 0;
  }
}

.mc-watch-page input[type="text"],
.mc-watch-page input[type="number"],
.mc-watch-page input[type="search"],
.mc-watch-page textarea {
  color: var(--slate-800, #1e293b);
}

.mc-watch-page input::placeholder,
.mc-watch-page textarea::placeholder {
  color: var(--slate-400, #94a3b8);
}

[data-theme="dark"] .mc-watch-page {
  color-scheme: dark;
}

/* Loading skeleton — same .mc-skeleton / mcShimmer motion as the design system.
   Shine uses --slate-100/--slate-200 from page-header.css, which already flip
   for [data-theme="dark"] and prefers-color-scheme. */
.mc-watch-page {
  position: relative;
}

.mc-watch-page .mc-skeleton {
  display: block;
  background: linear-gradient(90deg, var(--slate-100, #f1f5f9) 25%, var(--slate-200, #e2e8f0) 50%, var(--slate-100, #f1f5f9) 75%);
  background-size: 200% 100%;
  animation: mcShimmer 1.5s infinite;
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
}

@keyframes mcShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.mc-watch-page .mc-watch-skeleton {
  position: absolute;
  inset: 0;
  z-index: 32;
  display: flex;
  align-items: stretch;
  background: var(--bg-surface, #fff);
  pointer-events: none;
  overflow: hidden;
}

.mc-watch-page:has(#watch-skeleton) #loader1 {
  visibility: hidden;
}

.mc-watch-page .mc-watch-skel-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.mc-watch-page .mc-watch-skel-player {
  flex: 1 1 auto;
  min-height: 180px;
  border-radius: 0;
}

.mc-watch-page .mc-watch-skel-strip {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 16px;
  border-top: 1px solid var(--border-subtle, #e2e8f0);
  overflow: hidden;
}

.mc-watch-page .mc-watch-skel-thumb {
  width: 132px;
  height: 74px;
  flex: 0 0 auto;
}

.mc-watch-page .mc-watch-skel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 66px;
  padding: 12px 16px 18px;
  box-sizing: border-box;
  border-top: 1px solid var(--border-subtle, #e2e8f0);
}

.mc-watch-page .mc-watch-skel-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full, 999px);
  flex: 0 0 auto;
}

.mc-watch-page .mc-watch-skel-btn.is-wide {
  width: 148px;
}

.mc-watch-page .mc-watch-skel-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: start;
  width: 200px;
  flex: 0 0 200px;
  padding: 14px 10px 12px;
  box-sizing: border-box;
  border-left: 1px solid var(--border-subtle, #e2e8f0);
  background: var(--bg-surface, #fff);
}

.mc-watch-page .mc-watch-skel-label {
  grid-column: 1 / -1;
  width: 72%;
  height: 14px;
}

.mc-watch-page .mc-watch-skel-card {
  height: 72px;
  border-radius: var(--radius-md, 12px);
}

@media (max-width: 900px) {
  .mc-watch-page .mc-watch-skeleton {
    flex-direction: column;
  }

  .mc-watch-page .mc-watch-skel-player {
    flex: none;
    aspect-ratio: 16 / 9;
    min-height: 210px;
  }

  .mc-watch-page .mc-watch-skel-rail {
    width: 100%;
    flex: none;
    border-left: none;
    border-top: 1px solid var(--border-subtle, #e2e8f0);
  }
}
