:root {
  --bg: #08080d;
  --rail: #0b0b12;
  --side: #101019;
  --main: #13131e;
  --panel: #191926;
  --panel-2: #20202f;
  --line: #262638;
  --line-2: #33334a;
  --text: #ecebf5;
  --muted: #9a99b3;
  --dim: #6b6a85;
  --accent: #8b5cf6;
  --accent-2: #a855f7;
  --accent-hi: #c4a6ff;
  --accent-rgb: 139, 92, 246;
  --accent-glow: rgba(var(--accent-rgb), .45);
  --grad: linear-gradient(135deg, #7c3aed 0%, #a855f7 55%, #c026d3 120%);
  --ok: #22c55e;
  --away: #f5b13d;
  --danger: #ef4444;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  color-scheme: dark;
  --input: #0d0d15;
  --sep: #0c0c13;
  --hover: #2a2a3d;
  --line-3: #43435e;
  --text-2: #dcdbe8;
  --offline: #55556d;
  --fg-rgb: 255, 255, 255;
  --mebar: #0c0c14;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 14px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
svg { width: 18px; height: 18px; flex: none; }
.hidden { display: none !important; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--hover); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 10px; font-weight: 600;
  background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text);
  transition: transform .12s, background .15s, border-color .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--hover); border-color: var(--line-3); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 22px -6px var(--accent-glow); }
.btn.primary:hover { filter: brightness(1.1); box-shadow: 0 8px 28px -6px var(--accent-glow); }
.btn.danger { background: rgba(239, 68, 68, .14); border-color: rgba(239, 68, 68, .35); color: #fca5a5; }
.btn.danger:hover { background: rgba(239, 68, 68, .25); }
.btn.solid-danger { background: var(--danger); border-color: transparent; color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { background: var(--panel-2); color: var(--text); }
.btn.big { height: 46px; font-size: 15px; width: 100%; }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; display: inline-grid; place-items: center;
  color: var(--muted); transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--panel-2); color: var(--text); }
.icon-btn.on { color: #fff; background: var(--accent); }
.icon-btn.bad { color: var(--danger); }
.icon-btn.ok:hover { color: var(--ok); }
.icon-btn.no:hover { color: var(--danger); }

input[type=text], input[type=number], input[type=password], input[type=email], input:not([type]), select, textarea {
  width: 100%; background: var(--input); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .22); }
input[type=range] { accent-color: var(--accent); width: 100%; }
input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
label.check { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; }

/* ---------- Entrada ---------- */
.auth {
  position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; overflow: auto;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(124, 58, 237, .28), transparent 60%),
    radial-gradient(700px 500px at 90% 90%, rgba(192, 38, 211, .18), transparent 60%),
    var(--bg);
}
.auth-card {
  width: min(400px, 100%); background: rgba(19, 19, 30, .88); backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.brand b { color: var(--accent-hi); font-weight: 800; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; display: block; box-shadow: 0 8px 24px -6px var(--accent-glow); }
.download-win { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--input); color: var(--text); text-decoration: none; transition: border-color .15s, background .15s; }
.download-win:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .1); }
.download-win svg { width: 26px; height: 26px; color: #60a5fa; }
.download-win b { display: block; font-size: 14px; }
.download-win small { display: block; color: var(--muted); font-size: 12px; }
.link-btn { color: var(--accent-hi); font-weight: 600; font-size: 13px; justify-self: center; padding: 4px 8px; border-radius: 6px; }
.link-btn:hover { text-decoration: underline; }
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--input); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.pay-tabs button { height: 36px; border-radius: 9px; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pay-tabs button.active { background: var(--panel-2); color: var(--text); }
.settings-sec { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 12px; }
.settings-sec h3 { margin: 0; font-size: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 820px) { .row2 { grid-template-columns: 1fr; } }
.auth-sub { color: var(--muted); margin: 10px 0 22px; }
.auth .hint { font-weight: 400; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--input); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.seg button { height: 34px; border-radius: 9px; color: var(--muted); font-weight: 600; transition: background .15s, color .15s; }
.seg button.active { background: var(--panel-2); color: var(--text); box-shadow: 0 1px 0 rgba(var(--fg-rgb), .04) inset; }
#authForm { display: grid; gap: 14px; }
.form-error { color: #fca5a5; min-height: 18px; margin: 0; font-size: 13px; }

.price-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .3); color: var(--accent-hi); font-size: 13px; }
.pay-card { width: min(440px, 100%); }
.pay-title { margin: 18px 0 0; font-size: 20px; }
#payBody { display: grid; gap: 14px; margin-bottom: 8px; }
.pay-price { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: var(--input); border: 1px solid var(--line-2); }
.pay-price b { font-size: 26px; letter-spacing: -.02em; }
.pay-price span { color: var(--muted); }
.pay-qr { display: grid; place-items: center; background: #fff; border-radius: 14px; padding: 12px; }
.pay-qr img { width: 220px; height: 220px; image-rendering: pixelated; }
.pay-code { font: 12px/1.4 ui-monospace, Consolas, monospace; height: 76px; resize: none; word-break: break-all; }
.pay-wait { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.pay-wait i { width: 10px; height: 10px; border-radius: 50%; background: var(--away); animation: blink 1s infinite; flex: none; }
.pay-ok { text-align: center; color: var(--ok); font-weight: 700; font-size: 16px; padding: 10px; }
@keyframes blink { 50% { opacity: .3; } }

/* ---------- Layout ---------- */
.app { display: flex; height: 100vh; height: 100dvh; }
.rail {
  width: 72px; flex: none; background: var(--rail); padding: 12px 0; display: flex; flex-direction: column;
  align-items: center; gap: 8px; overflow-y: auto; border-right: 1px solid var(--sep);
}
.rail-sep { width: 32px; height: 2px; border-radius: 2px; background: var(--line); margin: 4px 0; }
.rail-item {
  position: relative; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: var(--panel); color: var(--text); font-weight: 700; font-size: 15px;
  transition: border-radius .18s, background .18s, box-shadow .18s; flex: none;
}
.rail-item:hover { border-radius: 14px; background: var(--accent); }
.rail-item.active { border-radius: 14px; background: var(--grad); box-shadow: 0 6px 20px -6px var(--accent-glow); }
.rail-item.active::before, .rail-item:hover::before {
  content: ""; position: absolute; left: -12px; width: 4px; border-radius: 0 4px 4px 0; background: #fff;
  height: 20px; transition: height .18s;
}
.rail-item.active::before { height: 36px; }
.rail-item.add { color: var(--ok); background: var(--panel); }
.rail-item.add:hover { background: var(--ok); color: #fff; }
.rail-item svg { width: 22px; height: 22px; }
.rail-item .badge { position: absolute; right: -4px; bottom: -4px; }
.rail-item .live { position: absolute; right: -3px; top: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--ok); border: 3px solid var(--rail); }

.side { width: 264px; flex: none; background: var(--side); display: flex; flex-direction: column; min-height: 0; }
.side-body { flex: 1; overflow-y: auto; min-height: 0; }
.side-head {
  height: 56px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-bottom: 1px solid var(--sep); font-weight: 700; font-size: 15px; box-shadow: 0 1px 0 rgba(var(--fg-rgb), .02);
}
.side-head .title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-section { padding: 14px 8px 6px; }
.side-label { padding: 0 8px 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); display: flex; justify-content: space-between; align-items: center; }
.nav-item {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--muted);
  text-align: left; transition: background .12s, color .12s; min-height: 42px;
}
.nav-item:hover { background: var(--panel); color: var(--text); }
.nav-item.active { background: var(--panel-2); color: var(--text); }
.nav-item .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.nav-item.unread .name { color: var(--text); font-weight: 700; }
.nav-item .end { display: flex; align-items: center; gap: 4px; color: var(--ok); }
.nav-item .end svg { width: 15px; height: 15px; }

