body { background: #f6f7f9; }
.cam-card { border: 1px solid #e3e5e8; overflow: hidden; color: inherit; transition: box-shadow .15s; }
.cam-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.cam-thumb { position: relative; aspect-ratio: 16/9; background: #222 url(/static/img/nocam.svg) center/40% no-repeat; }
.cam-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-badge { position: absolute; left: 6px; top: 6px; font-weight: 500; }
.cam-src { position: absolute; right: 6px; top: 6px; opacity: .8; }
.cam-title { font-weight: 500; line-height: 1.25; max-height: 2.5em; overflow: hidden; }
.player-wrap { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 6px; overflow: hidden; }
.player-wrap iframe, .player-wrap video, .player-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.cand-thumb { width: 160px; height: 90px; object-fit: cover; background: #222; }
.table-sm td, .table-sm th { vertical-align: middle; }
.sugg { position: absolute; z-index: 20; background: #fff; border: 1px solid #ccc; max-height: 220px; overflow: auto; width: 100%; }
.sugg div { padding: 4px 8px; cursor: pointer; }
.sugg div:hover { background: #eef; }
