/*! Connecto look · update 12 · 2026-11-28 · "premium"
 * ============================================================================
 * FILE: public_html/assets/premium.css                            (NEW FILE)
 * Loaded by _nav.php right after assets/design.css, so it wins over it. Delete
 * that one line in _nav.php to go back to update 9's look. Only the look
 * changes: every button, link and form does exactly what it did before.
 *
 * From the owner's six reference pictures (Chats, a chat, the menu, My Stores,
 * Open a Store, Settings):
 *   Ground    update 9's sky, with deeper blue waves at the bottom right
 *   Panels    frosted white glass, 24px corners, a long soft shadow
 *   Action    the main button is a blue gradient (was green); green now only
 *             means "active / done", and prices
 *   Icons     line icons sit in soft blue rounded tiles
 *   Controls  round header buttons, a pill search, pill chips with red counts
 * Dark mode is the same at night. Illuminati mode keeps its own look (every
 * rule here skips it, like design.css).
 * ========================================================================== */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root { --pm-r-card: 24px; --pm-r-ctl: 14px; --pm-ease: cubic-bezier(.22, 1, .36, 1); }
html[data-theme="light"] {
  --pm-grad:       linear-gradient(180deg, #3874f6 0%, #1d4ed8 100%);
  --pm-grad-h:     linear-gradient(180deg, #4a82f8 0%, #2356e0 100%);
  --pm-btn-shadow: 0 12px 24px -12px rgb(29 78 216 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.22);
  --pm-glass:      rgb(255 255 255 / 0.80);
  --pm-glass-2:    rgb(255 255 255 / 0.94);
  --pm-edge:       rgb(255 255 255 / 0.95);
  --pm-hair:       rgb(30 58 110 / 0.09);
  --pm-shadow:     0 1px 2px rgb(16 42 92 / 0.05), 0 30px 60px -30px rgb(16 42 92 / 0.30);
  --pm-shadow-sm:  0 1px 2px rgb(16 42 92 / 0.05), 0 12px 26px -16px rgb(16 42 92 / 0.26);
  --pm-tile:       linear-gradient(180deg, #f3f8ff 0%, #dce8ff 100%);
  --pm-tile-ink:   #1d4ed8;
  --pm-tile-edge:  rgb(37 99 235 / 0.12);
  --pm-row-on:     linear-gradient(180deg, #eef4ff 0%, #e2ecff 100%);
  --pm-ok-bg:      #dcf5e6; --pm-ok-fg: #12703a;
  --cta: #2563eb; --cta-h: #1d4ed8; --cta-ink: #ffffff; --cta-shadow: 0 12px 24px -12px rgb(29 78 216 / 0.75);
  --pm-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMaxYMax slice'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23bcd5fb' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%237fa9f2' stop-opacity='.6'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='1' y2='.7'%3E%3Cstop offset='0' stop-color='%233b7bf0' stop-opacity='0'/%3E%3Cstop offset='.55' stop-color='%233b7bf0' stop-opacity='.34'/%3E%3Cstop offset='1' stop-color='%231d4ed8' stop-opacity='.7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M1200 110C1000 250 760 330 520 470S120 600 0 600h1200Z' fill='url(%23a)'/%3E%3Cpath d='M1200 300C1020 380 860 420 700 500S420 600 300 600h900Z' fill='url(%23b)'/%3E%3Cpath d='M1200 200C1010 320 800 380 610 470' fill='none' stroke='%23fff' stroke-width='6' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E");
}
html[data-theme="dark"], html:not([data-theme]) {
  --pm-grad:       linear-gradient(180deg, #4a7dff 0%, #2a58d8 100%);
  --pm-grad-h:     linear-gradient(180deg, #5b8aff 0%, #3263e4 100%);
  --pm-btn-shadow: 0 12px 24px -12px rgb(0 0 0 / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.16);
  --pm-glass:      rgb(17 27 47 / 0.74);
  --pm-glass-2:    rgb(20 31 54 / 0.92);
  --pm-edge:       rgb(148 175 224 / 0.14);
  --pm-hair:       rgb(148 175 224 / 0.12);
  --pm-shadow:     0 1px 2px rgb(0 0 0 / 0.3), 0 30px 60px -30px rgb(0 0 0 / 0.75);
  --pm-shadow-sm:  0 1px 2px rgb(0 0 0 / 0.3), 0 12px 26px -16px rgb(0 0 0 / 0.6);
  --pm-tile:       linear-gradient(180deg, rgb(91 140 255 / 0.24) 0%, rgb(91 140 255 / 0.12) 100%);
  --pm-tile-ink:   #a9c3ff;
  --pm-tile-edge:  rgb(91 140 255 / 0.24);
  --pm-row-on:     rgb(91 140 255 / 0.15);
  --pm-ok-bg:      rgb(52 211 153 / 0.15); --pm-ok-fg: #86efac;
  --cta: #3b6fe8; --cta-h: #2a58d8; --cta-ink: #ffffff; --cta-shadow: 0 12px 24px -12px rgb(0 0 0 / 0.8);
  --pm-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='xMaxYMax slice'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%231d3f82' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231d3f82' stop-opacity='.7'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='1' y2='.7'%3E%3Cstop offset='0' stop-color='%232a5bd0' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%232a5bd0' stop-opacity='.55'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M1200 110C1000 250 760 330 520 470S120 600 0 600h1200Z' fill='url(%23a)'/%3E%3Cpath d='M1200 300C1020 380 860 420 700 500S420 600 300 600h900Z' fill='url(%23b)'/%3E%3Cpath d='M1200 200C1010 320 800 380 610 470' fill='none' stroke='%238fb0ff' stroke-width='5' stroke-linecap='round' opacity='.25'/%3E%3C/svg%3E");
}

/* ── Ground: a second set of waves at the bottom right, fixed to the window ─ */
html:not([data-theme=illuminati]) body:not(.illu-awakened)::after {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: auto 0 0 auto !important;
  width: min(1200px, 92vw) !important; height: min(560px, 58vh) !important;
  background: var(--pm-wave) right bottom / 100% 100% no-repeat !important;
  opacity: 1 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  animation: none !important; transform: none !important; filter: none !important;
  -webkit-mask: none !important; mask: none !important;
}
@media (max-width: 760px) {
  html:not([data-theme=illuminati]) body:not(.illu-awakened)::after { height: 34vh !important; width: 100vw !important; opacity: 0.85 !important; }
}
@media print { html[data-theme] body::after { display: none !important; } }

/* Browser parts drawn in the palette: scrollbars and the text cursor */
html:not([data-theme=illuminati]) { scrollbar-color: var(--border3) transparent; accent-color: var(--accent); }
html:not([data-theme=illuminati]) :is(input, textarea) { caret-color: var(--accent); }

/* ── Building blocks used by the pages: icon tiles and illustrations ──────── */
.pm-tile {
  flex: 0 0 auto;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--pm-tile);
  color: var(--pm-tile-ink);
  box-shadow: inset 0 0 0 1px var(--pm-tile-edge), inset 0 1px 0 rgb(255 255 255 / 0.6);
}
.pm-tile .nav-ico { width: 22px; height: 22px; flex-basis: 22px; stroke-width: 1.8; color: inherit !important; }
.pm-tile-lg { width: 60px; height: 60px; border-radius: 18px; }
.pm-tile-lg .nav-ico { width: 30px; height: 30px; flex-basis: 30px; }
.pm-tile-xl { width: 76px; height: 76px; border-radius: 22px; }
.pm-tile-xl .nav-ico { width: 38px; height: 38px; flex-basis: 38px; stroke-width: 1.6; }
/* the illustrations of the reference pictures: light theme only, soft edges into the sky */
.pm-art {
  display: block; height: auto; max-width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  pointer-events: none; user-select: none;
}
html:not([data-theme="light"]) .pm-art { display: none !important; }

/* ── Top bar: glass, round buttons, a pill search ────────────────────────── */
html:not([data-theme=illuminati]) .topbar {
  background: rgb(var(--surface-rgb) / 0.66) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--pm-hair) !important;
  box-shadow: 0 12px 30px -22px rgb(16 42 92 / 0.35) !important;
}
html[data-theme="dark"] .topbar, html:not([data-theme]) .topbar { background: rgb(13 22 40 / 0.72) !important; }
html:not([data-theme=illuminati]) .nav-search-wrap {
  border-radius: 999px !important;
  background: var(--pm-glass-2) !important;
  border: 1px solid var(--pm-edge) !important;
  box-shadow: 0 0 0 1px var(--pm-hair), var(--pm-shadow-sm) !important;
  overflow: hidden;
}
html:not([data-theme=illuminati]) .nav-search-wrap:focus-within { box-shadow: 0 0 0 1px var(--accent), var(--focus-ring) !important; }
html:not([data-theme=illuminati]) .nav-search-input { padding: 0 22px !important; }
html:not([data-theme=illuminati]) .nav-search-btn { border-left: 0 !important; border-radius: 0 999px 999px 0 !important; }
html:not([data-theme=illuminati]) :is(.nav-icon-btn, .nav-toggle) {
  border-radius: 50% !important;
  background: var(--pm-glass-2) !important;
  border: 1px solid var(--pm-edge) !important;
  box-shadow: 0 0 0 1px var(--pm-hair), var(--pm-shadow-sm) !important;
  transition: transform .2s var(--pm-ease), box-shadow .2s var(--pm-ease), background-color .2s !important;
}
html:not([data-theme=illuminati]) :is(.nav-icon-btn, .nav-toggle):hover { transform: translateY(-1px); background: var(--bg2) !important; }
html:not([data-theme=illuminati]) .cn-app-btn { border-radius: 999px !important; }
html:not([data-theme=illuminati]) .nav-loc {
  border-radius: 999px !important;
  background: var(--pm-glass-2) !important;
  border: 1px solid var(--pm-edge) !important;
  box-shadow: 0 0 0 1px var(--pm-hair), var(--pm-shadow-sm) !important;
  padding: 0 14px 0 16px !important;
}
html:not([data-theme=illuminati]) .nav-quick-login { border-radius: 999px !important; }
html:not([data-theme=illuminati]) .nav-icon-btn .nav-badge { top: -5px !important; right: -5px !important; }
html:not([data-theme=illuminati]) .nav-badge { box-shadow: 0 0 0 2px var(--bg2), 0 4px 10px -4px rgb(239 68 68 / 0.7) !important; }
html:not([data-theme=illuminati]) .nav-badge-blue { box-shadow: 0 0 0 2px var(--bg2) !important; }

/* ── Buttons: the main one is a blue gradient, the others white pills ─────── */
html:not([data-theme=illuminati]) :is(.btn, button.btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--pm-r-ctl) !important;
  transition: transform .18s var(--pm-ease), box-shadow .18s var(--pm-ease), background-color .18s, border-color .18s, filter .18s !important;
}
html:not([data-theme=illuminati]) :is(.btn, .ck-btn) .nav-ico { width: 18px; height: 18px; flex: 0 0 18px; stroke-width: 1.9; color: inherit !important; }
html:not([data-theme=illuminati]) .btn-sm { border-radius: 999px !important; min-height: 38px; padding-left: 16px !important; padding-right: 16px !important; }
html:not([data-theme=illuminati]) .btn-sm .nav-ico { width: 16px; height: 16px; flex-basis: 16px; }
html:not([data-theme=illuminati]) :is(.btn-primary, .cta-buy, .cta-free, .place-order-btn, .place-order-btn.stripe-btn, .ms-go-btn, .ns-save-btn, .map-confirm-btn) {
  background: var(--pm-grad) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: var(--pm-btn-shadow) !important;
}
html:not([data-theme=illuminati]) :is(.btn-primary, .cta-buy, .cta-free, .place-order-btn, .ms-go-btn, .ns-save-btn, .map-confirm-btn):not(:disabled):hover {
  background: var(--pm-grad-h) !important; color: #ffffff !important; border-color: transparent !important;
  transform: translateY(-1px);
}
html:not([data-theme=illuminati]) :is(.btn-primary, .cta-buy, .cta-free, .place-order-btn, .ms-go-btn, .ns-save-btn):not(:disabled):active { transform: translateY(0) scale(.98); }
html:not([data-theme=illuminati]) :is(.btn-outline, .btn-ghost, .cta-seller, .cta-cart, .cta-checkout) {
  background: var(--pm-glass-2) !important;
  border: 1px solid var(--border2) !important;
  box-shadow: var(--shadow-xs) !important;
}
html:not([data-theme=illuminati]) :is(.btn-outline, .btn-ghost, .cta-seller, .cta-cart, .cta-checkout):hover {
  background: var(--bg2) !important; border-color: var(--accent) !important; color: var(--accent-ink) !important;
}
/* the "+ New store" item of the menu and the Sell button of the phone tab bar */
html:not([data-theme=illuminati]) :is(.nav-btn-new, .nav-links .btn-nav) {
  background: var(--pm-grad) !important; color: #ffffff !important; border-color: transparent !important;
  box-shadow: var(--pm-btn-shadow) !important;
}
html:not([data-theme=illuminati]) .cn-tab-main .cn-tab-ico { background: var(--pm-grad) !important; color: #ffffff !important; box-shadow: var(--pm-btn-shadow) !important; }
html:not([data-theme=illuminati]) .cn-tab.is-active { color: var(--accent-ink) !important; }

/* ── Panels: glass cards ─────────────────────────────────────────────────── */
html:not([data-theme=illuminati]) :is(.card, .form-card, .dash-sidebar, .co-card, .sp-modal, .steps-bar) {
  background: var(--pm-glass) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid var(--pm-edge) !important;
  box-shadow: 0 0 0 1px var(--pm-hair), var(--pm-shadow) !important;
}
/* lists of many cards: the same look without the blur (phones stay smooth) */
html:not([data-theme=illuminati]) :is(.stat-card, .user-item, .req-item, .product-card, .store-card, .pcard, .review-card, .ms-stat) {
  background: var(--pm-glass-2) !important;
  border: 1px solid var(--pm-edge) !important;
  box-shadow: 0 0 0 1px var(--pm-hair), var(--pm-shadow-sm) !important;
}
html:not([data-theme=illuminati]) .card { border-radius: var(--pm-r-card) !important; }
html:not([data-theme=illuminati]) .form-card { border-radius: 28px !important; }
html:not([data-theme=illuminati]) .empty-state {
  background: var(--pm-glass) !important; border: 1.5px dashed var(--border2) !important; border-radius: var(--pm-r-card) !important;
  display: grid; justify-items: center; gap: 6px;
}

/* Form fields: taller, softer, a blue ring when typing */
html:not([data-theme=illuminati]) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]), select, textarea) {
  border-radius: var(--pm-r-ctl);
}
html:not([data-theme=illuminati]) :is(.form-group, .form-card) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]), select, textarea) {
  background: var(--pm-glass-2) !important;
  border: 1px solid var(--border2) !important;
  box-shadow: inset 0 1px 2px rgb(16 42 92 / 0.04) !important;
  min-height: 50px;
  padding-left: 16px; padding-right: 16px;
}
html:not([data-theme=illuminati]) :is(.form-group, .form-card) :is(input, select, textarea):focus { border-color: var(--accent) !important; box-shadow: var(--focus-ring) !important; }
html:not([data-theme=illuminati]) .form-card .form-group label { display: flex; align-items: center; gap: 8px; color: var(--text) !important; font-weight: 700 !important; }
html:not([data-theme=illuminati]) .form-card .form-group label > .nav-ico,
html:not([data-theme=illuminati]) .form-card .form-group label .csx-pin .nav-ico { width: 18px; height: 18px; flex-basis: 18px; stroke-width: 1.9; color: var(--text2) !important; }
html:not([data-theme=illuminati]) .form-card .form-group label .csx-pin { display: inline-flex; }
html:not([data-theme=illuminati]) .form-card .form-group label .csx-pin .nav-ico { color: #ef4444 !important; }
html:not([data-theme=illuminati]) .form-title { font-size: clamp(26px, 2.4vw, 32px) !important; font-weight: 800 !important; letter-spacing: -0.025em !important; }

/* Status chips: green = active / done */
html:not([data-theme=illuminati]) .badge { display: inline-flex !important; align-items: center; gap: 6px; padding: 5px 12px !important; }
html:not([data-theme=illuminati]) .badge .nav-ico { width: 14px; height: 14px; flex-basis: 14px; stroke-width: 2; color: inherit !important; }
html:not([data-theme=illuminati]) .badge-green { background: var(--pm-ok-bg) !important; color: var(--pm-ok-fg) !important; }

/* ── The menu: brand head, icon tiles, chevrons, a wave at the bottom ─────── */
html:not([data-theme=illuminati]) .cn-drawer-panel {
  /* the wave sits after the last item ("local": it scrolls with the list, never over an item) */
  background: var(--foot-wave) center bottom / 100% 86px no-repeat local, var(--pm-glass-2) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  border-left: 1px solid var(--pm-edge) !important;
  border-radius: 30px 0 0 30px !important;
  box-shadow: -30px 0 60px -30px rgb(16 42 92 / 0.4) !important;
  padding-bottom: 104px !important;
}
html:not([data-theme=illuminati]) .nav-drawer-head {
  display: flex !important; align-items: center; gap: 12px;
  margin: -4px -4px 10px !important; padding: 14px 14px 18px !important;
  border-bottom: 1px solid var(--pm-hair) !important;
  background: radial-gradient(120% 140% at 100% 0%, rgb(37 99 235 / 0.12), transparent 60%);
  border-radius: 26px 0 0 0;
}
.nav-drawer-brand { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.nav-drawer-logo { width: 56px; height: 56px; border-radius: 50%; flex: 0 0 56px; box-shadow: 0 0 0 3px var(--bg2), 0 0 0 4px var(--border2), 0 8px 18px -8px rgb(16 42 92 / 0.35); }
.nav-drawer-names { display: grid; gap: 2px; min-width: 0; }
html:not([data-theme=illuminati]) .nav-drawer-title { font: 800 22px/1.1 var(--font-display) !important; letter-spacing: -0.02em !important; color: var(--text) !important; }
.nav-drawer-tag { font: 500 13.5px/1.3 var(--font-ui); color: var(--text2); }
html:not([data-theme=illuminati]) .nav-drawer-close {
  width: 44px; height: 44px; flex: 0 0 44px; display: inline-grid !important; place-items: center; padding: 0 !important;
  background: var(--bg2) !important; border: 1px solid var(--border2) !important; border-radius: 14px !important;
  box-shadow: var(--shadow-xs) !important; color: var(--text) !important;
}
html:not([data-theme=illuminati]) .nav-drawer-close .nav-ico { width: 20px; height: 20px; flex-basis: 20px; stroke-width: 2.2; color: inherit !important; }
html:not([data-theme=illuminati]) .nav-drawer-close:hover { background: var(--bg3) !important; }
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn {
  min-height: 58px; padding: 6px 12px 6px 7px !important; margin: 1px 0;
  border-radius: 16px !important; gap: 14px !important;
  font: 600 15.5px var(--font-ui) !important; color: var(--text) !important;
  transition: background-color .18s, box-shadow .18s, transform .18s var(--pm-ease) !important;
}
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn .nav-ico {
  box-sizing: content-box;
  width: 21px; height: 21px; flex: 0 0 21px; padding: 11px;
  border-radius: 14px; stroke-width: 1.8;
  background: var(--pm-tile); color: var(--pm-tile-ink) !important;
  box-shadow: inset 0 0 0 1px var(--pm-tile-edge);
}
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn::after {
  content: ""; width: 18px; height: 18px; flex: 0 0 18px; margin-left: 4px; opacity: .55; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn .nav-badge { margin-left: auto !important; position: static !important; }
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn:not(:has(.nav-badge:not([style*="none"])))::after { margin-left: auto; }
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn:hover { background: var(--pm-row-on) !important; }
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn.is-active {
  background: var(--pm-row-on) !important; color: var(--accent-ink) !important;
  box-shadow: inset 0 0 0 1px var(--pm-tile-edge) !important;
}
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn.is-active .nav-ico { background: var(--bg2); }
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn-new {
  background: var(--pm-grad) !important; color: #ffffff !important; box-shadow: var(--pm-btn-shadow) !important;
}
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn-new .nav-ico {
  background: rgb(255 255 255 / 0.18) !important; color: #ffffff !important; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.28) !important;
}
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn-new:hover { background: var(--pm-grad-h) !important; transform: translateY(-1px); }
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn-logout { color: var(--text) !important; }
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn-logout .nav-ico { background: var(--tone-red-bg); color: var(--tone-red-fg) !important; box-shadow: none; }
html:not([data-theme=illuminati]) .cn-drawer-panel .nav-btn-logout:hover { background: var(--tone-red-bg) !important; color: var(--tone-red-fg) !important; }
html:not([data-theme=illuminati]) .cn-drawer-panel .cn-install-btn::after { display: none; }

/* ── Settings: a wide window with the sections listed on the left ─────────── */
html:not([data-theme=illuminati]) #navSettingsPanel {
  background: var(--pm-glass-2) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--pm-edge) !important;
  border-radius: 28px !important;
  box-shadow: 0 0 0 1px var(--pm-hair), 0 40px 80px -30px rgb(16 42 92 / 0.45) !important;
}
html:not([data-theme=illuminati]) .ns-head {
  gap: 14px; padding: 18px 18px 16px 22px !important; border-bottom: 1px solid var(--pm-hair) !important;
  background: radial-gradient(90% 160% at 100% 0%, rgb(37 99 235 / 0.10), transparent 60%);
}
.ns-head-logo { display: none; flex: 0 0 52px; }
.ns-head-logo img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 3px var(--bg2), 0 0 0 4px var(--border2); }
.ns-head-text { flex: 1; min-width: 0; }
html:not([data-theme=illuminati]) .ns-title { font: 800 21px/1.15 var(--font-display) !important; letter-spacing: -0.02em; color: var(--text) !important; }
.ns-sub { font: 500 13.5px/1.4 var(--font-ui); color: var(--text2); margin-top: 3px; }
html:not([data-theme=illuminati]) .ns-x {
  width: 44px; height: 44px; flex: 0 0 44px; display: inline-grid; place-items: center; padding: 0 !important;
  border-radius: 14px !important; border: 1px solid var(--border2) !important; background: var(--bg2) !important; color: var(--text) !important;
  box-shadow: var(--shadow-xs);
}
html:not([data-theme=illuminati]) .ns-x .nav-ico { width: 20px; height: 20px; flex-basis: 20px; stroke-width: 2.2; color: inherit !important; }
.ns-side { display: none; }
.ns-body { padding: 6px 0 4px; }
html:not([data-theme=illuminati]) .ns-section { border-bottom: 1px solid var(--pm-hair) !important; }
html:not([data-theme=illuminati]) .ns-label {
  display: flex; align-items: center; gap: 10px;
  font: 700 15.5px/1.25 var(--font-ui) !important; color: var(--text) !important; margin-bottom: 14px !important;
}
.ns-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; background: var(--pm-tile); color: var(--pm-tile-ink); box-shadow: inset 0 0 0 1px var(--pm-tile-edge); }
.ns-ico .nav-ico { width: 18px; height: 18px; flex-basis: 18px; stroke-width: 1.9; color: inherit !important; }
.ns-danger-section .ns-ico { background: var(--tone-red-bg); color: var(--tone-red-fg); box-shadow: none; }
/* the three theme buttons: one segmented control */
html:not([data-theme=illuminati]) .ns-theme-btns { gap: 4px !important; padding: 4px; border-radius: 16px; background: var(--bg3); box-shadow: inset 0 0 0 1px var(--border); }
html:not([data-theme=illuminati]) .ns-theme-btn {
  border: 0 !important; background: transparent !important; border-radius: 12px !important; padding: 9px 14px !important;
  font: 600 13.5px var(--font-ui) !important; color: var(--text2) !important; gap: 7px !important;
}
html:not([data-theme=illuminati]) .ns-theme-btn .nav-ico { width: 16px; height: 16px; flex-basis: 16px; stroke-width: 2; color: inherit !important; }
html:not([data-theme=illuminati]) .ns-theme-btn.ns-active { background: var(--bg2) !important; color: var(--accent-ink) !important; box-shadow: 0 0 0 1px var(--accent), var(--shadow-xs) !important; }
html:not([data-theme=illuminati]) :is(.ns-map-btn, .ns-select, .ns-loc-wrap input) { border-radius: 14px !important; }
html:not([data-theme=illuminati]) .ns-map-btn { border-style: solid !important; border-color: var(--border2) !important; background: var(--bg2) !important; padding: 13px 14px !important; }
html:not([data-theme=illuminati]) .ns-map-btn:hover { border-color: var(--accent) !important; background: var(--pm-row-on) !important; }
html:not([data-theme=illuminati]) .ns-map-btn .nav-ico { color: var(--pm-tile-ink) !important; }
html:not([data-theme=illuminati]) .ns-select { min-height: 48px; background-color: var(--bg2) !important; }
html:not([data-theme=illuminati]) .ns-currency-pill { border-radius: 999px !important; background: var(--tone-blue-bg) !important; border-color: transparent !important; color: var(--tone-blue-fg) !important; font-weight: 700; padding: 7px 14px !important; }
html:not([data-theme=illuminati]) .ns-loc-pill { border-radius: 14px !important; }
html:not([data-theme=illuminati]) .ns-save-btn { border-radius: 14px !important; min-height: 48px; font-size: 15px !important; }
html:not([data-theme=illuminati]) .ns-danger-section { background: linear-gradient(180deg, rgb(239 68 68 / 0.06), rgb(239 68 68 / 0.02)) !important; }
html:not([data-theme=illuminati]) .ns-delete-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px !important; min-height: 48px; }
html:not([data-theme=illuminati]) .ns-delete-btn .nav-ico { width: 18px; height: 18px; flex-basis: 18px; stroke-width: 2; color: inherit !important; }
@media (min-width: 900px) {
  html:not([data-theme=illuminati]) #navSettingsOverlay { align-items: center !important; justify-content: center !important; padding: 24px !important; }
  html:not([data-theme=illuminati]) #navSettingsPanel {
    max-width: 980px !important; width: 100% !important;
    height: min(780px, calc(100dvh - 48px)); max-height: none !important; overflow: hidden !important;
    display: flex; flex-direction: column;
  }
  html:not([data-theme=illuminati]) .ns-head-logo { display: block; }
  .ns-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
  .ns-side {
    display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; min-height: 0; overflow-y: auto;
    border-right: 1px solid var(--pm-hair);
  }
  .ns-side-btn {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 0 14px;
    border: 0; border-radius: 14px; background: transparent; cursor: pointer; text-align: left;
    font: 600 14.5px var(--font-ui); color: var(--text2);
    transition: background-color .18s, color .18s;
  }
  .ns-side-btn .nav-ico { width: 20px; height: 20px; flex-basis: 20px; stroke-width: 1.8; color: inherit; }
  .ns-side-btn:hover { background: var(--pm-row-on); color: var(--text); }
  .ns-side-btn.is-on { background: var(--pm-grad); color: #ffffff; box-shadow: var(--pm-btn-shadow); }
  .ns-side-btn.is-danger:not(.is-on) { color: var(--tone-red-fg); }
  .ns-side-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .ns-side-brand {
    margin-top: auto; display: grid; justify-items: center; gap: 2px; padding: 20px 14px 18px; border-radius: 20px;
    background: radial-gradient(120% 90% at 50% 0%, #3f7df5 0%, #1d4ed8 55%, #0f2a5c 100%);
    color: #ffffff; text-align: center; box-shadow: var(--pm-btn-shadow);
  }
  .ns-side-brand img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 8px; box-shadow: 0 0 0 3px rgb(255 255 255 / 0.35); }
  .ns-side-brand b { font: 800 19px/1.1 var(--font-display); letter-spacing: -0.02em; }
  .ns-side-brand span { font: 500 13px/1.3 var(--font-ui); color: rgb(255 255 255 / 0.85); }
  .ns-body { min-height: 0; overflow-y: auto; padding: 14px 18px 18px; scrollbar-width: thin; }
  html:not([data-theme=illuminati]) .ns-section {
    margin: 0 0 12px; padding: 18px 20px !important; border-radius: 20px;
    border: 1px solid var(--pm-hair) !important; background: var(--bg2);
    box-shadow: var(--shadow-xs);
  }
  html:not([data-theme=illuminati]) .ns-save-section { border: 0 !important; background: transparent; box-shadow: none; padding: 2px 0 !important; }
  html:not([data-theme=illuminati]) .ns-danger-section { border-color: rgb(239 68 68 / 0.28) !important; }
}

