/* Resenha: assistir a galera jogando (presença no Resenha, transmissão dos jogos, reações e comentários, pedir live). */

/* ------------------------------------------------------------ presença "no Resenha" */
.game-line.rsh { color: color-mix(in srgb, var(--gc) 55%, #fff); }
.game-line.rsh .icon { color: var(--gc); filter: drop-shadow(0 0 5px color-mix(in srgb, var(--gc) 75%, transparent)); }
.game-line.rsh b { color: #fff; }
.rsh-tag { flex-shrink: 0; padding: 2px 5px; border-radius: 5px; font: 700 8.5px/1.25 var(--font-display); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gc); background: color-mix(in srgb, var(--gc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--gc) 42%, transparent); }
.rsh-eye { flex-shrink: 0; display: inline-flex; align-items: center; gap: 2px; font: 700 11px/1 var(--font-display); font-style: normal; color: var(--text-2); }
.game-line .rsh-eye .icon { width: 12px; height: 12px; color: var(--cyan); filter: none; }
.member .rsh-tag, .home-playing .rsh-tag { display: none; }

/* botões ao lado da presença */
.wt-pill { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 99px; font: 700 9.5px/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); cursor: pointer; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.wt-pill .icon { width: 12px; height: 12px; }
.wt-pill.watch { background: rgba(41, 230, 255, 0.12); border-color: rgba(41, 230, 255, 0.45); }
.wt-pill.watch:hover, .wt-pill.watch:focus-visible { background: rgba(41, 230, 255, 0.24); box-shadow: 0 0 14px rgba(41, 230, 255, 0.35); outline: none; }
.wt-pill.ask { color: #ffd0d7; background: rgba(var(--hot-rgb), 0.1); border-color: rgba(var(--hot-rgb), 0.42); }
.wt-pill.ask:hover, .wt-pill.ask:focus-visible { background: rgba(var(--hot-rgb), 0.2); box-shadow: 0 0 14px rgba(var(--hot-rgb), 0.3); outline: none; }
.wt-pill.off { opacity: 0.5; cursor: default; box-shadow: none !important; }
/* na lista de membros: só o ícone; o nome do botão aparece ao passar o mouse */
.wt-pill { padding: 0 6px; gap: 0; }
.wt-pill > span { max-width: 0; overflow: hidden; transition: max-width 0.2s, margin 0.2s; }
.member:hover .wt-pill > span, .member:focus-visible .wt-pill > span, .wt-pill:focus-visible > span { max-width: 96px; margin-left: 4px; }
.member:hover .wt-pill, .wt-pill:focus-visible { padding: 0 8px; }
.wt-act { height: 28px; padding: 0 10px; }
.wt-act .icon { width: 14px; height: 14px; }
.wt-act.watch { color: #fff; background: rgba(41, 230, 255, 0.12); border-color: rgba(41, 230, 255, 0.45); }
.wt-act.watch:hover { background: rgba(41, 230, 255, 0.24); }
.wt-act.ask { color: #ffd0d7; background: rgba(var(--hot-rgb), 0.1); border-color: rgba(var(--hot-rgb), 0.42); }
.wt-act.ask:hover { background: rgba(var(--hot-rgb), 0.2); }
.wt-act:disabled { opacity: 0.55; cursor: default; }
.profile-game.with-action { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.profile-game.with-action .wt-act { margin-left: auto; }
.home-playing { display: flex; align-items: center; gap: 8px; }
.home-playing > .home-person { flex: 1; min-width: 0; }
.home-playing > .wt-act { margin-right: 6px; }

/* ------------------------------------------------------------ reações e comentários por cima do jogo */
.wt-layer { position: absolute; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; }
.wt-floats { position: absolute; inset: 0; }
.wt-float { position: absolute; bottom: 16px; display: flex; flex-direction: column; align-items: center; gap: 1px; animation: wt-up 2.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.wt-float i { font-style: normal; font-size: 30px; line-height: 1.1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55)); }
.wt-float small { padding: 1px 7px; border-radius: 99px; font: 700 9.5px/1.45 var(--font-display); letter-spacing: 0.05em; color: var(--text-2); background: rgba(6, 7, 11, 0.62); }
@keyframes wt-up {
  0% { transform: translate(0, 30px) scale(0.5); opacity: 0; }
  12% { transform: translate(0, -10px) scale(1.1); opacity: 0.95; }
  75% { opacity: 0.85; }
  100% { transform: translate(var(--drift), -240px) scale(0.85); opacity: 0; }
}
.wt-bubbles { position: absolute; left: 14px; bottom: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: min(360px, 62%); }
.wt-bubble { display: flex; align-items: flex-start; gap: 7px; padding: 6px 11px 6px 6px; border-radius: 13px 13px 13px 4px; font-size: 12.5px; line-height: 1.35; color: var(--text); background: rgba(8, 10, 16, 0.8); border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px); overflow-wrap: anywhere; animation: wt-in 0.28s cubic-bezier(0.2, 0.9, 0.2, 1.1) both; transition: opacity 0.6s, transform 0.6s; }
.wt-bubble .avatar { --size: 20px; font-size: 10px; margin-top: 1px; }
.wt-bubble b { color: var(--c); }
.wt-bubble.system { color: var(--text-2); font-size: 12px; background: rgba(8, 10, 16, 0.65); }
.wt-bubble.out { opacity: 0; transform: translateY(6px); }
@keyframes wt-in { from { opacity: 0; transform: translateX(-14px) scale(0.96); } }

/* "👁 3 assistindo" (com os nomes ao passar o mouse) */
.wt-eye { position: relative; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; font: 700 11.5px/1 var(--font-display); letter-spacing: 0.06em; color: var(--text); background: rgba(41, 230, 255, 0.08); border: 1px solid rgba(41, 230, 255, 0.32); cursor: default; outline: none; }
.wt-eye .icon { width: 15px; height: 15px; color: var(--cyan); }
.wt-eye b { color: #fff; font-size: 13px; }
.wt-eye > span { color: var(--text-2); text-transform: uppercase; font-size: 10px; letter-spacing: 0.12em; }
.wt-eye.bump { animation: wt-bump 0.6s ease-out; }
@keyframes wt-bump { 30% { transform: scale(1.12); box-shadow: 0 0 18px rgba(41, 230, 255, 0.55); } }
.wt-eye-list { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; display: none; flex-direction: column; gap: 6px; min-width: 190px; padding: 10px 12px; border-radius: 12px; background: rgba(12, 14, 22, 0.98); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55); }
.wt-eye:hover .wt-eye-list, .wt-eye:focus-visible .wt-eye-list { display: flex; }
.wt-eye-list small { font: 700 9.5px/1.2 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.wt-eye-who { display: flex; align-items: center; gap: 8px; font: 600 13px/1.2 var(--font-ui); letter-spacing: 0; color: var(--c); }
.wt-eye-who .avatar { --size: 22px; }

/* ------------------------------------------------------------ palco do fliperama (quem assiste uma partida) */
.wt-live { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px; font: 700 9.5px/1 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: #e5253f; box-shadow: 0 0 14px rgba(229, 37, 63, 0.5); }
.wt-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: wt-blink 1.2s ease-in-out infinite; }
.wt-live.off { background: var(--bg-5); box-shadow: none; color: var(--text-2); }
.wt-live.off::before { animation: none; background: var(--text-3); }
@keyframes wt-blink { 50% { opacity: 0.25; } }
.arcade-stage > .wt-controls { flex-shrink: 0; }
/* o Tico (mascote) fica no canto de baixo: a barra deixa espaço para ele */
body:has(.tico-dock:not(.hidden):not(.on-left):not(.on-top)) .arcade-stage > .wt-controls { padding-right: 100px; }
.wt-result { position: absolute; z-index: 45; left: 50%; top: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; max-width: calc(100% - 28px); padding: 12px 14px 12px 16px; border-radius: 16px; background: rgba(10, 12, 20, 0.96); border: 1px solid color-mix(in srgb, var(--g1) 50%, var(--line-2)); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px color-mix(in srgb, var(--g1) 25%, transparent); animation: wt-drop 0.4s cubic-bezier(0.2, 0.9, 0.2, 1.1) both; }
.wt-result-trophy { font-size: 30px; filter: drop-shadow(0 0 12px rgba(255, 197, 61, 0.6)); }
.wt-result-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wt-result-text strong { font: 700 17px/1.2 var(--font-display); letter-spacing: 0.03em; color: var(--g1); }
.wt-result-text small { color: var(--text-2); font-size: 12.5px; }
.wt-result .btn { height: 38px; flex-shrink: 0; }
@keyframes wt-drop { from { opacity: 0; transform: translate(-50%, -14px) scale(0.97); } }

/* barra de quem assiste: reações rápidas e comentário */
.wt-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(8, 10, 16, 0.94); border-top: 1px solid var(--line); }
.wt-controls.done { opacity: 0.5; pointer-events: none; }
.wt-quick { display: flex; gap: 4px; }
.wt-emoji { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; font-size: 20px; line-height: 1; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); transition: transform 0.12s, background 0.12s, border-color 0.12s; }
.wt-emoji:hover { transform: translateY(-2px) scale(1.08); background: rgba(255, 255, 255, 0.1); border-color: var(--line-2); }
.wt-emoji:active { transform: scale(0.9); }
.wt-say { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 6px; }
.wt-input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; font-size: 14px; }
.wt-send { width: 38px; height: 38px; color: #fff; background: var(--grad); border-radius: 10px; }
.wt-send:hover { filter: brightness(1.12); }
.wt-send .icon { width: 17px; height: 17px; }

/* ------------------------------------------------------------ janela "Assistindo Ana · Bastião" */
.wt-scrim { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px; background: rgba(3, 4, 8, 0.78); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.2s; }
.wt-scrim.open { opacity: 1; }
.wt-modal { width: min(1180px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: rgba(10, 12, 20, 0.98); border: 1px solid color-mix(in srgb, var(--gc) 35%, var(--line-2)); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 70px color-mix(in srgb, var(--gc) 16%, transparent); transform: translateY(10px) scale(0.985); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wt-scrim.open .wt-modal { transform: none; }
.wt-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, color-mix(in srgb, var(--gc) 15%, transparent), transparent 65%); }
.wt-head-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wt-head-text strong { font: 700 17px/1.2 var(--font-display); letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-head-text em { font-style: normal; color: var(--gc); text-shadow: 0 0 14px color-mix(in srgb, var(--gc) 55%, transparent); }
.wt-detail { color: var(--text-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-detail:empty { display: none; }
.wt-screen { position: relative; flex: 1 1 auto; min-height: 220px; aspect-ratio: 16 / 9; max-height: calc(100vh - 210px); display: grid; place-items: center; overflow: hidden; background: radial-gradient(80% 70% at 50% 40%, color-mix(in srgb, var(--gc) 9%, #04050a), #020306); }
.wt-screen:fullscreen { aspect-ratio: auto; max-height: none; }
.wt-video, .wt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.wt-status { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; color: var(--text-2); background: rgba(3, 4, 8, 0.55); backdrop-filter: blur(2px); }
.wt-status b { font: 700 19px/1.25 var(--font-display); letter-spacing: 0.03em; color: var(--text); }
.wt-status small { max-width: 440px; font-size: 13.5px; }
.wt-status .spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--bg-5); border-top-color: var(--gc); animation: spin 0.8s linear infinite; }
.wt-status .btn { margin-top: 6px; }
.wt-badge { position: absolute; z-index: 25; left: 12px; top: 12px; padding: 4px 9px; border-radius: 99px; font: 700 9.5px/1.2 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); background: rgba(6, 7, 11, 0.75); border: 1px solid rgba(255, 197, 61, 0.35); }
.wt-scrim.ended .wt-video, .wt-scrim.ended .wt-img { filter: grayscale(0.8) brightness(0.5); }
.wt-modal .wt-controls { border-top: 1px solid var(--line); }

/* ------------------------------------------------------------ pedido de live */
.wt-live-card .invite-text b { color: #fff; }
.wt-card-sub { display: flex; align-items: center; gap: 5px; margin-top: 3px; font: 700 9.5px/1.2 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.wt-card-sub .icon { width: 12px; height: 12px; color: var(--ic); }
.wt-rooms { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.wt-rooms > small { color: var(--text-2); font-size: 12.5px; }
.wt-room { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; text-align: left; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); transition: background 0.15s, border-color 0.15s; }
.wt-room:hover { background: rgba(255, 255, 255, 0.08); border-color: color-mix(in srgb, var(--ic) 55%, transparent); }
.wt-room .icon { width: 17px; height: 17px; color: var(--cyan); }
.wt-room span { display: flex; flex-direction: column; min-width: 0; }
.wt-room b { font-size: 14px; }
.wt-room small { font-size: 12px; color: var(--text-3); }
.wt-toast { display: inline-flex; align-items: center; gap: 12px; }
.wt-toast .mini-btn { height: 28px; color: #fff; border-color: rgba(41, 230, 255, 0.45); background: rgba(41, 230, 255, 0.14); }
.wt-toast .mini-btn .icon { width: 14px; height: 14px; }

/* configurações */
.settings-sub { margin: 26px 0 10px; font: 700 11px/1 var(--font-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }

@media (max-width: 760px) {
  .wt-scrim { padding: 0; }
  .wt-modal { border-radius: 0; max-height: 100vh; height: 100%; }
  .wt-screen { aspect-ratio: auto; max-height: none; }
  .wt-quick { width: 100%; justify-content: space-between; }
  .wt-head .wt-eye > span { display: none; }
}

@keyframes wt-fade { 80% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wt-float, .wt-bubble, .wt-result, .wt-eye.bump, .wt-live::before { animation: none !important; }
  .wt-float { animation: wt-fade 2.7s linear forwards !important; }
}
