/* =============================================
   Кнопка демонстрации экрана в топбаре
   ============================================= */
   .btn--topbar-screen {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	color: #fff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	cursor: pointer;
	flex-shrink: 0;
	transition: background var(--transition), width var(--transition),
				border-radius var(--transition), padding var(--transition), gap var(--transition);
	overflow: hidden;
	white-space: nowrap;
  }
  .btn--topbar-screen:hover { background: rgba(255,255,255,.2); }
  .btn--topbar-screen svg   { width: 18px; height: 18px; flex-shrink: 0; }
  
  .btn--topbar-screen__label {
	display: inline-block;
	max-width: 0;
	overflow: hidden;
	font-size: 13px;
	font-family: inherit;
	font-weight: 500;
	transition: max-width var(--transition);
  }
  
  .btn--topbar-screen.sharing {
	width: auto;
	height: 32px;
	padding: 0 14px;
	gap: 7px;
	border-radius: 22px;
	background: var(--color-red);
  }
  .btn--topbar-screen.sharing:hover {
	background: color-mix(in srgb, var(--color-red) 85%, black);
  }
  .btn--topbar-screen.sharing .btn--topbar-screen__label { max-width: 60px; }

  /* Кнопка «открыть демку» из топбара (слева от Стоп, когда демит другой участник).
     Дублирует клик по превью демки в чате. Сама кнопка = монитор (прямоугольник 16:9,
     углы 4px), внутри — иконка рабочего стола без своей рамки. Цвет по умолчанию голубой (spk-ear). */
  .btn--topbar-watch {
	width: 50px;          /* 16:9 к height 28 */
	height: 28px;
	border-radius: 4px;
	background: rgba(56,189,248,.2);
	color: #38bdf8;
	border: 2px solid rgba(56,189,248,.6);
	border-bottom-width: 6px;   /* «подставка монитора» — нижний бордер втрое толще */
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0;
	transition: background var(--transition);
  }
  .btn--topbar-watch:hover { background: rgba(56,189,248,.35); }
  .btn--topbar-watch svg   { width: 38px; height: auto; display: block; flex-shrink: 0; }
  /* Курсор мыши на «рабочем столе» тупо ходит по кругу — оживляет иконку. */
  .btn--topbar-watch .tv-watch-cursor { animation: tv-watch-cursor-orbit 3s linear infinite; }
  @keyframes tv-watch-cursor-orbit {
	0%    { transform: translate( 2px,   0px);   }
	12.5% { transform: translate( 1.4px, 1.4px); }
	25%   { transform: translate( 0px,   2px);   }
	37.5% { transform: translate(-1.4px, 1.4px); }
	50%   { transform: translate(-2px,   0px);   }
	62.5% { transform: translate(-1.4px,-1.4px); }
	75%   { transform: translate( 0px,  -2px);   }
	87.5% { transform: translate( 1.4px,-1.4px); }
	100%  { transform: translate( 2px,   0px);   }
  }
  @media (prefers-reduced-motion: reduce) {
	.btn--topbar-watch .tv-watch-cursor { animation: none; }
  }
  
  /* =============================================
	 Слот — между col2-top и col2-middle
	 ============================================= */
  #col2-screens          { flex-shrink: 0; }
  #col2-screens[hidden]  { display: none; }
  
  /* =============================================
	 Strip
	 ============================================= */
  .screen-strip {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #0d0f1c;
	border-bottom: 1px solid rgba(255,255,255,.07);
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(255,255,255,.18) transparent;
  }
  .screen-strip::-webkit-scrollbar       { height: 3px; }
  .screen-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 2px; }
  
  /* =============================================
	 Карточка
	 ============================================= */
  .screen-card {
	position: relative;
	flex: 0 0 152px;          /* жёсткая ширина */
	width: 152px;
	height: 86px;
	border-radius: 8px;
	overflow: hidden;
	background: #111320;
	cursor: pointer;
	border: 1.5px solid rgba(255,255,255,.12);
	box-shadow: 0 2px 8px rgba(0,0,0,.5);
	transition: border-color .15s, box-shadow .15s, transform .15s;
  }
  .screen-card:hover {
	border-color: var(--color-primary);
	box-shadow: 0 4px 16px rgba(10,23,131,.4);
	transform: translateY(-2px) scale(1.03);
  }
  
  /* canvas занимает всю карточку */
  .screen-card video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
  }
  
  /* Бейдж LIVE */
  .screen-card::after {
	content: 'LIVE';
	position: absolute;
	bottom: 5px;
	right: 6px;
	background: var(--color-red);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .05em;
	padding: 1px 5px;
	border-radius: 3px;
	pointer-events: none;
	z-index: 2;
  }
  
  /* Overlay при hover */
  .screen-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: transparent;
	transition: background .15s;
	border-radius: inherit;
	pointer-events: none;
	z-index: 1;
  }
  .screen-card:hover::before { background: rgba(10,23,131,.22); }