/* Shared video drawer, floating content overlay, and custom player styles. */

#remoteMain.isContent {
  object-fit: contain;
  background: #000;
}

.contentOverlay {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: min(44vw, 520px);
  min-width: 220px;
  max-width: calc(100% - 24px);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(3, 8, 14, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.44);
  overflow: hidden;
  display: none;
  z-index: 9;
}

.contentOverlay.isVisible {
  display: block;
}

.contentOverlay.isLocked .contentOverlayHandle {
  cursor: default;
  color: rgba(214, 228, 242, 0.72);
}

.contentOverlay.isDragging .contentOverlayHandle {
  cursor: grabbing;
}

.contentOverlayHandle {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.42);
  color: rgba(231, 243, 255, 0.94);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.contentOverlayHandle > .material-symbols-rounded {
  font-size: 16px;
}

#contentOverlayVideo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.remoteVideoTransport {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 12, 22, 0.62);
  backdrop-filter: blur(8px);
  z-index: 7;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.remoteVideoTransport.isVisible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.remoteVideoTransport .btn {
  min-height: 34px;
  width: 34px;
  padding: 0;
}

.remoteVideoSeek {
  width: 100%;
  margin: 0;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  height: 3px;
  background: linear-gradient(90deg, rgba(230, 244, 255, 0.95), rgba(130, 156, 182, 0.35));
}

.remoteVideoSeek::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(228, 241, 255, 0.65);
  background: rgba(235, 246, 255, 0.95);
}

.remoteVideoSeek::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(230, 244, 255, 0.95), rgba(130, 156, 182, 0.35));
}

.remoteVideoSeek::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(228, 241, 255, 0.65);
  background: rgba(235, 246, 255, 0.95);
}

.remoteVideoTime {
  min-width: 88px;
  text-align: right;
  font-family: "IBM Plex Mono", "Courier New", monospace;
}

.stageWatermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
  font-family: "Manrope", sans-serif;
  text-transform: uppercase;
  user-select: none;
}

.stageWatermark.isVisible {
  display: flex;
}

.stageWatermarkMain {
  font-size: clamp(18px, 2.9vw, 52px);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(240, 245, 250, var(--wm-opacity, 0.08));
  text-shadow: 0 0 1px rgba(255, 255, 255, calc(var(--wm-opacity, 0.08) * 0.72));
  white-space: nowrap;
}

.stageWatermarkMeta {
  font-size: clamp(9px, 1vw, 12px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(240, 245, 250, calc(var(--wm-opacity, 0.08) * 1.25));
  white-space: nowrap;
}

.sharedVideoPanel {
  position: relative;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 16px;
  border: 1px solid rgba(164, 204, 238, 0.28);
  background: rgba(6, 12, 22, 0.84);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  min-height: 0;
  overflow: auto;
}

.sharedVideoActions {
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

#sharedVideoHost {
  width: 100%;
  min-width: 0;
  display: block;
}

#sharedVideoHost .svp {
  --compact-media-h: clamp(150px, 30vw, 430px);
  max-width: 100%;
}

.sharedVideoDrawer {
  width: 100%;
  margin-top: 0;
  transform: translateX(26px);
  clip-path: inset(0 0 0 100% round 16px);
  opacity: 0;
  pointer-events: none;
  transition: transform 940ms cubic-bezier(0.2, 0.72, 0.2, 1), opacity 940ms ease, clip-path 940ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.sharedVideoDrawer.isOpen {
  margin-top: 10px;
  transform: translateX(0);
  clip-path: inset(0 0 0 0 round 16px);
  opacity: 1;
  pointer-events: auto;
}

.cornerFoldBtn {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.cornerFoldBtn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: rgba(236, 248, 255, 0.88);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transition: opacity 0.14s ease;
}

.cornerFoldBtn:hover::before {
  opacity: 0.72;
}

.chatPane {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
  /*border: 1px solid rgba(164, 204, 238, 0.22);*/
  background: rgba(5, 12, 22, 0.35);
  overflow: hidden;
}

.dockHost {
  position: relative;
  min-height: 0;
  min-width: 0;
}

.dockAxisVertical {
  gap: 0;
}

.dockAxisHorizontal {
  gap: 0;
}

.dockHost.isTabMode .dockDivider {
  display: none !important;
}

.dockTabs {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dockTab {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  height: 28px;
  padding: 0 10px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.dockTab.isActive {
  border-color: rgba(154, 196, 255, 0.62);
  background: rgba(154, 196, 255, 0.16);
}

.dockPane {
  min-height: 0;
  min-width: 0;
  position: relative;
  transition: flex-basis 650ms ease, transform 650ms ease;
}

.dockPaneHandle {
  cursor: grab;
  user-select: none;
  transition: opacity 0.14s ease, border-color 0.14s ease, background 0.14s ease;
  opacity: 0.82;
}

.dockPaneHandle:active {
  cursor: grabbing;
}

.dockHost:hover .dockPaneHandle {
  opacity: 1;
}

.dockDivider {
  position: relative;
  flex: 0 0 auto;
  background: transparent;
  border: none;
  opacity: 0;
  transition: opacity 0.16s ease, transform 650ms ease;
}

.dockDivider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(189, 225, 255, 0.44), rgba(120, 183, 242, 0.34));
  box-shadow: 0 0 0 1px rgba(189, 225, 255, 0.38);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.14s ease, box-shadow 0.14s ease;
}

.dockDivider.isVertical {
  height: 8px;
  margin: 0;
  width: 100%;
  cursor: row-resize;
}

.dockDivider.isHorizontal {
  width: 8px;
  margin: 0;
  height: 100%;
  cursor: col-resize;
}

.dockDivider.isVertical::before {
  width: 84px;
  height: 2px;
}

.dockDivider.isHorizontal::before {
  width: 2px;
  height: 84px;
}

.dockHost:hover .dockDivider,
.dockDivider:active {
  opacity: 1;
}

.dockHost:hover .dockDivider::before,
.dockDivider:active::before {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(189, 225, 255, 0.54), 0 0 14px rgba(107, 170, 228, 0.28);
}

.sharedVideoActions .btn {
    min-height: 34px;
    min-width: 90px;
    font-size: .7rem;
    padding: 3px 7px;
    gap: 5px;

}



.sharedVideoActions .btn.isToggled {
  border-color: rgba(154, 196, 255, 0.62);
  background: rgba(154, 196, 255, 0.16);
}

.dockDragGhost {
  position: absolute;
  pointer-events: none;
  z-index: 16;
  opacity: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(189, 225, 255, 0.82), rgba(120, 183, 242, 0.52));
  box-shadow: 0 0 0 1px rgba(189, 225, 255, 0.34), 0 8px 18px rgba(35, 93, 148, 0.34);
  transition: opacity 0.12s ease;
}

