/* guiven.com/live — escuro, vermelho Vasco (--live) como acento; sem roxo/neon. */
.lp-main { padding-bottom: 40px; }
.lp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 12px; flex-wrap: wrap; }
.lp-tt { min-width: 0; flex: 1 1 380px; }
.lp-tag { margin: 0 0 6px; display: inline-flex; align-items: center; gap: 8px; font: italic 800 14px/1 var(--display); letter-spacing: .1em; color: #fff; background: var(--live); padding: 6px 10px; border-radius: 6px; }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: lp-blink 1.4s infinite; }
@keyframes lp-blink { 50% { opacity: .35; } }
.lp-title { margin: 0; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.25; font-weight: 800; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lp-sub { margin: 4px 0 0; color: var(--faint); font-size: 14px; font-variant-numeric: tabular-nums; }
.lp-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--s1); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.lp-tab b { font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.lp-tab[aria-selected="true"] { border-color: var(--live); box-shadow: inset 0 -2px 0 var(--live); }
.lp-uo { font-size: 10.5px; font-weight: 600; color: var(--faint); border: 1px dashed var(--line); border-radius: 6px; padding: 1px 5px; }
.lp-stage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 12px; align-items: stretch; }
.lp-stage.theater { max-width: none; padding-left: 12px; padding-right: 12px; }
.lp-stage.nochat { grid-template-columns: minmax(0, 1fr); }
.lp-stage.nochat .lp-chat { display: none; }
.lp-player { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.lp-frame { position: relative; aspect-ratio: 16 / 9; background: #05070b; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.lp-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lp-bar { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.lp-title.lp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lp-note { font-size: 12px; color: var(--faint); }
#lp-theater { margin-left: auto; }
.lp-ic { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--s1); color: var(--text); cursor: pointer; }
.lp-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.lp-ic[aria-pressed="true"] { border-color: var(--live); }
.lp-chat { min-width: 0; display: flex; }

/* Comum */
.lp-h2 { margin: 0; font: italic 800 clamp(22px, 3vw, 30px)/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 0; background: var(--live); color: #fff; font: inherit; font-weight: 800; font-size: 14px; text-decoration: none; cursor: pointer; text-align: center; }
.lp-btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }

/* Offline */
.lp-off { padding-top: 26px; display: grid; gap: 14px; }
.lp-off-hero { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.lp-off-av { border-radius: 50%; border: 3px solid var(--bg); outline: 2px solid var(--faint); filter: grayscale(.4); flex: none; }
.lp-off-k { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.lp-off-h { margin: 2px 0 4px; font: italic 800 clamp(26px, 4vw, 38px)/1.05 var(--display); text-transform: uppercase; }
.lp-off-next { margin: 0; color: var(--text); font-size: 14.5px; }
.lp-vids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lp-vid { display: grid; gap: 6px; color: var(--text); text-decoration: none; }
.lp-vid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.lp-vt { font-size: 13.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-vm { font-size: 12px; color: var(--faint); }

.lp-tab .lp-st { font-size: 11px; font-weight: 600; color: var(--faint); }
.lp-tab b { font-size: 13px; line-height: inherit; }
.lp-tab.on b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--live); vertical-align: 1px; }
.lp-tag[hidden] { display: none; }
.lp-chat { flex-direction: column; gap: 8px; }
body[data-mode="maybe"] .lp-off { padding-top: 28px; }
@media (max-width: 900px) {
  .lp-head { padding-top: 12px; }
  #lp-on:not([hidden]) { display: flex; flex-direction: column; }
  .lp-stage, .lp-stage.theater { grid-template-columns: minmax(0, 1fr); width: 100%; padding-left: 0; padding-right: 0; }
  .lp-frame { border-radius: 0; border-left: 0; border-right: 0; }
  .lp-bar { padding: 0 16px; }
  #lp-theater, #lp-chat-t { display: none; }
  .lp-bar.is-empty { display: none; }
  .lp-stage.nochat .lp-chat { display: flex; }
  .lp-chat { padding: 4px 16px 0; }
  .lp-vids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .lp-dot { animation: none; } }
.lp-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; color: var(--faint); font-size: 15px; background: radial-gradient(circle at 50% 40%, #151b29, #05070b 70%); }
.lp-ph p { margin: 0; }
.lp-offtag { margin: 0 0 6px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }
.lp-offtag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.lp-offtag[hidden] { display: none; }
body[data-mode="off"] .lp-off { padding-top: 28px; }

/* Desktop "estilo twitch.tv": bloco player+chat quase na largura toda e cabendo na altura da tela.
   Largura = menor entre (tela - margens) e (altura útil × 16/9 + chat), então nunca precisa rolar para ver player e chat. */
@media (min-width: 901px) {
  #lp-on { --lp-chat: 340px; --lp-gap: 12px; --lp-side: 16px;
    --lp-top: 214px; /* cabeçalho do site 57 + linha título/abas ~98 + barra do player 44 + respiros */
    --lp-ph: max(300px, calc(100vh - var(--lp-top)));
    --lp-w: min(calc(100vw - 2 * var(--lp-side)), calc(var(--lp-ph) * 16 / 9 + var(--lp-chat) + var(--lp-gap))); }
  @supports (height: 100dvh) { #lp-on { --lp-ph: max(300px, calc(100dvh - var(--lp-top))); } }
  .lp-head.wrap, .lp-stage.wrap { width: var(--lp-w); max-width: none; margin-inline: auto; }
  .lp-head { padding-top: 12px; padding-bottom: 8px; align-items: center; flex-wrap: nowrap; }
  .lp-tt { flex: 1 1 auto; }
  .lp-tag, .lp-offtag { margin-bottom: 4px; }
  .lp-title { -webkit-line-clamp: 1; font-size: 20px; }
  .lp-sub { margin-top: 2px; font-size: 13px; }
  .lp-tabs { flex: none; flex-wrap: nowrap; }
  .lp-stage { grid-template-columns: minmax(0, 1fr) var(--lp-chat); gap: var(--lp-gap); }
  .lp-bar { min-height: 36px; }
  /* Sem chat ou modo cinema: só o player, o maior possível sem rolar */
  #lp-on.solo { --lp-w: min(calc(100vw - 2 * var(--lp-side)), calc(var(--lp-ph) * 16 / 9)); }
  .lp-stage.theater { grid-template-columns: minmax(0, 1fr); padding-left: 0; padding-right: 0; }
  .lp-stage.theater .lp-chat { display: none; }
  #lp-on.cine { --lp-side: 8px; }
}
/* Celular: as 3 abas numa linha só (320–430px): menos padding/fonte/ícone; contagem pode encolher; "offline" vira ponto cinza */
@media (max-width: 900px) {
  .lp-head { flex-wrap: wrap; }
  .lp-tabs { flex: 1 1 100%; flex-wrap: nowrap; gap: 6px; min-width: 0; }
  .lp-tab { flex: 1 1 0; min-width: 0; justify-content: center; }
  .lp-tab > span, .lp-tab b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lp-tab b { flex: 0 1 auto; }
  .lp-tab img { flex: none; }
}
@media (max-width: 430px) {
  .lp-tabs { gap: 4px; }
  /* ícone + nome em cima, audiência embaixo (pequena) — cabe 3 abas até em 320px sem cortar o nome */
  .lp-tab { flex-wrap: wrap; align-content: center; row-gap: 1px; column-gap: 5px; padding: 5px 4px; font-size: 13px; min-height: 46px; line-height: 1.15; }
  .lp-tab > span { flex: none; }
  .lp-tab img { width: 14px; height: 14px; }
  .lp-tab b { flex: 1 0 100%; text-align: center; font-size: 11.5px; line-height: 1.2; }
  .lp-tab.on b::before { width: 6px; height: 6px; margin-right: 4px; }
  .lp-tab .lp-st { flex: none; width: 7px; height: 7px; padding: 0; border-radius: 50%; background: var(--faint); opacity: .7; font-size: 0; overflow: hidden; }
}
@media (max-width: 359px) { .lp-tab { font-size: 12.5px; column-gap: 4px; } .lp-tab b { font-size: 11px; } }
/* Total somado: "17.999 assistindo agora" com o número em negrito (desktop e celular) */
/* Total somado sob o player, à esquerda (mesma linha dos botões cinema/chat): ponto vermelho + número em negrito + "assistindo agora" */
.lp-viewers { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-viewers[hidden] { display: none; }
.lp-viewers .lp-n { color: var(--text); font-weight: 800; }
.lp-vdot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; margin-right: 1px; }
@media (max-width: 900px) { .lp-bar { flex-wrap: wrap; row-gap: 0; column-gap: 10px; } }
/* Hover/foco das abas: leve subida, borda + brilho suave na cor da plataforma, ícone 1.08, 150 ms. Aba ativa mantém o contorno vermelho. */
.lp-tab[data-p="twitch"] { --pc: #9146FF; --pc-rgb: 145,70,255; }
.lp-tab[data-p="youtube"] { --pc: #FF0000; --pc-rgb: 255,0,0; }
.lp-tab[data-p="kick"] { --pc: #53FC18; --pc-rgb: 83,252,24; }
.lp-tab { transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.lp-tab img { transition: transform .15s ease; }
@media (hover: hover) {
  .lp-tab:hover { transform: translateY(-1px); border-color: var(--pc); box-shadow: 0 0 0 1px rgba(var(--pc-rgb), .28), 0 4px 14px rgba(var(--pc-rgb), .18); }
  .lp-tab:hover img { transform: scale(1.08); }
  .lp-tab[aria-selected="true"]:hover { border-color: var(--live); box-shadow: inset 0 -2px 0 var(--live), 0 4px 14px rgba(var(--pc-rgb), .18); }
}
.lp-tab:focus-visible { outline: none; transform: translateY(-1px); border-color: var(--pc); box-shadow: 0 0 0 2px rgba(var(--pc-rgb), .55), 0 4px 14px rgba(var(--pc-rgb), .18); }
.lp-tab:focus-visible img { transform: scale(1.08); }
.lp-tab[aria-selected="true"]:focus-visible { border-color: var(--live); box-shadow: inset 0 -2px 0 var(--live), 0 0 0 2px rgba(var(--pc-rgb), .55); }
@media (prefers-reduced-motion: reduce) { .lp-tab, .lp-tab img { transition: none; } .lp-tab:hover, .lp-tab:focus-visible, .lp-tab:hover img, .lp-tab:focus-visible img { transform: none; } }

/* Clique para carregar: cartão no lugar do player até a pessoa escolher assistir (nenhum iframe de terceiro antes). Só o botão;
   "Lembrar" e o aviso de cookies ficam pequenos e discretos (mas legíveis). AO VIVO, total e contagens ficam só no topo e nas abas. */
.cg { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; color: #fff; isolation: isolate; }
.cg::before { content: ""; position: absolute; inset: -12px; z-index: -2; background: #05070b url(/assets/thumbs/v6bEAYrXoP4.webp) center / cover no-repeat; filter: blur(10px) saturate(.9) brightness(.5); transform: scale(1.04); }
.cg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%, rgba(5,7,11,.3), rgba(5,7,11,.8) 75%); }
.cg.is-off::before { filter: blur(8px) grayscale(1) brightness(.38); }
.cg-mid { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 20px; text-align: center; min-width: 0; }
.cg-go { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; border: 0; border-radius: 12px; background: var(--live); color: #fff; font: 800 16px/1.1 "Inter", sans-serif; cursor: pointer; box-shadow: 0 6px 22px rgba(0,0,0,.45); transition: transform .15s var(--ease), filter .15s; }
.cg-go img { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: #fff; box-sizing: content-box; }
.cg.is-off .cg-go { background: #f1f3f7; color: #10141d; }
.cg-go:focus-visible, .cg-rem input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) { .cg-go:hover { transform: translateY(-1px); filter: brightness(1.08); } }
.cg-opt { display: flex; flex-direction: column; align-items: center; gap: 0; }
.cg-rem { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.8); cursor: pointer; }
.cg-rem input { width: 14px; height: 14px; margin: 0; accent-color: var(--live); }
.cg-note { margin: 0; font-size: 11.5px; line-height: 1.4; color: rgba(255,255,255,.66); }
.cg-note a { color: rgba(255,255,255,.88); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cg-note a:hover, .cg-note a:focus-visible { color: #fff; }
@media (prefers-reduced-motion: reduce) { .cg-go { transition: none; } }
@media (max-width: 599px) {   /* celular: player 16:9 é baixo (≈220px) */
  .cg-mid { gap: 6px; padding: 10px 14px; }
  .cg-go { min-height: 44px; padding: 8px 18px; font-size: 15px; }
  .cg-note { font-size: 11px; }
}
/* "Esquecer escolha": ícone tímido (seta circular) junto de cinema/chat; apagado por padrão, acende no hover/foco. Só para plataforma lembrada. */
.lp-ic.lp-forget { margin-left: auto; border-color: transparent; background: transparent; color: var(--faint); opacity: .75; transition: color .15s ease, opacity .15s ease, border-color .15s ease; }
.lp-ic.lp-forget[hidden] { display: none; }
.lp-ic.lp-forget svg { width: 16px; height: 16px; }
.lp-forget:not([hidden]) ~ #lp-theater { margin-left: 0; }
@media (hover: hover) { .lp-ic.lp-forget:hover { color: var(--text); opacity: 1; border-color: var(--line); } }
.lp-ic.lp-forget:focus-visible { color: var(--text); opacity: 1; outline: 2px solid var(--text); outline-offset: 2px; }
@media (max-width: 900px) { .lp-ic.lp-forget { width: 40px; height: 40px; margin-right: -8px; } }
