.stv { margin-top: 16px; border-radius: 28px; padding: 40px; background: radial-gradient(120% 140% at 100% 0%, #26262d 0%, #121215 46%, #0b0b0d 100%); color: #f4f1ea; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: center; overflow: hidden; position: relative; }
.stv .st__video-tit { margin: 16px 0 10px; }
.stv-recs { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; }
.stv-recs li { position: relative; display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; background: rgba(244,241,234,.04); border: 1px solid rgba(244,241,234,.07); font-size: 15px; font-weight: 600; line-height: 1.3; color: #9d9da4; overflow: hidden; transition: color .35s, background .35s, border-color .35s, transform .35s; }
.stv-recs li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, #e11d48, #fb7185); }
.stv-recs li.is-on { color: #f4f1ea; background: rgba(244,241,234,.09); border-color: rgba(251,113,133,.35); transform: translateX(4px); }
.stv-recs li.is-on::after { animation: stv-barra var(--stv-passo, 2800ms) linear forwards; }
.stv-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(244,241,234,.06); color: #c9c9cf; transition: background .35s, color .35s; }
.stv-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stv-recs li.is-on .stv-ico { background: #e11d48; color: #fff; }
.stv-recs li { cursor: default; }

.stv-mesa { display: grid; gap: 10px; min-width: 0; }
.stv-tela { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #050506; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(244,241,234,.08); isolation: isolate; }
.stv-cam { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.stv-cam img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); }
.stv-cam.is-on { opacity: 1; z-index: 1; }
.stv-cam.is-on img { animation: stv-zoom 9s ease-out forwards; }
.stv-tela::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 58%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.stv-flash { position: absolute; inset: 0; z-index: 3; background: #fff; opacity: 0; pointer-events: none; }
.stv-tela.is-corte .stv-flash { animation: stv-flash .5s ease-out; }

.stv-topo { position: absolute; z-index: 4; top: 14px; left: 14px; right: 14px; display: flex; align-items: center; gap: 8px; font: 700 11px/1 ui-monospace, 'JetBrains Mono', monospace; letter-spacing: .08em; }
.stv-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 7px; background: rgba(10,10,12,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #f4f1ea; transition: background .35s, box-shadow .35s, color .35s; }
.stv-pill--vivo { background: #e11d48; }
.stv-pill--vivo b { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: stv-pisca 1.2s steps(1) infinite; }
.stv-pill--rec b { width: 7px; height: 7px; border-radius: 50%; background: #fb7185; }
.stv-pill--rec { margin-left: auto; }
.stv-pill.is-on { background: #f4f1ea; color: #0c0c0e; box-shadow: 0 0 0 4px rgba(244,241,234,.18); }
.stv-pill--rec.is-on b { background: #e11d48; animation: stv-pisca 1s steps(1) infinite; }
.stv-cam-nome { position: absolute; z-index: 4; top: 50px; left: 14px; padding: 4px 8px; border-radius: 6px; background: rgba(10,10,12,.5); font: 600 11px/1.2 ui-monospace, 'JetBrains Mono', monospace; letter-spacing: .06em; color: #d6d6db; text-transform: uppercase; }

.stv-gc { position: absolute; z-index: 4; left: 16px; bottom: 16px; display: flex; align-items: stretch; max-width: calc(100% - 32px); transform: translateX(-24px); opacity: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .45s; }
.stv-gc.is-on { transform: none; opacity: 1; }
.stv-gc__logo { flex: none; display: grid; place-items: center; width: 52px; border-radius: 10px 0 0 10px; background: #e11d48; color: #fff; font: 800 13px/1 system-ui, sans-serif; letter-spacing: -.02em; }
.stv-gc__txt { padding: 9px 14px; border-radius: 0 10px 10px 0; background: rgba(244,241,234,.96); color: #0c0c0e; min-width: 0; }
.stv-gc__txt b { display: block; font-size: 15px; line-height: 1.2; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stv-gc__txt small { display: block; margin-top: 2px; font-size: 12px; color: #55555c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.stv-cams { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stv-cams button { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #050506; box-shadow: 0 0 0 1px rgba(244,241,234,.1); transition: box-shadow .3s, transform .3s; }
.stv-cams img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.6) brightness(.7); transition: filter .3s; }
.stv-cams span { position: absolute; left: 8px; bottom: 7px; font: 700 10.5px/1 ui-monospace, 'JetBrains Mono', monospace; letter-spacing: .06em; color: #f4f1ea; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.stv-cams button:hover img, .stv-cams button:focus-visible img { filter: none; }
.stv-cams button:focus-visible { box-shadow: 0 0 0 2px #fb7185; }
.stv-cams button[aria-pressed="true"] { box-shadow: 0 0 0 2px #e11d48, 0 10px 24px -10px rgba(225,29,72,.6); }
.stv-cams button[aria-pressed="true"] img { filter: none; }
.stv-cams button[aria-pressed="true"]::before { content: "NO AR"; position: absolute; z-index: 1; top: 7px; right: 7px; padding: 3px 5px; border-radius: 4px; background: #e11d48; color: #fff; font: 700 9px/1 ui-monospace, 'JetBrains Mono', monospace; letter-spacing: .08em; }
.stv-dica { margin: 2px 0 0; font-size: 12.5px; color: #77777e; }

@keyframes stv-zoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
@keyframes stv-flash { 0% { opacity: .18; } 100% { opacity: 0; } }
@keyframes stv-pisca { 50% { opacity: .25; } }
@keyframes stv-barra { from { width: 0; } to { width: 100%; } }

@media (max-width: 1100px) {
    .stv { grid-template-columns: 1fr; }
    .stv-mesa { order: 2; }
}
@media (max-width: 760px) {
    .stv { padding: 28px 20px; border-radius: 24px; gap: 24px; }
    .stv .st__video-tit { font-size: 24px; }
    .stv-recs { margin-top: 20px; }
    .stv-recs li { font-size: 14px; padding: 11px 12px; }
    .stv-recs li.is-on { transform: none; }
    .stv-gc__logo { width: 42px; font-size: 11px; }
    .stv-gc__txt { padding: 7px 10px; }
    .stv-gc__txt b { font-size: 13px; }
    .stv-gc__txt small { font-size: 11px; }
    .stv-topo { top: 10px; left: 10px; right: 10px; font-size: 10px; }
    .stv-cam-nome { top: 40px; left: 10px; font-size: 10px; }
    .stv-gc { left: 10px; bottom: 10px; }
    .stv-cams { gap: 8px; }
    .stv-cams button { border-radius: 9px; }
    .stv-cams button[aria-pressed="true"]::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .stv-cam, .stv-gc, .stv-recs li { transition: none; }
    .stv-cam.is-on img, .stv-pill--vivo b, .stv-pill--rec.is-on b, .stv-recs li.is-on::after, .stv-tela.is-corte .stv-flash { animation: none; }
    .stv-gc { transform: none; opacity: 1; }
}