.dockDragGhost.isVisible {
  opacity: 1;
}

.dockPaneDragGhost {
  position: fixed;
  z-index: 12000;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(170, 214, 247, 0.52);
  background: rgba(13, 30, 51, 0.82);
  color: rgba(226, 242, 255, 0.95);
  box-shadow: 0 10px 24px rgba(9, 20, 34, 0.45);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translate(-9999px, -9999px);
  transition: opacity 120ms ease;
}

.dockPaneDragGhost.isVisible {
  opacity: 1;
}

.dockPaneDragGhost > .material-symbols-rounded {
  font-size: 16px;
}

.panelDragHandle {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-radius: 7px;
  border: 1px solid rgba(191, 227, 255, 0.24);
  background: rgba(7, 19, 35, 0.62);
  color: rgba(227, 242, 255, 1);
  cursor: grab;
  user-select: none;
  opacity: 0.72;
  transition: opacity 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.panelDragHandle:active {
  cursor: grabbing;
}

.panelDragHandle:hover {
  opacity: 1;
  border-color: rgba(191, 227, 255, 0.46);
  background: rgba(12, 29, 52, 0.72);
}

.panelDragHandle > .material-symbols-rounded {
  font-size: 18px;
  line-height: 1;
}

.videoColumnHandleWrap {
  display: block;
  padding: 0;
  margin: 0;
}

.sidePanelHandleWrap {
  display: flex;
  justify-content: flex-end;
  padding: 6px 8px 2px;
}

.panelChromeHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
}

.panelChromeTitleWrap {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.panelChromeTitle {
  font-size: var(--chrome-title-size, 13px);
  font-weight: var(--chrome-title-weight, 600);
  color: rgba(232, 242, 252, 0.96);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: var(--chrome-title-letter, 0.08em);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.panelChromeTitleName {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(166, 181, 197, 0.88);
}

.stageChromeHeader {
  padding: 4px 8px;
  background: transparent;
}

.stageChromeActions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stageChromeHeader .panelDragHandle {
  flex: 0 0 auto;
}

.stageFullscreenBtn {
  appearance: none;
  cursor: pointer;
}

.sharedVideoPanel .miniTitle.panelChromeHeader {
  margin-bottom: 0;
}

.panelHeaderDragHint {
  font-size: 17px;
  opacity: 0.75;
}

.mainIdentity,
.shareStatusInline {
  flex: 0 1 auto;
}

.watermarkModalCard {
  width: min(420px, calc(100% - 26px));
  border-radius: 16px;
  border-color: rgba(208, 222, 236, 0.3);
  background: linear-gradient(180deg, rgba(14, 22, 34, 0.96), rgba(10, 16, 26, 0.94));
}

.watermarkModalCard label {
  margin-top: 10px;
}

.watermarkOpacityRow {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.watermarkOpacityValue {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: rgba(219, 231, 244, 0.86);
}

.watermarkOpacityInput {
  width: 100%;
  margin-top: 4px;
  appearance: none;
  -webkit-appearance: none;
  height: 2px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, rgba(232, 238, 244, 0.8), rgba(232, 238, 244, 0.25));
}

.watermarkOpacityInput::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(236, 242, 248, 0.7);
  background: rgba(236, 242, 248, 0.94);
}

.watermarkOpacityInput::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(236, 242, 248, 0.7);
  background: rgba(236, 242, 248, 0.94);
}

