:root {
  --ink: #0e0e11;
  --chrome: #16161b;
  --chrome-2: #202027;
  --chrome-3: #2b2b34;
  --line: #33333d;
  --text: #f4f2ea;
  --muted: #9b99a6;
  --acc: #ffd60a;
  --acc-ink: #121212;
  --danger: #ff5a45;
  --ok: #3ddc84;
  --paper: #f3f0e7;
  --paper-dot: #d6d1c3;
  --radius: 14px;
  --font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--ink); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }

/* ---------- marca */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand b { color: var(--acc); font-weight: 800; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; font-weight: 800; font-size: 20px; transform: rotate(-8deg); }

/* ---------- botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--chrome-2); padding: 10px 16px; border-radius: 10px; cursor: pointer; font-weight: 600; text-decoration: none; transition: transform .08s, background .15s; }
.btn:hover { background: var(--chrome-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: wait; }
.btn-primary { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.btn-primary:hover { background: #ffe14d; }
.btn-danger { background: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 50%, transparent); }
.btn-danger:hover { background: color-mix(in srgb, var(--danger) 15%, transparent); }
.btn-lg { padding: 14px 20px; font-size: 17px; width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 14px; border-radius: 8px; }

/* ---------- home */
.topbar { padding: 18px 28px; }
.home-wrap { max-width: 1180px; margin: 0 auto; padding: 24px 28px 40px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); line-height: .95; letter-spacing: -.035em; margin: 0 0 22px; font-weight: 800; }
.hl { color: var(--acc); }
.lead { font-size: 18px; color: #cfccd6; max-width: 54ch; margin: 0 0 28px; }
.feats { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.feats li { border-top: 1px solid var(--line); padding-top: 10px; color: var(--muted); font-size: 14px; }
.feats b { display: block; color: var(--text); font-size: 16px; }
.join span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.join-row { display: flex; gap: 8px; max-width: 420px; }
.join-row input { flex: 1; min-width: 0; }

.card { background: var(--chrome); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h2 { margin: 0 0 18px; font-size: 24px; letter-spacing: -.02em; }
.card h3 { margin: 0 0 12px; font-size: 16px; }
.side { display: grid; gap: 18px; }

input[type=text], input[type=password], input:not([type]), textarea, select {
  background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; outline: none; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent); }

.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 7px; font-weight: 600; }
.field > span b { color: var(--acc); }
.url-input { display: flex; align-items: center; background: var(--ink); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.url-input:focus-within { border-color: var(--acc); }
.url-prefix { padding-left: 13px; color: var(--muted); font-family: var(--mono); font-size: 13px; white-space: nowrap; max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
.url-input input { border: 0; background: transparent; box-shadow: none !important; font-family: var(--mono); font-size: 14px; padding-left: 2px; }
.url-input input[readonly] { color: var(--acc); }

input[type=range] { width: 100%; accent-color: var(--acc); }
.ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-family: var(--mono); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.seg small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.seg input:checked + span { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 10%, transparent); }
.seg input:focus-visible + span { outline: 2px solid var(--acc); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 18px; cursor: pointer; }
.check input { accent-color: var(--acc); margin-top: 3px; }
.form-error { color: var(--danger); font-size: 14px; margin: -6px 0 14px; }

.vitrine ul { list-style: none; margin: 0; padding: 0; }
.vitrine a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; }
.vitrine a:hover .v-name { color: var(--acc); }
.v-name { font-family: var(--mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-meta { font-size: 13px; color: var(--muted); white-space: nowrap; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 20px 28px 40px; }

.center-wrap { max-width: 520px; margin: 0 auto; padding: 30px 16px 60px; }
.center-intro { margin-bottom: 22px; }
.h-mid { font-size: clamp(30px, 5vw, 44px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 10px; word-break: break-word; }
.pass-form { text-align: center; }
.pass-form h2 { font-family: var(--mono); font-size: 20px; margin-bottom: 6px; word-break: break-all; }
.pass-form input { margin: 16px 0; text-align: center; }
.lock-big { width: 64px; height: 64px; border-radius: 18px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; margin: 0 auto 16px; transform: rotate(-6deg); }

@media (max-width: 880px) {
  .home-wrap { grid-template-columns: 1fr; gap: 32px; padding: 8px 16px 32px; }
  .topbar { padding: 14px 16px; }
  .feats { grid-template-columns: 1fr; }
  .card { padding: 20px; }
}

/* =========================================================== QUADRO */
.board-page { overflow: hidden; overscroll-behavior: none; touch-action: none; }
.roombar { position: fixed; inset: 0 0 auto 0; height: 56px; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 0 14px; background: var(--chrome); border-bottom: 1px solid var(--line); }
.room-id { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.room-name { font-family: var(--mono); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ico { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.countdown { font-family: var(--mono); font-size: 13px; padding: 3px 9px; border-radius: 999px; background: var(--chrome-2); border: 1px solid var(--line); white-space: nowrap; }
.countdown.warn { color: var(--acc-ink); background: var(--acc); border-color: var(--acc); }
.countdown.crit { color: #fff; background: var(--danger); border-color: var(--danger); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .65; } }
.room-actions { display: flex; align-items: center; gap: 10px; }
.users { display: flex; }
.users span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #111; border: 2px solid var(--chrome); margin-left: -6px; }
.chip { border: 1px solid var(--line); background: var(--chrome-2); border-radius: 999px; padding: 5px 12px 5px 6px; display: flex; align-items: center; gap: 7px; cursor: pointer; font-size: 14px; max-width: 160px; }
.chip i { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.chip em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.board { position: fixed; inset: 56px 0 0 0; overflow: hidden; background-color: var(--paper); outline: none; cursor: default; touch-action: none;
  background-image: radial-gradient(var(--paper-dot) 1.2px, transparent 1.2px); }
.board.tool-hand, .board.panning { cursor: grab; }
.board.panning:active { cursor: grabbing; }
.board.tool-pen, .board.tool-rect, .board.tool-ellipse, .board.tool-diamond, .board.tool-triangle, .board.tool-line, .board.tool-arrow { cursor: crosshair; }
.board.tool-text, .board.tool-note, .board.tool-code { cursor: copy; }
.board.tool-eraser { cursor: cell; }
.world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.draft-layer { position: absolute; inset: 0; pointer-events: none; }
.draft-layer svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* ---------- itens */
.item { position: absolute; color: #111; user-select: none; -webkit-user-select: none; }
.item.sel { outline: 2px solid #2f6bff; outline-offset: 3px; }
.item.remote-sel { outline: 2px dashed var(--rc, #f0a); outline-offset: 3px; }
.board:not(.tool-select) .item * { pointer-events: none; }
.board.tool-eraser .item:hover { opacity: .35; }
.handle { position: absolute; right: -9px; bottom: -9px; width: 14px; height: 14px; border-radius: 4px; background: #fff; border: 2px solid #2f6bff; cursor: nwse-resize; z-index: 3; display: none; }
.item.sel .handle { display: block; }
.item svg.shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.item.t-draw, .item.t-line, .item.t-arrow, .item.t-shape { pointer-events: none; }
.item.t-draw svg *, .item.t-line svg *, .item.t-arrow svg *, .item.t-shape svg .hit { pointer-events: visiblePainted; }
.item svg .hit { stroke: transparent; }
.item.sel.t-draw, .item.sel.t-line, .item.sel.t-arrow, .item.sel.t-shape { pointer-events: auto; }

.t-text .txt { width: 100%; height: 100%; white-space: pre-wrap; word-break: break-word; overflow: hidden; line-height: 1.3; font-weight: 600; }
.t-note { background: #ffe66d; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 22px -10px rgba(0,0,0,.35); border-radius: 3px; }
.t-note .txt { position: absolute; inset: 0; padding: 14px 16px; white-space: pre-wrap; word-break: break-word; overflow: hidden; line-height: 1.3; }
.txt.placeholder { opacity: .38; }
.item textarea.editor { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; outline: 0; resize: none; background: transparent; color: inherit; padding: inherit; line-height: inherit; font: inherit; font-weight: inherit; box-shadow: none; border-radius: 0; user-select: text; -webkit-user-select: text; }
.t-note textarea.editor { padding: 14px 16px; }

.t-code { background: #0d1117; border-radius: 10px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); color: #e6edf3; display: flex; flex-direction: column; overflow: hidden; }
.code-head, .file-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; font-size: 12px; font-family: var(--mono); cursor: move; flex: none; }
.code-head { background: #161b22; border-bottom: 1px solid #30363d; }
.code-head .dots { display: flex; gap: 5px; }
.code-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.code-head .dots i:nth-child(2) { background: #febc2e; } .code-head .dots i:nth-child(3) { background: #28c840; }
.code-head .cname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8b949e; }
.code-head select { width: auto; padding: 2px 6px; font-size: 12px; background: #0d1117; border: 1px solid #30363d; border-radius: 6px; color: #c9d1d9; }
.mini { border: 1px solid #30363d; background: #21262d; color: #c9d1d9; border-radius: 6px; padding: 2px 8px; font-size: 12px; cursor: pointer; font-family: var(--mono); }
.mini:hover { background: #30363d; }
.code-body { position: relative; flex: 1; min-height: 0; overflow: auto; }
.code-body pre { margin: 0; padding: 12px 14px; font-family: var(--mono); font-size: 13px; line-height: 1.55; tab-size: 4; min-height: 100%; }
.code-body pre code.hljs { padding: 0; background: transparent; }
.code-body textarea.editor { padding: 12px 14px; font-family: var(--mono); font-size: 13px; line-height: 1.55; tab-size: 4; color: #e6edf3; background: #0d1117; white-space: pre; overflow: auto; }

.t-image img { width: 100%; height: 100%; display: block; object-fit: fill; border-radius: 4px; box-shadow: 0 12px 26px -14px rgba(0,0,0,.55); -webkit-user-drag: none; pointer-events: none; }
.t-video, .t-audio, .t-file { background: #fff; border-radius: 12px; box-shadow: 0 12px 28px -14px rgba(0,0,0,.45); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e4e0d4; }
.file-head { background: #f6f4ee; border-bottom: 1px solid #e4e0d4; color: #333; }
.file-head .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-head .mini, .file-card .mini { background: #fff; border-color: #d8d3c6; color: #222; text-decoration: none; }
.file-head .mini:hover { background: #eee; }
.t-video video { flex: 1; min-height: 0; width: 100%; background: #000; display: block; }
.t-audio audio { width: calc(100% - 16px); margin: 10px 8px; }
.file-card { flex: 1; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: move; min-height: 0; }
.file-ico { width: 46px; height: 54px; border-radius: 6px; background: #111; color: var(--acc); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; flex: none; text-transform: uppercase; position: relative; }
.file-ico::after { content: ''; position: absolute; right: 0; top: 0; border-width: 0 12px 12px 0; border-style: solid; border-color: #f3f0e7 #f3f0e7 #333 #333; }
.file-meta { min-width: 0; flex: 1; }
.file-meta b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.file-meta small { color: #777; font-size: 12px; }
.by-tag { position: absolute; left: 0; top: -20px; font-size: 11px; font-family: var(--mono); color: #6f6a5c; white-space: nowrap; display: none; }
.item.sel .by-tag { display: block; }

/* ---------- cursores */
.cursors { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rcursor { position: absolute; left: 0; top: 0; transition: transform .25s linear; will-change: transform; }
.rcursor svg { width: 20px; height: 20px; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
.rcursor span { position: absolute; left: 14px; top: 16px; font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 6px; color: #111; white-space: nowrap; }

/* ---------- barras flutuantes */
.toolbar { position: fixed; left: 14px; top: calc(50% + 28px); transform: translateY(-50%); max-height: calc(100vh - 56px - 90px); overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; z-index: 40; display: flex; flex-direction: column; gap: 3px; padding: 6px; background: var(--chrome); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.toolbar button { width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--text); }
.toolbar button:hover { background: var(--chrome-2); }
.toolbar button.on { background: var(--acc); color: var(--acc-ink); }
.toolbar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.toolbar .sep, .stylebar .sep { width: 24px; height: 1px; background: var(--line); margin: 3px auto; }
#uploadBtn { color: var(--acc); }

.stylebar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: var(--chrome); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.stylebar .sep { width: 1px; height: 24px; margin: 0 2px; }
.swatches { display: flex; gap: 5px; }
.swatches button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.swatches button.on { border-color: var(--text); transform: scale(1.12); }
.sb-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--chrome-2); display: grid; place-items: center; cursor: pointer; }
.sb-btn svg { width: 20px; height: 20px; }
.sb-btn .fill-ico { fill: none; stroke: currentColor; stroke-width: 2; }
.sb-btn.on .fill-ico { fill: currentColor; fill-opacity: .45; }
.widths { display: flex; gap: 3px; }
.widths button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid transparent; background: transparent; cursor: pointer; display: grid; place-items: center; }
.widths button.on { border-color: var(--line); background: var(--chrome-2); }
.widths i { width: 18px; background: var(--text); border-radius: 4px; display: block; }

.selbar { position: fixed; left: 50%; top: 68px; transform: translateX(-50%); z-index: 41; display: flex; gap: 4px; padding: 5px; background: var(--chrome); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.selbar button { border: 0; background: transparent; padding: 6px 10px; border-radius: 8px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.selbar button:hover { background: var(--chrome-2); }
.selbar button.danger { color: var(--danger); }

.zoombar { position: fixed; right: 14px; bottom: 16px; z-index: 40; display: flex; background: var(--chrome); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.zoombar button { border: 0; background: transparent; height: 38px; min-width: 38px; padding: 0 8px; cursor: pointer; font-size: 15px; }
.zoombar button:hover { background: var(--chrome-2); }
.zoombar button:disabled { opacity: .35; cursor: default; background: transparent; }
#redoBtn { border-right: 1px solid var(--line); }
#zoomPct { font-family: var(--mono); font-size: 12px; min-width: 54px; }
.storage { position: fixed; left: 14px; bottom: 16px; z-index: 40; font-family: var(--mono); font-size: 11px; color: #6f6a5c; background: rgba(255,255,255,.7); border-radius: 8px; padding: 4px 8px; }

.empty-hint { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); text-align: center; color: #7a7466; pointer-events: none; display: grid; gap: 4px; padding: 0 20px; }
.empty-hint b { font-size: 26px; color: #2b2925; letter-spacing: -.02em; }
.dropzone { position: absolute; inset: 12px; border: 3px dashed #111; border-radius: 22px; background: rgba(255, 214, 10, .25); display: grid; place-items: center; z-index: 30; pointer-events: none; }
.dropzone span { background: #111; color: var(--acc); padding: 12px 20px; border-radius: 12px; font-weight: 800; font-size: 20px; }

.toasts { position: fixed; right: 14px; top: 70px; z-index: 60; display: grid; gap: 8px; width: min(320px, calc(100vw - 28px)); }
.toast { background: var(--chrome); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); }
.toast .tname { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast .bar { height: 5px; background: var(--chrome-3); border-radius: 3px; margin-top: 7px; overflow: hidden; }
.toast .bar i { display: block; height: 100%; width: 0; background: var(--acc); transition: width .2s; }
.toast.err { border-color: var(--danger); color: #ffd2cc; }
.toast.ok .bar i { background: var(--ok); }

.gone { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,12,.82); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(4px); }
.gone .card { text-align: center; max-width: 420px; }

@media (max-width: 760px) {
  .roombar { gap: 10px; padding: 0 10px; }
  .roombar .brand span:last-child, #meChip, .users { display: none; }
  .room-id { gap: 6px; }
  .toolbar { left: 50%; top: auto; bottom: 66px; transform: translateX(-50%); flex-direction: row; max-width: calc(100vw - 16px); overflow-x: auto; padding: 5px; }
  .toolbar button { width: 38px; height: 38px; flex: none; }
  .toolbar .sep { width: 1px; height: 24px; margin: auto 2px; flex: none; }
  .stylebar { bottom: 10px; left: 10px; transform: none; padding: 5px 7px; gap: 5px; max-width: calc(100vw - 150px); overflow-x: auto; }
  .swatches button { width: 22px; height: 22px; flex: none; }
  .widths { display: none; }
  .zoombar { bottom: 10px; right: 10px; }
  .zoombar #zoomFit, .zoombar #zoomOut, .zoombar #zoomIn { display: none; }
  .storage { display: none; }
  .selbar { top: 64px; max-width: calc(100vw - 16px); overflow-x: auto; }
}

/* ---------- auto ajuste para telas baixas / zoom alto do navegador */
@media (min-width: 761px) and (max-height: 760px) {
  .toolbar { display: grid; grid-template-columns: repeat(2, 40px); gap: 3px; }
  .toolbar .sep { display: none; }
}
@media (min-width: 761px) and (max-height: 520px) {
  .toolbar { grid-template-columns: repeat(3, 36px); padding: 5px; }
  .toolbar button { width: 36px; height: 36px; }
  .toolbar svg { width: 19px; height: 19px; }
  .roombar { height: 48px; }
  .board { inset: 48px 0 0 0; }
  .stylebar, .zoombar { bottom: 8px; }
  .selbar { top: 56px; }
  .toasts { top: 58px; }
}
@media (min-width: 761px) and (max-height: 380px) {
  .toolbar { grid-template-columns: repeat(5, 34px); top: 56px; transform: none; max-height: calc(100vh - 110px); }
  .toolbar button { width: 34px; height: 34px; }
  .stylebar .widths, .storage { display: none; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .stylebar { left: auto; right: 220px; transform: none; }
  .storage { display: none; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .roombar .brand span:last-child { display: none; }
  .users { display: none; }
}

/* ---------- vídeo/áudio sincronizado */
.sync-tag { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 999px; background: #ebe7da; color: #6f6a5c; white-space: nowrap; }
.sync-tag::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: 1px; }
.sync-tag.live { background: #e03131; color: #fff; }
.sync-tag.live::before { animation: pulse 1s infinite; }