.invite-box { margin: 12px 12px 4px; padding: 12px; border-radius: 12px; background: linear-gradient(180deg, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), .05)); border: 1px solid rgba(var(--accent-rgb), .3); }
.invite-box .k { font-size: 11px; color: var(--accent-hi); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.invite-code { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; }
.invite-code code { font: 700 18px/1 ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: .12em; }

.voice-join {
  margin: 4px 0; width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
  color: var(--muted); border: 1px dashed var(--line-2); transition: border-color .15s, color .15s, background .15s;
}
.voice-join:hover { border-color: var(--accent); color: var(--text); background: rgba(var(--accent-rgb), .08); }
.voice-join.in { border-style: solid; border-color: rgba(34, 197, 94, .5); color: var(--ok); background: rgba(34, 197, 94, .08); }
.voice-users { display: grid; gap: 2px; padding: 2px 0 2px 26px; }
.voice-user { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; padding: 3px 4px; }

/* barra de voz */
.voice-bar { border-top: 1px solid var(--sep); background: var(--input); padding: 10px 10px 8px; }
.voice-bar .row { display: flex; align-items: center; gap: 8px; }
.voice-status { flex: 1; min-width: 0; }
.voice-status .s1 { color: var(--ok); font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.voice-status .s1.warn { color: var(--away); }
.voice-status .s2 { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.voice-status .s2:hover { color: var(--text); text-decoration: underline; }
.voice-bar .tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.voice-bar .tools .btn { height: 32px; padding: 0; }

.me-bar { height: 60px; padding: 0 8px; display: flex; align-items: center; gap: 8px; background: var(--mebar); border-top: 1px solid var(--sep); }
.me-bar .who { flex: 1; min-width: 0; line-height: 1.2; }
.me-bar .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-bar .who span { font-size: 12px; color: var(--muted); }

/* avatar */
.av {
  position: relative; width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 700; color: #111; font-size: 13px; text-transform: uppercase; user-select: none;
}
.av.lg { width: 40px; height: 40px; font-size: 15px; }
.av.xl { width: 72px; height: 72px; font-size: 26px; }
.av.sm { width: 22px; height: 22px; font-size: 10px; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av .dot { z-index: 1;  position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--side); background: var(--dim); }
.av.lg .dot { width: 14px; height: 14px; }
.dot.online { background: var(--ok) !important; }
.dot.away { background: var(--away) !important; }
.dot.offline { background: var(--offline) !important; }

.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; border: 3px solid var(--rail); box-sizing: content-box; }
.nav-item .badge { border: 0; }

/* ---------- Área principal ---------- */
.main { flex: 1; min-width: 0; background: var(--main); display: flex; flex-direction: column; min-height: 0; }
.top {
  height: 56px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 16px;
  border-bottom: 1px solid var(--sep); box-shadow: 0 1px 0 rgba(var(--fg-rgb), .02);
}
.top .title { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.top .title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .sub { color: var(--muted); font-size: 13px; }
.top .grow { flex: 1; }
.menu-btn { display: none; }
.tabs { display: flex; gap: 4px; margin-left: 8px; flex-wrap: wrap; }
.tab { height: 30px; padding: 0 12px; border-radius: 8px; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.tab:hover { background: var(--panel); color: var(--text); }
.tab.active { background: var(--panel-2); color: var(--text); }
.tab.cta { background: var(--grad); color: #fff; }
.tab .badge { border: 0; }

.scroll { flex: 1; overflow-y: auto; min-height: 0; }
.pad { padding: 20px 24px; }
.section-title { font-size: 11px; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.list { display: grid; gap: 2px; }
.row-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border-top: 1px solid var(--line);
  transition: background .12s;
}
.row-item:first-child { border-top-color: transparent; }
.row-item:hover { background: var(--panel); border-top-color: transparent; }
.row-item:hover + .row-item { border-top-color: transparent; }
.row-item .info { flex: 1; min-width: 0; }
.row-item .info b { display: block; }
.row-item .info span { color: var(--muted); font-size: 13px; }
.row-item .acts { display: flex; gap: 6px; }
.row-item .acts .icon-btn { background: var(--panel-2); border-radius: 50%; }

.empty { text-align: center; color: var(--muted); padding: 60px 20px; display: grid; justify-items: center; gap: 10px; }
.empty .art { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(var(--accent-rgb), .25), rgba(var(--accent-rgb), .05)); color: var(--accent-hi); border: 1px solid rgba(var(--accent-rgb), .3); }
.empty .art svg { width: 38px; height: 38px; }
.empty h3 { color: var(--text); margin: 6px 0 0; font-size: 17px; }
.empty p { margin: 0; max-width: 380px; }

.add-friend { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 22px; }
.add-friend h2 { margin: 0 0 4px; font-size: 16px; }
.add-friend p { margin: 0 0 14px; color: var(--muted); }
.search-row { display: flex; gap: 8px; }

/* ---------- Conversa ---------- */
.conv { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.messages { flex: 1; overflow-y: auto; padding: 16px 0 8px; min-height: 0; }
.msg { display: flex; gap: 14px; padding: 4px 20px 4px 18px; position: relative; }
.msg:hover { background: rgba(var(--fg-rgb), .025); }
.msg.first { margin-top: 12px; }
.msg .gutter { width: 40px; flex: none; }
.msg .gutter time { display: none; font-size: 10px; color: var(--dim); text-align: right; padding-top: 4px; }
.msg:not(.first):hover .gutter time { display: block; }
.msg .body { min-width: 0; flex: 1; }
.msg .head { display: flex; align-items: baseline; gap: 8px; }
.msg .head b { font-weight: 700; }
.msg .head time { color: var(--dim); font-size: 11px; }
.msg .text { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; color: var(--text-2); }
.msg .text a { color: var(--accent-hi); }
.msg .tools { position: absolute; right: 16px; top: -12px; display: none; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 8px; }
.msg:hover .tools { display: flex; }
.msg .tools .icon-btn { width: 30px; height: 30px; }
.msg .tools .icon-btn:hover { color: var(--danger); }
.day-sep { display: flex; align-items: center; gap: 10px; margin: 18px 20px 6px; color: var(--dim); font-size: 11px; font-weight: 700; }
.day-sep::before, .day-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.conv-intro { padding: 24px 20px 8px; }
.conv-intro h2 { margin: 12px 0 4px; font-size: 24px; letter-spacing: -.02em; }
.conv-intro p { margin: 0; color: var(--muted); }

.composer { padding: 0 16px 18px; flex: none; }
.composer-box { display: flex; align-items: flex-end; gap: 6px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px 6px 6px 14px; transition: border-color .15s, box-shadow .15s; }
.composer-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.composer textarea { background: none; border: 0; box-shadow: none !important; resize: none; padding: 8px 0; max-height: 160px; min-height: 22px; line-height: 1.45; }
.composer .send { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.composer .send:disabled { opacity: .35; background: var(--panel); }
.readonly-note { color: var(--muted); text-align: center; padding: 12px; background: var(--panel); border-radius: 12px; }

/* ---------- Palco da chamada ---------- */
.stage { flex: none; background: #07070c; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; height: 52vh; min-height: 260px; resize: vertical; overflow: hidden; }
.stage.expanded { height: auto; flex: 1; resize: none; }
.stage.with-video { height: 64vh; }
.stage-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 0; }
.stage-grid { flex: 1; min-height: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-auto-rows: minmax(120px, 1fr); overflow-y: auto; align-content: center; }
.stage-videos { flex: 1; min-height: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); grid-auto-rows: minmax(0, 1fr); }
.stage-people { flex: none; display: flex; gap: 8px; overflow-x: auto; justify-content: center; }
.stage-people .tile { min-height: 0; height: 72px; width: 180px; flex: none; justify-items: start; padding-left: 12px; }
.stage-people .tile .av.xl { width: 40px; height: 40px; font-size: 15px; }
.stage-people .tile .label { left: auto; right: 8px; top: 50%; bottom: auto; transform: translateY(-50%); max-width: 110px; }
.stage-people .tile .tile-tools { top: auto; bottom: 4px; right: 4px; }
.stage-people .tile-tools .vol input { width: 70px; }
.tile {
  position: relative; background: var(--panel); border-radius: 14px; overflow: hidden; display: grid; place-items: center;
  border: 2px solid transparent; transition: border-color .12s, box-shadow .12s; min-height: 120px;
}
.tile.speaking { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.tile.video { background: #000; min-height: 0; }
.tile video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.tile.mirror video { transform: scaleX(-1); }
.tile .label {
  position: absolute; left: 8px; bottom: 8px; display: flex; align-items: center; gap: 6px; max-width: calc(100% - 16px);
  background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 600;
}
.tile .label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .label svg { width: 14px; height: 14px; }
.tile .label .muted-ic { color: var(--danger); }
.tile .tile-tools { position: absolute; right: 8px; top: 8px; display: flex; gap: 6px; opacity: 0; transition: opacity .15s; align-items: center; }
.tile:hover .tile-tools, .tile:focus-within .tile-tools { opacity: 1; }
.tile-tools .icon-btn { background: rgba(0, 0, 0, .6); color: #fff; width: 32px; height: 32px; }
.tile-tools .vol { display: flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .6); padding: 0 10px; height: 32px; border-radius: 10px; color: #fff; }
.tile-tools .vol input { width: 90px; }
.tile .conn { position: absolute; left: 8px; top: 8px; font-size: 11px; background: rgba(245, 177, 61, .9); color: #111; padding: 2px 8px; border-radius: 6px; font-weight: 700; }
.tile .live-tag { position: absolute; left: 8px; top: 8px; font-size: 11px; background: var(--danger); color: #fff; padding: 2px 8px; border-radius: 6px; font-weight: 800; letter-spacing: .04em; }

.stage-bar { flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px; flex-wrap: wrap; }
.round {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line-2); transition: background .15s, transform .1s, box-shadow .15s;
}
.round:hover { background: var(--hover); }
.round:active { transform: scale(.96); }
.round svg { width: 20px; height: 20px; }
.round.off { background: rgba(239, 68, 68, .18); color: #fca5a5; border-color: rgba(239, 68, 68, .4); }
.round.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 20px -6px var(--accent-glow); }
.round.caret { width: 30px; margin-left: -6px; }
.round.caret svg { width: 16px; height: 16px; }
.popover .pop-label { padding: 8px 12px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.popover .pop-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.popover button.sel { color: var(--accent-hi); }
.popover button .chk { width: 18px; display: inline-grid; }
.popover { max-height: 70vh; overflow-y: auto; max-width: min(360px, calc(100vw - 16px)); }
.popover button span.lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.profile-row .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.round.hang { background: var(--danger); color: #fff; border-color: transparent; width: 64px; border-radius: 24px; }
.round.hang:hover { filter: brightness(1.1); }
.join-call { display: grid; place-items: center; gap: 12px; padding: 30px; text-align: center; color: var(--muted); }

/* ---------- Pop-up de compartilhar ---------- */
.popover {
  position: fixed; z-index: 60; min-width: 250px; background: var(--panel); border: 1px solid var(--line-2);
  border-radius: 14px; padding: 6px; box-shadow: var(--shadow);
}
.popover button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-align: left; }
.popover button:hover { background: var(--accent); color: #fff; }
.popover button small { display: block; color: var(--muted); font-size: 12px; }
.popover button:hover small { color: rgba(var(--fg-rgb), .8); }

/* ---------- Modais ---------- */
.modal-back { position: fixed; inset: 0; z-index: 50; background: rgba(4, 4, 8, .72); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fade .15s; }
.modal { width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow); animation: pop .18s; }
.modal.wide { width: min(640px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 4px; }
.modal-head h2 { margin: 0; font-size: 18px; }
.modal-body { padding: 12px 20px 8px; display: grid; gap: 16px; }
.modal-body p { margin: 0; color: var(--muted); }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px 20px; }
.preview { position: relative; background: #000; border-radius: 12px; aspect-ratio: 16/9; overflow: hidden; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); }
.preview video { width: 100%; height: 100%; object-fit: contain; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meter { height: 8px; background: var(--input); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ok), #a3e635); transition: width .08s; }
.hint { font-size: 12px; color: var(--dim); text-transform: none; letter-spacing: 0; font-weight: 400; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice button { padding: 18px 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); display: grid; gap: 8px; justify-items: center; text-align: center; transition: border-color .15s, background .15s; }
.choice button:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .1); }
.choice button svg { width: 28px; height: 28px; color: var(--accent-hi); }
.choice button small { color: var(--muted); }

/* ---------- Avisos ---------- */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); }
.toast { background: var(--panel-2); border: 1px solid var(--line-2); border-left: 4px solid var(--accent); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); animation: slide .2s; display: grid; gap: 10px; }
.toast.error { border-left-color: var(--danger); }
.toast.ok { border-left-color: var(--ok); }
.toast.aviso { border-left-color: #f0b232; max-width: 420px; }
.toast .t-acts { display: flex; gap: 8px; }
.toast.ring { border-left-color: var(--ok); animation: slide .2s, ringpulse 1.2s infinite; }

.conn-banner { background: var(--away); color: #111; text-align: center; font-weight: 700; font-size: 13px; padding: 6px; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(6px); } }
@keyframes slide { from { opacity: 0; transform: translateY(10px); } }
@keyframes ringpulse { 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, .18), var(--shadow); } }

/* ---------- Celular ---------- */
@media (max-width: 820px) {
  .menu-btn { display: inline-grid; }
  .rail, .side { position: fixed; top: 0; bottom: 0; z-index: 40; transform: translateX(-110%); transition: transform .2s; }
  .rail { left: 0; }
  .side { left: 72px; width: min(280px, calc(100vw - 72px)); box-shadow: var(--shadow); }
  .app.nav-open .rail, .app.nav-open .side { transform: none; }
  .app.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 30; }
  .stage-grid, .stage-videos { grid-template-columns: 1fr; }
  .stage-people { justify-content: flex-start; }
  .pad { padding: 16px; }
  .grid2, .choice { grid-template-columns: 1fr; }
}

/* ---------- Planos ---------- */
.plans { display: grid; gap: 12px; }
.plan { position: relative; display: grid; gap: 4px; text-align: left; padding: 16px 18px; border-radius: 16px; background: var(--input); border: 1px solid var(--line-2); color: var(--text); transition: border-color .15s, transform .1s, box-shadow .15s; }
.plan:hover:not(:disabled) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.plan:active:not(:disabled) { transform: scale(.99); }
.plan:disabled { opacity: .5; cursor: default; }
.plan.featured { background: linear-gradient(160deg, rgba(124, 58, 237, .28), rgba(192, 38, 211, .12) 70%), var(--input); border-color: rgba(168, 85, 247, .55); }
.plan-tag { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 3px 9px; border-radius: 999px; margin-bottom: 4px; }
.plan-name { font-size: 16px; font-weight: 800; }
.plan.featured .plan-name { color: var(--accent-hi); }
.plan-price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.plan-price small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-desc { color: var(--muted); font-size: 13px; }

/* ---------- Agradecimento ---------- */
.thanks { display: grid; gap: 10px; text-align: center; justify-items: center; padding: 6px 0 4px; }
.thanks-heart { font-size: 54px; line-height: 1; animation: pulse 1.6s ease-in-out infinite; }
.thanks h2 { margin: 6px 0 0; font-size: 24px; letter-spacing: -.02em; }
.thanks p { margin: 0; color: var(--text-2); }
.thanks-badge { display: inline-block; font-weight: 800; color: #fff !important; background: var(--grad); padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 22px -6px var(--accent-glow); }
.thanks .btn.big { margin-top: 8px; }
@keyframes pulse { 50% { transform: scale(1.12); } }

/* ---------- Selo de Fundador ---------- */
.selo { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800; letter-spacing: .03em; color: #fff; background: var(--grad); padding: 1px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.selo.mini { padding: 0 5px; font-size: 9px; }

/* ---------- Moderação ---------- */
.blocked-msg { margin: 6px 20px 6px 72px; color: var(--dim); font-size: 12px; font-style: italic; }
.report-msg { background: var(--input); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; }
.report-msg p { color: var(--text) !important; margin: 4px 0 0 !important; white-space: pre-wrap; overflow-wrap: anywhere; }
.report { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 10px; }
.report.done { opacity: .6; }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.report-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line-2); margin-left: 6px; }
.report-head .report-tag { margin-left: 0; }
.report-tag.grave { background: rgba(239, 68, 68, .18); border-color: rgba(239, 68, 68, .45); color: #fca5a5; }
.report-det { margin: 0; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.report-ctx { background: var(--input); border-radius: 10px; padding: 8px 10px; display: grid; gap: 3px; font-size: 13px; color: var(--muted); }
.report-ctx div { overflow-wrap: anywhere; }
.report-ctx .alvo { color: #fca5a5; }
.report-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 2px; }
.stat b { font-size: 28px; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 13px; }
.rail-item.admin { color: #fca5a5; }
.rail-item.admin:hover { background: var(--danger); color: #fff; }
.modal-foot { flex-wrap: wrap; align-items: center; }
label.check a { color: var(--accent-hi); }

/* ---------- Servidores e canais ---------- */
.server-head { cursor: pointer; transition: background .12s; }
.server-head:hover { background: var(--panel); }
.server-head svg { width: 18px; height: 18px; flex: none; }
.nav-item.channel { min-height: 34px; padding: 6px 8px; gap: 8px; }
.nav-item.channel > svg { width: 18px; height: 18px; flex: none; opacity: .75; }
.nav-item.channel.voice.in { color: var(--ok); }
.nav-item .ch-tool { display: none; color: var(--muted); padding: 2px; border-radius: 6px; }
.nav-item .ch-tool:hover { color: var(--text); background: var(--line-2); }
.nav-item:hover .ch-tool, .nav-item.active .ch-tool { display: inline-grid; }
.ch-count { font-size: 11px; font-weight: 700; color: var(--ok); background: rgba(34, 197, 94, .12); padding: 1px 6px; border-radius: 999px; }
.rail-item.has-icon { padding: 0; overflow: hidden; }
.rail-icon { width: 100%; height: 100%; object-fit: cover; display: block; }
.conv-row { flex: 1; display: flex; min-height: 0; min-width: 0; }
.conv-row > .conv { min-width: 0; }
.members { width: 240px; flex: none; background: var(--side); border-left: 1px solid var(--line); overflow-y: auto; padding: 0 8px 12px; }
.members.hidden { display: none; }
.nav-item.member { min-height: 40px; cursor: pointer; }
.nav-item.member.off { opacity: .45; }
.role { font-size: 10px; font-weight: 800; margin-left: 6px; vertical-align: middle; }
.role.mod { color: var(--accent-hi); background: rgba(var(--accent-rgb), .16); padding: 1px 5px; border-radius: 4px; }
.selo.mini { font-size: 10px; padding: 0 4px; margin-left: 4px; }
.pop-user { display: flex; gap: 10px; align-items: center; padding: 8px 10px 10px; }
.pop-user b { display: block; }
.srv-icon-big { width: 80px; height: 80px; border-radius: 22px; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 24px; color: #fff; overflow: hidden; flex: none; }
.srv-icon-big img { width: 100%; height: 100%; object-fit: cover; }
.srv-icon-big.pick { cursor: pointer; background: var(--panel-2); border: 2px dashed var(--line-2); color: var(--muted); }
.srv-icon-big.pick:hover { border-color: var(--accent); color: var(--text); }
.srv-icon-big svg { width: 28px; height: 28px; }
.danger-item, .popover button.danger-item { color: #fca5a5; }
.popover button.danger-item:hover { background: var(--danger); color: #fff; }

/* ---------- Configurações com abas ---------- */
.modal.xwide { width: min(920px, calc(100vw - 24px)); }
.settings-layout { display: grid; grid-template-columns: 200px 1fr; gap: 18px; min-height: 420px; }
.set-nav { display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); padding-right: 12px; }
.set-nav .set-group { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); padding: 10px 10px 4px; }
.set-tab { text-align: left; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.set-tab svg { width: 16px; height: 16px; }
.set-tab:hover { background: var(--panel-2); color: var(--text); }
.set-tab.active { background: var(--panel-2); color: var(--text); font-weight: 700; }
.set-body { display: grid; gap: 12px; align-content: start; min-width: 0; }
.set-body h3 { margin: 0; font-size: 18px; }
.toggle-row { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row b { display: block; font-weight: 600; }
.toggle-row small { display: block; font-weight: 400; margin-top: 2px; }
.msg-img img { min-width: 48px; min-height: 48px; }
.toggle-row small { color: var(--muted); font-size: 13px; }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: var(--line-2); border-radius: 999px; transition: background .15s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .35); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; text-transform: none; letter-spacing: 0; }
.chips button { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--muted); font-weight: 600; font-size: 13px; }
.chips button:hover { color: var(--text); }
.chips button.sel { border-color: var(--accent); color: var(--text); background: rgba(var(--accent-rgb), .25); }
kbd { font: 600 12px ui-monospace, Consolas, monospace; background: var(--panel-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 2px 6px; }
.dot.dnd, .status-dot.dnd { background: var(--danger) !important; }

/* ---------- Assistir transmissão ---------- */
.tile.video.paused { display: grid; place-items: center; background: var(--input); border: 1px dashed var(--line-2); min-height: 140px; }
.tile .paused-box { display: grid; gap: 8px; justify-items: center; text-align: center; color: var(--muted); padding: 16px; }
.tile .paused-box svg { width: 28px; height: 28px; }
.watch-btn { position: absolute; top: 8px; right: 8px; z-index: 3; }

@media (max-width: 1100px) { .members { display: none; } }
@media (max-width: 820px) {
  .settings-layout { grid-template-columns: 1fr; }
  .set-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 8px; }
  .set-nav .set-group { display: none; }
  .set-tab { white-space: nowrap; }
}
.dot.invisible { background: var(--offline) !important; box-shadow: inset 0 0 0 3px var(--side); }
.dot-mini { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.me-av { padding: 0; border-radius: 50%; }
.set-pane { display: grid; gap: 16px; }
.set-pane > .settings-sec:first-child { border-top: 0; padding-top: 0; }
html[data-fonte="p"] .msg .text, html[data-fonte="p"] .composer textarea { font-size: 13.5px; }
html[data-fonte="g"] .msg .text, html[data-fonte="g"] .composer textarea { font-size: 17.5px; }
html[data-fonte="g"] .nav-item .name { font-size: 16px; }
html.compacto .msg.first { margin-top: 4px; }
html.compacto .msg { padding-top: 1px; padding-bottom: 1px; }
html.compacto .msg .av.lg { width: 28px; height: 28px; font-size: 12px; }

/* ---------- Anexos ---------- */
.composer .attach { width: 38px; height: 38px; border-radius: 10px; color: var(--muted); display: grid; place-items: center; flex: none; margin-left: -8px; }
.composer .attach:hover { color: var(--text); background: var(--line-2); }
.composer .attach svg { width: 20px; height: 20px; }
.attach-tray { display: flex; gap: 8px; overflow-x: auto; padding: 8px 4px 10px; }
.attach-item { position: relative; width: 132px; flex: none; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px; display: grid; gap: 4px; }
.attach-item.err { border-color: var(--danger); }
.attach-item img { width: 100%; height: 84px; object-fit: cover; border-radius: 8px; background: #000; }
.attach-item .file-ic { height: 84px; }
.attach-name { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-size { font-size: 11px; color: var(--muted); }
.attach-x { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--danger); color: #fff; display: grid; place-items: center; }
.attach-x svg { width: 14px; height: 14px; }
.file-ic { display: grid; place-items: center; align-content: center; gap: 2px; width: 44px; height: 52px; border-radius: 8px; background: rgba(var(--accent-rgb), .16); color: var(--accent-hi); flex: none; }
.attach-item .file-ic { width: 100%; }
.file-ic svg { width: 22px; height: 22px; }
.file-ic span { font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.file-ic.pdf { background: rgba(239, 68, 68, .16); color: #fca5a5; }
.msg-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.msg-img { padding: 0; border-radius: 10px; overflow: hidden; max-width: min(400px, 100%); background: #000; border: 1px solid var(--line); line-height: 0; }
.msg-img img { max-width: 100%; max-height: 320px; object-fit: contain; display: block; }
.msg-video { max-width: min(480px, 100%); max-height: 320px; border-radius: 10px; background: #000; }
.msg-file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); max-width: min(420px, 100%); }
.msg-file .info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.msg-file .info b, .msg-file .info a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.msg-file .info a { color: var(--accent-hi); }
.msg-file .info > span { font-size: 12px; color: var(--muted); }
.msg-file audio { width: 100%; height: 32px; }
.conv { position: relative; }
.drop-hint { position: absolute; inset: 10px; z-index: 20; border: 3px dashed var(--accent); border-radius: 18px; background: rgba(8, 8, 13, .82); display: grid; place-items: center; align-content: center; gap: 10px; font-size: 20px; font-weight: 800; pointer-events: none; }
.drop-hint svg { width: 40px; height: 40px; color: var(--accent-hi); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .88); display: grid; place-items: center; padding: 24px 16px 80px; animation: fade .15s; }
.lightbox .lb-img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 8px; cursor: zoom-out; }
.lb-bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 14px; background: rgba(0, 0, 0, .6); }
.lb-bar > span { color: var(--muted); margin-right: 8px; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Grátis x App completo ---------- */
.auth-card.wide { width: min(600px, 100%); }
.plan-compare { display: grid; gap: 10px; }
.pc-title { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-card { position: relative; display: grid; gap: 4px; align-content: start; text-align: left; padding: 14px; border-radius: 14px; background: var(--input); border: 1px solid var(--line-2); color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
button.pc-card:hover { border-color: var(--accent); }
.pc-card.sel { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .22); }
.pc-card.pro { background: linear-gradient(160deg, rgba(124, 58, 237, .26), rgba(192, 38, 211, .10) 70%), var(--input); }
.pc-card .plan-tag { margin-bottom: 2px; }
.pc-name { font-weight: 800; font-size: 15px; }
.pc-card.pro .pc-name { color: var(--accent-hi); }
.pc-price { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pc-price small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pc-foot { margin: 0; }
.feat-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 5px; font-size: 13px; }
.feat-list li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; }
.feat-list .fi { width: 16px; height: 16px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 900; margin-top: 1px; }
.feat-list li.sim .fi { background: rgba(34, 197, 94, .18); color: var(--ok); }
.feat-list li.nao { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(var(--fg-rgb), .18); }
.feat-list li.nao .fi { background: rgba(239, 68, 68, .14); color: #fca5a5; }
.plan .feat-list { margin: 8px 0 4px; }
.round { position: relative; }
.lock-dot { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; border: 2px solid var(--bg); }
.lock-dot svg { width: 11px !important; height: 11px !important; }
@media (max-width: 520px) { .pc-grid { grid-template-columns: 1fr; } }

/* ---------- Painel do CEO ---------- */
.ceo-goal { display: grid; gap: 12px; padding: 20px; border-radius: 18px; background: linear-gradient(150deg, rgba(124, 58, 237, .28), rgba(192, 38, 211, .08) 70%), var(--panel); border: 1px solid rgba(168, 85, 247, .4); margin-bottom: 14px; }
.ceo-goal-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.ceo-l { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ceo-big { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ceo-big small { font-size: 20px; color: var(--muted); font-weight: 600; }
.ceo-goal-r { text-align: right; display: grid; }
.ceo-goal-r b { font-size: 26px; color: var(--accent-hi); font-variant-numeric: tabular-nums; }
.ceo-goal-r span { color: var(--muted); font-size: 13px; }
.goal-bar { height: 12px; border-radius: 999px; background: rgba(var(--fg-rgb), .08); overflow: hidden; }
.goal-bar i { display: block; height: 100%; min-width: 4px; border-radius: 999px; background: var(--grad); }
.ceo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }
.ceo-tile { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); }
.ceo-tile b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ceo-tile small { color: var(--muted); font-size: 12px; }
.ceo-tile.hi { border-color: rgba(34, 197, 94, .45); background: linear-gradient(160deg, rgba(34, 197, 94, .12), transparent 70%), var(--panel); }
.ceo-tile.hi b { color: #86efac; }
.ceo-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.ceo-card { padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); min-width: 0; margin-bottom: 10px; }
.ceo-charts .ceo-card { margin-bottom: 0; }
.ceo-card-h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 12px; }
.bars { position: relative; height: 140px; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--line-2); padding-top: 14px; }
.bars-max { position: absolute; top: 0; left: 0; font-size: 11px; color: var(--dim); }
.bar-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; outline: none; }
.bar { width: 100%; background: var(--accent); border-radius: 4px 4px 0 0; transition: filter .1s; }
.bar-col:hover .bar, .bar-col:focus .bar { filter: brightness(1.3); }
.bar-col:hover, .bar-col:focus { background: rgba(var(--fg-rgb), .04); }
.bar-tip { display: none; position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: #000; color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 6px; z-index: 2; pointer-events: none; }
.bar-col:hover .bar-tip, .bar-col:focus .bar-tip { display: block; }
.bars-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); margin-top: 4px; }
.ceo-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ceo-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--dim); padding: 6px 8px; border-bottom: 1px solid var(--line-2); }
.ceo-table td { padding: 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ceo-table tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) { .ceo-charts { grid-template-columns: 1fr; } .ceo-big { font-size: 34px; } }
#paywall { position: fixed; inset: 0; z-index: 150; overflow-y: auto; }

/* ---------- Transmissões em janelinhas ---------- */
.stage-videos { display: flex !important; flex-wrap: wrap; align-content: flex-start; overflow: auto; }
.stage-videos > .tile { flex: 1 1 360px; min-width: 220px; min-height: 140px; }
.stage-videos > .tile.resizable { resize: both; overflow: hidden; max-width: 100%; }
.tile .grip { position: absolute; right: 2px; bottom: 2px; width: 16px; height: 16px; pointer-events: none; opacity: .7;
  background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.55) 58%, transparent 58%, transparent 70%, rgba(255,255,255,.55) 70%, rgba(255,255,255,.55) 78%, transparent 78%); }
.tile.video.mine-off { display: grid; place-items: center; background: linear-gradient(150deg, rgba(124,58,237,.18), transparent 70%), var(--input); border: 1px dashed rgba(196,166,255,.35); flex: 0 1 340px !important; }
#floatLayer { position: fixed; inset: 0; pointer-events: none; z-index: 120; }
.float-win { position: absolute; pointer-events: auto; background: #000; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 60px -10px rgba(0,0,0,.8); display: flex; flex-direction: column; overflow: hidden; resize: both; min-width: 220px; min-height: 150px; max-width: 100vw; max-height: 100vh; }
.float-win .fw-bar { flex: none; display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; background: rgba(22,22,32,.96); cursor: move; user-select: none; touch-action: none; font-size: 13px; font-weight: 600; }
.float-win .fw-bar > svg { width: 16px; height: 16px; color: var(--accent-hi); flex: none; }
.float-win .fw-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.float-win .fw-bar .icon-btn { width: 28px; height: 28px; }
.float-win .fw-bar .icon-btn svg { width: 16px; height: 16px; }
.float-win .fw-body { flex: 1; min-height: 0; position: relative; }
.float-win .fw-body video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.float-win:fullscreen { border-radius: 0; resize: none; }
.float-win::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; pointer-events: none; opacity: .7;
  background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,.6) 50%, rgba(255,255,255,.6) 58%, transparent 58%, transparent 70%, rgba(255,255,255,.6) 70%, rgba(255,255,255,.6) 78%, transparent 78%); }

/* ---------- Selo e "Jogando…" na lista ---------- */
.nav-item .name.two { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.nav-item .name.two .n1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nav-item .name.two .nick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.nav-item .name.two .n2 { font-size: 12px; font-weight: 500; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-item .name.two .n2.jogo { color: #86efac; }
.selo.mini { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 999px; white-space: nowrap; flex: none; margin-left: 0; }
.voice-user .selo.mini { padding: 0 4px; }
.me-bar .who b { display: flex; align-items: center; gap: 6px; }
.row-item .info b .selo.mini { margin-left: 6px; vertical-align: middle; }
.pop-status { display: flex; gap: 6px; padding: 4px 8px 6px; align-items: center; }
.pop-status input { flex: 1; min-width: 0; height: 34px; }
.who .selo, .info .selo, .name .selo { color: #fff !important; font-size: 10px !important; font-weight: 800 !important; display: inline-flex !important; }

/* ---------- Convites de servidor ---------- */
.invite-btn { display: flex; width: calc(100% - 24px); margin: 12px 12px 4px; justify-content: center; }
.inv-card { margin-top: 6px; max-width: 420px; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); }
.inv-card .inv-top { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; }
.inv-row { display: flex; align-items: center; gap: 12px; }
.inv-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: var(--accent); color: #fff; font-weight: 800; font-size: 16px; }
.inv-icon img { width: 100%; height: 100%; object-fit: cover; }
.inv-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.inv-info b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inv-info span { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.inv-row .btn { flex: none; }
.dot-on, .dot-all { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ba55d; margin-right: 2px; }
.dot-all { background: var(--dim); margin-left: 6px; }
.inv-card.loading .inv-icon { background: var(--panel-2); }
.inv-card.off .inv-icon { filter: grayscale(1); opacity: .6; }
.inv-card.auth-inv { max-width: none; margin: 0 0 16px; }
.inv-modal { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 4px 0; }
.inv-modal .inv-icon { width: 72px; height: 72px; border-radius: 20px; font-size: 24px; }
.inv-modal h2 { margin: 8px 0 0; }
.inv-modal p { margin: 0; display: flex; align-items: center; gap: 4px; justify-content: center; }
@media (max-width: 520px) { .inv-row { flex-wrap: wrap; } .inv-row .btn { width: 100%; } }

/* ---------- Atalhos editáveis ---------- */
.atalhos { display: grid; gap: 2px; }
.atalho-acoes { display: flex; align-items: center; gap: 6px; }
.atalho-btn { min-width: 170px; justify-content: center; display: inline-flex; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); cursor: pointer; font: inherit; }
.atalho-btn:hover { border-color: var(--accent); }
.atalho-btn.gravando { border-color: var(--accent); color: var(--accent-hi); }

/* ---------- Temas da época ---------- */
:root[data-temporada="halloween"] {
  --accent: #f97316; --accent-2: #fb923c; --accent-hi: #fdba74; --accent-rgb: 249, 115, 22;
  --accent-glow: rgba(249, 115, 22, .4);
  --grad: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #7c3aed 125%);
  --bg: #0a0710; --rail: #0d0912; --side: #120d18; --main: #15101c;
}
:root[data-temporada="natal"] {
  --accent: #e11d48; --accent-2: #f43f5e; --accent-hi: #fda4af; --accent-rgb: 225, 29, 72;
  --accent-glow: rgba(225, 29, 72, .4);
  --grad: linear-gradient(135deg, #be123c 0%, #e11d48 50%, #15803d 125%);
  --bg: #07090b; --rail: #090c0e; --side: #0d1214; --main: #101619;
}
.rail-item .enfeite { position: absolute; right: -4px; bottom: -4px; font-size: 15px; line-height: 1; pointer-events: none; }
.empty .art { position: relative; }
.empty .art .enfeite { position: absolute; top: -10px; right: -12px; font-size: 26px; transform: rotate(12deg); }
:root[data-temporada="halloween"] .auth-card, :root[data-temporada="natal"] .auth-card { border-color: rgba(var(--accent-rgb), .35); }

/* ---------- Medidor da transmissão ---------- */
.tile .medidor { position: absolute; top: 36px; left: 8px; pointer-events: none; z-index: 3; display: grid; gap: 2px; padding: 5px 8px; border-radius: 8px; background: rgba(0, 0, 0, .62); color: #d1fae5; font: 600 11.5px/1.3 ui-monospace, "Cascadia Code", Consolas, monospace; pointer-events: none; text-align: right; }
.tile .medidor.ruim { color: #fde68a; }
.tile .medidor .medidor-aviso { color: #fca5a5; font-family: Inter, system-ui, sans-serif; font-weight: 600; }
.tile-tools .icon-btn.on { color: var(--accent-hi); }

/* botão de fechar dos avisos */
.toast { position: relative; padding-right: 34px; }
.toast-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.toast-x:hover { background: var(--line); color: var(--text); }
.toggle-row.off { opacity: .5; cursor: default; }

/* ---------- Cores (app completo) ---------- */
:root[data-cor="azul"]     { --accent: #3b82f6; --accent-2: #60a5fa; --accent-hi: #93c5fd; --accent-rgb: 59, 130, 246;  --accent-glow: rgba(59, 130, 246, .4);  --grad: linear-gradient(135deg, #2563eb 0%, #3b82f6 55%, #06b6d4 120%); }
:root[data-cor="ciano"]    { --accent: #06b6d4; --accent-2: #22d3ee; --accent-hi: #67e8f9; --accent-rgb: 6, 182, 212;   --accent-glow: rgba(6, 182, 212, .4);   --grad: linear-gradient(135deg, #0891b2 0%, #06b6d4 55%, #3b82f6 120%); }
:root[data-cor="verde"]    { --accent: #22c55e; --accent-2: #4ade80; --accent-hi: #86efac; --accent-rgb: 34, 197, 94;   --accent-glow: rgba(34, 197, 94, .4);   --grad: linear-gradient(135deg, #16a34a 0%, #22c55e 55%, #84cc16 120%); }
:root[data-cor="rosa"]     { --accent: #ec4899; --accent-2: #f472b6; --accent-hi: #f9a8d4; --accent-rgb: 236, 72, 153;  --accent-glow: rgba(236, 72, 153, .4);  --grad: linear-gradient(135deg, #db2777 0%, #ec4899 55%, #a855f7 120%); }
:root[data-cor="vermelho"] { --accent: #ef4444; --accent-2: #f87171; --accent-hi: #fca5a5; --accent-rgb: 239, 68, 68;   --accent-glow: rgba(239, 68, 68, .4);   --grad: linear-gradient(135deg, #dc2626 0%, #ef4444 55%, #f97316 120%); }
:root[data-cor="laranja"]  { --accent: #f97316; --accent-2: #fb923c; --accent-hi: #fdba74; --accent-rgb: 249, 115, 22;  --accent-glow: rgba(249, 115, 22, .4);  --grad: linear-gradient(135deg, #ea580c 0%, #f97316 55%, #eab308 120%); }
:root[data-cor="dourado"]  { --accent: #eab308; --accent-2: #facc15; --accent-hi: #fde047; --accent-rgb: 234, 179, 8;   --accent-glow: rgba(234, 179, 8, .4);   --grad: linear-gradient(135deg, #ca8a04 0%, #eab308 55%, #f97316 120%); }

/* ---------- Modo claro (app completo) ---------- */
:root[data-modo="claro"] {
  color-scheme: light;
  --bg: #e9e9f0; --rail: #e1e1ea; --side: #f2f2f7; --main: #ffffff; --panel: #f4f4f8; --panel-2: #ebebf2;
  --line: #e2e2ea; --line-2: #d4d4df; --line-3: #c4c4d2; --text: #16161f; --text-2: #26263a; --muted: #5c5c72; --dim: #8a8aa0;
  --input: #ffffff; --sep: #dcdce6; --hover: #e4e4ee; --offline: #a0a0b4; --fg-rgb: 20, 20, 40;
  --accent-hi: var(--accent);
  --mebar: #e8e8f0;
  --shadow: 0 18px 50px rgba(30, 30, 60, .18);
}
:root[data-modo="claro"] .accent-hi-txt, :root[data-modo="claro"] .invite-box .k { color: var(--accent); }
:root[data-modo="claro"] .tile { background: #1b1b26; }
:root[data-modo="claro"] .msg .text a { color: var(--accent); }
.cores { display: flex; flex-wrap: wrap; gap: 10px; }
.cor { display: grid; justify-items: center; gap: 4px; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 2px; }
.cor .bola { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 3px solid transparent; box-shadow: 0 0 0 1px var(--line-2); }
.cor .bola svg { width: 16px; height: 16px; }
.cor.sel .bola { border-color: var(--main); box-shadow: 0 0 0 2px var(--text); }
.cor.sel small { color: var(--text); font-weight: 600; }
.cor.travada .bola { opacity: .55; }
.pro-tag { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(var(--accent-rgb), .15); color: var(--accent-hi); vertical-align: middle; }
.pro-tag svg { width: 12px; height: 12px; }

/* ---------- Celular (otimização) ---------- */
@media (max-width: 820px) {
  .app { padding-top: env(safe-area-inset-top); }
  .app.nav-open::after { z-index: 35; }
  .rail { z-index: 41; padding-top: calc(12px + env(safe-area-inset-top)); width: 72px; }
  .side { z-index: 40; padding-top: env(safe-area-inset-top); }
  .me-bar { padding-bottom: env(safe-area-inset-bottom); height: calc(60px + env(safe-area-inset-bottom)); }
  /* barra do topo: título encolhe e as abas rolam para o lado */
  .top { gap: 6px; padding: 0 10px; overflow-x: auto; scrollbar-width: none; }
  .top::-webkit-scrollbar { display: none; }
  .top .title { flex: none; max-width: 46vw; }
  .tabs { flex-wrap: nowrap; margin-left: 0; }
  .tabs .tab, .tabs button { white-space: nowrap; flex: none; }
  .menu-btn { flex: none; width: 40px; height: 40px; }
  /* toques maiores */
  .nav-item { min-height: 44px; }
  .icon-btn { min-width: 38px; min-height: 38px; }
  /* digitar sem o celular dar zoom (iPhone dá zoom em fonte menor que 16px) */
  input, select, textarea, .composer textarea { font-size: 16px !important; }
  .composer { margin: 0 8px calc(8px + env(safe-area-inset-bottom)); }
  .msg { padding-left: 10px; padding-right: 10px; }
  .msg .tools { opacity: 1; }
  /* janelas ocupam a tela toda */
  .modal-back { padding: 0; place-items: stretch; }
  .modal, .modal.wide, .modal.xwide { width: 100%; max-width: none; max-height: none; height: 100%; border-radius: 0; border: 0; padding-bottom: env(safe-area-inset-bottom); }
  /* avisos embaixo, largura toda */
  .toasts { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto; }
  /* chamada */
  .stage { height: 46vh; min-height: 220px; resize: none; }
  .stage-bar { flex-wrap: wrap; justify-content: center; gap: 6px; padding-bottom: 6px; }
  .tile.video.resizable { width: auto !important; height: auto !important; flex: 1 1 100% !important; }
  .tile .grip { display: none; }
  .flutuante { width: min(92vw, 360px) !important; }
  .members { display: none !important; }
  .members.mob-aberto { display: block !important; position: fixed; right: 0; top: 0; bottom: 0; z-index: 36; width: min(280px, 85vw); padding-top: env(safe-area-inset-top); box-shadow: var(--shadow); }
}
@media (max-width: 420px) {
  .round { width: 44px; height: 44px; }
}
@media (max-width: 820px) {
  .side { transform: translateX(calc(-100% - 90px)); }
  .app.nav-open .side { transform: none; }
}

/* ---------- Chamando (esperando o amigo atender) ---------- */
.chamando { display: grid; justify-items: center; align-content: center; gap: 8px; text-align: center; padding: 18px; min-height: 220px; }
.chamando b { font-size: 18px; }
.chamando > span { color: var(--muted); font-size: 13px; max-width: 340px; }
.chamando-av { position: relative; display: grid; place-items: center; margin-bottom: 8px; }
.chamando-av .av { position: relative; z-index: 1; }
.chamando-av .onda { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ok); animation: onda 1.8s ease-out infinite; }
.chamando-av .onda.o2 { animation-delay: .9s; }
@keyframes onda { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.chamando.recusou b { color: var(--danger); }
.chamando-acoes { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; justify-content: center; }

/* ---------- Convidar amigo ---------- */
.convidar-item .name { color: var(--accent-hi); font-weight: 600; }
.convidar-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.convidar-opcoes .btn { justify-content: center; text-decoration: none; }
.convidar-whats { background: #25d366 !important; border-color: #25d366 !important; color: #06290f !important; font-weight: 700; }
.tile .label .lado { margin-left: 6px; font-size: 11px; opacity: .8; }

/* ---------- Modo Campeonato ---------- */
.camp-ic { width: 20px; text-align: center; flex: none; }
.camp-st { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); color: var(--muted); }
.camp-st.inscricoes { background: rgba(34, 197, 94, .15); color: var(--ok); }
.camp-st.andamento { background: rgba(var(--accent-rgb), .18); color: var(--accent-hi); }
.camp-tela { flex: 1; overflow: auto; padding: 18px 22px 30px; display: grid; gap: 18px; align-content: start; }
.camp-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.camp-card { display: grid; gap: 6px; text-align: left; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); cursor: pointer; color: var(--text); }
.camp-card:hover { border-color: var(--accent); }
.camp-card span { color: var(--muted); font-size: 13px; }
.camp-card small { justify-self: start; }
.camp-ranking h3 { margin: 0 0 8px; }
.rk-linha { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.rk-pos { width: 30px; text-align: center; font-weight: 700; }
.rk-num { margin-left: auto; color: var(--muted); font-size: 13px; }
.camp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.camp-head p { margin: 6px 0 0; color: var(--muted); }
.camp-acoes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.camp-campeao { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(234, 179, 8, .22), rgba(var(--accent-rgb), .12)); border: 1px solid rgba(234, 179, 8, .45); }
.camp-campeao .trofeu { font-size: 44px; }
.camp-campeao small { display: block; color: #eab308; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.camp-campeao b { display: block; font-size: 22px; }
.camp-campeao span { color: var(--muted); font-size: 13px; }
.camp-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.camp-time { padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); display: grid; gap: 8px; }
.ct-top { display: flex; justify-content: space-between; align-items: center; }
.ct-membros { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-m { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 2px 8px 2px 2px; border-radius: 999px; background: var(--panel-2); }
.ct-m .av { width: 22px; height: 22px; font-size: 10px; }
.ct-acoes { display: flex; gap: 6px; justify-content: flex-end; }
.chave { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 8px; }
.rodada { flex: none; width: 220px; display: flex; flex-direction: column; }
.rod-titulo { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.rod-jogos { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 12px; }
.jogo { border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); overflow: hidden; }
.jogo.feito { border-color: var(--line-3); }
.jogo-time { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 10px; font-size: 13.5px; }
.jogo-time + .jogo-time { border-top: 1px solid var(--line); }
.jogo-time.venceu { background: rgba(34, 197, 94, .12); font-weight: 700; }
.jogo-time.perdeu .jt-nome { color: var(--dim); text-decoration: line-through; }
.jogo-time.meu .jt-nome::after { content: " (você)"; color: var(--accent-hi); font-weight: 600; font-size: 11px; }
.jt-nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jt-btn { flex: none; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--muted); border-radius: 8px; padding: 2px 8px; font-size: 11.5px; cursor: pointer; }
.jt-btn:hover { color: var(--text); border-color: var(--ok); }
.jt-btn.on, .jt-ok { color: var(--ok); border-color: var(--ok); font-weight: 700; }
.jogo-por { display: block; padding: 0 10px 6px; color: var(--dim); font-size: 11px; }
@media (max-width: 820px) { .camp-tela { padding: 14px 12px 24px; } .rodada { width: 190px; } }

/* ---------- Perfil ---------- */
.av.xxl { width: 104px; height: 104px; font-size: 38px; }
.av-btn { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; }
.msg .head .autor { cursor: pointer; }
.msg .head .autor:hover { text-decoration: underline; }
.modal.modal-perfil { width: min(720px, 100%); padding-top: 0; overflow-x: hidden; }
.modal-perfil .modal-head { position: absolute; right: 8px; top: 8px; z-index: 3; border: 0; background: none; }
.modal-perfil .modal-head h2 { display: none; }
.modal-perfil .modal-head .icon-btn { background: rgba(0, 0, 0, .45); color: #fff; border-radius: 50%; }
.perfil { display: grid; gap: 14px; margin: 0 -22px; }
.perfil > *:not(.pf-capa) { margin: 0 22px; }
.pf-capa { height: 150px; }
.pf-head { display: flex; align-items: flex-end; gap: 16px; margin-top: -62px !important; position: relative; }
.pf-head .av { border: 5px solid var(--panel); }
.pf-nome { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 6px; }
.pf-nome b { font-size: 24px; }
.pf-local { width: 100%; color: var(--muted); font-size: 13px; }
.pf-nivel { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--accent); background: var(--panel-2); margin-bottom: 6px; flex: none; }
.pf-nivel span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; line-height: 1; margin-top: 8px; }
.pf-nivel b { font-size: 22px; line-height: 1; margin-bottom: 8px; }
.pf-xp small { color: var(--muted); font-size: 12px; }
.pr-barra { height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; margin: 4px 0; }
.pr-barra i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.pf-bio { margin: 0; white-space: pre-wrap; line-height: 1.5; }
.pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pf-stats > div { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; background: var(--panel-2); text-align: center; }
.pf-stats b { font-size: 16px; }
.pf-stats small { color: var(--muted); font-size: 11.5px; }
.pf-sec h3 { margin: 0 0 10px; font-size: 15px; }
.pf-ins { display: flex; flex-wrap: wrap; gap: 10px; }
.ins { display: grid; justify-items: center; gap: 4px; width: 84px; padding: 10px 4px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); text-align: center; }
.ins span { font-size: 26px; line-height: 1; }
.ins small { font-size: 11.5px; color: var(--muted); }
.ins-fundador span { color: #eab308; }
.pf-steam-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pf-steam-top h3 { margin: 0; }
.pf-steam-av { width: 28px; height: 28px; border-radius: 6px; }
.pf-jogos { display: grid; gap: 10px; }
.pf-jogo { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--panel-2); }
.pf-jogo img { width: 150px; aspect-ratio: 460 / 215; border-radius: 8px; object-fit: cover; flex: none; background: var(--panel); }
.pj-info { flex: 1; min-width: 0; display: grid; gap: 3px; }
.pj-info span { color: var(--muted); font-size: 12.5px; }
.pj-conq small { font-size: 12px; }
@media (max-width: 600px) { .pf-stats { grid-template-columns: repeat(2, 1fr); } .pf-jogo img { width: 104px; } .pf-head { flex-wrap: wrap; } .av.xxl { width: 84px; height: 84px; } }

/* ---------- Capas ---------- */
.capa-padrao { background: linear-gradient(120deg, rgba(var(--accent-rgb), .55), rgba(var(--accent-rgb), .12) 60%, var(--panel-2)); }
.capa-galaxia { background: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 60%, #fff, transparent), radial-gradient(1.5px 1.5px at 45% 80%, #fff, transparent), radial-gradient(1px 1px at 85% 25%, #fff, transparent), radial-gradient(ellipse at 30% 40%, #7c3aed 0%, transparent 55%), radial-gradient(ellipse at 75% 70%, #db2777 0%, transparent 50%), #0b0520; }
.capa-sunset { background: linear-gradient(180deg, #1e1b4b 0%, #7c3aed 35%, #f97316 75%, #fde047 100%); }
.capa-floresta { background: linear-gradient(180deg, #052e16 0%, #166534 50%, #4d7c0f 100%), #052e16; }
.capa-lava { background: radial-gradient(ellipse at 30% 100%, #f97316, transparent 60%), radial-gradient(ellipse at 80% 90%, #ef4444, transparent 55%), linear-gradient(#1c0a05, #450a0a); }
.capa-cyber { background: linear-gradient(transparent 0 calc(100% - 1px), rgba(34, 211, 238, .5) 0) 0 0 / 100% 22px, linear-gradient(90deg, transparent 0 calc(100% - 1px), rgba(236, 72, 153, .45) 0) 0 0 / 22px 100%, linear-gradient(180deg, #0f0326, #2a0845); animation: cyber 4s linear infinite; }
@keyframes cyber { to { background-position: 0 22px, 22px 0, 0 0; } }
.capa-aurora { background: linear-gradient(120deg, #064e3b, #0e7490, #6d28d9, #064e3b); background-size: 300% 300%; animation: aurora 9s ease-in-out infinite; }
@keyframes aurora { 50% { background-position: 100% 50%; } }

/* ---------- Molduras (aparecem em todo lugar que mostra a foto) ---------- */
.av.mold-neon { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px #a855f7, 0 0 12px #a855f7; }
.av.mold-gelo { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px #67e8f9, 0 0 0 6px #e0f2fe; }
.av.mold-ouro { box-shadow: 0 0 0 2px #fde047, 0 0 0 4px #ca8a04, 0 0 10px rgba(234, 179, 8, .6); }
.av.mold-fogo { animation: fogo 1.2s ease-in-out infinite; }
@keyframes fogo { 0%, 100% { box-shadow: 0 0 0 2px #fde047, 0 0 0 4px #f97316, 0 0 14px #ef4444; } 50% { box-shadow: 0 0 0 2px #f97316, 0 0 0 4px #ef4444, 0 0 22px #f97316; } }
.av.mold-arcoiris { animation: arco 3s linear infinite; }
@keyframes arco { 0% { box-shadow: 0 0 0 3px #ef4444, 0 0 10px #ef4444; } 20% { box-shadow: 0 0 0 3px #f97316, 0 0 10px #f97316; } 40% { box-shadow: 0 0 0 3px #eab308, 0 0 10px #eab308; } 60% { box-shadow: 0 0 0 3px #22c55e, 0 0 10px #22c55e; } 80% { box-shadow: 0 0 0 3px #3b82f6, 0 0 10px #3b82f6; } 100% { box-shadow: 0 0 0 3px #a855f7, 0 0 10px #a855f7; } }
.av.mold-abobora { box-shadow: 0 0 0 2px #111, 0 0 0 4px #f97316, 0 0 0 6px #111; }
.av.mold-natal { box-shadow: 0 0 0 3px #dc2626, 0 0 0 5px #fff, 0 0 0 7px #16a34a; }
.av.mold-embaixador { animation: embaixador 2.4s ease-in-out infinite; }
@keyframes embaixador { 0%, 100% { box-shadow: 0 0 0 2px #fde047, 0 0 0 4px rgba(var(--accent-rgb), 1), 0 0 14px rgba(234, 179, 8, .7); } 50% { box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 1), 0 0 0 4px #fde047, 0 0 20px rgba(var(--accent-rgb), .8); } }

/* ---------- Efeitos de nick ---------- */
.nick-roxo, .nick-neon, .nick-ouro, .nick-arcoiris { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important; }
.nick-roxo { background-image: linear-gradient(90deg, #c084fc, #f472b6); }
.nick-neon { background-image: linear-gradient(90deg, #4ade80, #a3e635); filter: drop-shadow(0 0 4px rgba(74, 222, 128, .6)); }
.nick-ouro { background-image: linear-gradient(90deg, #ca8a04, #fde047, #ca8a04); background-size: 200% 100%; animation: brilho 2.2s linear infinite; }
.nick-arcoiris { background-image: linear-gradient(90deg, #ef4444, #f97316, #eab308, #22c55e, #3b82f6, #a855f7, #ef4444); background-size: 300% 100%; animation: brilho 4s linear infinite; }
@keyframes brilho { to { background-position: -200% 0; } }

/* ---------- Lojinha ---------- */
.loja-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.loja-item { display: grid; justify-items: center; gap: 6px; padding: 12px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); text-align: center; }
.loja-item.tenho { border-color: rgba(34, 197, 94, .5); }
.loja-item b { font-size: 13.5px; }
.loja-tag { font-size: 10.5px; font-weight: 700; color: var(--accent-hi); text-transform: uppercase; letter-spacing: .05em; }
.prev { display: grid; place-items: center; width: 100%; height: 90px; border-radius: 10px; }
.prev-mold, .prev-nick, .prev-nada { background: var(--panel); }
.prev-nada { color: var(--muted); font-size: 13px; }
.prev-nick b { font-size: 18px; }
.equip-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.equip { padding: 4px; border-radius: 12px; border: 2px solid transparent; background: none; cursor: pointer; }
.equip.sel { border-color: var(--accent); }
.loja-pagar-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.loja-pagar-top .prev { width: 120px; flex: none; }
.loja-pagar-top b { display: block; }
.loja-pagar-top span { color: var(--muted); }
.loja-pagar { display: grid; gap: 10px; justify-items: center; }
.loja-pagar label { width: 100%; }
.pix-qr { width: 200px; height: 200px; border-radius: 12px; background: #fff; padding: 8px; }
.presente { padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(234, 179, 8, .16), rgba(var(--accent-rgb), .12)); border: 1px solid rgba(234, 179, 8, .4); display: grid; gap: 6px; margin-bottom: 4px; }
.pr-top { display: flex; gap: 12px; align-items: flex-start; }
.pr-ic { font-size: 28px; line-height: 1; }
.pr-top b { display: block; }
.pr-top span { color: var(--muted); font-size: 13px; }
.presente small { color: var(--muted); font-size: 12px; }

/* ---------- Notas de atualização ---------- */
.nov-topo { text-align: center; margin: -8px 0 16px; }
.nov-topo h2 { margin: 10px 0 2px; font-size: 22px; }
.nov-topo small { color: var(--muted); }
.nov-selo { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(var(--accent-rgb), .16); color: var(--accent-hi); border: 1px solid rgba(var(--accent-rgb), .35); }
.nov-lista { display: flex; flex-direction: column; gap: 8px; }
.nov-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); }
.nov-ic { font-size: 22px; line-height: 1; width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(var(--accent-rgb), .14); }
.nov-item b { display: block; margin-bottom: 2px; }
.nov-item p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.nov-bloco + .nov-bloco { margin-top: 22px; }
.nov-cab { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.nov-cab small { color: var(--muted); }
[data-modo="claro"] .nov-item { background: rgba(0, 0, 0, .03); border-color: rgba(0, 0, 0, .07); }
.modal:has(.nov-topo) .modal-foot { position: sticky; bottom: 0; background: var(--panel); }

/* tela cheia da transmissão (camada fixa, não some quando o palco redesenha) */
#fsLayer { display: none; }
#fsLayer:fullscreen { display: block; background: #000; position: relative; }
#fsLayer video { width: 100%; height: 100%; object-fit: contain; background: #000; }
#fsLayer .fs-bar { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 10px; color: #fff; opacity: 0; transition: opacity .2s; font-weight: 600; }
#fsLayer .fs-bar .icon-btn { margin-left: auto; background: rgba(0, 0, 0, .55); color: #fff; }
#fsLayer:hover .fs-bar { opacity: 1; }

/* ---------- Mais molduras ---------- */
.av.mold-diamante { box-shadow: 0 0 0 2px #e0f2fe, 0 0 0 4px #38bdf8, 0 0 0 6px #e0f2fe, 0 0 14px rgba(125, 211, 252, .7); }
.av.mold-raio { animation: raio 1.6s steps(1) infinite; }
@keyframes raio { 0%, 100% { box-shadow: 0 0 0 2px #facc15, 0 0 0 4px #1e1b4b, 0 0 10px #facc15; } 50% { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #facc15, 0 0 22px #fde047; } 55% { box-shadow: 0 0 0 2px #facc15, 0 0 0 4px #1e1b4b, 0 0 6px #facc15; } }
.av.mold-sakura { box-shadow: 0 0 0 2px #fff1f2, 0 0 0 4px #f9a8d4, 0 0 0 6px #fbcfe8, 0 0 12px rgba(244, 114, 182, .5); }
.av.mold-toxico { animation: toxico 2s ease-in-out infinite; }
@keyframes toxico { 0%, 100% { box-shadow: 0 0 0 2px #111, 0 0 0 4px #84cc16, 0 0 10px #84cc16; } 50% { box-shadow: 0 0 0 2px #84cc16, 0 0 0 4px #bef264, 0 0 24px #a3e635; } }
.av.mold-pixel { border-radius: 6px; box-shadow: 0 0 0 3px #111, 0 0 0 6px #22d3ee, 6px 6px 0 6px #ec4899; }
.av.mold-pixel img { border-radius: 6px; }
.av.mold-sangue { box-shadow: 0 0 0 2px #0a0a0a, 0 0 0 4px #b91c1c, 0 3px 10px 2px rgba(185, 28, 28, .7); }
/* moldura feita pelo CEO: imagem por cima da foto */
.av.mold-img .mold-ov { position: absolute; inset: -18%; width: 136%; height: 136%; border-radius: 0; object-fit: contain; pointer-events: none; z-index: 1; }
.av.mold-img .dot { z-index: 2; }

/* ---------- Mais capas ---------- */
.capa-oceano { background: radial-gradient(ellipse at 50% 120%, #22d3ee, transparent 60%), linear-gradient(180deg, #0c4a6e, #0369a1 60%, #0891b2); }
.capa-noite { background: radial-gradient(1px 1px at 10% 20%, #fff, transparent), radial-gradient(1.5px 1.5px at 30% 60%, #fff, transparent), radial-gradient(1px 1px at 55% 30%, #fff, transparent), radial-gradient(1.5px 1.5px at 80% 50%, #fff, transparent), radial-gradient(1px 1px at 90% 15%, #fff, transparent), radial-gradient(circle at 85% 30%, #fef9c3 0 14px, transparent 15px), linear-gradient(180deg, #020617, #1e3a8a); animation: piscar 3s ease-in-out infinite; }
@keyframes piscar { 50% { filter: brightness(1.25); } }
.capa-cidade { background: linear-gradient(0deg, #0f0326 0 18%, transparent 18%), repeating-linear-gradient(90deg, #1e1b4b 0 26px, #312e81 26px 30px, transparent 30px 44px), linear-gradient(180deg, #db2777, #7c3aed 55%, #0f0326); background-size: 100% 100%, 100% 62%, 100% 100%; background-position: 0 0, 0 100%, 0 0; background-repeat: no-repeat; }
.capa-campo { background: repeating-linear-gradient(90deg, #15803d 0 40px, #16a34a 40px 80px); position: relative; }
.capa-campo::after { content: ''; position: absolute; inset: 14px; border: 2px solid rgba(255, 255, 255, .55); background: radial-gradient(circle at 50% 50%, transparent 0 28px, rgba(255, 255, 255, .55) 29px 31px, transparent 32px), linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, .55) 0 calc(50% + 1px), transparent 0); }
.capa-matrix { background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(34, 197, 94, .0) 14px 16px), repeating-linear-gradient(180deg, rgba(34, 197, 94, .55) 0 2px, transparent 2px 9px), #020a03; background-size: 100% 100%, 16px 90px; animation: matrix 2.5s linear infinite; }
@keyframes matrix { to { background-position: 0 0, 0 90px; } }
.capa-ouro { background: linear-gradient(135deg, #0a0a0a 0 40%, #ca8a04 40% 42%, #0a0a0a 42% 58%, #fde047 58% 59%, #0a0a0a 59%), #0a0a0a; }
.capa-foto { position: relative; overflow: hidden; background: var(--panel-2); }
.capa-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Mais efeitos de nick ---------- */
.nick-fogo, .nick-gelo, .nick-glitch, .nick-rosa, .nick-sangue, .nick-x { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important; }
.nick-fogo { background-image: linear-gradient(90deg, #ef4444, #f97316, #fde047, #f97316, #ef4444); background-size: 200% 100%; animation: brilho 1.6s linear infinite; }
.nick-gelo { background-image: linear-gradient(90deg, #e0f2fe, #67e8f9, #38bdf8); filter: drop-shadow(0 0 3px rgba(103, 232, 249, .5)); }
.nick-glitch { background-image: linear-gradient(90deg, #22d3ee, #f0abfc); animation: glitch 2.4s steps(1) infinite; }
@keyframes glitch { 0%, 100% { filter: none; transform: none; } 92% { filter: drop-shadow(2px 0 #ec4899) drop-shadow(-2px 0 #22d3ee); transform: translateX(1px); } 96% { filter: drop-shadow(-2px 0 #ec4899) drop-shadow(2px 0 #22d3ee); transform: translateX(-1px); } }
.nick-rosa { background-image: linear-gradient(90deg, #f472b6, #fb7185); }
.nick-sangue { background-image: linear-gradient(180deg, #f87171, #991b1b); }
.nick-x { background-image: var(--nx, linear-gradient(90deg, #f97316, #a855f7)); }

/* ---------- Perfil: foto, capa própria, nota ---------- */
.pf-foto-linha { display: flex; gap: 16px; align-items: center; }
.pf-foto-bts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pf-foto-bts small { width: 100%; }
.pf-upl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.pf-upl .btn { position: relative; }
.pf-nota { padding: 10px 12px; border-radius: 10px; background: rgba(234, 179, 8, .08); border: 1px dashed rgba(234, 179, 8, .35); cursor: pointer; }
.pf-nota small { color: #eab308; font-weight: 600; }
.pf-nota p { margin: 4px 0 0; white-space: pre-wrap; }
.link-nome { cursor: pointer; }
.link-nome:hover > span:not(.sub), b.link-nome:hover { text-decoration: underline; }

/* ---------- Lista de DMs e menu do botão direito ---------- */
.dm-item .dm-x { display: none; width: 22px; height: 22px; border-radius: 6px; color: var(--muted); place-items: center; background: none; border: 0; cursor: pointer; padding: 0; }
.dm-item .dm-x svg { width: 14px; height: 14px; }
.dm-item:hover .dm-x, .dm-item:focus-within .dm-x { display: grid; }
.dm-item .dm-x:hover { color: var(--text); background: var(--hover); }
.dm-item.mudo .name { opacity: .7; }
.dm-mudo { color: var(--dim); display: inline-grid; }
@media (hover: none) { .dm-item .dm-x { display: grid; } }
.ctx-menu { position: fixed; width: 260px; padding: 6px; }
.ctx-menu button { padding: 8px 10px; gap: 10px; }
.ctx-menu button > svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.ctx-menu button:hover > svg { color: inherit; }
.ctx-menu button.danger { color: var(--danger); }
.ctx-menu button.danger:hover { background: var(--danger); color: #fff; }
.ctx-seta { margin-left: auto; display: inline-grid; }
.ctx-voltar { font-weight: 700; }
.ctx-srv { width: 24px; height: 24px; border-radius: 8px; background: var(--panel-2); display: grid; place-items: center; font-size: 10px; font-weight: 700; overflow: hidden; flex: none; }
.ctx-srv img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lojinha: CEO e presentes ---------- */
.ceo-loja { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; margin-bottom: 12px; border-radius: 12px; background: rgba(234, 179, 8, .08); border: 1px solid rgba(234, 179, 8, .3); font-size: 13px; }
.loja-item { position: relative; }
.loja-item.fora { opacity: .6; }
.loja-tag.novo { color: #22c55e; }
.loja-tag.fora { color: var(--danger); }
.ceo-acts { position: absolute; top: 6px; right: 6px; display: flex; gap: 2px; }
.ceo-acts .icon-btn { width: 26px; height: 26px; background: rgba(0, 0, 0, .45); color: #fff; }
.ceo-acts .icon-btn svg { width: 14px; height: 14px; }
.pres-prev { max-width: 220px; margin: 0 auto 12px; }
.pres-amigos { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; max-height: 120px; overflow: auto; }
.chip-amigo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; font-size: 12.5px; }
.chip-amigo:hover { border-color: var(--accent); }
.presente-box { text-align: center; }
.presente-box .pres-ic { font-size: 54px; line-height: 1; animation: pulo 1.4s ease-in-out infinite; }
@keyframes pulo { 50% { transform: translateY(-6px) rotate(-6deg); } }
.presente-box h2 { margin: 10px 0 4px; }
.presente-box .prev { max-width: 240px; margin: 14px auto 0; }
.pres-recado { margin: 10px auto 0; max-width: 340px; color: var(--muted); font-style: italic; }
.cria-prev { max-width: 320px; margin-top: 8px; }
.cria-cores { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.cria-cores input[type=color] { width: 48px; height: 36px; padding: 2px; border-radius: 8px; }
.cria-arq { margin-bottom: 6px; }
.hidden { display: none !important; }

/* ---------- GIFs ---------- */
.gif-btn { position: relative; }
.gif-pop { position: fixed; width: min(420px, calc(100vw - 16px)); padding: 10px; display: flex; flex-direction: column; gap: 8px; max-height: min(460px, 70vh); }
.gif-pop input { width: 100%; }
.gif-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; overflow-y: auto; min-height: 120px; }
.gif-grade .hint { grid-column: 1 / -1; text-align: center; }
.gif-pop button.gif-item { padding: 0; border-radius: 8px; overflow: hidden; background: var(--panel-2); aspect-ratio: 1; display: block; }
.gif-pop button.gif-item:hover { outline: 2px solid var(--accent); background: var(--panel-2); }
.gif-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gif-giphy { font-size: 10.5px; color: var(--dim); text-align: right; letter-spacing: .04em; }
.msg-gif { margin-top: 4px; max-width: min(320px, 100%); }
.msg-gif img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--panel-2); max-height: 320px; object-fit: contain; }

/* barra de baixo: nome abre o perfil, status abre o menu de status */
.me-bar .who .me-nome { cursor: pointer; border-radius: 4px; display: inline-flex; max-width: 100%; }
.me-bar .who .me-nome:hover { text-decoration: underline; text-underline-offset: 3px; }
.me-bar .who .me-status { cursor: pointer; display: block; width: fit-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-bar .who .me-status:hover { color: var(--text); }

/* perfil: amigos e amigos em comum */
.pf-amigos { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-amigo { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; font-size: 13px; font-weight: 600; max-width: 220px; }
.pf-amigo > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-amigo:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .1); }

/* notas de atualização: entram com um "revelar" */
.modal.nov-revelar { animation: novRevela .55s cubic-bezier(.2, .9, .3, 1.2) both; }
.modal.nov-revelar .nov-item { animation: novItem .45s ease both; }
.modal.nov-revelar .nov-item:nth-child(1) { animation-delay: .25s; } .modal.nov-revelar .nov-item:nth-child(2) { animation-delay: .33s; }
.modal.nov-revelar .nov-item:nth-child(3) { animation-delay: .41s; } .modal.nov-revelar .nov-item:nth-child(4) { animation-delay: .49s; }
.modal.nov-revelar .nov-item:nth-child(5) { animation-delay: .57s; } .modal.nov-revelar .nov-item:nth-child(6) { animation-delay: .65s; }
.modal.nov-revelar .nov-item:nth-child(n+7) { animation-delay: .73s; }
.modal.nov-revelar .nov-selo { animation: novBrilho 2.4s ease-in-out infinite; }
@keyframes novRevela { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes novItem { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes novBrilho { 50% { box-shadow: 0 0 18px rgba(var(--accent-rgb), .55); } }
@media (prefers-reduced-motion: reduce) { .modal.nov-revelar, .modal.nov-revelar .nov-item { animation: none; } }
.chamando.desligou .chamando-av { opacity: .6; }

/* ================= Página inicial ================= */
.landing { position: fixed; inset: 0; overflow-y: auto; overflow-x: hidden; z-index: 5; color: #fff; background: #0a0716; scroll-behavior: smooth; }
.ld-ceu { position: absolute; inset: 0; height: 100%; min-height: 900px; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 8% 18%, rgba(255,255,255,.8), transparent), radial-gradient(1px 1px at 22% 62%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 37% 12%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 51% 78%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 66% 28%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 79% 66%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 92% 14%, rgba(255,255,255,.8), transparent), radial-gradient(1px 1px at 14% 88%, rgba(255,255,255,.5), transparent),
    radial-gradient(900px 520px at 78% 30%, rgba(124, 58, 237, .45), transparent 70%),
    radial-gradient(700px 480px at 10% 20%, rgba(249, 115, 22, .22), transparent 70%),
    linear-gradient(180deg, #120a2e 0%, #0a0716 75%); }
.landing > *:not(.ld-ceu) { position: relative; }
.ld-topo { display: flex; align-items: center; gap: 24px; max-width: 1180px; margin: 0 auto; padding: 18px 24px; }
.ld-marca { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 17px; }
.ld-marca img { width: 30px; height: 30px; }
.ld-marca b, .ld-rodape b { color: #fb923c; }
.ld-links { display: flex; gap: 26px; margin: 0 auto; }
.ld-links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 14px; }
.ld-links a:hover { color: #fff; }
.ld-entrar { background: #fff; color: #111; border: 0; border-radius: 999px; padding: 9px 20px; font-weight: 700; cursor: pointer; font-size: 14px; }
.ld-entrar:hover { box-shadow: 0 6px 22px rgba(255,255,255,.25); }
.ld-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 48px 24px 72px; }
.ld-selo { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; }
.ld-texto h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: .98; margin: 18px 0 18px; font-weight: 900; letter-spacing: -.01em; }
.ld-texto h1 span { background: linear-gradient(90deg, #fb923c, #f472b6 55%, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-texto p { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 470px; margin: 0 0 26px; }
.ld-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.ld-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 14px; font-weight: 700; font-size: 15.5px; cursor: pointer; border: 0; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.ld-btn:hover { transform: translateY(-2px); }
.ld-btn svg { width: 18px; height: 18px; }
.ld-btn.branco { background: #fff; color: #111; }
.ld-btn.branco:hover { box-shadow: 0 10px 30px rgba(255,255,255,.2); }
.ld-btn.cor { background: linear-gradient(90deg, #f97316, #db2777); color: #fff; box-shadow: 0 10px 30px rgba(249, 115, 22, .3); }
.ld-btn.contorno { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.ld-mini { display: block; margin-top: 16px; color: rgba(255,255,255,.55); font-size: 12.5px; }

/* arte: o app desenhado em código */
.ld-arte { position: relative; padding: 20px 40px 40px 0; }
.ld-janela { border-radius: 16px; background: #15121f; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 8px rgba(124,58,237,.12); overflow: hidden; transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); }
.lj-barra { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #0f0d18; font-size: 11px; color: rgba(255,255,255,.5); }
.lj-barra i { width: 9px; height: 9px; border-radius: 50%; background: #3f3a52; }
.lj-barra span { margin-left: 8px; }
.lj-corpo { display: grid; grid-template-columns: 46px 150px 1fr; min-height: 330px; font-size: 11.5px; }
.lj-rail { background: #0d0b15; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 0; }
.lj-rail b { width: 32px; height: 32px; border-radius: 50%; background: #262236; display: grid; place-items: center; font-size: 10px; }
.lj-rail b.on { border-radius: 10px; background: linear-gradient(135deg, #f97316, #db2777); }
.lj-rail b.mais { color: #22c55e; }
.lj-side { background: #18151f; padding: 10px; display: flex; flex-direction: column; gap: 3px; }
.lj-side small { color: rgba(255,255,255,.4); font-size: 9px; font-weight: 700; margin-top: 8px; letter-spacing: .05em; }
.lj-side p { margin: 0; padding: 4px 6px; border-radius: 6px; color: rgba(255,255,255,.75); }
.lj-side p.voz { background: rgba(255,255,255,.06); display: flex; justify-content: space-between; }
.lj-side em { font-style: normal; background: rgba(34,197,94,.2); color: #4ade80; border-radius: 6px; padding: 0 5px; font-size: 10px; }
.lj-quem { display: flex; align-items: center; gap: 6px; padding: 2px 6px 2px 18px; color: rgba(255,255,255,.7); }
.lj-quem span, .lj-msg > span, .lc-av span { width: 16px; height: 16px; border-radius: 50%; display: inline-block; flex: none; }
.a1 { background: linear-gradient(135deg, #fde047, #f97316); } .a2 { background: linear-gradient(135deg, #f472b6, #a855f7); } .a3 { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.lj-quem span.fala { box-shadow: 0 0 0 2px #22c55e; animation: ldFala 1.4s ease-in-out infinite; }
.lj-quem:nth-child(9) span.fala { animation-delay: .7s; }
@keyframes ldFala { 50% { box-shadow: 0 0 0 2px rgba(34,197,94,.2); } }
.lj-main { padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.lj-tela { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 8.5; }
.lj-jogo { position: absolute; inset: 0; background: linear-gradient(180deg, #7c3aed, #f97316 70%, #fde047); overflow: hidden; }
.lj-jogo .sol { position: absolute; width: 60px; height: 60px; border-radius: 50%; background: #fef3c7; left: 58%; top: 22%; box-shadow: 0 0 40px #fde047; }
.lj-jogo .morro { position: absolute; bottom: -40%; width: 70%; height: 90%; border-radius: 50%; background: #2e1065; }
.lj-jogo .m1 { left: -15%; } .lj-jogo .m2 { right: -20%; background: #3b0764; bottom: -50%; }
.lj-jogo .carro { position: absolute; bottom: 14%; width: 46px; height: 14px; border-radius: 6px 10px 3px 3px; background: #111; left: 10%; animation: ldCarro 4s linear infinite; }
@keyframes ldCarro { to { left: 85%; } }
.lj-vivo { position: absolute; top: 8px; left: 8px; z-index: 1; background: #ef4444; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 5px; }
.lj-fps { position: absolute; top: 28px; left: 8px; z-index: 1; background: rgba(0,0,0,.6); color: #d1fae5; font: 600 9px ui-monospace, monospace; padding: 2px 6px; border-radius: 5px; }
.lj-msgs { display: flex; flex-direction: column; gap: 8px; }
.lj-msg { display: flex; gap: 8px; align-items: flex-start; }
.lj-msg > span { width: 22px; height: 22px; }
.lj-msg b { font-size: 11px; color: #f9a8d4; } .lj-msg b.ouro { color: #fde047; }
.lj-msg p { margin: 1px 0 0; color: rgba(255,255,255,.85); }
.ld-cel { position: absolute; right: 0; bottom: 0; width: 150px; height: 290px; border-radius: 26px; background: #0b0a12; border: 3px solid #2b2640; box-shadow: 0 24px 60px rgba(0,0,0,.6); padding: 10px; animation: ldBoia 5s ease-in-out infinite; }
.lc-notch { width: 46px; height: 6px; border-radius: 6px; background: #2b2640; margin: 0 auto 10px; }
.lc-tela { height: calc(100% - 16px); border-radius: 18px; background: linear-gradient(180deg, #2e1065, #0a0716); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; }
.lc-av { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; animation: ldOnda 1.6s ease-out infinite; margin-bottom: 8px; }
.lc-av span { width: 54px; height: 54px; }
@keyframes ldOnda { 0% { box-shadow: 0 0 0 0 rgba(251,146,60,.5); } 100% { box-shadow: 0 0 0 18px rgba(251,146,60,0); } }
.lc-tela small { color: rgba(255,255,255,.6); }
.lc-bts { display: flex; gap: 22px; margin-top: 26px; }
.lc-bts i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 15px; }
.lc-bts .no { background: #ef4444; } .lc-bts .ok { background: #22c55e; }
.ld-fig { position: absolute; font-size: 34px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); animation: ldBoia 6s ease-in-out infinite; }
.ld-fig.f1 { top: -6px; left: 8%; } .ld-fig.f2 { top: 6%; right: 6%; animation-delay: 1.2s; } .ld-fig.f3 { bottom: 4%; left: -2%; animation-delay: 2.1s; } .ld-fig.f4 { bottom: 42%; right: -2%; animation-delay: .6s; font-size: 28px; }
@keyframes ldBoia { 50% { transform: translateY(-12px) rotate(-4deg); } }

.ld-sec { max-width: 1180px; margin: 0 auto; padding: 40px 24px 60px; }
.ld-sec h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; text-align: center; margin: 0 0 30px; }
.ld-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ld-card { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: transform .2s, border-color .2s; }
.ld-card:hover { transform: translateY(-4px); border-color: rgba(251,146,60,.5); }
.ld-card span { font-size: 30px; }
.ld-card b { display: block; font-size: 17px; margin: 10px 0 6px; }
.ld-card p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.5; font-size: 14.5px; }
.ld-planos { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 18px; justify-content: center; }
.ld-plano { position: relative; padding: 26px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; }
.ld-plano.destaque { background: linear-gradient(160deg, rgba(249,115,22,.16), rgba(124,58,237,.18)); border-color: rgba(251,146,60,.5); }
.ld-plano > b { font-size: 17px; }
.ld-plano strong { font-size: 40px; font-weight: 900; margin-top: 6px; }
.ld-plano small { color: rgba(255,255,255,.6); }
.ld-plano ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; flex: 1; }
.ld-plano li { padding-left: 24px; position: relative; color: rgba(255,255,255,.85); }
.ld-plano li::before { content: '✓'; position: absolute; left: 0; color: #4ade80; font-weight: 800; }
.ld-plano .ld-btn { justify-content: center; }
.ld-tag { position: absolute; top: -12px; right: 18px; background: linear-gradient(90deg, #f97316, #db2777); padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.ld-rodape { max-width: 1180px; margin: 0 auto; padding: 26px 24px 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: rgba(255,255,255,.55); font-size: 13.5px; border-top: 1px solid rgba(255,255,255,.08); }
.ld-rodape nav { display: flex; gap: 18px; }
.ld-rodape a { color: rgba(255,255,255,.7); }
.auth-voltar { margin: -6px 0 10px; font-size: 13px; }

@media (max-width: 980px) {
  .ld-hero { grid-template-columns: 1fr; padding-top: 24px; }
  .ld-arte { padding: 10px 30px 30px 0; max-width: 620px; }
  .ld-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ld-topo { padding: 14px 16px; gap: 10px; }
  .ld-links { display: none; }
  .ld-entrar { margin-left: auto; }
  .ld-hero { padding: 16px 16px 40px; gap: 24px; }
  .ld-acoes .ld-btn { flex: 1 1 100%; justify-content: center; }
  .ld-arte { padding: 0 0 50px; }
  .lj-corpo { grid-template-columns: 36px 1fr; }
  .lj-side { display: none; }
  .ld-janela { transform: none; }
  .ld-cel { width: 112px; height: 210px; right: -4px; border-radius: 20px; }
  .lc-av { width: 46px; height: 46px; } .lc-av span { width: 40px; height: 40px; } .lc-bts { margin-top: 12px; gap: 14px; }
  .ld-fig { font-size: 24px; }
  .ld-sec { padding: 28px 16px 40px; }
  .ld-grade, .ld-planos { grid-template-columns: 1fr; }
  .ld-rodape { padding: 22px 16px 32px; }
}
@media (prefers-reduced-motion: reduce) { .landing *, .landing *::before { animation: none !important; } }

/* ---------- Canais privados e cargos ---------- */
.ch-priv { display: inline-grid; color: var(--dim); margin-left: -2px; }
.ch-priv svg { width: 12px; height: 12px; }
.acesso-box { margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); }
.acesso-box .check { align-items: flex-start; }
.acesso-cargos { margin-top: 10px; display: grid; gap: 8px; }
.cargo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cargo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; font-size: 12.5px; font-weight: 600; }
.cargo-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--cor); }
.cargo-chip:hover { color: var(--text); border-color: var(--cor); }
.cargo-chip.sel { color: var(--text); border-color: var(--cor); background: color-mix(in srgb, var(--cor) 18%, transparent); }
.cargo-chips.mini { margin-top: 6px; }
.cargo-chips.mini .cargo-chip { padding: 3px 9px; font-size: 11.5px; }
.membro-cargos .info { min-width: 0; }
.cargo-novo { display: flex; gap: 8px; align-items: center; margin: 6px 0 14px; }
.cargo-novo input[type=color], .cargo-row input[type=color] { width: 42px; height: 36px; padding: 2px; border-radius: 8px; flex: none; }
.cargo-novo input:not([type=color]) { flex: 1; }
.cargo-row .info input { max-width: 240px; }
.member.com-cargo .nick { color: var(--cargo); }
.popover .pop-cargos { padding: 4px 8px 8px; }
.popover .pop-cargos .cargo-chip { width: auto; padding: 4px 10px; border-radius: 999px; gap: 6px; }
.popover .pop-cargos .cargo-chip:hover { background: color-mix(in srgb, var(--cor) 25%, transparent); color: var(--text); }

/* ---------- Aviso geral ---------- */
#avisoGeral { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 60; margin-top: 10px; display: flex; align-items: center; gap: 12px; max-width: min(720px, calc(100vw - 24px)); padding: 10px 12px 10px 16px; border-radius: 14px;
  background: linear-gradient(90deg, #f97316, #db2777); color: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); animation: agDesce .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes agDesce { from { transform: translate(-50%, -120%); } }
#avisoGeral .ag-ic { font-size: 22px; }
#avisoGeral .ag-txt { display: grid; gap: 1px; min-width: 0; }
#avisoGeral .ag-txt b { font-size: 14px; }
#avisoGeral .ag-txt span { font-size: 13px; opacity: .95; }
#avisoGeral .ag-x { flex: none; width: 30px; height: 30px; border-radius: 8px; border: 0; background: rgba(0, 0, 0, .2); color: #fff; display: grid; place-items: center; cursor: pointer; }
#avisoGeral .ag-x svg { width: 16px; height: 16px; }
.aviso-ceo textarea { width: 100%; margin: 10px 0; }
.aviso-linha { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.aviso-linha label { margin: 0; }
.aviso-prontos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.aviso-status { margin-top: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.aviso-status:empty { display: none; }

/* =====================================================================
   Layout "Arena" (padrão). O clássico continua em data-layout="classico".
   ===================================================================== */
.rail-tile { display: contents; }
.rail-nome, .sala-vazia, .sala-estou, .ch-max { display: none; }
.sala-voz { display: contents; }

/* cores do Arena (no modo escuro) */
[data-layout="arena"]:not([data-modo="claro"]) {
  --bg: #0C0B10; --rail: #15131B; --side: #15131B; --main: #15131B; --mebar: #15131B; --input: #0F0E14; --sep: #25222E;
  --panel: #1C1924; --panel-2: #25222E; --line: #25222E; --line-2: #2B2735; --line-3: #3A3546; --hover: #25222E;
  --text: #F4F2F8; --text-2: #E2DDEA; --muted: #A9A3B8; --dim: #8E879E;
}
/* laranja é o destaque padrão do Arena (quem escolheu outra cor no app completo continua com a sua) */
[data-layout="arena"]:not([data-cor]):not([data-temporada="natal"]) {
  --accent: #FF7A1A; --accent-2: #FB923C; --accent-hi: #FFB77F; --accent-rgb: 255, 122, 26;
  --grad: linear-gradient(135deg, #FF7A1A 0%, #F0558C 120%);
}
[data-layout="arena"] .msg.eu .body { background: rgba(var(--accent-rgb), .12); border-color: rgba(var(--accent-rgb), .34); }

/* mensagens em balões (computador e celular) */
[data-layout="arena"] .msg { gap: 10px; padding: 2px 18px; }
[data-layout="arena"] .msg:hover { background: none; }
[data-layout="arena"] .msg.first { margin-top: 14px; }
[data-layout="arena"] .msg .body { flex: 0 1 auto; max-width: min(74%, 720px); background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px 18px 18px 6px; padding: 8px 14px 9px; }
[data-layout="arena"] .msg:not(.first) .body { border-radius: 6px 18px 18px 6px; }
[data-layout="arena"] .msg.eu { flex-direction: row-reverse; }
[data-layout="arena"] .msg.eu .body { border-radius: 18px 18px 6px 18px; }
[data-layout="arena"] .msg.eu:not(.first) .body { border-radius: 18px 6px 6px 18px; }
[data-layout="arena"] .msg.eu .gutter time { text-align: left; }
[data-layout="arena"] .msg .tools { top: -14px; }
[data-layout="arena"] .msg.eu .tools { right: auto; left: 70px; }
[data-layout="arena"] .msg-gif, [data-layout="arena"] .msg-files { margin-bottom: 2px; }

/* salas de voz em cartões */
[data-layout="arena"] .sala-voz { display: block; margin: 6px 0; padding: 4px 4px 8px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-2); }
[data-layout="arena"] .sala-voz.estou { background: rgba(34, 197, 94, .07); border-color: rgba(34, 197, 94, .45); }
[data-layout="arena"] .sala-voz .nav-item.channel { min-height: 40px; }
[data-layout="arena"] .sala-voz .nav-item.channel:hover { background: var(--panel-2); }
[data-layout="arena"] .sala-voz .nav-item .name { font-weight: 600; color: var(--text); }
[data-layout="arena"] .ch-count { padding: 2px 8px; border-radius: 8px; font-size: 11.5px; }
[data-layout="arena"] .ch-max { display: inline; opacity: .75; }
[data-layout="arena"] .sala-vazia { display: block; padding: 0 12px 2px 36px; font-size: 12.5px; color: var(--dim); }
[data-layout="arena"] .sala-estou { display: block; padding: 2px 12px 0 36px; font-size: 12px; font-weight: 600; color: var(--ok); }
[data-layout="arena"] .sala-voz .voice-users { padding: 2px 6px 0 30px; }

/* amigos em cartões */
[data-layout="arena"] .lista-amigos { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
[data-layout="arena"] .lista-amigos .row-item { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-2); }
[data-layout="arena"] .lista-amigos .row-item:hover { border-color: rgba(var(--accent-rgb), .5); }
[data-layout="arena"] .lista-amigos .row-item .acts { grid-column: 1 / -1; display: flex; gap: 8px; }
[data-layout="arena"] .lista-amigos .row-item .acts .icon-btn { flex: 1; height: 40px; border-radius: 12px; background: var(--panel-2); }
[data-layout="arena"] .lista-amigos .row-item .acts .icon-btn.ok { background: var(--grad); color: #fff; }

@media (min-width: 821px) {
  [data-layout="arena"] body { background: var(--bg); }
  [data-layout="arena"] .app { display: grid; grid-template-columns: 300px minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); gap: 14px; padding: 14px; background: var(--bg); }
  [data-layout="arena"] .side { display: contents; }

  /* servidores numa barra em cima, com nome */
  [data-layout="arena"] .rail { grid-column: 1 / 3; grid-row: 1; width: auto; flex-direction: row; align-items: center; gap: 8px; padding: 8px; overflow-x: auto; overflow-y: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--rail); scrollbar-width: thin; }
  [data-layout="arena"] .rail-sep { width: 1px; height: 28px; margin: 0 2px; }
  [data-layout="arena"] .rail-item { width: auto; height: 48px; padding: 0 14px 0 6px; gap: 9px; display: flex; align-items: center; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
  [data-layout="arena"] .rail-item::before { display: none; }
  [data-layout="arena"] .rail-item:hover { background: var(--panel-2); border-radius: 14px; }
  [data-layout="arena"] .rail-item.active { background: rgba(var(--accent-rgb), .13); border-color: var(--accent); box-shadow: none; }
  [data-layout="arena"] .rail-tile { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--panel-2); font-size: 13px; font-weight: 800; overflow: hidden; flex: none; }
  [data-layout="arena"] .rail-item.active .rail-tile { background: var(--grad); color: #fff; }
  [data-layout="arena"] .rail-item.has-icon { padding: 0 14px 0 6px; overflow: visible; }
  [data-layout="arena"] .rail-tile .rail-icon { width: 100%; height: 100%; }
  [data-layout="arena"] .rail-nome { display: block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  [data-layout="arena"] .rail-item.add { width: 48px; padding: 0; justify-content: center; border-style: dashed; background: transparent; }
  [data-layout="arena"] .rail-item.add:hover { background: rgba(34, 197, 94, .12); color: var(--ok); }
  [data-layout="arena"] .rail-item.admin { margin-left: auto; }
  [data-layout="arena"] .rail-item .badge { top: -6px; right: -6px; bottom: auto; border-color: var(--rail); }
  [data-layout="arena"] .rail-item .live { top: -4px; right: auto; left: 34px; border-color: var(--rail); }
  [data-layout="arena"] .rail-item .enfeite { right: auto; left: 30px; bottom: -4px; }

  /* você no canto de cima */
  [data-layout="arena"] .me-bar { grid-column: 3; grid-row: 1; height: auto; min-width: 250px; padding: 6px 8px 6px 6px; border: 1px solid var(--line); border-radius: 22px; background: var(--mebar); border-top: 1px solid var(--line); }
  [data-layout="arena"] .me-bar .av { box-shadow: 0 0 0 2px var(--mebar), 0 0 0 4px var(--accent); }

  /* canais à esquerda, num cartão */
  [data-layout="arena"] .side-body { grid-column: 1; grid-row: 2; border: 1px solid var(--line); border-radius: 22px; background: var(--side); padding: 4px 6px 10px; }
  [data-layout="arena"] .side-head { border-bottom: 0; height: 60px; }
  [data-layout="arena"] .side-label { padding: 6px 8px 6px; }

  /* conteúdo */
  [data-layout="arena"] .main { grid-column: 2 / 4; grid-row: 2; border: 1px solid var(--line); border-radius: 22px; background: var(--main); overflow: hidden; }
  [data-layout="arena"] .top { border-bottom: 1px solid var(--line); height: 60px; padding: 0 18px; }
  [data-layout="arena"] .members { border-left: 1px solid var(--line); background: transparent; }
  [data-layout="arena"] .stage { margin: 12px 12px 0; border-radius: 18px; border: 1px solid var(--line-2); }
  [data-layout="arena"] .composer-box { border-radius: 18px; background: var(--input); }

  /* chamada numa barra flutuante */
  [data-layout="arena"] .voice-bar:not(.hidden) { position: fixed; z-index: 45; left: calc(50% + 157px); bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 16px; border-radius: 22px; border: 1px solid var(--line-3); background: var(--panel-2); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
  [data-layout="arena"] .voice-bar .row { gap: 10px; }
  [data-layout="arena"] .voice-bar .voice-status { min-width: 130px; max-width: 220px; }
  [data-layout="arena"] .voice-bar .tools { display: flex; gap: 6px; margin-top: 0; }
  [data-layout="arena"] .voice-bar .tools .btn { width: 46px; height: 46px; border-radius: 15px; }
  /* quando o palco da chamada está aberto, os botões dele já bastam */
  [data-layout="arena"] .app:has(#stageWrap .stage) .voice-bar { display: none; }
  [data-layout="arena"] .app:has(.voice-bar:not(.hidden)):not(:has(#stageWrap .stage)) .composer { padding-bottom: 92px; }
}

/* ===== Arena v2: igual ao desenho aprovado ===== */
.so-arena { display: none; } .so-classico { display: inline; }
[data-layout="arena"] .so-arena { display: inline; } [data-layout="arena"] .so-classico { display: none; }
.srv-tile, .srv-sub, .srv-menu .ico-settings, .stage-cab, .sala-gente, .dock-bts, .rail-logo, .rail-busca, .rail-sino, .rolando, .cargo-tag { display: none; }
.srv-info { display: contents; }
.srv-card { display: contents; }
#abasCel { display: none; }
.gif-txt { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }

/* mensagens: avatar embaixo, como no desenho */
[data-layout="arena"] .msg { align-items: flex-end; }
[data-layout="arena"] .msg .gutter { align-self: flex-end; }
[data-layout="arena"] .msg .head b { font-size: 13px; }

/* palco */
[data-layout="arena"] .stage-cab { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px 4px; }
[data-layout="arena"] .stage-cab b { font-size: 18px; font-weight: 800; }
[data-layout="arena"] .stage-cab > span:not(.ao-vivo) { color: var(--muted); font-size: 13px; }
[data-layout="arena"] .stage-cab .btn { margin-left: auto; }
[data-layout="arena"] .ao-vivo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(34, 197, 94, .13); color: var(--ok); font-size: 12px; font-weight: 800; }
[data-layout="arena"] .ao-vivo i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
[data-layout="arena"] .stage { background: var(--main); }
[data-layout="arena"] .stage .stage-bar { display: none; }
[data-layout="arena"] .stage.with-video .stage-body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 12px; padding: 12px 16px 16px; }
[data-layout="arena"] .stage.with-video .stage-people { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
[data-layout="arena"] .stage.with-video .stage-people .tile { flex: 1; min-height: 90px; }
[data-layout="arena"] .stage .tile { border-radius: 16px; background: var(--panel); border: 1.5px solid var(--line-2); }
[data-layout="arena"] .stage .tile.speaking { border-color: var(--ok); box-shadow: none; }

/* salas de voz: pilha de fotos e nomes numa linha */
[data-layout="arena"] .sala-voz .voice-users { display: none; }
[data-layout="arena"] .sala-gente { display: flex; align-items: center; gap: 10px; padding: 0 12px 4px 12px; }
[data-layout="arena"] .sala-gente .pilha { display: flex; }
[data-layout="arena"] .sala-gente .pilha .av { width: 30px; height: 30px; font-size: 12px; box-shadow: 0 0 0 2px var(--panel); }
[data-layout="arena"] .sala-gente .pilha .av + .av { margin-left: -8px; }
[data-layout="arena"] .sala-voz.estou .sala-gente .pilha .av { box-shadow: 0 0 0 2px #142019; }
[data-layout="arena"] .sala-gente .nomes { font-size: 12.5px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-layout="arena"] .sala-vazia, [data-layout="arena"] .sala-estou { padding-left: 12px; }
[data-layout="arena"] .sala-voz { order: 0; }

/* galera: cargo do lado do nome e "rolando agora" */
[data-layout="arena"] .cargo-tag { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 0 6px; border-radius: 6px; color: var(--cor); border: 1px solid var(--cor); line-height: 16px; margin-left: 4px; }
[data-layout="arena"] .rolando { display: flex; flex-direction: column; gap: 8px; margin: 14px 4px 4px; padding: 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-2); }
[data-layout="arena"] .rolando .rl-k { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
[data-layout="arena"] .rolando b { font-size: 16px; line-height: 1.3; }
[data-layout="arena"] .rolando .rl-sub { font-size: 13px; color: var(--muted); }
[data-layout="arena"] .rolando .btn { height: 42px; }

/* chamada: a barra do desenho */
[data-layout="arena"] .voice-bar .tools, [data-layout="arena"] .voice-bar .row > .icon-btn { display: none; }
[data-layout="arena"] .dock-bts { display: flex; align-items: center; gap: 8px; }
[data-layout="arena"] .dock-bts .dk { position: relative; width: 48px; height: 48px; border-radius: 16px; background: var(--hover); color: var(--text); display: grid; place-items: center; }
[data-layout="arena"] .dock-bts .dk:hover { background: var(--line-3); }
[data-layout="arena"] .dock-bts .dk.off { background: rgba(239, 68, 68, .16); color: #fca5a5; }
[data-layout="arena"] .dock-bts .dk.on { background: rgba(var(--accent-rgb), .2); color: var(--accent-hi); }
[data-layout="arena"] .dock-bts .dk svg { width: 19px; height: 19px; }
[data-layout="arena"] .dock-bts .dk.sair { width: auto; padding: 0 18px; display: flex; gap: 8px; background: var(--danger); color: #fff; font-weight: 700; }
[data-layout="arena"] .dock-bts .lock-dot { position: absolute; right: 4px; top: 4px; }
[data-layout="arena"] .voice-bar .voice-status { padding-right: 12px; border-right: 1px solid var(--line-3); }

/* composer: GIF em texto e enviar laranja */
[data-layout="arena"] .composer .gif-btn { width: auto; padding: 0 12px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); margin: 0 2px; }
[data-layout="arena"] .composer .send { border-radius: 12px; background: var(--accent); color: #141018; }
[data-layout="arena"] .composer .send:disabled { opacity: .45; background: var(--accent); }

@media (min-width: 821px) {
  /* topo: logo, servidores, busca, sininho; você à direita */
  [data-layout="arena"] .rail-logo { display: flex; align-items: center; gap: 10px; padding: 0 8px 0 4px; flex: none; font-weight: 800; font-size: 16px; white-space: nowrap; }
  [data-layout="arena"] .rail-logo img { width: 36px; height: 36px; }
  [data-layout="arena"] .rail-logo b { color: var(--accent); font-weight: 800; }
  [data-layout="arena"] .rail-sep { display: none; }
  [data-layout="arena"] .rail-busca { display: flex; align-items: center; gap: 8px; position: relative; height: 46px; padding: 0 14px; margin-left: auto; flex: 0 1 280px; min-width: 170px; border-radius: 14px; background: var(--input); border: 1px solid var(--line); color: var(--dim); }
  [data-layout="arena"] .rail-busca svg { width: 16px; height: 16px; flex: none; }
  [data-layout="arena"] .rail-busca input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; box-shadow: none !important; padding: 0; color: var(--text); font-size: 13.5px; }
  [data-layout="arena"] .busca-res { position: fixed; z-index: 70; margin-top: 52px; width: 320px; max-height: 60vh; overflow-y: auto; padding: 6px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
  [data-layout="arena"] .busca-res.hidden { display: none; }
  [data-layout="arena"] .busca-res button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text); text-align: left; }
  [data-layout="arena"] .busca-res button:hover { background: var(--hover); }
  [data-layout="arena"] .busca-res button > svg { width: 16px; height: 16px; color: var(--muted); }
  [data-layout="arena"] .busca-res button span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  [data-layout="arena"] .busca-res small { color: var(--dim); }
  [data-layout="arena"] .rail-sino { display: grid; place-items: center; position: relative; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); color: var(--text); }
  [data-layout="arena"] .rail-sino svg { width: 18px; height: 18px; }
  [data-layout="arena"] .sino-dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
  [data-layout="arena"] .rail-item.admin { margin-left: 0; }
  [data-layout="arena"] .me-bar { min-width: 230px; }

  /* coluna da esquerda: cartões separados */
  [data-layout="arena"] .side-body { background: transparent; border: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
  [data-layout="arena"] .srv-card { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 22px; background: var(--side); border: 1px solid var(--line); }
  [data-layout="arena"] .server-head { height: auto; padding: 0; gap: 12px; cursor: pointer; justify-content: flex-start; }
  [data-layout="arena"] .srv-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #141018; font-weight: 800; font-size: 16px; flex: none; overflow: hidden; }
  [data-layout="arena"] .srv-tile img { width: 100%; height: 100%; object-fit: cover; }
  [data-layout="arena"] .srv-info { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
  [data-layout="arena"] .srv-info .title { font-size: 19px; font-weight: 800; }
  [data-layout="arena"] .srv-sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
  [data-layout="arena"] .srv-menu { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); color: var(--muted); flex: none; }
  [data-layout="arena"] .srv-menu > svg:first-child { display: none; }
  [data-layout="arena"] .srv-menu > svg:last-child { width: 17px; height: 17px; }
  [data-layout="arena"] .srv-card .invite-btn { margin: 0; width: 100%; height: 46px; border-radius: 14px; font-size: 14.5px; background: var(--accent); color: #141018; }
  [data-layout="arena"] .side-body > .side-section { padding: 16px 12px 12px; border-radius: 22px; background: var(--side); border: 1px solid var(--line); }
  [data-layout="arena"] .sec-salas { order: 1; } [data-layout="arena"] .sec-chats { order: 2; } [data-layout="arena"] .side-body > .side-section:not(.sec-salas):not(.sec-chats) { order: 3; }
  [data-layout="arena"] .side-body > .srv-card { order: 0; }
  [data-layout="arena"] .side-label { font-size: 12px; color: var(--muted); padding: 0 6px 8px; letter-spacing: .08em; }
  [data-layout="arena"] .sec-chats .nav-item.channel { min-height: 42px; border-radius: 12px; font-size: 14.5px; }
  [data-layout="arena"] .sec-chats .nav-item.unread .badge { background: var(--accent); color: #141018; }

  /* centro: palco num cartão, chat em outro; galera em outro */
  [data-layout="arena"] .main:has(.conv-row) { background: transparent; border: 0; overflow: visible; }
  [data-layout="arena"] .conv-row { gap: 14px; }
  [data-layout="arena"] .conv-row > .conv { gap: 0; }
  [data-layout="arena"] .conv-row > .conv > #stageWrap { order: -1; }
  [data-layout="arena"] .conv-row > .conv > #stageWrap:not(:empty) { margin-bottom: 14px; }
  [data-layout="arena"] .conv-row #stageWrap .stage { margin: 0; height: auto; min-height: 0; max-height: 52vh; border-radius: 22px; border: 1px solid var(--line); resize: none; }
  [data-layout="arena"] .conv-row > .conv > .top { background: var(--main); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; }
  [data-layout="arena"] .conv-row > .conv > .messages { background: var(--main); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  [data-layout="arena"] .conv-row > .conv > .composer { background: var(--main); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; padding-top: 4px; }
  [data-layout="arena"] .conv-row > .members { width: 300px; border: 1px solid var(--line); border-radius: 22px; background: var(--side); padding: 6px 10px 12px; }
  [data-layout="arena"] .conv-row > .members .nav-item.member { min-height: 52px; border-radius: 14px; }
  [data-layout="arena"] .conv-row > .members .av { width: 38px; height: 38px; font-size: 14px; }
  [data-layout="arena"] .main:has(.conv-row) .composer { padding-bottom: 14px; }
  [data-layout="arena"] .app:has(.voice-bar:not(.hidden)) .main:has(.conv-row) .composer { padding-bottom: 92px; }

  /* a barra da chamada fica sempre visível na chamada */
  [data-layout="arena"] .app:has(#stageWrap .stage) .voice-bar:not(.hidden) { display: flex; }
}

/* ===== celular no Arena: abas embaixo e gaveta em tela cheia ===== */
@media (max-width: 820px) {
  [data-layout="arena"] #abasCel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 4px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--side); border-top: 1px solid var(--line); }
  [data-layout="arena"] #abasCel button { height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-size: 12px; font-weight: 500; position: relative; }
  [data-layout="arena"] #abasCel button svg { width: 21px; height: 21px; }
  [data-layout="arena"] #abasCel button.sel { color: var(--text); font-weight: 700; }
  [data-layout="arena"] #abasCel button.sel::before { content: ''; position: absolute; top: 0; width: 28px; height: 4px; border-radius: 2px; background: var(--accent); }
  [data-layout="arena"] .main { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  [data-layout="arena"] .app:has(.voice-bar:not(.hidden)) .main { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
  /* gaveta: servidores numa fileira em cima, canais embaixo, ocupando a tela */
  [data-layout="arena"] .rail { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: calc(76px + env(safe-area-inset-top)); flex-direction: row; align-items: center; padding: calc(12px + env(safe-area-inset-top)) 12px 12px; gap: 8px; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--line); transform: translateY(-110%); }
  [data-layout="arena"] .rail-sep { width: 1px; height: 28px; }
  [data-layout="arena"] .rail-item::before { display: none; }
  [data-layout="arena"] .rail-item.active { outline: 2px solid var(--accent); outline-offset: 2px; }
  [data-layout="arena"] .side { left: 0; right: 0; width: auto; top: calc(76px + env(safe-area-inset-top)); bottom: calc(68px + env(safe-area-inset-bottom)); padding-top: 0; box-shadow: none; transform: translateX(-110%); }
  [data-layout="arena"] .app.nav-open .rail, [data-layout="arena"] .app.nav-open .side { transform: none; }
  [data-layout="arena"] .app.nav-open::after { display: none; }
  [data-layout="arena"] .side-body { padding: 4px 6px; }
  [data-layout="arena"] .srv-card { display: block; }
  [data-layout="arena"] .server-head { gap: 12px; justify-content: flex-start; height: 70px; border-bottom: 0; }
  [data-layout="arena"] .srv-tile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--grad); color: #141018; font-weight: 800; overflow: hidden; flex: none; }
  [data-layout="arena"] .srv-tile img { width: 100%; height: 100%; object-fit: cover; }
  [data-layout="arena"] .srv-info { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
  [data-layout="arena"] .srv-info .title { font-size: 19px; font-weight: 800; }
  [data-layout="arena"] .srv-sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
  [data-layout="arena"] .srv-card .invite-btn { width: calc(100% - 16px); margin: 0 8px 8px; height: 44px; border-radius: 14px; background: var(--accent); color: #141018; }
  [data-layout="arena"] .side-body { display: flex; flex-direction: column; }
  [data-layout="arena"] .sec-salas { order: 1; } [data-layout="arena"] .sec-chats { order: 2; } [data-layout="arena"] .side-body > .side-section:not(.sec-salas):not(.sec-chats) { order: 3; }
  [data-layout="arena"] .sec-chats .nav-item.channel { min-height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--side); margin-bottom: 6px; font-size: 15px; }
  [data-layout="arena"] .me-bar { display: none; }
  /* barra da chamada logo acima das abas */
  [data-layout="arena"] .voice-bar:not(.hidden) { position: fixed; z-index: 54; left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 14px; border-radius: 20px; border: 1px solid var(--line-3); background: var(--panel-2); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
  [data-layout="arena"] .voice-bar .row { flex: 1; min-width: 0; }
  [data-layout="arena"] .voice-bar .voice-status { border-right: 0; min-width: 0; }
  [data-layout="arena"] .dock-bts .dk { width: 44px; height: 44px; border-radius: 14px; }
  [data-layout="arena"] .dock-bts .dk.sair { width: 44px; padding: 0; font-size: 0; gap: 0; }
  [data-layout="arena"] .stage.with-video .stage-body { grid-template-columns: 1fr; }
  [data-layout="arena"] .stage.with-video .stage-people { flex-direction: row; }
}
.ld-breve { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ld-loja { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.28); color: rgba(255,255,255,.82); }
.ld-loja svg { width: 22px; height: 22px; flex: none; }
.ld-loja span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 14px; }
.ld-loja small { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fb923c; }
.popover .pop-status { display: flex; gap: 6px; padding: 0 10px 4px; align-items: center; }
.popover .pop-status input { flex: 1; min-width: 0; }
.popover .pop-status .btn { width: auto; flex: none; padding: 0 12px; }
[data-layout="arena"] .stage.with-video .stage-people .tile { width: 100% !important; height: auto !important; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
[data-layout="arena"] .stage.with-video .stage-people .tile .label { position: static; background: transparent; padding: 0; font-weight: 600; }
[data-layout="arena"] .stage.with-video .stage-people .tile .av.xl { width: 46px; height: 46px; font-size: 18px; }

/* ajustes: sem "Sair da chamada" no topo, tela cheia da sala, quem está na call um embaixo do outro */
[data-layout="arena"] .top .sair-top { display: none; }
.stage-cab .cab-fs { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line-2); }
.stage-cab .btn + .cab-fs { margin-left: 0; }
.stage-cab .cab-fs svg { width: 16px; height: 16px; }
.top .fs-app svg { width: 17px; height: 17px; }
#stageWrap:fullscreen { background: var(--bg); padding: 16px; display: flex; flex-direction: column; overflow: auto; }
#stageWrap:fullscreen .stage { flex: 1; height: auto !important; max-height: none !important; margin: 0 !important; display: flex; flex-direction: column; }
#stageWrap:fullscreen .stage-body { flex: 1; min-height: 0; }
#stageWrap:fullscreen .stage-videos .tile.video { min-height: 0; }
[data-layout="arena"] .sala-gente { display: none; }
[data-layout="arena"] .sala-voz .voice-users { display: grid; gap: 4px; padding: 4px 10px 2px 12px; }
[data-layout="arena"] .sala-voz .voice-user { gap: 10px; padding: 3px 4px; font-size: 13.5px; color: var(--text-2); }
[data-layout="arena"] .sala-voz .voice-user .av { width: 26px; height: 26px; font-size: 11px; }
.vu-nome { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.vu-nome > span { display: flex; align-items: center; gap: 4px; }
.vu-jogo { font-size: 11.5px; color: var(--ok); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .tile-jogo { font-size: 11px; color: #86efac; margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-layout="arena"] .stage.with-video .stage-people .tile .label { flex-direction: column; align-items: center; gap: 2px; }
[data-layout="arena"] .stage.with-video .stage-people .tile .tile-jogo { margin-left: 0; }
#stageWrap:fullscreen .stage-videos { align-content: stretch; height: 100%; }
#stageWrap:fullscreen .stage-videos > .tile.video { flex: 1 1 45%; height: auto !important; width: auto !important; min-height: 45%; }
#stageWrap:fullscreen .stage-videos > .tile.video:only-child { flex-basis: 100%; min-height: 100%; }

/* ===== Dentro da call: só a sala; o chat abre ao lado pelo botão ===== */
.ch-chat { display: none; }
[data-layout="arena"] .ch-chat { display: inline-grid; place-items: center; position: relative; width: 26px; height: 26px; border-radius: 8px; color: var(--muted); }
[data-layout="arena"] .ch-chat:hover { background: var(--panel-2); color: var(--text); }
[data-layout="arena"] .ch-chat svg { width: 15px; height: 15px; }
[data-layout="arena"] .ch-chat.novas { color: var(--accent-hi); }
[data-layout="arena"] .ch-chat i { position: absolute; top: -5px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: #141018; font-size: 10px; font-weight: 800; font-style: normal; display: grid; place-items: center; }
.chat-voz-btn { display: none; }
[data-layout="arena"] .chat-voz-btn { display: inline-flex; }
[data-layout="arena"] .chat-voz-btn.on { background: rgba(var(--accent-rgb), .16); border-color: var(--accent); color: var(--accent-hi); }
.sala-vazia-palco .jv-ic { width: 64px; height: 64px; border-radius: 20px; background: var(--panel); display: grid; place-items: center; color: var(--muted); }
.sala-vazia-palco .jv-ic svg { width: 28px; height: 28px; }
.sala-vazia-palco b { font-size: 18px; color: var(--text); }

@media (min-width: 821px) {
  [data-layout="arena"] .conv-row > .conv.conv-voz { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 14px; }
  [data-layout="arena"] .conv-row > .conv.conv-voz > .top { grid-column: 1 / -1; grid-row: 1; border: 1px solid var(--line); border-radius: 22px; }
  [data-layout="arena"] .conv-row > .conv.conv-voz > #stageWrap { order: 0; grid-column: 1; grid-row: 2; margin: 0 !important; min-height: 0; display: flex; }
  [data-layout="arena"] .conv-row > .conv.conv-voz > #stageWrap .stage { flex: 1; max-height: none; height: auto; }
  [data-layout="arena"] .conv-row > .conv.conv-voz > #stageWrap .stage .stage-body { flex: 1; min-height: 0; }
  [data-layout="arena"] .conv-row > .conv.conv-voz > #stageWrap .stage .stage-grid { flex: 1; align-content: center; }
  [data-layout="arena"] .conv-row > .conv.conv-voz > .messages, [data-layout="arena"] .conv-row > .conv.conv-voz > .composer, [data-layout="arena"] .conv-row > .conv.conv-voz > .attach-tray { display: none; }
  [data-layout="arena"] .conv-row > .conv.conv-voz.chat-aberto { grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto minmax(0, 1fr) auto; }
  [data-layout="arena"] .conv-row > .conv.conv-voz.chat-aberto > #stageWrap { grid-row: 2 / 4; }
  [data-layout="arena"] .conv-row > .conv.conv-voz.chat-aberto > .messages { display: block; grid-column: 2; grid-row: 2; border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; }
  [data-layout="arena"] .conv-row > .conv.conv-voz.chat-aberto > .composer { display: block; grid-column: 2; grid-row: 3; padding-bottom: 92px; }
  [data-layout="arena"] .conv-row:has(.conv-voz.chat-aberto) > .members { display: none; }
  [data-layout="arena"] .conv-row > .conv.conv-voz .msg .body { max-width: 86%; }
  /* sem chat embaixo, a sala ocupa tudo: a barra da chamada fica por cima, então deixa um respiro */
  [data-layout="arena"] .app:has(.voice-bar:not(.hidden)) .conv-voz > #stageWrap .stage { padding-bottom: 76px; }
}
@media (min-width: 821px) {
  [data-layout="arena"] .conv-voz #stageWrap .stage.with-video .stage-people .tile { max-height: 190px; }
  [data-layout="arena"] .conv-voz #stageWrap .stage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-auto-rows: minmax(180px, 1fr); gap: 12px; padding: 4px; }
  [data-layout="arena"] .conv-voz #stageWrap .stage-grid .tile { width: auto !important; height: auto !important; }
  [data-layout="arena"] .sala-vazia-palco { display: flex; }
  [data-layout="arena"] .sala-vazia-palco .join-call { flex: 1; align-content: center; }
}

/* telinhas de transmissão com tamanho fixo (dá para puxar o cantinho para mudar) */
[data-layout="arena"] .stage-videos { align-content: flex-start; justify-content: center; }
[data-layout="arena"] .stage-videos > .tile.video { flex: 0 0 auto; width: 480px; height: 270px; min-width: 0; max-width: 100%; }
[data-layout="arena"] .stage-videos > .tile.video.paused, [data-layout="arena"] .stage-videos > .tile.video.mine-off { display: grid; place-items: center; }
@media (max-width: 820px) { [data-layout="arena"] .stage-videos > .tile.video { width: 100%; height: auto; aspect-ratio: 16 / 9; } }
#stageWrap:fullscreen .stage-videos > .tile.video { width: auto; height: auto; }
.pf-presente { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line-2); }
.pf-presente.tem { background: rgba(var(--accent-rgb), .1); border-color: rgba(var(--accent-rgb), .45); }
.pf-presente .pp-ic { font-size: 30px; }
.pf-presente .pp-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pf-presente .pp-txt span { font-size: 13px; color: var(--muted); }
.pres-amigos.grande { max-height: 260px; margin: 0; }
.chip-amigo.sel { border-color: var(--accent); background: rgba(var(--accent-rgb), .16); }
:root[data-cor="roxo"] { --accent: #8b5cf6; --accent-2: #a855f7; --accent-hi: #c4a6ff; --accent-rgb: 139, 92, 246; --accent-glow: rgba(139, 92, 246, .45); --grad: linear-gradient(135deg, #7c3aed 0%, #a855f7 55%, #c026d3 120%); }
.tile .label .lado { pointer-events: auto; cursor: pointer; color: inherit; background: rgba(255, 255, 255, .1); border-radius: 6px; padding: 1px 7px; opacity: 1; }
.tile .label .lado:hover { background: rgba(255, 255, 255, .2); }
.tile .label .lado.fixo { background: rgba(var(--accent-rgb), .3); }
.lado-pop button .chk svg { width: 14px; height: 14px; }

/* ===== Benefícios do app completo ===== */
.selo.apoiador { background: linear-gradient(90deg, rgba(168, 85, 247, .22), rgba(236, 72, 153, .22)); color: #f0abfc; border-color: rgba(236, 72, 153, .4); }
.selo.mini.apoiador { padding: 0 4px; }
.av.mold-apoiador { animation: apoiador 3s ease-in-out infinite; }
@keyframes apoiador { 0%, 100% { box-shadow: 0 0 0 2px #a855f7, 0 0 0 4px #ec4899, 0 0 12px rgba(236, 72, 153, .55); } 50% { box-shadow: 0 0 0 2px #ec4899, 0 0 0 4px #a855f7, 0 0 18px rgba(168, 85, 247, .7); } }
.sb-pop { position: fixed; width: min(380px, calc(100vw - 16px)); padding: 8px; }
.sb-grade { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 4px; }
.popover .sb-bt { flex-direction: column; gap: 4px; padding: 10px 4px; border-radius: 12px; background: var(--panel-2); font-size: 11px; font-weight: 600; text-align: center; justify-content: center; }
.popover .sb-bt:hover { background: rgba(var(--accent-rgb), .2); color: var(--text); }
.sb-bt .sb-ic { font-size: 22px; line-height: 1; }
.toast.toast-som { padding-top: 8px; padding-bottom: 8px; }
.fundo-linha { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.fundo-prev { width: 192px; height: 108px; border-radius: 14px; background: var(--panel-2) center / cover no-repeat; display: grid; place-items: center; border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.fundo-prev::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.fundo-prev.vazio::before { display: none; }
.fundo-prev .av { position: relative; }
.tile.com-fundo { background: var(--fundo) center / cover no-repeat !important; }
.tile.com-fundo::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); border-radius: inherit; pointer-events: none; }
.tile.com-fundo > .av { position: relative; z-index: 1; }
.tile.com-fundo > .label, .tile.com-fundo > .tile-tools { z-index: 1; }
[data-layout="arena"] .voice-bar .voice-status .s1, [data-layout="arena"] .voice-bar .voice-status .s2 { white-space: nowrap; }

/* ---------- Emojis no bate-papo ---------- */
.composer .attach.emoji-btn { margin-left: 0; }
[data-layout="arena"] .composer .emoji-btn { width: 36px; height: 36px; border-radius: 10px; margin: 0 2px; }
.emoji-pop { position: fixed; width: min(360px, calc(100vw - 16px)); padding: 10px; display: flex; flex-direction: column; gap: 8px; max-height: min(440px, 70vh); z-index: 60; }
.emoji-pop input { width: 100%; }
.emoji-pop > input, .emoji-titulo { flex: none; }
.emoji-abas { flex: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.emoji-abas::-webkit-scrollbar { display: none; }
.emoji-pop button.emoji-aba { flex: none; width: 38px; height: 34px; border-radius: 9px; font-size: 19px; line-height: 1; display: grid; place-items: center; background: transparent; opacity: .55; filter: grayscale(.6); }
.emoji-pop button.emoji-aba:hover { opacity: 1; filter: none; background: var(--panel-2); }
.emoji-pop button.emoji-aba.on { opacity: 1; filter: none; background: rgba(var(--accent-rgb), .18); box-shadow: inset 0 -2px 0 var(--accent); }
.emoji-titulo { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 2px 4px 0; }
.emoji-grade { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 2px; overflow-y: auto; min-height: 140px; align-content: start; }
.emoji-pop button.emoji-item { aspect-ratio: 1; min-height: 38px; border-radius: 9px; font-size: 24px; line-height: 1; display: grid; place-items: center; background: transparent; padding: 0; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.emoji-pop button.emoji-item:hover, .emoji-pop button.emoji-item:focus-visible { background: var(--panel-2); transform: scale(1.12); }
@media (max-width: 820px) { .emoji-grade { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
/* GIFs no Painel do CEO */
.gifs-ceo .gifs-passos { margin: 4px 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 13.5px; }
.gifs-ceo .gifs-passos a { color: var(--accent-hi, var(--accent)); }
.gifs-ceo .aviso-linha input { flex: 1; min-width: 200px; }
.msg .text.so-emoji { font-size: 40px; line-height: 1.2; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", inherit; }

/* ---------- Painel do CEO: servidor e contas novas ---------- */
.srv-ceo-corpo { display: flex; flex-direction: column; gap: 10px; }
.srv-ceo-info { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.srv-ceo-info b { color: var(--text); font-size: 16px; }
.srv-ceo-pronta, .srv-ceo-agendado { padding: 9px 12px; border-radius: 10px; font-size: 13.5px; }
.srv-ceo-pronta { background: rgba(var(--accent-rgb), .14); color: var(--text); }
.srv-ceo-agendado { background: rgba(245, 185, 64, .14); color: #f5d38a; }
.srv-ceo-bts { display: flex; flex-wrap: wrap; gap: 8px; }
.novas-lista { display: flex; flex-direction: column; gap: 4px; max-height: 420px; overflow-y: auto; }
button.nova-conta { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 10px; background: transparent; text-align: left; color: var(--text); min-height: 52px; }
button.nova-conta:hover, button.nova-conta:focus-visible { background: var(--panel-2); }
.nova-conta .nc-nome { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-weight: 600; }
.nova-conta .nc-nome small { font-weight: 400; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nova-conta .nc-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nc-tag { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); color: var(--muted); }
.nc-tag.on { background: rgba(61, 220, 132, .14); color: #3ddc84; }
.nc-tag.pago { background: rgba(var(--accent-rgb), .18); color: var(--accent-hi, var(--accent)); }
.nc-tag.ban { background: rgba(239, 68, 68, .16); color: #fca5a5; }
.nova-conta > svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.ceo-charts > .ceo-card:only-child { grid-column: 1 / -1; }

/* ---------- Qualidade antes de transmitir ---------- */
.qual-tela { display: flex; flex-direction: column; gap: 14px; }
.qual-tela label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; color: var(--muted); }
/* ---------- Modo clipe ---------- */
.clipes-sec kbd { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--panel-2); color: var(--text); font: 600 12px/1.6 inherit; text-align: center; }
.clipe-status { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); padding: 4px 0 2px; }
.clipe-status:empty { display: none; }
.clipe-status b { color: var(--text); }
.clipe-rec { width: 10px; height: 10px; border-radius: 50%; background: #e5484d; flex: none; box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); animation: clipe-pulso 1.6s infinite; }
@keyframes clipe-pulso { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); } 70% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
@media (prefers-reduced-motion: reduce) { .clipe-rec { animation: none; } }
.clipe-erro { color: #fca5a5; }
.clipe-opcoes { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.clipe-opcoes > label:not(.toggle-row) { display: flex; flex-direction: column; gap: 6px; }
.clipe-opcoes .row2 { display: flex; gap: 8px; flex-wrap: wrap; }
.versoes-corpo { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Grupos (ligação com 3+ amigos fora dos servidores) ---------- */
.av-grupo { position: relative; width: 32px; height: 32px; flex: none; }
.av-grupo .av { position: absolute; width: 22px !important; height: 22px !important; font-size: 10px; box-shadow: 0 0 0 2px var(--panel); }
.av-grupo .av:first-child { left: 0; top: 0; }
.av-grupo .av:nth-child(2) { right: 0; bottom: 0; }
.av-grupo .av:only-child { width: 32px !important; height: 32px !important; position: static; }
.grupo-item .grupo-nome { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.grupo-item .grupo-nome > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grupo-item .grupo-nome small { font-size: 11.5px; color: var(--muted); font-weight: 400; }
.add-pessoas-lista { display: flex; flex-direction: column; gap: 2px; max-height: 340px; overflow-y: auto; margin: 10px 0; }
label.add-pessoa { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; min-height: 44px; }
label.add-pessoa:hover, label.add-pessoa.on { background: var(--panel-2); }
label.add-pessoa input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.add-pessoa .ap-nome { display: flex; flex-direction: column; min-width: 0; font-weight: 600; }
.add-pessoa .ap-nome small { font-weight: 400; color: var(--muted); font-size: 12px; }
.ctx-rotulo { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 2px; }
.grupo-menu .av { width: 22px; height: 22px; font-size: 10px; flex: none; }

/* ---------- Campanha dentro do app ---------- */
.camp-modal { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.camp-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.camp-item { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.camp-item svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.camp-fundador { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(245, 185, 64, .1); border: 1px solid rgba(245, 185, 64, .3); }
.camp-fundador div { display: flex; flex-direction: column; gap: 3px; }
.camp-fundador small { color: var(--muted); font-size: 12.5px; }
.camp-estrela { width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(245, 185, 64, .18); color: #f5b940; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.camp-num { color: #f5b940; }
.camp-barra { height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.camp-barra i { display: block; height: 100%; background: #f5b940; }
button.camp-link { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--accent-hi, var(--accent)); font-weight: 600; text-decoration: underline; cursor: pointer; }
.camp-preco { display: flex; flex-direction: column; margin-right: auto; }
.camp-preco b { font-size: 22px; }
.camp-preco small { color: var(--muted); font-size: 12px; }
.camp-info { padding: 12px 14px; border-radius: 12px; background: var(--panel-2); color: var(--muted); font-size: 13.5px; }
.camp-faixa { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: rgba(245, 185, 64, .08); border: 1px solid rgba(245, 185, 64, .28); }
.camp-faixa .cf-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.camp-faixa small { color: var(--muted); font-size: 12.5px; }
.camp-faixa.teste { background: rgba(var(--accent-rgb), .1); border-color: rgba(var(--accent-rgb), .35); }
.camp-tag { padding: 3px 9px; border-radius: 999px; background: rgba(245, 185, 64, .18); color: #f5b940; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; flex: none; }
.toast.camp { border-left: 3px solid var(--accent); }
.camp-ceo { display: flex; flex-direction: column; gap: 12px; }
.camp-ceo-tgl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
@media (max-width: 700px) { .camp-lista, .camp-ceo-tgl { grid-template-columns: 1fr; } .camp-faixa { flex-wrap: wrap; } }
.modal-foot:has(.camp-preco) { flex-wrap: nowrap; } .modal-foot:has(.camp-preco) .btn { white-space: nowrap; } .modal-foot .camp-preco b { white-space: nowrap; }

/* ---------- Ligação com amigo/grupo: painel compacto em cima do bate-papo ---------- */
#stageWrap .stage.chamada-compacta { height: auto !important; min-height: 0 !important; max-height: none !important; resize: none; background: #050507; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0 !important; padding: 12px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
[data-layout="arena"] #stageWrap .stage.chamada-compacta { border-radius: 18px 18px 0 0; }
.cc-topo { align-self: stretch; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.cc-status { display: inline-flex; align-items: center; gap: 6px; color: #3ddc84; font-weight: 700; }
.cc-status svg { width: 15px; height: 15px; }
.cc-tempo { font-variant-numeric: tabular-nums; }
.cc-sub { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-topo .btn { margin-left: auto; }
.cc-pessoas { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 22px; max-width: 100%; }
.cc-pessoa { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; }
.cc-pessoa .av { width: 80px !important; height: 80px !important; font-size: 30px; border-radius: 50%; transition: box-shadow .15s; }
.cc-pessoa.speaking .av { box-shadow: 0 0 0 3px #050507, 0 0 0 6px #3ddc84; }
.cc-pessoa.conectando .av { opacity: .55; }
.cc-badge { position: absolute; top: 56px; left: 60px; width: 28px; height: 28px; border-radius: 50%; background: #e5484d; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px #050507; }
.cc-badge svg { width: 15px; height: 15px; }
.cc-nome { font-size: 12.5px; font-weight: 600; max-width: 92px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-vol { position: absolute; top: 84px; left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line-2); z-index: 3; }
.cc-vol svg { width: 14px; height: 14px; color: var(--muted); }
.cc-vol input { width: 100px; }
.cc-pessoa:hover .cc-vol, .cc-pessoa:focus-within .cc-vol { display: flex; }
.cc-chamando .chamando { padding: 4px 0; }
.cc-bts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cc-grupo { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: #17151e; border: 1px solid #2a2634; }
.cc-bt { position: relative; height: 44px; min-width: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.cc-bt.mini { min-width: 26px; padding: 0 4px; }
.cc-bt svg { width: 20px; height: 20px; }
.cc-bt.mini svg { width: 15px; height: 15px; }
.cc-bt:hover { background: #24212d; }
.cc-bt.off { color: #ff6b6f; }
.cc-bt.on { color: #3ddc84; }
.cc-bt.desligar { background: #e5484d; color: #fff; min-width: 64px; height: 52px; border-radius: 14px; }
.cc-bt.desligar:hover { background: #c93a3f; }
.cc-bt .lock-dot { position: absolute; top: 4px; right: 4px; }
/* com o painel compacto, a barra flutuante da chamada some (os controles já estão no painel) */
.app:has(#stageWrap .stage.privada) .voice-bar { display: none !important; }
[data-layout="arena"] .app:has(#stageWrap .stage.privada) .composer { padding-bottom: 12px !important; }
@media (max-width: 820px) { .cc-pessoa { width: 72px; } .cc-pessoa .av { width: 60px !important; height: 60px !important; font-size: 22px; } .cc-badge { top: 40px; left: 44px; width: 24px; height: 24px; } .cc-bt { height: 42px; min-width: 42px; } }
/* celular: painel da chamada enxuto (fotos pequenas numa linha só e controles numa linha só) */
.chamada-compacta .ao-vivo { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(34, 197, 94, .13); color: var(--ok, #3ddc84); font-size: 11.5px; font-weight: 800; }
.chamada-compacta .ao-vivo i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tile.espelho video { transform: scaleX(-1); }
.tile .virar-cam { position: absolute; z-index: 3; right: 10px; bottom: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.tile .virar-cam svg { width: 20px; height: 20px; }
@media (max-width: 820px) {
  #stageWrap .stage.chamada-compacta { padding: 8px 10px 10px; gap: 8px; }
  .cc-topo { font-size: 12px; gap: 8px; }
  .cc-pessoas { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 8px; padding: 2px 4px; scrollbar-width: none; }
  .cc-pessoas::-webkit-scrollbar { display: none; }
  .cc-pessoas > :first-child { margin-left: auto; } .cc-pessoas > :last-child { margin-right: auto; }
  .cc-pessoa { width: 58px; flex: none; gap: 3px; }
  .cc-pessoa .av { width: 46px !important; height: 46px !important; font-size: 17px; }
  .cc-pessoa.speaking .av { box-shadow: 0 0 0 2px #050507, 0 0 0 4px #3ddc84; }
  .cc-badge { top: 28px; left: 34px; width: 20px; height: 20px; box-shadow: 0 0 0 2px #050507; }
  .cc-badge svg { width: 11px; height: 11px; }
  .cc-nome { font-size: 11px; max-width: 58px; }
  .cc-vol { display: none !important; }
  .cc-bts { flex-wrap: nowrap; gap: 6px; }
  .cc-grupo { padding: 2px; border-radius: 12px; gap: 0; }
  .cc-bt { height: 40px; min-width: 40px; padding: 0 6px; }
  .cc-bt.mini { min-width: 22px; padding: 0 2px; }
  .cc-bt svg { width: 19px; height: 19px; }
  .cc-bt.desligar { min-width: 50px; height: 44px; border-radius: 12px; }
  /* barra da chamada (fora da sala): câmera aparece; tela e efeitos ficam no painel */
  [data-layout="arena"] .dock-bts .dk-tela, [data-layout="arena"] .dock-bts .dk-som { display: none; }
  /* menos botões em cima do vídeo no celular (medidor e janelinha são coisa de PC) */
  .tile-tools button[title^="Medidor"], .tile-tools button[title^="Abrir numa janelinha"] { display: none; }
  /* a barrinha flutuante da chamada não cobre as últimas mensagens */
  .app.voz-ligada:not(:has(#stageWrap .stage.privada)) #messages { padding-bottom: 84px; }
}

/* ---------- Responder e reagir ---------- */
.citacao { display: flex; align-items: center; gap: 6px; max-width: 100%; margin: 2px 0 4px; padding: 4px 10px 4px 8px; border: 0; border-left: 3px solid var(--line-3); border-radius: 6px; background: rgba(var(--fg-rgb), .04); color: var(--muted); font: inherit; font-size: 13px; text-align: left; cursor: pointer; overflow: hidden; }
.citacao:hover { background: rgba(var(--fg-rgb), .08); color: var(--text-2); }
.citacao svg { width: 14px; height: 14px; flex: none; }
.citacao b { flex: none; font-weight: 600; }
.citacao span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.citacao.apagada { cursor: default; font-style: italic; }
.msg.destaque { animation: msgDestaque 1.6s ease-out; }
@keyframes msgDestaque { 0%, 30% { background: rgba(var(--accent-rgb), .22); } 100% { background: transparent; } }
.reacoes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.reacoes.vazio { display: none; }
.reacao { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); color: var(--text-2); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s, background .15s; }
.reacao:hover { border-color: var(--line-3); background: var(--panel-2); }
.reacao.minha { border-color: var(--accent); background: rgba(var(--accent-rgb), .18); color: #fff; }
.reacao .r-emo { font-size: 15px; line-height: 1; }
.reacao .r-n { font-weight: 600; font-variant-numeric: tabular-nums; }
.reacao.mais { opacity: 0; padding: 0 7px; color: var(--muted); }
.reacao.mais svg { width: 15px; height: 15px; }
.msg:hover .reacao.mais, .reacao.mais:focus-visible { opacity: 1; }
.reac-pop { position: fixed; z-index: 60; display: flex; gap: 2px; padding: 5px; border-radius: 999px; }
.reac-rapida { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 21px; line-height: 1; cursor: pointer; transition: transform .12s, background .12s; }
.reac-rapida:hover { background: var(--hover); transform: scale(1.15); }
.reac-rapida.outros { color: var(--muted); }
.reac-rapida.outros svg { width: 18px; height: 18px; }
.ctx-menu .ctx-reacoes { display: flex; justify-content: space-between; padding: 2px 2px 6px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.ctx-menu .ctx-reacoes .reac-rapida { width: 32px; height: 32px; padding: 0; font-size: 19px; }
.resposta-bar { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 7px 8px 7px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.resposta-bar.hidden { display: none; }
.resposta-bar > svg { width: 15px; height: 15px; flex: none; color: var(--accent-hi); }
.resposta-bar .rb-txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resposta-bar .rb-prev { color: var(--dim); }
.resposta-bar .icon-btn { width: 26px; height: 26px; flex: none; }

/* ---------- Transmissão estilo Discord (arena) ----------
   tela grande ocupando o palco, faixa com as pessoas embaixo (fotos redondas) e os controles da ligação sempre visíveis */
[data-layout="arena"] .stage.with-video { height: 74vh; min-height: 380px; }
[data-layout="arena"] .stage.with-video .stage-body { display: flex !important; flex-direction: column; gap: 10px; padding: 10px 14px 0; }
[data-layout="arena"] .stage.with-video .stage-videos { flex: 1 1 auto; min-height: 0; display: flex !important; flex-wrap: wrap; gap: 10px; align-content: stretch; justify-content: center; overflow: hidden; }
[data-layout="arena"] .stage.with-video .stage-videos > .tile.video { flex: 1 1 calc(50% - 10px); width: auto !important; height: auto !important; max-width: none; min-height: 0; aspect-ratio: auto; resize: none; border-radius: 12px; background: #000; }
[data-layout="arena"] .stage.with-video .stage-videos > .tile.video:only-child { flex-basis: 100%; }
[data-layout="arena"] .stage.with-video .stage-videos > .tile.video video { width: 100%; height: 100%; object-fit: contain; }
[data-layout="arena"] .stage.with-video .stage-videos > .tile .grip { display: none; }
[data-layout="arena"] .stage.with-video .stage-people { flex: none; flex-direction: row !important; justify-content: center; gap: 10px; overflow-x: auto; overflow-y: hidden; padding-bottom: 2px; }
[data-layout="arena"] .stage.with-video .stage-people .tile { flex: none !important; width: 168px !important; height: 96px !important; min-height: 0 !important; max-height: none !important; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; border-radius: 12px; }
[data-layout="arena"] .stage.with-video .stage-people .tile .av.xl { width: 46px; height: 46px; border-radius: 50%; font-size: 18px; }
[data-layout="arena"] .stage.with-video .stage-people .tile .av.xl img { border-radius: 50%; }
[data-layout="arena"] .stage.with-video .stage-people .tile .label { position: static; transform: none; max-width: 150px; font-size: 12px; }
[data-layout="arena"] .stage.with-video .stage-people .tile .tile-jogo { display: none; }
/* ligação com amigo/grupo transmitindo: a barra de baixo some, então os controles ficam no palco */
[data-layout="arena"] .stage.privada .stage-bar { display: flex; padding: 10px 10px 12px; }
@media (max-width: 820px) {
  [data-layout="arena"] .stage.with-video { height: auto; min-height: 0; }
  [data-layout="arena"] .stage.with-video .stage-videos > .tile.video { flex-basis: 100%; aspect-ratio: 16 / 9; }
  [data-layout="arena"] .stage.with-video .stage-people .tile { width: 120px !important; height: 80px !important; }
}

/* botão "Baixar app" no topo (navegador no Windows) */
.rail-baixar { display: grid; place-items: center; width: 48px; height: 48px; margin: 4px auto; border-radius: 16px; background: var(--grad); color: #fff; }
.rail-baixar svg { width: 20px; height: 20px; }
.rail-baixar span { display: none; }
@media (max-width: 820px) { .rail-baixar { display: none !important; } }
@media (min-width: 821px) {
  [data-layout="arena"] .rail-baixar { display: flex; align-items: center; gap: 8px; flex: none; width: auto; margin: 0; height: 46px; padding: 0 14px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; box-shadow: 0 6px 22px -8px var(--accent-glow); }
  [data-layout="arena"] .rail-baixar:hover { filter: brightness(1.1); }
  [data-layout="arena"] .rail-baixar svg { width: 18px; height: 18px; }
  [data-layout="arena"] .rail-baixar span { display: inline; }
}
@media (min-width: 821px) and (max-width: 1180px) { [data-layout="arena"] .rail-baixar span { display: none; } [data-layout="arena"] .rail-baixar { padding: 0; width: 46px; justify-content: center; } }
.vu-aovivo { flex: none; margin-left: auto; padding: 1px 6px; border-radius: 4px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .03em; line-height: 16px; }
.aovivo-aviso { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--text-2); font-size: 13px; }

/* ---------- Palco com transmissão: tamanho fixo (não cobre o bate-papo), sem arrastar, janelas iguais ---------- */
.stage, .stage.with-video, [data-layout="arena"] .stage.with-video { resize: none !important; }
[data-layout="arena"] .stage.with-video { height: min(56vh, 620px); min-height: 320px; }
.stage-videos > .tile.resizable, .stage-videos > .tile { resize: none !important; }
.stage-videos > .tile .grip { display: none !important; }
[data-layout="arena"] .stage.with-video .stage-videos { display: grid !important; gap: 10px; grid-template-columns: 1fr; grid-auto-rows: minmax(0, 1fr); align-content: stretch; justify-content: stretch; }
[data-layout="arena"] .stage.with-video .stage-videos[data-n="2"] { grid-template-columns: 1fr 1fr; }
[data-layout="arena"] .stage.with-video .stage-videos[data-n="3"], [data-layout="arena"] .stage.with-video .stage-videos[data-n="4"] { grid-template-columns: 1fr 1fr; }
[data-layout="arena"] .stage.with-video .stage-videos[data-n="5"], [data-layout="arena"] .stage.with-video .stage-videos[data-n="6"] { grid-template-columns: 1fr 1fr 1fr; }
[data-layout="arena"] .stage.with-video .stage-videos > .tile.video { width: auto !important; height: auto !important; min-height: 0; flex: none; }
/* participantes: faixa menor embaixo, com botão para esconder */
[data-layout="arena"] .stage.with-video .stage-people .tile { width: 132px !important; height: 74px !important; gap: 4px; }
[data-layout="arena"] .stage.with-video .stage-people .tile .av.xl { width: 36px; height: 36px; font-size: 14px; }
[data-layout="arena"] .stage.with-video .stage-people .tile .label { font-size: 11px; max-width: 120px; }
[data-layout="arena"] .stage.with-video .stage-people.oculta { display: none !important; }
.stage-cab .cab-gente + .cab-fs { margin-left: 0; }
.stage-cab .cab-gente.on { color: var(--accent-hi); }
@media (max-width: 820px) {
  [data-layout="arena"] .stage.with-video { height: auto; }
  [data-layout="arena"] .stage.with-video .stage-videos { grid-auto-rows: auto; }
  [data-layout="arena"] .stage.with-video .stage-videos > .tile.video { aspect-ratio: 16 / 9; }
  [data-layout="arena"] .stage.with-video .stage-videos[data-n] { grid-template-columns: 1fr; }
}

/* ---------- Temas coloridos (degradê no fundo do app) ---------- */
:root[data-gradiente] body, :root[data-gradiente][data-layout="arena"] body { background: var(--tg) fixed; background-color: #000; }
:root[data-gradiente] .app { background: transparent; }
:root[data-gradiente="claro"] body { background-color: #fff; }
.temas-cor { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 10px; }
.tema-cor { position: relative; aspect-ratio: 1; border-radius: 12px; border: 2px solid transparent; display: grid; place-items: center; color: #fff; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .12s; }
.tema-cor:hover { transform: translateY(-2px); }
.tema-cor.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); }
.tema-cor.sel::after { content: '✓'; position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.tema-cor svg { width: 20px; height: 20px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.tema-cor.travada svg { width: 14px; height: 14px; opacity: .85; }
.tema-cor.tc-nenhum { background: var(--panel-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.tema-cor .tc-novo { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); padding: 0 6px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; line-height: 16px; }
.tema-custom { display: grid; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--panel-2); }
.tema-custom.hidden { display: none; }
.tema-custom .tc-pickers { display: flex; gap: 12px; flex-wrap: wrap; }
.tema-custom input[type="color"], .pf2-pickers input[type="color"] { width: 64px; height: 36px; padding: 2px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--input); cursor: pointer; }

/* ---------- Perfil novo (cartão com cores, insígnias, em comum, na call) ---------- */
.perfil.pf2 { gap: 12px; padding-bottom: 6px; }
.modal.modal-perfil.pf-cores { background: linear-gradient(170deg, var(--pf1), var(--pf2)) !important; border-color: color-mix(in srgb, var(--pf2) 70%, #fff 30%) !important; box-shadow: 0 20px 70px color-mix(in srgb, var(--pf2) 35%, transparent); }
.modal.modal-perfil.pf-cores .modal-foot { background: transparent; border-color: rgba(255, 255, 255, .12); }
.pf2 .pf-capa { height: 140px; border-radius: 0; }
.pf2.com-cores .pf-capa.capa-padrao { background: linear-gradient(135deg, color-mix(in srgb, var(--pf1) 80%, #fff 10%), var(--pf1)); }
.pf2-topo { display: flex; align-items: flex-end; justify-content: space-between; margin-top: -64px !important; position: relative; }
.pf2-av .av.xxl { width: 112px; height: 112px; font-size: 40px; border: 6px solid var(--panel); }
.pf2.com-cores .pf2-av .av.xxl { border-color: color-mix(in srgb, var(--pf1) 70%, #000 30%); }
.pf2-av .av .dot { width: 26px; height: 26px; right: 2px; bottom: 2px; border-width: 5px; border-color: var(--panel); }
.pf2.com-cores .pf2-av .av .dot { border-color: color-mix(in srgb, var(--pf1) 70%, #000 30%); }
.pf2-nivel { display: grid; place-items: center; min-width: 58px; padding: 6px 10px; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .14); color: #fff; margin-bottom: 4px; backdrop-filter: blur(6px); }
.pf2-nivel small { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.pf2-nivel b { font-size: 20px; line-height: 1.1; }
.pf2-cartao { display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line); }
.pf2.com-cores .pf2-cartao, .pf2.com-cores .pf-stats > div, .pf2.com-cores .pf-sec { background: rgba(0, 0, 0, .38); border-color: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(8px); }
.pf2.com-cores .hint, .pf2.com-cores .pf2-sub, .pf2.com-cores .pf2-sec h4, .pf2.com-cores small { color: rgba(255, 255, 255, .72); }
.pf2-nome { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pf2-nome b { font-size: 24px; font-weight: 800; line-height: 1.15; }
.pf2-sub { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-top: -8px; }
.pf2-badges { display: inline-flex; flex-wrap: wrap; gap: 4px; align-self: start; padding: 4px 6px; border-radius: 10px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.pf2-badge { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 3px; border-radius: 7px; font-size: 16px; cursor: default; }
.pf2-badge:hover { background: var(--hover); }
.pf2-badge.mais { font-size: 12px; font-weight: 700; color: var(--muted); }
.pf2-comum { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.pf2-pilha { display: inline-flex; }
.pf2-pilha .av, [data-layout] .conv-row > .perfil-lateral .pf2-pilha .av { width: 22px; height: 22px; font-size: 10px; border: 2px solid var(--panel-2); margin-left: -6px; }
.pf2-pilha .av:first-child { margin-left: 0; }
.pf2-sec { display: grid; gap: 6px; }
.pf2-sec h4 { margin: 0; font-size: 12px; font-weight: 700; color: var(--muted); }
.pf2-sec .pf-bio { margin: 0; white-space: pre-wrap; }
.pf2-desde { margin: 0; font-size: 14px; }
.pf2-call { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); }
.pf2-call-avs { display: grid; grid-template-columns: repeat(2, 24px); grid-auto-rows: 24px; gap: 3px; padding: 4px; border-radius: 10px; background: rgba(0, 0, 0, .3); flex: none; }
.pf2-call-avs.n1 { grid-template-columns: 50px; grid-auto-rows: 50px; }
.pf2-call-avs.n1 .av { width: 50px; height: 50px; }
.pf2-call-avs .av, [data-layout] .conv-row > .perfil-lateral .pf2-call-avs .av { width: 24px; height: 24px; font-size: 10px; }
.pf2-call-info { display: flex; flex-direction: column; min-width: 0; }
.pf2-call-info b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.pf2-call-info b svg { width: 16px; height: 16px; flex: none; }
.pf2-call-info b span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf2-call-bt { width: 100%; justify-content: center; }
.pf2-call-voce { text-align: center; font-size: 13px; color: var(--ok); font-weight: 600; }
/* editar: cores do perfil */
.pf2-cores-linha { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.pf2-prev-cores { width: 180px; height: 150px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; border: 1px solid var(--line-2); flex: none; text-align: center; padding: 8px; }
.pf2-prev-cores small { opacity: .8; font-size: 12px; }
.pf2-cores-ctl { flex: 1; min-width: 220px; display: grid; gap: 10px; align-content: start; }
.pf2-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 8px; }
.pf2-preset { aspect-ratio: 1; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .15); cursor: pointer; }
.pf2-preset:hover { transform: scale(1.08); }
.pf2-pickers { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .pf2-av .av.xxl { width: 92px; height: 92px; } .pf2-prev-cores { width: 100%; } }

/* ---------- Perfil ao lado da conversa com amigo (some quando a janela fica estreita) ---------- */
.main { container-type: inline-size; container-name: principal; }
.conv-row-dm { display: flex; min-height: 0; flex: 1; }
.conv-row-dm > .conv { flex: 1; min-width: 0; }
.perfil-lateral { width: 300px; flex: none; padding: 0 !important; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; position: relative; }
.perfil-lateral.pl-cores { background: linear-gradient(170deg, var(--pf1), var(--pf2)) !important; color: #fff; border-color: color-mix(in srgb, var(--pf2) 60%, #fff 25%) !important; }
.perfil-lateral.pl-cores .hint, .perfil-lateral.pl-cores .pf2-sec h4, .perfil-lateral.pl-cores .pl-sub, .perfil-lateral.pl-cores small { color: rgba(255, 255, 255, .75); }
.perfil-lateral.pl-cores .pf2-call { background: rgba(0, 0, 0, .3); border-color: rgba(255, 255, 255, .12); }
.pl-carregando { display: grid; place-items: center; height: 200px; }
.pl-capa { height: 110px; flex: none; border-radius: 0; }
.pl-capa img { width: 100%; height: 100%; object-fit: cover; }
.pl-av { margin: -44px 0 0 16px; position: relative; z-index: 1; }
[data-layout] .conv-row > .perfil-lateral .pl-av .av.xl, .perfil-lateral .pl-av .av.xl { width: 84px; height: 84px; font-size: 30px; border: 6px solid var(--side); box-sizing: content-box; }
.pl-cores .pl-av .av.xl, .pl-cores .pl-av .av .dot { border-color: color-mix(in srgb, var(--pf1) 75%, #000 25%); }
.perfil-lateral .pl-av .av .dot { width: 20px; height: 20px; border: 4px solid var(--side); right: 0; bottom: 0; }
.pl-corpo { display: grid; gap: 14px; padding: 10px 16px 16px; }
.pl-nome { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pl-nome b { font-size: 20px; font-weight: 800; }
.pl-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: -10px; }
.pl-ins { display: inline-flex; align-items: center; gap: 2px; padding: 1px 4px; border-radius: 6px; background: rgba(0, 0, 0, .25); }
.pl-ins span { font-size: 14px; }
.pl-pe { margin-top: auto; padding: 0 16px 16px; }
.pl-ver { width: 100%; justify-content: center; }
.icon-btn.bt-perfil-lateral.on { color: var(--accent-hi); }
@container principal (max-width: 980px) { .perfil-lateral { display: none !important; } .bt-perfil-lateral { display: none; } }
@media (max-width: 820px) { .perfil-lateral, .bt-perfil-lateral { display: none !important; } }

/* ---------- Modo streamer: nomes dos amigos e dados pessoais embaçados ---------- */
.barra-streamer { position: fixed; z-index: 90; bottom: 16px; left: 16px; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 24px); padding: 8px 8px 8px 14px; border-radius: 14px; background: linear-gradient(135deg, #6d28d9, #9333ea); color: #fff; font-size: 13px; box-shadow: 0 12px 40px rgba(109, 40, 217, .45); }
.barra-streamer .bs-ic { font-size: 18px; }
.barra-streamer .bs-txt { min-width: 0; }
.barra-streamer .btn { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .25); color: #fff; flex: none; }
.barra-streamer .btn:hover { background: rgba(255, 255, 255, .3); }
@media (max-width: 820px) { .barra-streamer { bottom: 84px; left: 8px; right: 8px; font-size: 12px; } }
.barra-streamer { max-width: min(300px, calc(100vw - 32px)); align-items: flex-start; }
.barra-streamer .btn { align-self: center; }
:root[data-streamer] :is(
  .nick-fx, .autor, .vu-nome, .link-nome, .sala-gente .nomes, .dm-item .name, .member .name, .nav-item.member .name,
  .row-item .info b, .tile .label > span, .stage-people .label, .pf2-nome b, .pf2-sub, .pl-nome b, .pl-sub, .pf-amigo span,
  .pf-nome b, .cel-item b, .cel-l1, .cel-story span, .sino-item b, .citacao b, .rb-txt b, .ap-nome, .nc-nome, .ct-m, .pop-user b,
  .busca-res span, .conv-intro h2, .conv-intro p, .top .title > span:not(.sub), .reacao[title], .voice-status small, .chamando-nome, .cartao-chamando b,
  .invite-box, .invite-code, .settings-sec input[type="email"], .email-txt
) { filter: blur(6px); user-select: none; }
:root[data-streamer] .me-bar .nick-fx, :root[data-streamer] .msg.eu .autor { filter: none; } /* o próprio nome continua aparecendo */

.barra-streamer { align-items: center !important; padding: 8px 8px 8px 12px; }
.barra-streamer .bs-txt { display: flex; flex-direction: column; line-height: 1.25; }
.barra-streamer .bs-txt small { opacity: .85; font-size: 12px; }
.sb-item { position: relative; display: flex; }
.sb-item > .sb-bt { flex: 1; min-width: 0; }
.sb-x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; display: none; place-items: center; background: var(--danger); color: #fff; border: 2px solid var(--panel); padding: 0; cursor: pointer; }
.sb-x svg { width: 11px; height: 11px; }
.sb-item:hover .sb-x { display: grid; }
/* o X de apagar fica pequeno no cantinho (as regras gerais de botão do popover deixavam ele largo e sempre visível) */
.popover .sb-x { width: 20px; height: 20px; padding: 0; gap: 0; border-radius: 50%; display: none; place-items: center; justify-content: center; }
.popover .sb-item:hover .sb-x, .popover .sb-item:focus-within .sb-x { display: grid; }
.popover .sb-x:hover { background: var(--danger); filter: brightness(1.15); }
@media (hover: none) { .popover .sb-x { display: grid; } }
.sb-pop { max-height: min(560px, calc(100vh - 100px)); overflow-y: auto; }

/* ---------- Promoção (preço riscado) ---------- */
.preco-promo { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.preco-promo s { opacity: .6; font-weight: 500; font-size: .7em; }
.preco-promo b { color: #22c55e; }
.preco-promo em { font-style: normal; font-size: .5em; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #ef4444; color: #fff; text-transform: uppercase; letter-spacing: .04em; align-self: center; }
.camp-faixa.promo { background: linear-gradient(135deg, rgba(239, 68, 68, .22), rgba(249, 115, 22, .18)); border-color: rgba(249, 115, 22, .45); }
.camp-faixa.promo s { opacity: .65; }
.camp-tag.promo { font-size: 18px; background: none; }

/* cadastro: campo escondido que só robô preenche */
.campo-robo { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#turnstileBox:empty { display: none; }
#turnstileBox { display: flex; justify-content: center; margin: 4px 0; }
.codigo-cadastro { font-size: 28px !important; letter-spacing: 10px; text-align: center; font-weight: 800; }

/* ---------- Coleção de novembro/2026 ---------- */
.av.mold-brasil { box-shadow: 0 0 0 2px #fde047, 0 0 0 4px #16a34a, 0 0 0 6px #1d4ed8, 0 0 12px rgba(22, 163, 74, .5); }
.av.mold-galaxia { animation: moldGalaxia 4s linear infinite; }
@keyframes moldGalaxia { 0%, 100% { box-shadow: 0 0 0 2px #0b0520, 0 0 0 4px #7c3aed, 0 0 14px #db2777; } 33% { box-shadow: 0 0 0 2px #0b0520, 0 0 0 4px #db2777, 0 0 16px #3b82f6; } 66% { box-shadow: 0 0 0 2px #0b0520, 0 0 0 4px #3b82f6, 0 0 14px #7c3aed; } }
.av.mold-coracao { animation: moldCoracao 1.1s ease-in-out infinite; }
@keyframes moldCoracao { 0%, 100% { box-shadow: 0 0 0 2px #fff1f2, 0 0 0 4px #e11d48, 0 0 8px #e11d48; } 15% { box-shadow: 0 0 0 2px #fff1f2, 0 0 0 5px #f43f5e, 0 0 20px #fb7185; } 30% { box-shadow: 0 0 0 2px #fff1f2, 0 0 0 4px #e11d48, 0 0 10px #e11d48; } 45% { box-shadow: 0 0 0 2px #fff1f2, 0 0 0 5px #f43f5e, 0 0 18px #fb7185; } }
.av.mold-mira { box-shadow: 0 0 0 2px #0a0a0a, 0 0 0 3px #ef4444; }
.av.mold-mira::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none; z-index: 1; background: linear-gradient(#ef4444, #ef4444) 50% 0 / 2px 9px no-repeat, linear-gradient(#ef4444, #ef4444) 50% 100% / 2px 9px no-repeat, linear-gradient(#ef4444, #ef4444) 0 50% / 9px 2px no-repeat, linear-gradient(#ef4444, #ef4444) 100% 50% / 9px 2px no-repeat; }
.av.mold-camuflado { box-shadow: 0 0 0 2px #1a2e05, 0 0 0 4px #4d7c0f, 0 0 0 6px #713f12, 0 0 0 7px #1a2e05; }
.av.mold-radar { animation: moldRadar 2s ease-out infinite; }
@keyframes moldRadar { 0% { box-shadow: 0 0 0 2px #052e16, 0 0 0 3px #22c55e, 0 0 0 3px rgba(34, 197, 94, .7); } 100% { box-shadow: 0 0 0 2px #052e16, 0 0 0 3px #22c55e, 0 0 0 14px rgba(34, 197, 94, 0); } }
.av.mold-holograma { animation: moldHolo 3s linear infinite; }
@keyframes moldHolo { 0%, 100% { box-shadow: 0 0 0 2px #e0f2fe, 0 0 0 4px #22d3ee, 0 0 12px #a78bfa; } 25% { box-shadow: 0 0 0 2px #fdf4ff, 0 0 0 4px #e879f9, 0 0 12px #22d3ee; } 50% { box-shadow: 0 0 0 2px #ecfccb, 0 0 0 4px #a3e635, 0 0 12px #f0abfc; } 75% { box-shadow: 0 0 0 2px #fef9c3, 0 0 0 4px #facc15, 0 0 12px #67e8f9; } }
.av.mold-rei { box-shadow: 0 0 0 2px #fde047, 0 0 0 4px #a16207, 0 0 14px rgba(234, 179, 8, .7); }
.av.mold-rei::after { content: '👑'; position: absolute; left: 50%; top: -0.62em; transform: translateX(-50%) rotate(-12deg); font-size: 1.05em; line-height: 1; pointer-events: none; z-index: 2; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }

.capa-brasil { background: radial-gradient(circle, #1d4ed8 0 13%, transparent 13.5%) center / 100% 100% no-repeat, linear-gradient(to bottom right, transparent 50%, #fde047 50%) 16.667% 16.667% / 40% 40% no-repeat, linear-gradient(to bottom left, transparent 50%, #fde047 50%) 83.333% 16.667% / 40% 40% no-repeat, linear-gradient(to top right, transparent 50%, #fde047 50%) 16.667% 83.333% / 40% 40% no-repeat, linear-gradient(to top left, transparent 50%, #fde047 50%) 83.333% 83.333% / 40% 40% no-repeat, #16a34a; }
.capa-vaporwave { background: linear-gradient(transparent 0 calc(100% - 1px), rgba(244, 114, 182, .6) 0) 0 0 / 100% 18px, linear-gradient(180deg, #2e1065 0%, #be185d 55%, #f97316 56%, #1e1b4b 57%, #1e1b4b 100%); animation: vapor 3s linear infinite; }
@keyframes vapor { to { background-position: 0 18px, 0 0; } }
.capa-chuva { background: repeating-linear-gradient(100deg, transparent 0 18px, rgba(186, 230, 253, .25) 18px 19px), linear-gradient(180deg, #0f172a, #1e3a5f); background-size: 60px 120px, 100% 100%; animation: chuva .7s linear infinite; }
@keyframes chuva { to { background-position: -20px 120px, 0 0; } }
.capa-favela { background: radial-gradient(2px 2px at 12% 72%, #fde68a, transparent), radial-gradient(2px 2px at 22% 64%, #fde68a, transparent), radial-gradient(2px 2px at 35% 70%, #fdba74, transparent), radial-gradient(2px 2px at 48% 58%, #fde68a, transparent), radial-gradient(2px 2px at 61% 66%, #fde68a, transparent), radial-gradient(2px 2px at 74% 55%, #fdba74, transparent), radial-gradient(2px 2px at 86% 63%, #fde68a, transparent), radial-gradient(ellipse 70% 60% at 50% 100%, #1c1917 0 60%, transparent 61%), linear-gradient(180deg, #0c0a2a, #3b0764 70%, #7c2d12); }
.capa-camuflado { background: radial-gradient(ellipse 30% 22% at 20% 30%, #3f6212 0 98%, transparent), radial-gradient(ellipse 26% 20% at 70% 25%, #713f12 0 98%, transparent), radial-gradient(ellipse 34% 24% at 45% 75%, #1a2e05 0 98%, transparent), radial-gradient(ellipse 22% 18% at 88% 72%, #3f6212 0 98%, transparent), radial-gradient(ellipse 20% 16% at 8% 85%, #713f12 0 98%, transparent), #4d7c0f; }
.capa-arena { background: radial-gradient(ellipse at 50% 120%, rgba(239, 68, 68, .55), transparent 55%), conic-gradient(from 180deg at 50% 110%, transparent 0 40%, rgba(56, 189, 248, .35) 45%, transparent 50%, transparent 0), linear-gradient(180deg, #020617, #111827); animation: arena 3.5s ease-in-out infinite alternate; }
@keyframes arena { to { filter: hue-rotate(60deg) brightness(1.15); } }
.capa-praia { background: radial-gradient(circle at 80% 30%, #fde68a 0 9%, transparent 9.5%), linear-gradient(180deg, #38bdf8 0 50%, #0ea5e9 50% 65%, #fcd34d 65% 100%); }
.capa-carbono { background: linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px, linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0, linear-gradient(27deg, #222 5px, transparent 5px) 0 10px, linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px, linear-gradient(90deg, #1b1b1b 10px, transparent 10px), linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424); background-color: #131313; background-size: 20px 20px; }

.nick-brasil, .nick-galaxia, .nick-holograma, .nick-prata, .nick-toxico, .nick-entardecer, .nick-pulsante, .nick-rgb { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important; }
.nick-brasil { background-image: linear-gradient(90deg, #22c55e, #fde047, #22c55e); }
.nick-galaxia { background-image: linear-gradient(90deg, #a78bfa, #f472b6, #60a5fa, #a78bfa); background-size: 300% 100%; animation: brilho 5s linear infinite; }
.nick-holograma { background-image: linear-gradient(90deg, #67e8f9, #f0abfc, #bef264, #fde68a, #67e8f9); background-size: 300% 100%; animation: brilho 3s linear infinite; filter: drop-shadow(0 0 3px rgba(240, 171, 252, .45)); }
.nick-prata { background-image: linear-gradient(180deg, #f8fafc 0%, #94a3b8 48%, #e2e8f0 52%, #64748b 100%); }
.nick-toxico { background-image: linear-gradient(90deg, #84cc16, #bef264, #84cc16); background-size: 200% 100%; animation: brilho 2s linear infinite; filter: drop-shadow(0 0 4px rgba(163, 230, 53, .55)); }
.nick-entardecer { background-image: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6); }
.nick-pulsante { background-image: linear-gradient(90deg, #22d3ee, #38bdf8); animation: pulsaNick 1.6s ease-in-out infinite; }
@keyframes pulsaNick { 50% { filter: drop-shadow(0 0 7px rgba(34, 211, 238, .9)); } }
.nick-rgb { background-image: linear-gradient(90deg, #ff0040, #ff8000, #ffee00, #00ff6a, #00c8ff, #8000ff, #ff0040); background-size: 400% 100%; animation: brilho 2.5s linear infinite; }

/* menu de quem está na call (lista da esquerda do servidor) */
.voice-user { cursor: pointer; border-radius: 8px; }
.voice-user:hover { background: rgba(255, 255, 255, .05); }
.vu-mod { display: inline-flex; gap: 3px; margin-left: auto; }
.vu-ic { display: inline-grid; place-items: center; color: var(--muted); }
.vu-ic svg { width: 14px; height: 14px; }
.vu-ic.serv { color: var(--danger, #ef4444); }
.voz-menu { min-width: 250px; }
.voz-menu .pop-user small { display: block; font-size: 12px; margin-top: 2px; }
.ctx-vol { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; padding: 8px 12px; font-size: 13px; }
.ctx-vol b { font-size: 12px; color: var(--muted); }
.ctx-vol input { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }

/* call: pessoa que você bloqueou (por isso não ouve) */
.tile .conn.bloq { border: 0; cursor: pointer; background: rgba(239, 68, 68, .85); color: #fff; font: inherit; font-size: 12px; font-weight: 700; }
.tile .conn.bloq:hover { background: #ef4444; }

/* ---------- Leveza: itens animados da lojinha (molduras, nicks, capas) ----------
   Nas listas (mensagens, membros, conversas, lista de amigos) ficam parados e animam ao passar o mouse.
   No perfil, na lojinha e nos menus animam normalmente; na call, anima quem está falando. Com o Gchats atrás de outra janela, tudo para. */
:is(.av[class^="mold-"], .av[class*=" mold-"], [class^="nick-"], [class*=" nick-"], [class^="capa-"], [class*=" capa-"]) { animation-play-state: paused; }
:is(.msg:hover, .nav-item:hover, .voice-user:hover, .row-item:hover, .modal, .popover, .loja-grid, .perfil-lateral, .tile.speaking, .tile:hover, .cc-pessoa.speaking, .cc-pessoa:hover, .pf2) :is(.av[class^="mold-"], .av[class*=" mold-"], [class^="nick-"], [class*=" nick-"], [class^="capa-"], [class*=" capa-"]),
:is(.modal, .popover, .loja-grid, .perfil-lateral, .pf2):is([class^="capa-"], [class*=" capa-"]) { animation-play-state: running; }
html.fora :is(.av[class^="mold-"], .av[class*=" mold-"], [class^="nick-"], [class*=" nick-"], [class^="capa-"], [class*=" capa-"]) { animation-play-state: paused !important; }
/* Modo leve: nada de animação enfeite nem desfoque */
html.economia :is(.av[class^="mold-"], .av[class*=" mold-"], [class^="nick-"], [class*=" nick-"], [class^="capa-"], [class*=" capa-"]) { animation-play-state: paused !important; }
html.economia * { backdrop-filter: none !important; }
html.economia :is(.chamando-av .onda, .thanks-heart, .presente-box .pres-ic, .nov-selo, .ld-fig, .lc-av, .lj-jogo .carro) { animation: none !important; }

/* ---------- Transmissão sempre em 16:9, sem cortar ----------
   A área do palco mede quanto espaço tem e cada tela fica no maior 16:9 que cabe nela (centralizada).
   O vídeo ocupa o quadro inteiro e aparece completo (se a tela de alguém não for 16:9, sobra faixa preta, mas nada é cortado). */
@media (min-width: 821px) {
  [data-layout="arena"] .stage.with-video .stage-videos { container-type: size; --c: 1; --r: 1; --gap: 10px;
    grid-template-columns: repeat(var(--c), max-content) !important; grid-auto-rows: max-content !important;
    place-content: center !important; place-items: center; overflow: hidden; }
  [data-layout="arena"] .stage.with-video .stage-videos[data-n="2"] { --c: 2; --r: 1; }
  [data-layout="arena"] .stage.with-video .stage-videos[data-n="3"], [data-layout="arena"] .stage.with-video .stage-videos[data-n="4"] { --c: 2; --r: 2; }
  [data-layout="arena"] .stage.with-video .stage-videos[data-n="5"], [data-layout="arena"] .stage.with-video .stage-videos[data-n="6"] { --c: 3; --r: 2; }
  [data-layout="arena"] .stage.with-video .stage-videos[data-n="7"], [data-layout="arena"] .stage.with-video .stage-videos[data-n="8"], [data-layout="arena"] .stage.with-video .stage-videos[data-n="9"] { --c: 3; --r: 3; }
  [data-layout="arena"] .stage.with-video .stage-videos > .tile.video {
    width: min((100cqw - (var(--c) - 1) * var(--gap)) / var(--c), (100cqh - (var(--r) - 1) * var(--gap)) / var(--r) * 16 / 9) !important;
    height: auto !important; aspect-ratio: 16 / 9; max-width: none; min-height: 0; }
}
/* o vídeo preenche o quadro exatamente (antes ele ficava mais alto que o quadro e a parte de baixo sumia) */
.stage-videos > .tile.video > video { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: contain; }
/* o mesmo 16:9 sem cortar também na "Tela cheia da sala" (antes a tela cheia esticava o quadro e cortava) */
#stageWrap:fullscreen .stage.with-video .stage-videos { container-type: size; --c: 1; --r: 1; --gap: 10px; display: grid !important;
  grid-template-columns: repeat(var(--c), max-content) !important; grid-auto-rows: max-content !important; place-content: center !important; place-items: center; overflow: hidden; height: auto; flex: 1 1 auto; min-height: 0; }
#stageWrap:fullscreen .stage.with-video .stage-videos[data-n="2"] { --c: 2; --r: 1; }
#stageWrap:fullscreen .stage.with-video .stage-videos[data-n="3"], #stageWrap:fullscreen .stage.with-video .stage-videos[data-n="4"] { --c: 2; --r: 2; }
#stageWrap:fullscreen .stage.with-video .stage-videos[data-n="5"], #stageWrap:fullscreen .stage.with-video .stage-videos[data-n="6"] { --c: 3; --r: 2; }
#stageWrap:fullscreen .stage.with-video .stage-videos[data-n="7"], #stageWrap:fullscreen .stage.with-video .stage-videos[data-n="8"], #stageWrap:fullscreen .stage.with-video .stage-videos[data-n="9"] { --c: 3; --r: 3; }
#stageWrap:fullscreen .stage.with-video .stage-videos > .tile.video, #stageWrap:fullscreen .stage.with-video .stage-videos > .tile.video:only-child {
  width: min((100cqw - (var(--c) - 1) * var(--gap)) / var(--c), (100cqh - (var(--r) - 1) * var(--gap)) / var(--r) * 16 / 9) !important;
  height: auto !important; min-height: 0 !important; aspect-ratio: 16 / 9; flex: none !important; max-width: none; }