.svp {
  --compact-media-h: 190px;
  --compact-controls-h: 34px;
  position: relative;
  width: 100%;
  height: calc(var(--compact-media-h) + var(--compact-controls-h));
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
  overflow: hidden;
  user-select: none;
}

.svp-stage {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--compact-controls-h);
  background: #000;
}

.svp-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.svp-fullscreen {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(237, 245, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  padding: 0;
  outline: none;
}

.svp-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--compact-controls-h);
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto 30px 30px;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(180deg, rgba(8, 16, 28, 0.42), rgba(6, 12, 22, 0.62));
  backdrop-filter: blur(8px) saturate(108%);
  -webkit-backdrop-filter: blur(8px) saturate(108%);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 220ms ease;
  z-index: 3;
}

.svp.is-idle .svp-controls {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.svp-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(230, 242, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 120ms ease;
}

.svp-btn:hover {
  background: rgba(72, 141, 191, 0.24);
}

.svp-btn:focus,
.svp-btn:focus-visible,
.svp-seek:focus,
.svp-seek:focus-visible,
.svp-menu-item:focus,
.svp-menu-item:focus-visible,
.svp-volume-range:focus,
.svp-volume-range:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.svp-icon {
  width: 17px;
  height: 17px;
  display: inline-block;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svp-btn-play.has-pause .svp-icon {
  width: 14px;
  height: 14px;
}

.svp-seek {
  width: 100%;
  min-width: 0;
  margin: 0;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(230, 244, 255, 0.95) 0%,
    rgba(230, 244, 255, 0.95) var(--seek-progress, 0%),
    rgba(130, 156, 182, 0.35) var(--seek-progress, 0%),
    rgba(130, 156, 182, 0.35) 100%
  );
}

.svp-seek::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(228, 241, 255, 0.65);
  background: rgba(235, 246, 255, 0.95);
}

.svp-seek::-moz-range-track {
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.svp-seek::-moz-range-thumb {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(228, 241, 255, 0.65);
  background: rgba(235, 246, 255, 0.95);
}

.svp-time {
  font-size: 10px;
  color: rgba(225, 236, 248, 0.95);
  min-width: 38px;
  max-width: 56px;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
}

.svp-volume-wrap {
  position: relative;
}

.svp-volume-panel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  width: 108px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 14, 24, 0.95);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 140ms ease, transform 150ms ease, visibility 140ms ease;
}

.svp-volume-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.svp-volume-range {
  width: 100%;
  margin: 0;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  height: 4px;
  background: linear-gradient(90deg, rgba(230, 244, 255, 0.95), rgba(130, 156, 182, 0.35));
}

.svp-volume-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(228, 241, 255, 0.65);
  background: rgba(235, 246, 255, 0.95);
}

.svp-volume-range::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(230, 244, 255, 0.95), rgba(130, 156, 182, 0.35));
}

.svp-volume-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(228, 241, 255, 0.65);
  background: rgba(235, 246, 255, 0.95);
}

.svp-menu {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 112px;
  max-width: min(220px, calc(100vw - 16px));
  padding: 4px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 14, 24, 0.95);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 150ms ease, visibility 140ms ease;
  z-index: 220;
}

.svp-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.svp-menu.is-hosted-in-player {
  position: absolute;
  max-width: min(220px, calc(100% - 12px));
}

.svp-menu-item {
  border: none;
  width: 100%;
  text-align: left;
  border-radius: 6px;
  padding: 5px 7px;
  font-size: 10px;
  letter-spacing: 0;
  color: rgba(222, 236, 248, 0.95);
  background: transparent;
  cursor: pointer;
}

.svp-menu-item:hover {
  background: rgba(120, 182, 222, 0.2);
}

.svp:fullscreen,
.svp:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  border: none;
  border-radius: 0;
  background: #000;
}

.svp.is-fullscreen .svp-stage {
  bottom: 0;
}

.svp.is-fullscreen .svp-controls {
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  height: auto;
  grid-template-columns: 34px minmax(0, 1fr) auto 34px 34px;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(12, 22, 36, 0.24), rgba(8, 15, 28, 0.7));
}

.svp.is-fullscreen .svp-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
}

.svp.is-fullscreen .svp-icon {
  width: 20px;
  height: 20px;
}

.svp.is-fullscreen .svp-btn-play.has-pause .svp-icon {
  width: 17px;
  height: 17px;
}

.svp.is-fullscreen .svp-seek {
  height: 4px;
}

.svp.is-fullscreen .svp-seek::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
}

.svp.is-fullscreen .svp-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
}

.svp.is-fullscreen .svp-time {
  font-size: 12px;
  min-width: 96px;
  max-width: none;
}

@media (max-width: 980px) {
  .contentOverlay {
    width: min(52vw, 480px);
  }
}

@media (max-width: 640px) {
  .svp {
    --compact-media-h: 165px;
  }

  .contentOverlay {
    width: calc(100% - 14px);
    min-width: 0;
    right: 7px;
    bottom: 7px;
  }
}
