/* LexiGlobal Live Meeting — "first class" gold keys (Claude Code 2026-11-16, owner: "redesign our gold, all luxury key, first
   class, not lost letter, premiere key — for every key in Live Meeting"; "all appearance must be 10/10"; "the meeting title a bit
   smaller"). Loaded LAST; one look for every key: deep navy glass, thin gold edge, gold icon, ivory label that is never cut.
   Active / open = gold. Leave = crimson with a gold edge. Specificity: 5 × #v-meet beats the older 4 × rules. */

html body #v-meet#v-meet#v-meet#v-meet#v-meet {
  /* 2026-11-16 owner "consider all our themes colour": every colour comes from the app theme (styles/voice-lux-themes.css, 9 themes) */
  --lx-gold-1: color-mix(in srgb, var(--vt-acc, #E7C77E) 55%, #fff); --lx-gold-2: var(--vt-acc, #E7C77E);
  --lx-gold-3: color-mix(in srgb, var(--vt-acc, #E7C77E) 72%, #000); --lx-gold-line: var(--vt-line, rgba(231, 199, 126, .45));
  --lx-key: linear-gradient(180deg, var(--vt-key-a, #2E4A7C), var(--vt-key-b, #253C66) 55%, var(--vt-key-c, #12203D));
  --lx-ivory: var(--vt-key-ink, #FFF1C9); --lx-on-gold: #14110A; --lx-red-1: #E5484D; --lx-red-2: #A5262B;
  --lx-key-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 -1px 0 rgba(0, 0, 0, .35) inset, 0 6px 16px rgba(0, 0, 0, .32);
}

/* ---------- the key itself (bottom bar, header keys, workspace tabs, board view, mic picker) ---------- */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-key,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-hkey,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-hpill,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-htabs > button,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bv {
  background: var(--lx-key) !important;
  border: 1px solid var(--lx-gold-line) !important;
  box-shadow: var(--lx-key-shadow) !important;
  color: var(--lx-ivory) !important;
  border-radius: 14px !important;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease !important;
}
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl .ic,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl svg,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-key svg,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-hkey svg,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-hpill svg,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-htabs > button svg { color: var(--lx-gold-2) !important; stroke: currentColor; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet :is(.mt-ctl, .mt-key, .mt-hkey, .mt-hpill, .mt-htabs > button, .mt-bv):hover {
  border-color: var(--lx-gold-2) !important; box-shadow: var(--lx-key-shadow), 0 0 0 3px color-mix(in srgb, var(--lx-gold-2) 18%, transparent) !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet :is(.mt-ctl, .mt-key, .mt-hkey, .mt-hpill, .mt-htabs > button, .mt-bv):active { transform: translateY(1px) scale(.98); }
html body #v-meet#v-meet#v-meet#v-meet#v-meet :is(.mt-ctl, .mt-key, .mt-hkey, .mt-hpill, .mt-htabs > button, .mt-bv):focus-visible {
  outline: 2px solid var(--lx-gold-1) !important; outline-offset: 2px; }

/* open / selected = gold */
html body #v-meet#v-meet#v-meet#v-meet#v-meet :is(.mt-ctl.is-open, .mt-htabs > button.on, .mt-htabs > button[aria-selected="true"], .mt-hkey.on, .mt-hkey[aria-pressed="true"], .mt-bv.on) {
  background: linear-gradient(180deg, var(--lx-gold-1), var(--lx-gold-2) 55%, var(--lx-gold-3)) !important;
  border-color: rgba(255, 244, 205, .85) !important; color: var(--lx-on-gold) !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet :is(.mt-ctl.is-open, .mt-htabs > button.on, .mt-hkey.on, .mt-bv.on) :is(svg, .ic, span) { color: var(--lx-on-gold) !important; }

/* microphone / camera state: green when live, red when off — still on the gold-edged key */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl.is-on :is(svg, .ic) { color: #5BE8B4 !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl.is-off :is(svg, .ic) { color: #FFA8A8 !important; }   /* the word stays ivory (readable on every theme); the icon shows the state */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl:is(.is-on, .is-off) > span { color: var(--lx-ivory) !important; }


/* ---------- bottom bar: the labels are never cut ---------- */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar {
  gap: 8px !important; padding: 8px 10px !important; border-radius: 22px !important;
  background: var(--vt-card, linear-gradient(180deg, rgba(14, 24, 44, .88), rgba(6, 12, 24, .92))) !important;
  border: 1px solid var(--lx-gold-line) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, .06) inset !important;
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar > .mt-ctl:not(.mt-leave) {
  flex: 0 0 auto !important; width: auto !important; max-width: none !important; min-width: 64px !important; height: 58px !important;
  padding: 6px 12px 5px !important; display: inline-grid !important; justify-items: center; align-content: center; gap: 4px !important;
}
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl > span {
  display: block !important; overflow: visible !important; text-overflow: clip !important; white-space: nowrap !important; max-width: none !important;
  font: 700 12px/1.05 "Manrope", system-ui, sans-serif !important; letter-spacing: .02em !important; color: var(--lx-ivory);
}
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl .ic { width: 22px !important; height: 22px !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet :is(.mt-ctl, .mt-bv) .mt-lbl-short { display: none !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bv > span { pointer-events: none; }
/* the small count / hand badges on keys: gold coin */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl :is(.mt-pcount, .mt-badge) {
  background: linear-gradient(180deg, var(--lx-gold-1), var(--lx-gold-3)) !important; color: var(--lx-on-gold) !important; border: 1px solid rgba(255, 244, 205, .9) !important;
  font: 800 10px/16px "Manrope", sans-serif !important; min-width: 18px; height: 18px; border-radius: 999px; padding: 0 4px; }
/* mic picker ▾ */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-micpick { background: var(--lx-gold-2) !important; color: var(--lx-on-gold) !important; border: 1px solid #FFF4CD !important; border-radius: 999px !important; }

/* Leave / End: crimson, gold edge */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl.mt-leave {
  background: linear-gradient(180deg, var(--lx-red-1), var(--lx-red-2)) !important; border: 1px solid rgba(246, 228, 166, .7) !important;
  color: #FFF !important; min-width: 64px !important; height: 58px !important; padding: 0 16px !important; border-radius: 16px !important;
  box-shadow: 0 6px 18px rgba(165, 38, 43, .45), 0 1px 0 rgba(255, 255, 255, .2) inset !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl.mt-leave :is(svg, .ic, span) { color: #FFF !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl.mt-leave:hover { box-shadow: 0 6px 22px rgba(229, 72, 77, .55), 0 0 0 3px rgba(246, 228, 166, .25) !important; }

/* ---------- header: the meeting title a bit smaller (owner), keys in the same family ---------- */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-live-title > b#mtTitle {
  font-size: clamp(17px, 1.6vw + 6px, 22px) !important; line-height: 1.15 !important; letter-spacing: .01em; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-live-title > span { font-size: 12px !important; color: var(--vt-ink-2, rgba(245, 239, 223, .78)) !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-head { border-color: var(--lx-gold-line) !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-hkey,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-key { min-width: 42px !important; height: 42px !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-hpill { height: 42px !important; padding: 0 12px !important; gap: 6px !important; font: 800 14px "Manrope", sans-serif !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-htabs { gap: 6px !important; padding: 4px !important; border-radius: 16px !important;
  background: rgba(6, 12, 24, .55) !important; border: 1px solid var(--lx-gold-line) !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-htabs > button { height: 38px !important; min-width: 42px !important; border-radius: 11px !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-inv-key .mt-plus { background: var(--lx-gold-2) !important; color: var(--lx-on-gold) !important; }

/* ---------- board view keys (zoom, fit) ---------- */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bv { height: 40px !important; min-width: 40px !important; font: 700 13px "Manrope", sans-serif !important; white-space: nowrap !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bv-fit { padding: 0 12px !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bv-pct { color: var(--lx-gold-1) !important; font-weight: 800 !important; }

/* ---------- whiteboard tools: active tool = gold (was blue) ---------- */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ht.on,
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ht[aria-pressed="true"] {
  background: linear-gradient(180deg, var(--lx-gold-1), var(--lx-gold-3)) !important; color: var(--lx-on-gold) !important; border-color: rgba(255, 244, 205, .85) !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-htools { border: 1px solid var(--lx-gold-line) !important; }

/* ---------- people: whole names (no "Learner …") ---------- */
html body #v-meet#v-meet#v-meet#v-meet#v-meet :is(.mt-tile, .mt-ppl, .mt-person, .mt-avatars, .mt-alone) b {
  white-space: normal !important; overflow: visible !important; text-overflow: clip !important; max-width: 140px; text-align: center; line-height: 1.2; }

/* ---------- the board's zoom keys share the bar: tighter keys when space is short, never a cut-off Leave ---------- */
@media (max-width: 1280px) {
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar:has(> #mtBView:not([hidden])) { gap: 5px !important; padding: 7px 8px !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar:has(> #mtBView:not([hidden])) > .mt-ctl:not(.mt-leave) { min-width: 56px !important; padding: 6px 8px 5px !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar:has(> #mtBView:not([hidden])) :is(.mt-ctl, .mt-bv) .mt-lbl-long { display: none !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar:has(> #mtBView:not([hidden])) :is(.mt-ctl, .mt-bv) .mt-lbl-short { display: block !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar:has(> #mtBView:not([hidden])) .mt-bv-fit { padding: 0 9px !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar:has(> #mtBView:not([hidden])) > .mt-leave { margin-left: 4px !important; padding: 0 12px !important; }
}
/* narrower: the zoom keys get a row of their own under the meeting keys */
@media (max-width: 960px) {
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar:has(> #mtBView:not([hidden])) { flex-wrap: wrap !important; justify-content: center !important; row-gap: 6px !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar > #mtBView:not([hidden]) { order: 99; flex: 1 0 100% !important; justify-content: center !important; margin: 0 !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar:has(> #mtBView:not([hidden])) > .mt-leave { margin-left: auto !important; }
}

/* notices ("Camera blocked" …) and the people sheet: just above the bar's real top (MeetScreen.js keeps --mt-barh) */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-wrap.lx > :is(.mt-note, .mt-tgbar) {
  bottom: var(--mt-note-b, calc(max(8px, env(safe-area-inset-bottom)) + var(--mt-barh, 76px) + 12px)) !important;
  background: var(--vt-card, #0E1626) !important; border: 1px solid var(--lx-gold-line) !important; box-shadow: 0 10px 28px rgba(0, 0, 0, .5) !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-wrap.lx.lx-port > #mtSide:not([hidden]) { bottom: calc(max(8px, env(safe-area-inset-bottom)) + var(--mt-barh, 76px) + 12px) !important; }

/* a tablet held upright: the page sits in the middle of the free space, not stuck to the tools with a hole under it */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-wrap.lx.lx-port > #mtPanel:not(.mt-full) > #mtBoardWrap { margin-top: auto !important; margin-bottom: auto !important; }

/* the board's own keys (phone board rail, paper/size chips, Stop sharing, +): selected = theme gold, not blue */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-panel:has(#mtBoardWrap) :is(.mt-chip.on, .mt-tool.on, .mt-rb.on, .mt-rplus, .mt-paper .mt-chip.on) {
  background: linear-gradient(180deg, var(--lx-gold-1), var(--lx-gold-2) 55%, var(--lx-gold-3)) !important;
  border-color: rgba(255, 244, 205, .85) !important; color: var(--lx-on-gold) !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-panel:has(#mtBoardWrap) :is(.mt-chip.on, .mt-tool.on, .mt-rb.on, .mt-rplus) :is(svg, .ic, span) { color: var(--lx-on-gold) !important; }
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-panel:has(#mtBoardWrap) .mt-color.on { box-shadow: 0 0 0 2px #1C1C1E, 0 0 0 4px var(--lx-gold-2) !important; }

/* Leave always says "Leave" (it was an × alone on phones) */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar > .mt-leave > span {
  position: static !important; width: auto !important; height: auto !important; clip: auto !important; clip-path: none !important; overflow: visible !important; margin: 0 !important; }

/* phone layout (no shared grid): the notice floats just above the key bar, never off the top of the screen */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-wrap:not(.lx) > .mt-note:not([hidden]) {
  position: fixed !important; top: auto !important; bottom: calc(max(8px, env(safe-area-inset-bottom)) + var(--mt-barh, 70px) + 14px) !important;
  left: 50% !important; right: auto !important; transform: translateX(-50%) !important; width: max-content !important; max-width: calc(100vw - 24px) !important; z-index: 75 !important;
  background: var(--vt-card, #0E1626) !important; border: 1px solid var(--lx-gold-line) !important; box-shadow: 0 10px 28px rgba(0, 0, 0, .5) !important; }

/* the floating bar (layout without the shared grid) was capped at 620 px — the gold keys need a little more: it fits its keys
   (2026-11-16, 1366×768 with Chat open: Leave was clipped) */
@media (min-width: 701px) {
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-wrap:not(.lx) > .mt-bar { width: max-content !important; max-width: calc(100vw - 24px) !important; overflow: visible !important; }
}

/* ---------- small screens ---------- */
@media (max-width: 700px) {
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar { gap: 5px !important; padding: 6px !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar > .mt-ctl:not(.mt-leave) { min-width: 0 !important; flex: 1 1 0 !important; padding: 6px 4px 5px !important; height: 56px !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl > span { font-size: 11px !important; letter-spacing: 0 !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl .mt-lbl-long { display: none !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl .mt-lbl-short { display: block !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl.mt-leave { padding: 0 10px !important; height: 56px !important; }
}
/* phones: Leave gives up its spare width so every word has room ("Screen", "People" were touching the key edges) */
@media (max-width: 480px) {
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar { gap: 4px !important; padding: 6px 5px !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar > .mt-ctl:not(.mt-leave) { padding: 6px 1px 5px !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar > .mt-ctl.mt-leave { min-width: 0 !important; width: auto !important; flex: 0 0 auto !important; padding: 0 7px !important; }
}
@media (max-width: 380px) {
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-ctl > span { font-size: 10px !important; }
  html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-bar { gap: 3px !important; padding: 5px 4px !important; }
}
@media (prefers-reduced-motion: reduce) { html body #v-meet#v-meet#v-meet#v-meet#v-meet :is(.mt-ctl, .mt-key, .mt-bv) { transition: none !important; } }

/* ---------- video background picker (core/meet-bg.js; owner 2026-11-16 "change background like Zoom") ---------- */
.mbg-dialog { width: min(760px, calc(100vw - 24px)) !important; max-width: none !important; max-height: calc(100dvh - 24px) !important; overflow-y: auto;
  padding: 18px !important; border-radius: 22px !important; border: 1px solid var(--vt-line, rgba(231, 199, 126, .45)) !important;
  background: var(--vt-modal, linear-gradient(180deg, #172B52, #0D1A36)) !important; color: var(--vt-ink, #F7F1E3) !important; box-shadow: 0 24px 60px rgba(0, 0, 0, .6) !important; }
.mbg-dialog::backdrop { background: rgba(3, 6, 14, .62); backdrop-filter: blur(4px); }
.mbg-dialog .mt-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 600 clamp(19px, 2vw + 8px, 24px)/1.2 "Cormorant Garamond", Georgia, serif; color: var(--vt-acc-hi, #FFF1C9); }
.mbg-dialog .mt-h .ic { width: 22px; height: 22px; color: var(--vt-acc, #E7C77E); }
.mbg-prev { position: relative; aspect-ratio: 16 / 9; width: min(100%, 420px); margin: 0 auto 10px; border-radius: 16px; overflow: hidden;
  background: #05080F; border: 1px solid var(--vt-line, rgba(231, 199, 126, .45)); display: grid; place-items: center; }
.mbg-prev video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.mbg-prev video[hidden], .mbg-off[hidden], .mbg-busy[hidden] { display: none !important; }
.mbg-off { margin: 0; padding: 0 20px; text-align: center; font: 600 14px/1.4 "Manrope", system-ui, sans-serif; color: var(--vt-ink-2, #A9B6CF); }
.mbg-busy { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(6, 10, 20, .8); border: 1px solid var(--vt-line, rgba(231, 199, 126, .45)); color: var(--vt-acc-hi, #FFF1C9); font: 700 12px "Manrope", sans-serif; }
/* 2026-11-17 (tablet, landscape): .mt-dialog[open] is a grid; with the height limit the grid squashed the preview's row and the 16:9
   preview painted over the caption, the Beauty slider and the first row of backgrounds. One plain column instead, and the preview
   is at most about a third of the screen high so the slider and the choices stay in view. */
.mbg-dialog[open] { display: block !important; }
.mbg-dialog .mbg-prev { width: min(100%, 420px, calc(34dvh * 16 / 9)); }
/* 2026-11-17 beauty camera (core/meet-beauty.js): one row — label · slider · value, gold on navy like the rest of the sheet */
.mbg-beauty { display: grid; grid-template-columns: auto 1fr 4.2em; align-items: center; gap: 12px; width: min(100%, 420px); margin: 0 auto 8px;
  padding: 8px 14px; min-height: 48px; box-sizing: border-box; border-radius: 14px; background: rgba(6, 10, 20, .55); border: 1px solid var(--vt-line, rgba(231, 199, 126, .45)); }
.mbg-beauty label { font: 800 14px "Manrope", system-ui, sans-serif; color: var(--vt-acc-hi, #FFF1C9); }
.mbg-beauty output { justify-self: end; font: 700 13px "Manrope", system-ui, sans-serif; color: var(--vt-ink-2, #A9B6CF); font-variant-numeric: tabular-nums; }
.mbg-beauty input[type=range] { width: 100%; min-height: 32px; margin: 0; accent-color: var(--vt-acc, #E7C77E); cursor: pointer; }
.mbg-sub { margin: 0 0 12px; text-align: center; font: 500 13px/1.45 "Manrope", system-ui, sans-serif; color: var(--vt-ink-2, #A9B6CF); }
.mbg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.mbg-tile { position: relative; display: grid; gap: 5px; padding: 5px 5px 7px; min-width: 0; border-radius: 14px; cursor: pointer; text-align: center;
  background: linear-gradient(180deg, var(--vt-key-a, #2E4A7C), var(--vt-key-c, #12203D)); border: 1px solid var(--vt-line, rgba(231, 199, 126, .45));
  color: var(--vt-key-ink, #FFF1C9); transition: transform .12s ease, border-color .15s ease, box-shadow .15s ease; }
.mbg-tile:hover { border-color: var(--vt-acc, #E7C77E); }
.mbg-tile:active { transform: scale(.98); }
.mbg-tile:focus-visible { outline: 2px solid var(--vt-acc-hi, #FFF1C9); outline-offset: 2px; }
.mbg-tile.on { border: 2px solid var(--vt-acc, #E7C77E); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vt-acc, #E7C77E) 28%, transparent); padding: 4px 4px 6px; }
.mbg-tile.on::after { content: "✓"; position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--vt-acc, #E7C77E); color: #14110A; font: 900 13px/1 "Manrope", sans-serif; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.mbg-th { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0A0F1C; }
.mbg-th > :is(canvas, img, video) { display: block; width: 100%; height: 100%; object-fit: cover; }
.mbg-th.mbg-none { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #1A2233 0 8px, #141B29 8px 16px); }
.mbg-th.mbg-none i { font: 400 28px/1 system-ui; font-style: normal; color: var(--vt-ink-2, #A9B6CF); }
.mbg-th.mbg-blur { background: radial-gradient(circle at 50% 42%, #CFC6B8 0 16%, transparent 17%), radial-gradient(ellipse at 50% 100%, #CFC6B8 0 34%, transparent 35%),
  linear-gradient(135deg, #6F8FB8, #C9A97A 50%, #6E8A6A); filter: blur(.6px); }
.mbg-th.mbg-blur-x { background: radial-gradient(circle at 50% 42%, #CFC6B8 0 16%, transparent 17%), radial-gradient(ellipse at 50% 100%, #CFC6B8 0 34%, transparent 35%),
  linear-gradient(135deg, #8EA3BF, #BFAE93 50%, #8FA08B); }
.mbg-lb { display: block; font: 700 12px/1.2 "Manrope", system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbg-del { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(10, 10, 14, .78); color: #fff; font: 700 17px/1 system-ui; border: 1px solid rgba(255, 255, 255, .35); }
.mbg-del:hover { background: #A5262B; }
.mbg-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
.mbg-foot .mt-btn { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 14px; cursor: pointer; font: 800 14px "Manrope", sans-serif; }
.mbg-add { background: linear-gradient(180deg, color-mix(in srgb, var(--vt-acc, #E7C77E) 55%, #fff), var(--vt-acc, #E7C77E) 55%, color-mix(in srgb, var(--vt-acc, #E7C77E) 72%, #000)) !important;
  color: #14110A !important; border: 1px solid rgba(255, 244, 205, .85) !important; }
.mbg-add[hidden] { display: none !important; }
.mbg-add .ic { width: 18px; height: 18px; }
@media (max-width: 480px) { .mbg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; } .mbg-lb { font-size: 11px; } .mbg-dialog { padding: 14px !important; } }

/* 2026-11-16 owner (tablet photo: the key bar half off the screen): in a call the meeting is exactly as tall as the space left
   under whatever sits above it (the Offline app's status-bar room); MeetScreen.js measures that as --mt-wrap-top */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-wrap:has(> .mt-head-live) {
  height: calc(var(--tg-viewport-stable-height, 100dvh) - var(--mt-wrap-top, 0px)) !important; max-height: calc(var(--tg-viewport-stable-height, 100dvh) - var(--mt-wrap-top, 0px)) !important; }

/* 2026-11-16 owner: "full screen — can the tools still draw and write text? Full screen without tools: how can the user use it?"
   Focus view (only the page) keeps the drawing tools as a floating dock at the top (computers + tablets: the tool bar; phones: the
   tool rail). The page still fills the screen; "Controls" (top right) brings the whole meeting back. */
html body.mt-focus #v-meet#v-meet#v-meet#v-meet#v-meet #mtPanel > .mt-htools {
  opacity: 1 !important; pointer-events: auto !important; visibility: visible !important;
  position: fixed !important; z-index: 190 !important; top: max(10px, env(safe-area-inset-top)) !important; left: 50% !important; right: auto !important;
  transform: translateX(-50%) !important; width: max-content !important; max-width: calc(100vw - 170px) !important; overflow-x: auto !important; margin: 0 !important;
  background: rgba(8, 12, 22, .9) !important; border: 1px solid var(--lx-gold-line) !important; border-radius: 16px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .55) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html body.mt-focus #v-meet#v-meet#v-meet#v-meet#v-meet .mt-boardwrap > .mt-rail { opacity: 1 !important; pointer-events: auto !important; }
/* 2026-11-16 owner: "full screen also consider themes" — the board view (normal, full screen, Focus) takes the theme's own deep colour,
   key colours and gold edge instead of fixed charcoal (meet-zoom.css --zm-*); the floating tool dock too */
html body #v-meet#v-meet#v-meet#v-meet#v-meet .mt-wrap:has(#mtBoardWrap) {
  --zm-bg: var(--vt-base, #141416);
  --zm-panel: color-mix(in srgb, var(--vt-key-c, #1C1C1E) 88%, #000);
  --zm-key: var(--vt-key-b, #2C2C2E);
  --zm-line: color-mix(in srgb, var(--vt-acc, #E7C77E) 30%, transparent);
}
html body.mt-focus #v-meet#v-meet#v-meet#v-meet#v-meet #mtPanel > .mt-htools { background: color-mix(in srgb, var(--vt-key-c, #080C16) 92%, transparent) !important; }
html:fullscreen body:has(#v-meet .mt-head-live), html:fullscreen body:has(#v-meet .mt-head-live) .app { background: var(--vt-base, #070F24) !important; }

/* 2026-11-16 owner (tablet photo): "enlarge the whiteboard to the bottom — full view": in Focus view the hidden header, key bar and
   Pages list give their space to the board (they only faded before, so the board kept a band below and a gap on the left) */
html body.mt-focus #v-meet#v-meet#v-meet#v-meet#v-meet .mt-wrap.lx > #mtPanel { grid-row: 1 / -1 !important; padding-top: 72px !important; max-height: none !important; }
html body.mt-focus #v-meet#v-meet#v-meet#v-meet#v-meet .mt-wrap.lx > :is(.mt-head-live, .mt-bar) { visibility: hidden !important; }
html body.mt-focus #v-meet#v-meet#v-meet#v-meet#v-meet #mtPanel > .mt-pages { display: none !important; }
/* … and the room kept for the Pages column and the side padding: the board area runs from the left edge to the right edge */
html body.mt-focus #v-meet#v-meet#v-meet#v-meet#v-meet .mt-wrap.lx > #mtPanel { padding-left: 6px !important; padding-right: 6px !important; padding-bottom: 6px !important; }
html body.mt-focus #v-meet#v-meet#v-meet#v-meet#v-meet #mtPanel > #mtBoardWrap { flex: 1 1 auto !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
