/* =============================================
   Кнопка демонстрации экрана в топбаре
   ============================================= */
   .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; }
  
  /* =============================================
	 Слот — между 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); }