/* Shorts page skin. Loaded after shorts.css. Keeps the live DOM and script hooks. */

.mc-shorts-page {
  --shorts-stage: #0b1120;
  --amber-50: #fffbeb;
  --amber-600: #d97706;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  color: var(--slate-700, #334155);
}

[data-theme="dark"] .mc-shorts-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-shorts-page {
    --amber-50: rgba(245, 158, 11, 0.14);
    --amber-600: #fbbf24;
    color-scheme: dark;
  }
}

html:has(.mc-shorts-page),
body:has(.mc-shorts-page),
body:has(.mc-shorts-page) #site-content.site-content {
  background: var(--bg-page, #f8fafc) !important;
  color: var(--slate-800, #1e293b);
}

body:has(.mc-shorts-page) {
  display: flex;
  flex-direction: column;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}

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

.mc-shorts-page.innercontainer {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  height: 100%;
  margin: 0;
  gap: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

.mc-shorts-page .main-parent-container {
  flex: 0 1 auto;
  align-self: stretch;
  height: 100% !important;
  max-height: 100%;
  min-height: 0;
  width: auto;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.mc-shorts-page .videoChild {
  height: 100%;
  min-height: 100%;
  margin: 0 !important;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.mc-shorts-page .main-shorts-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  margin: 0 !important;
  padding: 10px 0;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.mc-shorts-page .videoContainer {
  position: relative;
  height: 100%;
  max-height: 100%;
  aspect-ratio: 9 / 16;
  width: auto;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  background: var(--shorts-stage);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(15, 23, 42, 0.12));
}

.mc-shorts-page .videoContainer .shortsVideos,
.mc-shorts-page .shortsVideos,
.mc-shorts-page .videoContainer iframe,
.mc-shorts-page .videoContainer video {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  border: none;
  border-radius: 0;
  object-fit: cover;
  background: var(--shorts-stage);
}

.mc-shorts-page .videoOverlay {
  border-radius: inherit;
  box-shadow: none;
}

.mc-shorts-page .v_intro {
  left: 0;
  right: 0;
  padding: 36px 14px 14px;
  box-sizing: border-box;
  background: linear-gradient(transparent, rgba(11, 17, 32, 0.88));
}

.mc-shorts-page .title,
.mc-shorts-page .v_intro .title {
  margin: 0 0 8px;
  padding: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.mc-shorts-page .social-short-creator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mc-shorts-page .social-short-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0284c7;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex: 0 0 auto;
}

.mc-shorts-page .videoChild.social-short .share-count,
.mc-shorts-page .videoChild.social-short .repost-count {
  display: none;
}

.mc-shorts-page .nameContainer {
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  gap: 8px;
  color: #fff;
}

.mc-shorts-page .follow-button {
  height: 28px;
  margin: 0;
  padding: 0 12px;
  border: none;
  border-radius: var(--radius-full, 999px);
  background: var(--primary-600, #0284c7);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
}

.mc-shorts-page .muteUnmuteIcon {
  width: auto;
  height: auto;
  float: none;
  position: absolute;
  top: 12px;
  right: 12px;
}

.mc-shorts-page .muteIcon,
.mc-shorts-page .unMuteIcon {
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 8px;
  box-sizing: border-box;
  object-fit: contain;
  border-radius: var(--radius-full, 999px);
  background: rgba(255, 255, 255, 0.92);
}

.mc-shorts-page .playPauseIcon {
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mc-shorts-page .playTheVideo,
.mc-shorts-page .pauseTheVideo {
  width: 56px !important;
  height: 56px !important;
  margin: 0 !important;
  object-fit: contain;
}

.mc-shorts-page .main-menubar-container {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 88px;
  max-width: 88px;
  height: auto !important;
  margin: 0 0 0 8px !important;
  color: var(--slate-600, #475569);
  z-index: 5;
}

.mc-shorts-page .main-menubar-container > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mc-shorts-page .main-menubar-container img {
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 11px;
  box-sizing: border-box;
  object-fit: contain;
  background: var(--bg-surface, #fff);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-full, 999px);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 23, 42, 0.08));
}

.mc-shorts-page .main-menubar-container p {
  margin: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: capitalize;
  color: var(--slate-600, #475569);
  text-shadow: none;
}

.mc-shorts-page .zapclap-container > img.openInteract {
  background: var(--amber-50);
  border-color: transparent;
}

.mc-shorts-page .main-menubar-container .zapclap-toolbar img {
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mc-shorts-page .activeside {
  margin-left: 8px !important;
  color: var(--slate-700, #334155) !important;
}

.mc-shorts-page [class^="count-badge"] {
  top: -4px;
  right: 8px;
  left: auto;
  min-width: 18px;
  width: auto;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-600, #0284c7);
  color: #fff;
  border-radius: var(--radius-full, 999px);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.mc-shorts-page .count-badge-zap {
  background: #ef4444;
}

.mc-shorts-page .count-badge-clap {
  background: #22c55e;
}

/* Panels opened from the rail. display is left to jQuery .show() / .css(). */
.mc-shorts-page .main-menu-container {
  width: 480px;
  height: calc(100% - 20px) !important;
  max-height: calc(100% - 20px);
  margin: 0 0 0 16px;
  top: 0;
  align-self: center;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--bg-surface, #fff);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-lg, 18px);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(15, 23, 42, 0.12));
  font-family: inherit;
}

.mc-shorts-page .subdivs,
.mc-shorts-page .interact,
.mc-shorts-page .myct,
.mc-shorts-page .comments,
.mc-shorts-page .zapclap,
.mc-shorts-page .repost,
.mc-shorts-page .rating {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  max-height: 100%;
}

.mc-shorts-page .interactivity-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.mc-shorts-page .zapclapHeading,
.mc-shorts-page .commentHeading,
.mc-shorts-page .repostHeading,
.mc-shorts-page .ratingHeading,
.mc-shorts-page .shareFlex {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}

.mc-shorts-page .zapclapHeading h3,
.mc-shorts-page .commentHeading h3,
.mc-shorts-page .repostHeading p,
.mc-shorts-page .ratingHeading p,
.mc-shorts-page .shareFlex p {
  margin: 0 !important;
  font-family: inherit;
  font-size: 16px !important;
  font-weight: 700;
  color: var(--slate-800, #1e293b);
}

.mc-shorts-page .closeContainerCross {
  width: 32px !important;
  height: 32px !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box;
  object-fit: none !important;
  object-position: -9999px -9999px !important;
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-full, 999px);
  background: var(--slate-100, #f1f5f9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 3l8 8M11 3L3 11'/%3E%3C/svg%3E") center / 12px 12px no-repeat !important;
  cursor: pointer;
  flex: 0 0 32px;
}

.mc-shorts-page .create-interactivity,
.mc-shorts-page .display-interactivity {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-sizing: border-box;
  overflow: auto;
}

.mc-shorts-page .interactivity-menu {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  list-style: none;
  text-align: left;
  border: none !important;
  background: transparent !important;
  vertical-align: top;
}

.mc-shorts-page .interactivity-menu-item {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100% !important;
  height: 48px;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--slate-50, #f8fafc) !important;
  cursor: pointer;
  box-sizing: border-box;
}

.mc-shorts-page .interactivity-menu-item:hover {
  background: var(--slate-100, #f1f5f9) !important;
}

.mc-shorts-page .interactivity-menu-item.is-selected {
  background: var(--primary-50, #f0f9ff) !important;
  border-color: transparent;
}

.mc-shorts-page .interactivity-menu-item .menu-icon {
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 4px;
  object-fit: contain;
  background: var(--bg-surface, #fff);
  border: none;
  box-shadow: none;
  border-radius: 8px;
  box-sizing: border-box;
  flex: 0 0 28px;
  order: 1;
}

.mc-shorts-page .menu-name {
  order: 2;
  flex: 1 1 auto;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-700, #334155);
  text-align: left;
}

.mc-shorts-page .interactivity-menu-item.is-selected .menu-name {
  color: var(--primary-700, #0369a1);
}

.mc-shorts-page .interactivity-menu-item span {
  order: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px !important;
  min-width: 28px;
  height: 22px;
  margin-left: 8px;
  padding: 0;
  border-radius: var(--radius-full, 999px);
  background: var(--primary-600, #0284c7);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.mc-shorts-page .create-container {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  align-content: flex-start;
  gap: 12px;
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  padding: 4px 0 0 !important;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
  box-sizing: border-box;
  vertical-align: top;
}

.mc-shorts-page .create-container .row,
.mc-shorts-page .create-question-container .row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100% !important;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.mc-shorts-page .create-container .row:has(.image-container) {
  flex: 0 0 auto;
}

.mc-shorts-page .create-container .button-row {
  flex: 1 1 100%;
  width: 100% !important;
  justify-content: flex-start;
}

.mc-shorts-page .create-container .row:has(> .voting-options),
.mc-shorts-page .create-container .row:has(> .quiz-options) {
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px !important;
  background: var(--slate-100, #f1f5f9);
  border-radius: var(--radius-full, 999px);
}

.mc-shorts-page .create-container .row > .voting-options,
.mc-shorts-page .create-container .row > .quiz-options {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.mc-shorts-page .create-container .row > .label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  margin: 0 !important;
  padding: 0 12px;
  border-radius: var(--radius-full, 999px);
  color: var(--slate-600, #475569);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mc-shorts-page .create-container .row > .voting-options:checked + .label,
.mc-shorts-page .create-container .row > .quiz-options: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-shorts-page .add-answer {
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 7px;
  box-sizing: border-box;
  object-fit: contain;
  position: static !important;
  border-radius: var(--radius-full, 999px);
  background: var(--primary-50, #f0f9ff);
  cursor: pointer;
}

.mc-shorts-page .options-container {
  flex: 1 1 100%;
  width: 100% !important;
  margin: 0 !important;
  overflow: visible;
}

.mc-shorts-page .voting-list,
.mc-shorts-page .quiz-list,
.mc-shorts-page .yes-no-list {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible !important;
  white-space: normal !important;
  list-style: none;
}

.mc-shorts-page .innercontainer .list-item,
.mc-shorts-page .list-item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  flex: 1 1 210px;
  max-width: 280px;
  height: auto;
  margin: 0 !important;
  position: relative;
}

.mc-shorts-page .answer-container,
.mc-shorts-page .list-item .image-container {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 !important;
}

.mc-shorts-page .list-item .answer-input {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  text-align: left;
}

.mc-shorts-page .question-input,
.mc-shorts-page .answer-input,
.mc-shorts-page input.betting-count,
.mc-shorts-page #comment,
.mc-shorts-page #repostdesc {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  background: var(--slate-50, #f8fafc);
  color: var(--slate-800, #1e293b);
  font-family: inherit;
  font-size: 14px;
}

.mc-shorts-page .button-row button.is-creating {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0.9;
}

.mc-shorts-page .button-row button.is-creating::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mcCreateSpin 0.7s linear infinite;
}

@keyframes mcCreateSpin {
  to { transform: rotate(360deg); }
}

.mc-shorts-page .question-button,
.mc-shorts-page .voting-button,
.mc-shorts-page .quiz-button,
.mc-shorts-page .ratingSubmitBtn,
.mc-shorts-page .repostbtn,
.mc-shorts-page .sendRating button {
  height: 40px;
  width: auto !important;
  margin: 0;
  padding: 0 16px;
  border: none;
  border-radius: var(--radius-full, 999px);
  background: var(--primary-600, #0284c7);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  float: none;
  cursor: pointer;
}

.mc-shorts-page .list-item .image {
  width: 64px !important;
  height: 64px !important;
  flex: 0 0 64px;
  object-fit: cover;
}

.mc-shorts-page img.main-image[src*="upload_img.png"],
.mc-shorts-page .list-item .image[src*="upload_img.png"] {
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  object-fit: none;
  object-position: -9999px -9999px;
  border: 1.5px dashed var(--slate-300, #cbd5e1);
  border-radius: var(--radius-md, 12px);
  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-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
}

.mc-shorts-page .row > .image-container > img.main-image[src*="upload_img.png"] {
  width: 72px !important;
  height: 56px !important;
  background-size: 28px 28px;
}

.mc-shorts-page .shareFlexIcons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mc-shorts-page .shareFlexSubIcons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full, 999px);
  background: var(--slate-50, #f8fafc);
  border: 1px solid var(--border-subtle, #e2e8f0);
  text-decoration: none;
}

.mc-shorts-page .shareFlexSubIcons .fa {
  font-size: 18px !important;
  color: var(--slate-700, #334155);
}

.mc-shorts-page .shareFlexSubIcons p {
  display: none;
}

.mc-shorts-page .commentBox,
.mc-shorts-page .ratingContainer,
.mc-shorts-page .histogram-container {
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  background: var(--slate-50, #f8fafc);
}

.mc-shorts-page .comments {
  overflow: hidden;
}

.mc-shorts-page .commentHeading {
  flex: 0 0 auto;
  margin: 0;
}

.mc-shorts-page .commentHeading h3,
.mc-shorts-page .commentHeading #commentCount {
  margin: 0 !important;
  font-family: inherit;
}

.mc-shorts-page .commentHeading h3 {
  font-size: 16px !important;
  font-weight: 700;
  color: var(--slate-800, #1e293b);
}

.mc-shorts-page .commentHeading #commentCount {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-full, 999px);
  background: var(--primary-50, #f0f9ff);
  color: var(--primary-700, #0369a1) !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.mc-shorts-page .commentBox {
  flex: 1 1 auto;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  padding: 8px;
  box-sizing: border-box;
  overflow: auto;
}

.mc-shorts-page #commentUserCard,
.mc-shorts-page #ratingBox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-shorts-page .commentUserCard,
.mc-shorts-page .ratingUserCard {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  width: auto !important;
  margin: 0 !important;
  padding: 10px;
  background: var(--bg-surface, #fff);
  border-radius: 14px;
}

.mc-shorts-page .commentUserCard > img,
.mc-shorts-page .ratingUserCard > img {
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  flex: 0 0 36px;
  object-fit: cover;
  border-radius: var(--radius-full, 999px);
}

.mc-shorts-page .commentUserBody,
.mc-shorts-page .ratingUserBody {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.mc-shorts-page .commentUserMeta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.mc-shorts-page .commentUserName,
.mc-shorts-page .ratingUserName {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--slate-800, #1e293b);
}

.mc-shorts-page .commentUserTime {
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 600;
  color: var(--slate-500, #64748b);
  white-space: nowrap;
}

.mc-shorts-page .commentUserText {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 500;
  color: var(--slate-700, #334155);
  overflow-wrap: anywhere;
}

.mc-shorts-page .ratingUserBody img {
  width: 88px !important;
  height: auto !important;
  margin: 2px 0 0 !important;
  border-radius: 0 !important;
  object-fit: contain;
}

.mc-shorts-page .noCommentTitle,
.mc-shorts-page .noRatingTitle {
  margin: 28px 12px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--slate-500, #64748b);
}

.mc-shorts-page .typeComment {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  box-sizing: border-box;
}

.mc-shorts-page .typeComment input,
.mc-shorts-page #comment {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid var(--border-subtle, #e2e8f0) !important;
  border-radius: var(--radius-full, 999px) !important;
  background: var(--bg-surface, #fff);
  font-family: inherit;
  font-size: 14px;
}

.mc-shorts-page #sendCommentIcon {
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  flex: 0 0 40px;
  object-fit: none !important;
  object-position: -9999px -9999px !important;
  border-radius: var(--radius-full, 999px);
  background: var(--primary-600, #0284c7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.2L13.5 3.2l-4.2 11-1.6-4.4-5.2-1.6z'/%3E%3C/svg%3E") center / 16px 16px no-repeat !important;
  transform: none !important;
  cursor: pointer;
}

.mc-shorts-page #commentLoader {
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
}

.mc-shorts-page .shareWithThought {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px;
  box-sizing: border-box;
  background: var(--slate-50, #f8fafc);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: 16px;
}

.mc-shorts-page .shareWithThought > img {
  display: none;
}

.mc-shorts-page .repostContent {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100% !important;
}

.mc-shorts-page #repostdesc {
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  box-sizing: border-box;
  border: 1px solid var(--border-subtle, #e2e8f0) !important;
  border-radius: var(--radius-full, 999px) !important;
  background: var(--bg-surface, #fff);
  font-family: inherit;
  font-size: 14px;
}

.mc-shorts-page .repostbtn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  text-decoration: none;
}

.mc-shorts-page .rating > div > p {
  margin: 4px 0 0 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--slate-700, #334155);
}

.mc-shorts-page .ratingContainer {
  flex: 1 1 auto;
  width: 100% !important;
  height: auto !important;
  min-height: 120px;
  margin: 0 !important;
  padding: 8px;
  box-sizing: border-box;
  overflow: auto;
}

.mc-shorts-page .sendRating {
  margin: 0;
}

.mc-shorts-page .rate {
  float: none;
  height: 36px;
  padding: 0;
}

.mc-shorts-page .rate:not(:checked) > label {
  font-size: 28px !important;
  width: 1.15em !important;
  line-height: 1;
}

.mc-shorts-page .ratingSubmitBtn {
  align-self: flex-start;
  margin-top: 4px !important;
}

.mc-shorts-page .display-interactivity .display-container {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible;
}

.mc-shorts-page .maindiv {
  width: 100% !important;
  max-width: none;
  margin: 0 0 10px !important;
  padding: 14px !important;
  box-sizing: border-box;
  text-align: left;
  border: 1px solid var(--border-subtle, #e2e8f0) !important;
  border-radius: 14px !important;
  background: var(--slate-50, #f8fafc);
}

.mc-shorts-page .maindiv > span {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-800, #1e293b);
}

.mc-shorts-page .choices {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 10px !important;
}

.mc-shorts-page .choices div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 8px 10px !important;
  text-align: left;
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: 12px;
  background: var(--bg-surface, #fff);
}

.mc-shorts-page .choices img,
.mc-shorts-page .mainimg {
  width: 44px !important;
  height: 44px;
  margin: 0 !important;
  object-fit: cover;
  border-radius: 8px;
}

.mc-shorts-page .mainimg {
  width: 100% !important;
  height: 120px;
  margin-top: 8px !important;
}

.mc-shorts-page .choicesubmit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: 36px;
  margin: 12px 0 0 !important;
  padding: 0 16px !important;
  border-radius: var(--radius-full, 999px) !important;
  background: var(--primary-600, #0284c7) !important;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.mc-shorts-page #questionAnswer {
  width: 100% !important;
  height: 40px;
  margin: 8px 0 0 !important;
  padding: 0 12px !important;
  box-sizing: border-box;
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-full, 999px);
  font-family: inherit;
  font-size: 14px;
}

.mc-shorts-page .loader1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mc-shorts-page .zapclap {
  overflow: hidden;
}

.mc-shorts-page .zapclap .histogram-container {
  position: relative !important;
  transform: none !important;
  flex: 1 1 auto;
  width: 100% !important;
  max-width: none;
  height: auto;
  min-height: 140px;
  margin: 0 !important;
  padding: 12px !important;
  box-sizing: border-box;
  background: var(--slate-50, #f8fafc) !important;
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-md, 12px);
}

.mc-shorts-page .zapclap .histogram-wrapper {
  height: 100% !important;
  min-height: 160px;
  display: flex;
  flex-direction: column;
}

.mc-shorts-page .zapclap .histogram-title,
.mc-shorts-page .zapclap .histogram-legend,
.mc-shorts-page .zapclap .time-label {
  color: var(--slate-700, #334155) !important;
  text-align: left;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
}

.mc-shorts-page .zapclap .histogram-chart {
  flex: 1 1 auto;
  height: 160px !important;
  min-height: 140px;
  padding: 0 !important;
}

.mc-shorts-page .zapclap .histogram-chart canvas {
  width: 100% !important;
  height: 100% !important;
}

.mc-shorts-page .zapclapBtn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 4px 0 8px !important;
}

.mc-shorts-page .zapclapBtn button {
  background: transparent !important;
  border: none;
  padding: 0;
  cursor: pointer;
}

.mc-shorts-page .zapclapBtn img {
  width: 56px !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  background: transparent !important;
  border-radius: var(--radius-full, 999px);
  box-shadow: none !important;
}

.mc-shorts-page .zapclapMeterIcon {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  margin: 0 auto !important;
  overflow: hidden;
  flex: 0 0 auto;
  zoom: 0.52;
}

.mc-shorts-page .zapclapMeterIcon img {
  width: 420px !important;
  max-width: none;
  height: auto;
  margin: 0;
}

.mc-shorts-page .zapclapMeterIcon p {
  font-size: 16px !important;
  font-weight: 700;
}

@media (max-width: 1000px) {
  .mc-shorts-page .main-menu-container {
    width: min(440px, 48vw);
    height: calc(100% - 20px) !important;
    margin-left: 10px;
  }
}

@media (max-width: 860px) {
  .mc-shorts-page .videoChild,
  .mc-shorts-page .main-shorts-container {
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100%;
    padding: 0;
    background: var(--shorts-stage);
  }

  .mc-shorts-page .videoContainer {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
  }

  .mc-shorts-page .main-menubar-container {
    position: absolute !important;
    right: 8px !important;
    bottom: 88px !important;
    left: auto !important;
    width: 64px;
    max-width: 64px;
    margin: 0 !important;
    gap: 10px;
    z-index: 25;
  }

  .mc-shorts-page .main-menubar-container p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  }
}

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

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

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

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mc-shorts-page {
    color-scheme: dark;
  }
}

[data-theme="dark"] .mc-shorts-page .closeContainerCross {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23f8fafc' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 3l8 8M11 3L3 11'/%3E%3C/svg%3E") !important;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mc-shorts-page .closeContainerCross {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23f8fafc' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 3l8 8M11 3L3 11'/%3E%3C/svg%3E") !important;
  }
}

/* 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-shorts-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-shorts-page .mc-shorts-skeleton {
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px 0;
  pointer-events: none;
  scroll-snap-align: none;
}

.mc-shorts-page .mc-shorts-skel-player {
  height: 100%;
  max-height: calc(100% - 20px);
  width: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg, 18px);
}

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