/* ── Chats: two glass panels floating on the waves ───────────────────────── */
html:not([data-theme=illuminati]) .ck-btn {
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--pm-grad); color: #ffffff; box-shadow: var(--pm-btn-shadow);
  font: 700 15px/1 var(--font-ui);
}
html:not([data-theme=illuminati]) .ck-btn:hover { filter: none; background: var(--pm-grad-h); color: #ffffff; transform: translateY(-1px); }
html:not([data-theme=illuminati]) .ck-btn.ghost { background: var(--pm-glass-2); color: var(--text); border: 1px solid var(--border2); box-shadow: var(--shadow-xs); }
html:not([data-theme=illuminati]) .ck-btn.ghost:hover { background: var(--bg2); color: var(--accent-ink); border-color: var(--accent); }
html:not([data-theme=illuminati]) .ck-btn.danger { background: transparent; color: var(--ck-danger); box-shadow: none; }
html:not([data-theme=illuminati]) .ck-btn.danger.solid { background: var(--ck-danger); color: #ffffff; }
html:not([data-theme=illuminati]) .ck-fab { background: var(--pm-grad); color: #ffffff; border-radius: 18px; box-shadow: var(--pm-btn-shadow); }
@media (min-width: 900px) {
  html:not([data-theme=illuminati]) .ck-app {
    gap: 22px; padding: 22px 26px 26px; max-width: 1760px;
    background: transparent; border: 0;
  }
  html:not([data-theme=illuminati]) :is(.ck-side, .ck-main) {
    border-radius: 28px; border: 1px solid var(--pm-edge);
    box-shadow: 0 0 0 1px var(--pm-hair), var(--pm-shadow);
  }
  html:not([data-theme=illuminati]) .ck-side {
    background: var(--pm-glass);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    backdrop-filter: blur(22px) saturate(1.4);
  }
  html:not([data-theme=illuminati]) .ck-app[data-page="inbox"] .ck-main,
  html:not([data-theme=illuminati]) .ck-app[data-page="create_group"] .ck-main {
    background: var(--pm-glass);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    backdrop-filter: blur(22px) saturate(1.4);
  }
}
html:not([data-theme=illuminati]) .ck-side .ck-phead { background: transparent; border-bottom: 0; min-height: 72px; padding: 14px 12px 4px 18px; }
html:not([data-theme=illuminati]) .ck-side .ck-phead h1 { font: 800 26px/1.1 var(--font-display) !important; letter-spacing: -0.025em !important; margin-left: 12px; }
html:not([data-theme=illuminati]) .ck-side .ck-phead .ck-ib { width: 44px; height: 44px; border-radius: 14px; color: var(--text); }
html:not([data-theme=illuminati]) .ck-side .ck-phead .ck-ib:hover { background: var(--pm-row-on); }
html:not([data-theme=illuminati]) .ck-search { padding: 10px 16px 6px; }
html:not([data-theme=illuminati]) .ck-search-box {
  height: 50px; border-radius: 999px; background: var(--pm-glass-2);
  border: 1px solid var(--pm-edge); box-shadow: 0 0 0 1px var(--pm-hair), var(--shadow-xs);
}
html:not([data-theme=illuminati]) .ck-search-box:focus-within { box-shadow: 0 0 0 1px var(--accent), var(--focus-ring); }
html:not([data-theme=illuminati]) .ck-search-box svg { left: 18px; width: 19px; height: 19px; color: var(--text2); }
html:not([data-theme=illuminati]) .ck-search-box input { padding-left: 48px; font: 500 15px var(--font-ui); }
/* the filters stay on one row (they scroll sideways when the panel is narrow); the count sits inside the chip */
html:not([data-theme=illuminati]) .ck-chips { gap: 8px; padding: 12px 16px 14px; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
html:not([data-theme=illuminati]) .ck-chip {
  position: relative; height: 40px; padding: 0 15px; gap: 7px; border-radius: 999px;
  background: var(--pm-glass-2); border: 1px solid var(--border2); color: var(--text);
  font: 600 14px/1 var(--font-ui); box-shadow: var(--shadow-xs); white-space: nowrap;
}
html:not([data-theme=illuminati]) .ck-chip:hover { background: var(--bg2); border-color: var(--accent); color: var(--accent-ink); }
html:not([data-theme=illuminati]) .ck-chip[aria-pressed="true"] {
  background: var(--pm-grad); border-color: transparent; color: #ffffff; box-shadow: var(--pm-btn-shadow);
}
html:not([data-theme=illuminati]) .ck-chip svg { width: 17px; height: 17px; }
html:not([data-theme=illuminati]) .ck-chip .ck-n {
  position: static; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: #ef4444; color: #ffffff; font: 700 11.5px/1 var(--font-ui); box-shadow: none;
}
html:not([data-theme=illuminati]) .ck-chip[aria-pressed="true"] .ck-n { background: #ffffff; color: #1d4ed8; }
html:not([data-theme=illuminati]) .ck-list { padding: 4px 10px 90px; }
html:not([data-theme=illuminati]) .ck-item { margin: 2px 0; }
html:not([data-theme=illuminati]) .ck-item-link { height: 76px; padding: 0 12px; border-radius: 18px; transition: background-color .15s; }
html:not([data-theme=illuminati]) .ck-item:hover .ck-item-link,
html:not([data-theme=illuminati]) .ck-item.ck-menu-open .ck-item-link { background: var(--pm-row-on); }
html:not([data-theme=illuminati]) .ck-item.active .ck-item-link { background: var(--pm-row-on); box-shadow: inset 0 0 0 1px var(--pm-tile-edge); }
html:not([data-theme=illuminati]) .ck-item-main { border-bottom-color: var(--pm-hair); }
html:not([data-theme=illuminati]) .ck-item.active .ck-item-main,
html:not([data-theme=illuminati]) .ck-item:hover .ck-item-main { border-bottom-color: transparent; }
html:not([data-theme=illuminati]) .ck-item-name { font: 700 16px var(--font-ui); color: var(--text); }
html:not([data-theme=illuminati]) .ck-item-prev { font: 500 14px var(--font-ui); }
html:not([data-theme=illuminati]) .ck-badge { background: var(--pm-grad); color: #ffffff; box-shadow: 0 6px 12px -6px rgb(29 78 216 / 0.8); }
html:not([data-theme=illuminati]) .ck-item .ck-av { box-shadow: 0 0 0 2px var(--bg2), 0 6px 14px -8px rgb(16 42 92 / 0.45); }
/* the welcome side of the Chats page: the Connecto logo in a soft glow. It never gets cut off:
   in a low window the side scrolls (the box centres itself with auto margins, so nothing is
   pushed above the top). */
.ck-intro-img { display: none !important; }        /* the picture of an earlier update 12 inbox.php */
.ck-intro-logo { position: relative; width: 132px; height: 132px; margin: 0 auto 30px; }
.ck-intro-logo img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; }
html:not([data-theme=illuminati]) .ck-intro {
  align-items: flex-start; justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain;
  padding: 36px 32px; background: transparent; border-bottom: 0;
}
html:not([data-theme=illuminati]) .ck-intro-box { max-width: 640px; margin: auto; }
html:not([data-theme=illuminati]) .ck-intro-logo::before {
  content: ""; position: absolute; inset: -46px; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgb(59 111 232 / 0.26), rgb(59 111 232 / 0.08) 62%, transparent);
}
html:not([data-theme=illuminati]) .ck-intro-logo::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%; z-index: 0;
  background: var(--pm-glass-2); border: 1px solid var(--pm-tile-edge);
  box-shadow: 0 0 0 1px var(--pm-hair), 0 22px 44px -22px rgb(29 78 216 / 0.6);
}
html:not([data-theme=illuminati]) .ck-intro-logo img { box-shadow: 0 10px 22px -12px rgb(16 42 92 / 0.55); }
html:not([data-theme=illuminati]) .ck-intro-box h2 { font: 800 clamp(30px, 2.9vw, 42px)/1.1 var(--font-display) !important; letter-spacing: -0.03em !important; color: var(--text); margin-bottom: 12px; }
html:not([data-theme=illuminati]) .ck-intro-box > p:not(.ck-intro-foot) { font: 500 16.5px/1.6 var(--font-ui); color: var(--text2); max-width: 52ch; margin-left: auto; margin-right: auto; }
html:not([data-theme=illuminati]) .ck-intro-actions { gap: 12px; flex-wrap: wrap; justify-content: center; }
html:not([data-theme=illuminati]) .ck-intro-foot {
  display: inline-flex; align-items: center; gap: 10px; text-align: left;
  margin-top: 26px !important; padding: 12px 18px; border-radius: 18px;
  background: var(--pm-glass-2); border: 1px solid var(--pm-edge); box-shadow: 0 0 0 1px var(--pm-hair), var(--shadow-xs);
  font: 500 14px/1.45 var(--font-ui) !important; color: var(--text2);
}
@media (max-height: 780px) {
  .ck-intro-logo { width: 104px; height: 104px; margin-bottom: 24px; }
  html:not([data-theme=illuminati]) .ck-intro-foot { margin-top: 18px !important; }
}
html:not([data-theme=illuminati]) .ck-intro-foot b { color: var(--accent-ink); }
.ck-intro-tipico { display: inline-grid; place-items: center; flex: 0 0 auto; color: var(--accent); }
.ck-intro-tipico .nav-ico { width: 22px; height: 22px; flex-basis: 22px; stroke-width: 1.8; color: inherit !important; }

/* ── A chat (one person or a group), as in the owner's picture ──────────────
   One ground behind the header, the messages and the typing box: a wire globe
   like the one in the Connecto logo, with glowing places and arcs between them,
   faint network lines and the blue waves. Drawn inline (no picture files).
   Bubbles are white (theirs) and light blue (yours) with 18px corners; calls
   are cards with a coloured icon tile (red = missed, green = voice, blue =
   video); the date is a pill with a calendar; round glass buttons. */
html[data-theme="light"] {
  --pm-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-260 -260 520 520'%3E%3Cdefs%3E%3CradialGradient id='s' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%23cfe0ff' stop-opacity='.35'/%3E%3C/radialGradient%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%232563eb' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%232563eb' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg transform='rotate(-14)'%3E%3Ccircle r='220' fill='url(%23s)' stroke='%232f6be8' stroke-opacity='.22' stroke-width='1.6'/%3E%3Cg fill='none' stroke='%232f6be8' stroke-opacity='.13' stroke-width='1.1'%3E%3Cellipse cy='176.7' rx='110' ry='41.2'/%3E%3Cellipse cy='131.1' rx='168.5' ry='63.1'/%3E%3Cellipse cy='69.8' rx='206.7' ry='77.4'/%3E%3Cellipse cy='0' rx='220' ry='82.4'/%3E%3Cellipse cy='-69.8' rx='206.7' ry='77.4'/%3E%3Cellipse cy='-131.1' rx='168.5' ry='63.1'/%3E%3Cellipse cy='-176.7' rx='110' ry='41.2'/%3E%3Cellipse rx='220' ry='0.6' transform='rotate(90)'/%3E%3Cellipse rx='220' ry='102' transform='rotate(77.8)'/%3E%3Cellipse rx='220' ry='176.7' transform='rotate(57)'/%3E%3Cellipse rx='220' ry='204' transform='rotate(0)'/%3E%3Cellipse rx='220' ry='176.7' transform='rotate(-57)'/%3E%3Cellipse rx='220' ry='102' transform='rotate(-77.8)'/%3E%3C/g%3E%3Cg fill='none' stroke='%232563eb' stroke-opacity='.30' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M-116 -77.3Q-48.1 -140.7 50.7 -113.7'/%3E%3Cpath d='M50.7 -113.7Q144.3 -75.5 158.6 4.2'/%3E%3Cpath d='M-116 -77.3Q-147.5 39 -66 125.4'/%3E%3Cpath d='M-66 125.4Q7.7 195.7 78 179.8'/%3E%3Cpath d='M158.6 4.2Q161.1 125.2 78 179.8'/%3E%3Cpath d='M-196.6 -36.2Q-186.4 63.3 -66 125.4'/%3E%3Cpath d='M211 36.9Q202 22.4 158.6 4.2'/%3E%3Cpath d='M13.3 -30.8Q-77.9 -82 -116 -77.3'/%3E%3Cpath d='M13.3 -30.8Q127.3 -19.7 158.6 4.2'/%3E%3C/g%3E%3Ccircle cx='-116' cy='-77.3' r='13' fill='url(%23g)'/%3E%3Ccircle cx='-116' cy='-77.3' r='3.4' fill='%232563eb' fill-opacity='.55'/%3E%3Ccircle cx='50.7' cy='-113.7' r='13' fill='url(%23g)'/%3E%3Ccircle cx='50.7' cy='-113.7' r='3.4' fill='%232563eb' fill-opacity='.55'/%3E%3Ccircle cx='158.6' cy='4.2' r='13' fill='url(%23g)'/%3E%3Ccircle cx='158.6' cy='4.2' r='3.4' fill='%232563eb' fill-opacity='.55'/%3E%3Ccircle cx='-66' cy='125.4' r='13' fill='url(%23g)'/%3E%3Ccircle cx='-66' cy='125.4' r='3.4' fill='%232563eb' fill-opacity='.55'/%3E%3Ccircle cx='78' cy='179.8' r='13' fill='url(%23g)'/%3E%3Ccircle cx='78' cy='179.8' r='3.4' fill='%232563eb' fill-opacity='.55'/%3E%3Ccircle cx='-196.6' cy='-36.2' r='13' fill='url(%23g)'/%3E%3Ccircle cx='-196.6' cy='-36.2' r='3.4' fill='%232563eb' fill-opacity='.55'/%3E%3Ccircle cx='211' cy='36.9' r='13' fill='url(%23g)'/%3E%3Ccircle cx='211' cy='36.9' r='3.4' fill='%232563eb' fill-opacity='.55'/%3E%3Ccircle cx='13.3' cy='-30.8' r='13' fill='url(%23g)'/%3E%3Ccircle cx='13.3' cy='-30.8' r='3.4' fill='%232563eb' fill-opacity='.55'/%3E%3C/g%3E%3C/svg%3E");
  --pm-net: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg stroke='%232f6be8' stroke-opacity='.075' stroke-width='1'%3E%3Cpath d='M117.4 86.6L177.7 39.3'/%3E%3Cpath d='M117.4 86.6L211.7 169.9'/%3E%3Cpath d='M57.4 249.7L89.2 330.2'/%3E%3Cpath d='M57.4 249.7L-89.6 206.5'/%3E%3Cpath d='M617.4 249.7L470.4 206.5'/%3E%3Cpath d='M89.2 330.2L70.2 459.9'/%3E%3Cpath d='M89.2 330.2L221.6 307.4'/%3E%3Cpath d='M70.2 459.9L218.5 453'/%3E%3Cpath d='M70.2 459.9L-80.1 535'/%3E%3Cpath d='M630.2 459.9L479.9 535'/%3E%3Cpath d='M177.7 39.3L211.7 169.9'/%3E%3Cpath d='M177.7 39.3L218.5 -107'/%3E%3Cpath d='M177.7 599.3L218.5 453'/%3E%3Cpath d='M211.7 169.9L221.6 307.4'/%3E%3Cpath d='M211.7 169.9L341.8 116.7'/%3E%3Cpath d='M221.6 307.4L218.5 453'/%3E%3Cpath d='M221.6 307.4L333 374.9'/%3E%3Cpath d='M218.5 453L333 374.9'/%3E%3Cpath d='M218.5 453L334.7 500.5'/%3E%3Cpath d='M341.8 116.7L388.5 257.5'/%3E%3Cpath d='M341.8 116.7L488.3 30.4'/%3E%3Cpath d='M341.8 116.7L470.4 206.5'/%3E%3Cpath d='M388.5 257.5L333 374.9'/%3E%3Cpath d='M388.5 257.5L470.4 206.5'/%3E%3Cpath d='M388.5 257.5L455.2 324.8'/%3E%3Cpath d='M333 374.9L334.7 500.5'/%3E%3Cpath d='M333 374.9L455.2 324.8'/%3E%3Cpath d='M334.7 500.5L479.9 535'/%3E%3Cpath d='M488.3 30.4L479.9 -25'/%3E%3Cpath d='M488.3 590.4L479.9 535'/%3E%3Cpath d='M470.4 206.5L455.2 324.8'/%3E%3C/g%3E%3Cg fill='%232563eb'%3E%3Ccircle cx='117.4' cy='86.6' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='57.4' cy='249.7' r='7' fill-opacity='.06'/%3E%3Ccircle cx='57.4' cy='249.7' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='89.2' cy='330.2' r='7' fill-opacity='.06'/%3E%3Ccircle cx='89.2' cy='330.2' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='70.2' cy='459.9' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='177.7' cy='39.3' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='211.7' cy='169.9' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='221.6' cy='307.4' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='218.5' cy='453' r='7' fill-opacity='.06'/%3E%3Ccircle cx='218.5' cy='453' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='341.8' cy='116.7' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='388.5' cy='257.5' r='7' fill-opacity='.06'/%3E%3Ccircle cx='388.5' cy='257.5' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='333' cy='374.9' r='7' fill-opacity='.06'/%3E%3Ccircle cx='333' cy='374.9' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='334.7' cy='500.5' r='7' fill-opacity='.06'/%3E%3Ccircle cx='334.7' cy='500.5' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='488.3' cy='30.4' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='470.4' cy='206.5' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='455.2' cy='324.8' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='479.9' cy='535' r='1.8' fill-opacity='.22'/%3E%3C/g%3E%3C/svg%3E");
  --pm-chat-ground: linear-gradient(160deg, #f6f9ff 0%, #ecf3ff 55%, #e3edff 100%);
  --pm-call-ok: rgb(22 163 74 / 0.12);  --pm-call-ok-ink: #16a34a;
  --pm-call-vid: rgb(37 99 235 / 0.12); --pm-call-vid-ink: #2563eb;
  --pm-call-no: rgb(239 68 68 / 0.12);  --pm-call-no-ink: #dc2626;
  --pm-online: #16a34a;
}
html[data-theme="dark"], html:not([data-theme]) {
  --pm-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-260 -260 520 520'%3E%3Cdefs%3E%3CradialGradient id='s' cx='.38' cy='.32' r='.75'%3E%3Cstop offset='0' stop-color='%235b8cff' stop-opacity='.10'/%3E%3Cstop offset='1' stop-color='%231d3f82' stop-opacity='.10'/%3E%3C/radialGradient%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23a9c3ff' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%23a9c3ff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg transform='rotate(-14)'%3E%3Ccircle r='220' fill='url(%23s)' stroke='%238fb0ff' stroke-opacity='.20' stroke-width='1.6'/%3E%3Cg fill='none' stroke='%238fb0ff' stroke-opacity='.10' stroke-width='1.1'%3E%3Cellipse cy='176.7' rx='110' ry='41.2'/%3E%3Cellipse cy='131.1' rx='168.5' ry='63.1'/%3E%3Cellipse cy='69.8' rx='206.7' ry='77.4'/%3E%3Cellipse cy='0' rx='220' ry='82.4'/%3E%3Cellipse cy='-69.8' rx='206.7' ry='77.4'/%3E%3Cellipse cy='-131.1' rx='168.5' ry='63.1'/%3E%3Cellipse cy='-176.7' rx='110' ry='41.2'/%3E%3Cellipse rx='220' ry='0.6' transform='rotate(90)'/%3E%3Cellipse rx='220' ry='102' transform='rotate(77.8)'/%3E%3Cellipse rx='220' ry='176.7' transform='rotate(57)'/%3E%3Cellipse rx='220' ry='204' transform='rotate(0)'/%3E%3Cellipse rx='220' ry='176.7' transform='rotate(-57)'/%3E%3Cellipse rx='220' ry='102' transform='rotate(-77.8)'/%3E%3C/g%3E%3Cg fill='none' stroke='%238fb0ff' stroke-opacity='.28' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M-116 -77.3Q-48.1 -140.7 50.7 -113.7'/%3E%3Cpath d='M50.7 -113.7Q144.3 -75.5 158.6 4.2'/%3E%3Cpath d='M-116 -77.3Q-147.5 39 -66 125.4'/%3E%3Cpath d='M-66 125.4Q7.7 195.7 78 179.8'/%3E%3Cpath d='M158.6 4.2Q161.1 125.2 78 179.8'/%3E%3Cpath d='M-196.6 -36.2Q-186.4 63.3 -66 125.4'/%3E%3Cpath d='M211 36.9Q202 22.4 158.6 4.2'/%3E%3Cpath d='M13.3 -30.8Q-77.9 -82 -116 -77.3'/%3E%3Cpath d='M13.3 -30.8Q127.3 -19.7 158.6 4.2'/%3E%3C/g%3E%3Ccircle cx='-116' cy='-77.3' r='13' fill='url(%23g)'/%3E%3Ccircle cx='-116' cy='-77.3' r='3.4' fill='%23a9c3ff' fill-opacity='.55'/%3E%3Ccircle cx='50.7' cy='-113.7' r='13' fill='url(%23g)'/%3E%3Ccircle cx='50.7' cy='-113.7' r='3.4' fill='%23a9c3ff' fill-opacity='.55'/%3E%3Ccircle cx='158.6' cy='4.2' r='13' fill='url(%23g)'/%3E%3Ccircle cx='158.6' cy='4.2' r='3.4' fill='%23a9c3ff' fill-opacity='.55'/%3E%3Ccircle cx='-66' cy='125.4' r='13' fill='url(%23g)'/%3E%3Ccircle cx='-66' cy='125.4' r='3.4' fill='%23a9c3ff' fill-opacity='.55'/%3E%3Ccircle cx='78' cy='179.8' r='13' fill='url(%23g)'/%3E%3Ccircle cx='78' cy='179.8' r='3.4' fill='%23a9c3ff' fill-opacity='.55'/%3E%3Ccircle cx='-196.6' cy='-36.2' r='13' fill='url(%23g)'/%3E%3Ccircle cx='-196.6' cy='-36.2' r='3.4' fill='%23a9c3ff' fill-opacity='.55'/%3E%3Ccircle cx='211' cy='36.9' r='13' fill='url(%23g)'/%3E%3Ccircle cx='211' cy='36.9' r='3.4' fill='%23a9c3ff' fill-opacity='.55'/%3E%3Ccircle cx='13.3' cy='-30.8' r='13' fill='url(%23g)'/%3E%3Ccircle cx='13.3' cy='-30.8' r='3.4' fill='%23a9c3ff' fill-opacity='.55'/%3E%3C/g%3E%3C/svg%3E");
  --pm-net: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg stroke='%238fb0ff' stroke-opacity='.06' stroke-width='1'%3E%3Cpath d='M117.4 86.6L177.7 39.3'/%3E%3Cpath d='M117.4 86.6L211.7 169.9'/%3E%3Cpath d='M57.4 249.7L89.2 330.2'/%3E%3Cpath d='M57.4 249.7L-89.6 206.5'/%3E%3Cpath d='M617.4 249.7L470.4 206.5'/%3E%3Cpath d='M89.2 330.2L70.2 459.9'/%3E%3Cpath d='M89.2 330.2L221.6 307.4'/%3E%3Cpath d='M70.2 459.9L218.5 453'/%3E%3Cpath d='M70.2 459.9L-80.1 535'/%3E%3Cpath d='M630.2 459.9L479.9 535'/%3E%3Cpath d='M177.7 39.3L211.7 169.9'/%3E%3Cpath d='M177.7 39.3L218.5 -107'/%3E%3Cpath d='M177.7 599.3L218.5 453'/%3E%3Cpath d='M211.7 169.9L221.6 307.4'/%3E%3Cpath d='M211.7 169.9L341.8 116.7'/%3E%3Cpath d='M221.6 307.4L218.5 453'/%3E%3Cpath d='M221.6 307.4L333 374.9'/%3E%3Cpath d='M218.5 453L333 374.9'/%3E%3Cpath d='M218.5 453L334.7 500.5'/%3E%3Cpath d='M341.8 116.7L388.5 257.5'/%3E%3Cpath d='M341.8 116.7L488.3 30.4'/%3E%3Cpath d='M341.8 116.7L470.4 206.5'/%3E%3Cpath d='M388.5 257.5L333 374.9'/%3E%3Cpath d='M388.5 257.5L470.4 206.5'/%3E%3Cpath d='M388.5 257.5L455.2 324.8'/%3E%3Cpath d='M333 374.9L334.7 500.5'/%3E%3Cpath d='M333 374.9L455.2 324.8'/%3E%3Cpath d='M334.7 500.5L479.9 535'/%3E%3Cpath d='M488.3 30.4L479.9 -25'/%3E%3Cpath d='M488.3 590.4L479.9 535'/%3E%3Cpath d='M470.4 206.5L455.2 324.8'/%3E%3C/g%3E%3Cg fill='%23a9c3ff'%3E%3Ccircle cx='117.4' cy='86.6' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='57.4' cy='249.7' r='7' fill-opacity='.06'/%3E%3Ccircle cx='57.4' cy='249.7' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='89.2' cy='330.2' r='7' fill-opacity='.06'/%3E%3Ccircle cx='89.2' cy='330.2' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='70.2' cy='459.9' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='177.7' cy='39.3' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='211.7' cy='169.9' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='221.6' cy='307.4' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='218.5' cy='453' r='7' fill-opacity='.06'/%3E%3Ccircle cx='218.5' cy='453' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='341.8' cy='116.7' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='388.5' cy='257.5' r='7' fill-opacity='.06'/%3E%3Ccircle cx='388.5' cy='257.5' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='333' cy='374.9' r='7' fill-opacity='.06'/%3E%3Ccircle cx='333' cy='374.9' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='334.7' cy='500.5' r='7' fill-opacity='.06'/%3E%3Ccircle cx='334.7' cy='500.5' r='2.6' fill-opacity='.22'/%3E%3Ccircle cx='488.3' cy='30.4' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='470.4' cy='206.5' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='455.2' cy='324.8' r='1.8' fill-opacity='.22'/%3E%3Ccircle cx='479.9' cy='535' r='1.8' fill-opacity='.22'/%3E%3C/g%3E%3C/svg%3E");
  --pm-chat-ground: linear-gradient(160deg, #0e192d 0%, #0b1528 60%, #0a1222 100%);
  --pm-call-ok: rgb(74 222 128 / 0.14);  --pm-call-ok-ink: #4ade80;
  --pm-call-vid: rgb(143 176 255 / 0.16); --pm-call-vid-ink: #a9c3ff;
  --pm-call-no: rgb(248 113 113 / 0.15);  --pm-call-no-ink: #f87171;
  --pm-online: #4ade80;
}
:root { --pm-cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
html[data-theme="light"] .ck-app {
  --ck-in: #ffffff; --ck-out: #e3edff;
  --ck-shadow: 0 1px 2px rgb(16 42 92 / 0.06), 0 10px 24px -14px rgb(16 42 92 / 0.30);
}
html[data-theme="dark"] .ck-app, html:not([data-theme]) .ck-app {
  --ck-in: #16223a; --ck-out: #1f3a6d;
  --ck-shadow: 0 1px 2px rgb(0 0 0 / 0.30), 0 10px 24px -14px rgb(0 0 0 / 0.65);
}
html:not([data-theme=illuminati]) .ck-app:is([data-page="private"], [data-page="group"]) .ck-main {
  background:
    var(--pm-wave) right bottom / min(1000px, 100%) auto no-repeat,
    var(--pm-globe) right -90px top 44% / 520px 520px no-repeat,
    var(--pm-net) 0 0 / 560px 560px repeat,
    var(--pm-chat-ground);
}
@media (max-width: 899.98px) {
  html:not([data-theme=illuminati]) .ck-app:is([data-page="private"], [data-page="group"]) .ck-main {
    background:
      var(--pm-wave) right bottom / 100% auto no-repeat,
      var(--pm-globe) right -120px top 40% / 360px 360px no-repeat,
      var(--pm-net) 0 0 / 460px 460px repeat,
      var(--pm-chat-ground);
  }
}
html:not([data-theme=illuminati]) .ck-chat .ck-msgs { background: transparent; padding: 6px clamp(14px, 5%, 64px) 18px; }

/* header: big name, green "online", round glass buttons */
html:not([data-theme=illuminati]) .ck-chat .ck-chead { background: transparent; border-bottom: 0; min-height: 84px; padding: 14px 18px 10px 12px; gap: 10px; }
html:not([data-theme=illuminati]) .ck-chead-main { gap: 14px; padding: 6px 12px 6px 6px; border-radius: 20px; }
html:not([data-theme=illuminati]) .ck-chead-main:hover { background: var(--pm-glass); }
html:not([data-theme=illuminati]) .ck-chead-main .ck-av { --s: 52px !important; box-shadow: 0 0 0 3px var(--pm-glass-2), 0 10px 20px -10px rgb(16 42 92 / 0.55); }
html:not([data-theme=illuminati]) .ck-chead-name { font: 800 19px/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--text); }
html:not([data-theme=illuminati]) .ck-chead-sub { font: 500 13.5px/1.35 var(--font-ui); color: var(--text2); }
html:not([data-theme=illuminati]) .ck-chead-sub:is(.on, .live) { color: var(--pm-online); font-weight: 600; }
html:not([data-theme=illuminati]) .ck-chead-sub.on { display: inline-flex; align-items: center; gap: 7px; text-transform: capitalize; }
html:not([data-theme=illuminati]) .ck-chead-sub.on::before {
  content: ""; width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%;
  background: var(--pm-online); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pm-online) 22%, transparent);
}
html:not([data-theme=illuminati]) .ck-chead-acts { gap: 10px; }
html:not([data-theme=illuminati]) :is(.ck-chead-acts .ck-ib, .ck-chat .ck-back, .ck-jump) {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--pm-glass-2); border: 1px solid var(--pm-edge); color: var(--accent);
  box-shadow: 0 0 0 1px var(--pm-hair), 0 8px 18px -10px rgb(16 42 92 / 0.38);
  transition: transform .15s var(--pm-ease), background-color .15s, color .15s;
}
html:not([data-theme=illuminati]) :is(.ck-chead-acts .ck-ib, .ck-chat .ck-back):hover { background: var(--bg2); color: var(--accent-ink); transform: translateY(-1px); }
html:not([data-theme=illuminati]) .ck-chead-acts .ck-ib[disabled] { opacity: .5; transform: none; }
html:not([data-theme=illuminati]) :is(.ck-chead-acts .ck-ib, .ck-chat .ck-back) svg { width: 22px; height: 22px; }
html:not([data-theme=illuminati]) .ck-chat .ck-searchbar { background: var(--pm-glass); border-bottom: 1px solid var(--pm-hair); padding: 8px 16px; }

/* the date, notices and "No messages yet" as glass pills */
html:not([data-theme=illuminati]) .ck-day { margin: 18px 0 12px; }
html:not([data-theme=illuminati]) :is(.ck-day, .ck-float-day) span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: var(--pm-glass-2); color: var(--text); border: 1px solid var(--pm-edge);
  box-shadow: 0 0 0 1px var(--pm-hair), 0 8px 18px -12px rgb(16 42 92 / 0.40);
  font: 700 13px/1.2 var(--font-ui);
}
html:not([data-theme=illuminati]) :is(.ck-day, .ck-float-day) span::before {
  content: ""; width: 16px; height: 16px; flex: 0 0 16px; background: var(--accent);
  -webkit-mask: var(--pm-cal) center / contain no-repeat; mask: var(--pm-cal) center / contain no-repeat;
}
html:not([data-theme=illuminati]) :is(.ck-sys-row, .ck-unread-div, .ck-e2e) span {
  padding: 8px 16px; border-radius: 16px; background: var(--pm-glass-2); color: var(--text2);
  border: 1px solid var(--pm-edge); box-shadow: 0 0 0 1px var(--pm-hair), 0 8px 18px -12px rgb(16 42 92 / 0.35);
  font: 500 13.5px/1.45 var(--font-ui);
}
html:not([data-theme=illuminati]) .ck-unread-div { background: transparent; }
html:not([data-theme=illuminati]) .ck-unread-div span { color: var(--accent-ink); font-weight: 700; }

/* bubbles */
html:not([data-theme=illuminati]) .ck-chat .ck-row.first { margin-top: 10px; }
html:not([data-theme=illuminati]) .ck-chat .ck-b { border-radius: 18px; padding: 9px 12px 9px 14px; font: 400 15px/1.45 var(--font-ui); }
html:not([data-theme=illuminati]) .ck-chat .ck-b.media { padding: 4px; }
html:not([data-theme=illuminati]) .ck-chat .ck-b.media .ck-img img, html:not([data-theme=illuminati]) .ck-chat .ck-b.media .ck-vid { border-radius: 14px; }
html:not([data-theme=illuminati]) .ck-chat .ck-row.first.in .ck-b { border-top-left-radius: 4px; }
html:not([data-theme=illuminati]) .ck-chat .ck-row.first.out .ck-b { border-top-right-radius: 4px; }
html:not([data-theme=illuminati]) .ck-chat .ck-row.first .ck-b::before { top: 0; width: 9px; height: 12px; }
html:not([data-theme=illuminati]) .ck-chat .ck-row.first.in .ck-b::before { left: -8px; }
html:not([data-theme=illuminati]) .ck-chat .ck-row.first.out .ck-b::before { right: -8px; }
html:not([data-theme=illuminati]) .ck-chat .ck-meta { font: 500 11.5px/15px var(--font-ui); right: 12px; bottom: 6px; }
html:not([data-theme=illuminati]) .ck-chat .ck-sp { font: 500 11.5px/15px var(--font-ui); }    /* the room kept for the time: same size as the time */
html:not([data-theme=illuminati]) .ck-chat .ck-b-more { border-radius: 0 18px 0 14px; }
html:not([data-theme=illuminati]) .ck-chat :is(.ck-doc, .ck-quote) { border-radius: 12px; }
html:not([data-theme=illuminati]) .ck-typing-b { border-radius: 4px 18px 18px 18px; }
html:not([data-theme=illuminati]) .ck-reac { background: var(--pm-glass-2); border-color: var(--pm-edge); box-shadow: 0 0 0 1px var(--pm-hair), var(--shadow-xs); }

/* calls inside a chat: cards with a coloured icon tile */
html:not([data-theme=illuminati]) .ck-callrow .ck-b {
  min-width: 270px; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 18px;
  transition: transform .15s var(--pm-ease), box-shadow .15s;
}
html:not([data-theme=illuminati]) .ck-callrow.first .ck-b { border-radius: 18px; }
html:not([data-theme=illuminati]) .ck-callrow .ck-b::before { display: none; }
html:not([data-theme=illuminati]) .ck-callrow .ck-b:hover { transform: translateY(-1px); box-shadow: 0 1px 2px rgb(16 42 92 / 0.06), 0 16px 30px -16px rgb(16 42 92 / 0.38); }
html:not([data-theme=illuminati]) .ck-callrow .ck-call-ic {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px;
  background: var(--pm-call-ok); color: var(--pm-call-ok-ink);
}
html:not([data-theme=illuminati]) .ck-callrow .ck-b[data-callback="video"] .ck-call-ic { background: var(--pm-call-vid); color: var(--pm-call-vid-ink); }
html:not([data-theme=illuminati]) .ck-callrow.missed .ck-b[data-callback] .ck-call-ic { background: var(--pm-call-no); color: var(--pm-call-no-ink); }
html:not([data-theme=illuminati]) .ck-callrow .ck-call-ic svg { width: 22px; height: 22px; }
html:not([data-theme=illuminati]) .ck-callrow .ck-call-tx { padding-right: 58px; }
html:not([data-theme=illuminati]) .ck-callrow .ck-call-tx b { font: 700 15px/1.35 var(--font-ui); color: var(--text); }
html:not([data-theme=illuminati]) .ck-callrow .ck-call-tx span { font: 500 13px/1.4 var(--font-ui); color: var(--text2); }
html:not([data-theme=illuminati]) .ck-callrow .ck-meta { bottom: 12px; right: 16px; }

/* the typing box: round glass buttons, a pill to type in, a round blue send button */
html:not([data-theme=illuminati]) .ck-chat .ck-compose {
  background: var(--pm-glass); border-top: 1px solid var(--pm-hair);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
}
html.ck-kb:not([data-theme=illuminati]) .ck-chat .ck-compose { padding-bottom: 10px; }
html:not([data-theme=illuminati]) .ck-chat .ck-crow { gap: 10px; }
html:not([data-theme=illuminati]) .ck-chat .ck-crow .ck-ib {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--pm-glass-2); border: 1px solid var(--pm-edge); color: var(--text2);
  box-shadow: 0 0 0 1px var(--pm-hair), 0 6px 14px -10px rgb(16 42 92 / 0.40);
}
html:not([data-theme=illuminati]) .ck-chat .ck-crow .ck-ib:hover { color: var(--accent); background: var(--bg2); }
html:not([data-theme=illuminati]) .ck-chat .ck-crow .ck-ib:is([aria-pressed="true"], .on) { color: var(--pm-tile-ink); background: var(--pm-tile); box-shadow: inset 0 0 0 1px var(--pm-tile-edge); }
html:not([data-theme=illuminati]) .ck-chat .ck-input-wrap {
  min-height: 50px; border-radius: 26px; padding: 0 10px 0 20px;
  background: var(--pm-glass-2); border: 1px solid var(--pm-edge); box-shadow: 0 0 0 1px var(--pm-hair), 0 6px 14px -12px rgb(16 42 92 / 0.35);
}
html:not([data-theme=illuminati]) .ck-chat .ck-input-wrap:focus-within { border-color: transparent; box-shadow: 0 0 0 1.5px var(--accent), var(--focus-ring); }
/* whole pixels: chat-room.js sizes the box to its scrollHeight (a whole number), so a line of 22.4px
   (16px × 1.4 on phones) left 0.4px to scroll and showed a thin scrollbar at the end of the box */
html:not([data-theme=illuminati]) .ck-chat .ck-input { font-weight: 500; font-family: var(--font-ui); line-height: 22px; padding: 13px 0; }
html:not([data-theme=illuminati]) .ck-chat .ck-send {
  flex: 0 0 52px; width: 52px; height: 52px; margin-left: 0;
  background: var(--pm-grad); color: #ffffff; box-shadow: var(--pm-btn-shadow);
}
html:not([data-theme=illuminati]) .ck-chat .ck-send:hover { background: var(--pm-grad-h); filter: none; }
html:not([data-theme=illuminati]) .ck-chat .ck-rec { gap: 10px; }
@media (max-width: 600px) {
  html:not([data-theme=illuminati]) .ck-chat .ck-chead { min-height: 70px; padding: 10px 10px 8px 6px; gap: 6px; }
  html:not([data-theme=illuminati]) .ck-chead-main .ck-av { --s: 44px !important; }
  html:not([data-theme=illuminati]) .ck-chead-name { font-size: 17px; }
  html:not([data-theme=illuminati]) .ck-chead-acts { gap: 6px; }
  html:not([data-theme=illuminati]) :is(.ck-chead-acts .ck-ib, .ck-chat .ck-back) { width: 42px; height: 42px; }
  html:not([data-theme=illuminati]) :is(.ck-chead-acts .ck-ib, .ck-chat .ck-back) svg { width: 20px; height: 20px; }
  html:not([data-theme=illuminati]) .ck-chat .ck-compose { padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
  html:not([data-theme=illuminati]) .ck-chat .ck-crow { gap: 6px; }
  html:not([data-theme=illuminati]) .ck-chat .ck-crow .ck-ib { width: 44px; height: 44px; }
  html:not([data-theme=illuminati]) .ck-chat .ck-input-wrap { min-height: 46px; padding-left: 16px; }
  html:not([data-theme=illuminati]) .ck-chat .ck-input { padding: 11px 0; }
  html:not([data-theme=illuminati]) .ck-chat .ck-send { flex-basis: 46px; width: 46px; height: 46px; }
  html:not([data-theme=illuminati]) .ck-callrow .ck-b { min-width: 240px; }
}
@media (max-width: 420px) {
  html:not([data-theme=illuminati]) .ck-chead-main { gap: 10px; padding-right: 4px; }
  html:not([data-theme=illuminati]) .ck-chead-main .ck-av { --s: 40px !important; }
  html:not([data-theme=illuminati]) .ck-chead-acts { gap: 4px; }
  html:not([data-theme=illuminati]) :is(.ck-chead-acts .ck-ib, .ck-chat .ck-back) { width: 38px; height: 38px; }
  html:not([data-theme=illuminati]) .ck-chat .ck-crow .ck-ib { width: 42px; height: 42px; }
}

/* ── The icon bar of the chat pages (computers) ─────────────────────────────
   _nav.php writes it on the chat pages only; it replaces the top bar there, as
   the phones already do. In a low window, or without this file, the top bar stays. */
@media (min-width: 1100px) and (min-height: 620px) {
  html:not([data-theme=illuminati]) .ck-rail {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    position: fixed; z-index: 30; top: 22px; bottom: 26px; left: 22px; width: 80px;
    padding: 14px 0 14px; border-radius: 28px;
    background: var(--pm-glass); border: 1px solid var(--pm-edge);
    box-shadow: 0 0 0 1px var(--pm-hair), var(--pm-shadow);
    -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
    overflow-x: hidden; overflow-y: auto; scrollbar-width: none;
  }
  html:not([data-theme=illuminati]) .ck-rail::-webkit-scrollbar { display: none; }
  html:not([data-theme=illuminati]) .ck-rail ~ .topbar { display: none !important; }
  html:not([data-theme=illuminati]) .ck-rail ~ .ck-app { --ck-top: 0px; margin-left: 98px; margin-right: 0; max-width: none; }
  html:not([data-theme=illuminati]) .ck-rail ~ .ck-app .ck-side .ck-me-btn { display: none; }
  html:not([data-theme=illuminati]) .ck-rail ~ .ck-app .ck-side .ck-phead h1 { margin-left: 6px; }
}
.ck-rail-logo { flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 0 10px; border-radius: 50%; box-shadow: 0 12px 24px -12px rgb(29 78 216 / 0.7); }
.ck-rail-logo img { width: 56px; height: 56px; border-radius: 50%; }
.ck-rail-main, .ck-rail-foot { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ck-rail-main { flex: 1 0 auto; }
.ck-rail-foot { flex: 0 0 auto; width: 52px; padding-top: 10px; border-top: 1px solid var(--pm-hair); }
.ck-rail-btn {
  position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 48px; padding: 0;
  border: 0; border-radius: 16px; background: transparent; color: var(--text2); cursor: pointer; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.ck-rail-btn:hover { background: var(--pm-row-on); color: var(--accent-ink); }
.ck-rail-btn.is-on { background: var(--pm-tile); color: var(--pm-tile-ink); box-shadow: inset 0 0 0 1px var(--pm-tile-edge), 0 10px 20px -14px rgb(29 78 216 / 0.8); }
.ck-rail-btn:focus-visible, .ck-rail-logo:focus-visible, .ck-rail-me:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ck-rail-btn .nav-ico { width: 23px; height: 23px; flex: 0 0 23px; stroke-width: 1.8; color: inherit !important; }
.ck-rail-btn > span { display: inline-grid; place-items: center; }
.ck-rail-btn .nav-badge {
  position: absolute; top: 2px; right: 2px; margin: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ef4444; color: #ffffff; font: 700 11px/1 var(--font-ui); box-shadow: 0 0 0 2px var(--pm-glass-2);
}
.ck-rail-btn .nav-badge.nav-badge-blue { background: var(--accent); }
.ck-rail-dot { position: absolute; top: 9px; right: 11px; width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 2px var(--pm-glass-2); }
.ck-rail-me { position: relative; flex: 0 0 auto; display: block; width: 46px; height: 46px; margin-top: 8px; border-radius: 50%; text-decoration: none; }
.ck-rail-me img, .ck-rail-me span {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  background: var(--pm-grad); color: #ffffff; font: 700 18px/1 var(--font-ui);
  box-shadow: 0 0 0 2px var(--pm-glass-2), 0 8px 16px -8px rgb(16 42 92 / 0.55);
}
.ck-rail-online { position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; border-radius: 50%; background: #22c55e; border: 2.5px solid var(--bg2); }
@media (max-height: 780px) {          /* laptops: everything fits without scrolling down to 620 px */
  .ck-rail-logo, .ck-rail-logo img { width: 48px; height: 48px; }
  .ck-rail-logo { margin-bottom: 6px; }
  .ck-rail-main, .ck-rail-foot { gap: 2px; }
  .ck-rail-foot { padding-top: 6px; }
  .ck-rail-btn { height: 43px; }
  .ck-rail-me { margin-top: 4px; }
  .ck-rail-me, .ck-rail-me img, .ck-rail-me span { width: 42px; height: 42px; }
}

/* ── My Stores ───────────────────────────────────────────────────────────── */
.msx-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 18px;
  padding: 34px 0 26px;
}
.msx-new { grid-column: -2; }        /* always the last column, also when the picture is not on the server */
.msx-head h1 { font-size: clamp(32px, 3.6vw, 48px) !important; line-height: 1.05; margin: 0 0 6px; }
.msx-head p { margin: 0; font: 500 17px/1.5 var(--font-ui); color: var(--text2); }
.msx-art { width: clamp(240px, 26vw, 380px); margin: -18px 0 -22px; }
.msx-new { min-height: 52px; padding: 0 24px !important; font-size: 16px !important; border-radius: 16px !important; }
.msx-new .nav-ico { width: 20px; height: 20px; flex-basis: 20px; }
html:not([data-theme=illuminati]) .stripe-connect-banner.msx-pay {
  background: var(--pm-glass) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid var(--pm-edge) !important;
  box-shadow: 0 0 0 1px var(--pm-hair), var(--pm-shadow-sm) !important;
  border-radius: 22px !important; padding: 18px 22px !important;
}
.msx-pay .banner-title { font-weight: 700 !important; font-size: 16px !important; color: var(--text) !important; }
.msx-pay .banner-sub { font-size: 14px !important; line-height: 1.5; }
html:not([data-theme=illuminati]) .msx-pay .badge-connected {
  background: var(--pm-ok-bg) !important; border: 0 !important; color: var(--pm-ok-fg) !important;
  padding: 8px 16px !important; font-size: 14px !important; font-weight: 700 !important;
}
.msx-pay .badge-connected .nav-ico { width: 16px; height: 16px; flex-basis: 16px; stroke-width: 2.6; color: inherit !important; }
.msx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
html:not([data-theme=illuminati]) .msx-card { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
@media (hover: hover) and (pointer: fine) {
  html:not([data-theme=illuminati]) .msx-card { transition: transform .25s var(--pm-ease), box-shadow .25s var(--pm-ease); }
  html:not([data-theme=illuminati]) .msx-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--pm-hair), 0 34px 60px -28px rgb(16 42 92 / 0.4) !important; }
}
.msx-banner { height: 128px; background: linear-gradient(135deg, #cfe0ff 0%, #9fc1fb 45%, #3b74f0 100%); position: relative; }
html:not([data-theme="light"]) .msx-banner { background: linear-gradient(135deg, #1b2d52 0%, #24417a 50%, #2a5bd0 100%); }
.msx-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.msx-body { padding: 0 22px 22px; display: grid; gap: 16px; }
.msx-id { display: flex; align-items: flex-start; gap: 14px; margin-top: -40px; position: relative; }
.msx-logo {
  width: 88px; height: 88px; flex: 0 0 88px; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
  background: var(--tone-blue-bg); color: var(--tone-blue-fg);
  font: 800 34px/1 var(--font-display);
  box-shadow: 0 0 0 4px var(--bg2), 0 14px 28px -14px rgb(16 42 92 / 0.55);
}
.msx-names { min-width: 0; padding-top: 52px; }   /* below the banner, beside the round logo */
.msx-names h3 { margin: 0 0 2px !important; font-size: 22px !important; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msx-names p { margin: 0; color: var(--text2); font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.msx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.msx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.msx-actions .btn-sm { min-height: 42px; }
.msx-foot { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .msx-head { grid-template-columns: auto minmax(0, 1fr); padding-top: 22px; }
  .msx-art { display: none !important; }
  .msx-new { grid-column: 1 / -1; justify-self: start; }
}

/* ── Open a Store ────────────────────────────────────────────────────────── */
/* the page box of the old one-column form was 490px wide: room for the form and the panel */
.page-box.csx { width: calc(100% - 32px) !important; max-width: 1240px !important; margin: 44px auto 72px !important; }
@media (max-width: 760px) { .page-box.csx { width: calc(100% - 24px) !important; margin: 18px auto 40px !important; } }
.csx-head > div { min-width: 0; }
.csx .csx-grid { display: grid; grid-template-columns: minmax(0, 640px); justify-content: center; gap: 48px; align-items: center; }
@media (min-width: 1100px) { .csx .csx-grid { grid-template-columns: minmax(0, 620px) minmax(0, 520px); } }
html:not([data-theme=illuminati]) .csx-card { max-width: none !important; width: 100%; padding: 34px 34px 28px !important; }
.csx-head { display: flex; align-items: center; gap: 18px; }
.csx-head .form-sub { margin: 4px 0 0 !important; font-size: 15.5px; color: var(--text2); }
.csx-progress { height: 4px; border-radius: 999px; background: var(--bg4); margin: 22px 0 24px; overflow: hidden; }
.csx-progress span { display: block; height: 100%; width: 8%; border-radius: inherit; background: var(--pm-grad); transition: width .5s var(--pm-ease); }
.csx-count { text-align: right; font: 500 12.5px var(--font-ui); color: var(--text3); margin-top: 6px; font-variant-numeric: tabular-nums; }
html:not([data-theme=illuminati]) .csx .loc-open-btn {
  border-style: solid; border-color: var(--border2); background: var(--pm-glass-2); padding: 14px 16px; border-radius: 16px;
  color: var(--text); font-size: 15px;
}
html:not([data-theme=illuminati]) .csx .loc-open-btn:hover { border-color: var(--accent); background: var(--pm-row-on); color: var(--text); }
.csx-map-thumb {
  display: inline-grid; place-items: center; width: 56px; height: 44px; flex: 0 0 56px; border-radius: 12px;
  background: linear-gradient(135deg, #d8f0dc 0%, #cfe3ff 55%, #fde7c2 100%); color: #ef4444;
  box-shadow: inset 0 0 0 1px var(--pm-tile-edge);
}
html:not([data-theme="light"]) .csx-map-thumb { background: linear-gradient(135deg, #1f3a2b 0%, #1c2f52 55%, #3b3021 100%); }
.csx-map-thumb .nav-ico { width: 24px; height: 24px; flex-basis: 24px; stroke-width: 1.8; color: inherit !important; }
.csx .loc-manual-pin, .csx .loc-pill-icon { display: inline-flex; }
.csx .loc-manual-pin .nav-ico { width: 17px; height: 17px; flex-basis: 17px; color: #ef4444 !important; stroke-width: 1.9; }
.csx .loc-pill-icon .nav-ico, .csx .loc-pill-x .nav-ico { width: 17px; height: 17px; flex-basis: 17px; color: inherit !important; stroke-width: 2; }
html:not([data-theme=illuminati]) .csx .loc-manual input { padding-left: 42px !important; }
.csx .loc-hint { display: flex; align-items: center; gap: 7px; }
.csx .loc-hint .nav-ico { width: 15px; height: 15px; flex-basis: 15px; color: var(--accent) !important; stroke-width: 2; }
.csx-upload { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: stretch; }
.csx-drop {
  display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 84px; padding: 12px;
  border: 1.5px dashed var(--border3); border-radius: 16px; background: var(--pm-glass-2); cursor: pointer;
  font: inherit; color: var(--text); transition: border-color .18s, background-color .18s;
}
.csx-drop:hover { border-color: var(--accent); background: var(--pm-row-on); }
.csx-drop:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.csx-drop-top { display: inline-flex; align-items: center; gap: 8px; font: 700 15px var(--font-ui); }
.csx-drop-top .nav-ico { width: 20px; height: 20px; flex-basis: 20px; color: var(--accent) !important; stroke-width: 1.9; }
.csx-drop .upload-hint { margin: 0; text-align: center; }
.csx-thumb {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: 96px; border-radius: 16px; background: var(--pm-tile); color: var(--pm-tile-ink);
  box-shadow: inset 0 0 0 1px var(--pm-tile-edge);
}
.csx-thumb-banner { width: 140px; }
.csx-thumb .nav-ico { width: 34px; height: 34px; flex-basis: 34px; stroke-width: 1.5; color: inherit !important; }
.csx-thumb img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; border: 0 !important; border-radius: 0 !important; }
.csx-submit { min-height: 54px; font-size: 16px !important; border-radius: 16px !important; margin-top: 18px !important; }
.csx-submit .nav-ico { width: 20px; height: 20px; flex-basis: 20px; stroke-width: 2.4; }
.csx .form-footer a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-ink); }
.csx .form-footer .nav-ico { width: 16px; height: 16px; flex-basis: 16px; color: inherit !important; stroke-width: 2.2; }
.csx-aside { display: none; }
@media (min-width: 1100px) {
  .csx-aside { display: grid; gap: 18px; align-content: center; }
  .csx-aside h2 { margin: 0; font: 800 clamp(34px, 3.2vw, 46px)/1.08 var(--font-display) !important; letter-spacing: -0.03em !important; color: var(--text); }
  .csx-aside h2 span { color: var(--accent); }
  .csx-aside > p { margin: 0; font: 500 18px/1.55 var(--font-ui); color: var(--text2); max-width: 44ch; }
  .csx-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
  .csx-list li { display: flex; align-items: center; gap: 12px; font: 600 16.5px/1.35 var(--font-ui); color: var(--text); }
  .csx-check { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--pm-grad); color: #ffffff; box-shadow: var(--pm-btn-shadow); }
  .csx-check .nav-ico { width: 16px; height: 16px; flex-basis: 16px; stroke-width: 2.8; color: inherit !important; }
  .csx-art { width: min(440px, 100%); justify-self: end; margin-top: 6px; }
}

/* Hidden pictures of the old pages that the new ones replace */
.csx .upload-hint { font-size: 12.5px; }

/* ── Less motion when the visitor asks for it ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html:not([data-theme=illuminati]) :is(.btn, .nav-icon-btn, .nav-toggle, .msx-card, .ck-btn, .cn-drawer-panel .nav-btn, .csx-progress span) {
    transition: none !important; transform: none !important;
  }
}
