:root[data-theme=light] {
  --brand: #C8952C;
  --brand-600: #A87A1E;
  --brand-50: #FBF1DA;
  --gold: #C8952C;
  --gold2: #A0721A;
  --bg: #F6F3EC;
  --card: #FFFFFF;
  --soft: #F3EDE1;
  --line: #E8E1D2;
  --ink: #1F1C16;
  --muted: #6F685B;
  --faint: #9A9384;
  --danger: #E5484D;
  --danger-50: #FDE8E8;
  --warn: #E8930C;
  --warn-50: #FFF1D6;
  --ok: #20A46B;
  --ok-50: #DDF5E9;
  --info: #3B82F6;
  --info-50: #E3EDFF;
  --shadow: 0 1px 2px #0000000a, 0 8px 24px #1f1c160d;
  --shadow-lg: 0 18px 48px #1f1c1622;
  --stage:
    linear-gradient(
      160deg,
      #fff7e3 0%,
      #fdecc8 55%,
      #f8dfb0 100%);
  --font:
    "Cairo",
    "IBM Plex Sans Arabic",
    system-ui,
    sans-serif;
}
:root[data-theme=dark] {
  --stage:
    radial-gradient(
      120% 90% at 50% 100%,
      #2c2413 0%,
      #17161a 65%);
}
:root[data-theme=light] body.nx {
  background: var(--bg);
}
:root[data-theme=light] a {
  color: var(--gold2);
}
.nx-blobs {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.nx-blobs i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
}
.nx-blobs i:nth-child(1) {
  width: 440px;
  height: 440px;
  background: #ffd98a;
  top: -140px;
  inset-inline-end: -90px;
}
.nx-blobs i:nth-child(2) {
  width: 380px;
  height: 380px;
  background: #ffc2d1;
  bottom: -160px;
  inset-inline-start: 30%;
  opacity: .3;
}
.nx-blobs i:nth-child(3) {
  width: 340px;
  height: 340px;
  background: #bfe3ff;
  top: 35%;
  inset-inline-start: -140px;
  opacity: .35;
}
:root[data-theme=dark] .nx-blobs {
  display: none;
}
#app {
  position: relative;
  z-index: 1;
}
:root[data-theme=light] .btn.pri,
:root[data-theme=light] .btn.primary {
  background:
    linear-gradient(
      180deg,
      #E9B850,
      #C8952C);
  color: #fff;
  box-shadow: 0 6px 16px rgba(200, 149, 44, .25);
}
:root[data-theme=light] .card,
:root[data-theme=light] .v2-sec {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
:root[data-theme=light] .chip.on {
  background: var(--ink);
  color: var(--bg);
}
:root[data-theme=light] .side {
  background: var(--card);
  border-inline-end: 1px solid var(--line);
}
:root[data-theme=light] .side a.on {
  background: var(--brand-50);
  color: var(--gold2);
}
:root[data-theme=light] .topbar,
:root[data-theme=light] .topbar.v2top {
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
}
:root[data-theme=light] .bottomnav {
  background: rgba(255, 255, 255, .95);
  border-top: 1px solid var(--line);
}
.nx-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #E9B850,
      #C8952C);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(200, 149, 44, .333);
}
.nxtop h1 {
  font-size: 19px;
  font-weight: 800;
}
.nx-pts {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 13.5px;
  color: var(--gold2);
  text-decoration: none;
  font-weight: 700;
}
.nx-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 16px 2px;
  max-width: 1180px;
  margin: 0 auto;
}
.nx-tabs::-webkit-scrollbar {
  display: none;
}
.nx-tabs a {
  flex: none;
  padding: 7px 15px;
  border-radius: 99px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}
.nx-tabs a.on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.nx-subtabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 16px 0;
  max-width: 1180px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.nx-subtabs a {
  flex: none;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
  border-bottom: 2.5px solid transparent;
}
.nx-subtabs a.on {
  color: var(--gold2);
  border-bottom-color: var(--gold);
}
.nx-home {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 16px 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nx-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  background: var(--stage);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 240px;
}
.nx-hero.sm {
  min-height: 150px;
  grid-template-columns: 1fr 190px;
}
.nx-say {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.nx-say-t {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 800;
}
.nx-hero.sm .nx-say-t {
  font-size: 17px;
}
.nx-say-s {
  color: #6d5a33;
  font-size: 14px;
  line-height: 1.7;
}
.nx-say .btn {
  align-self: flex-start;
}
.wait {
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 8px;
  padding: 1px 7px;
  background: var(--warn-50);
  color: var(--warn);
}
.wait.late {
  background: var(--danger-50);
  color: var(--danger);
}
:root[data-theme=dark] .nx-say-s {
  color: var(--muted);
}
.nx-chal {
  align-self: flex-start;
  background: #fff;
  border-radius: 99px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 13.5px;
  color: #7a5a12;
  box-shadow: 0 4px 14px rgba(200, 149, 44, .2);
}
:root[data-theme=dark] .nx-chal {
  background: #2b2414;
  color: var(--gold2);
}
.nx-stage {
  position: relative;
  min-height: 150px;
  touch-action: none;
  cursor: grab;
  display: grid;
  place-items: center;
}
.nx-stage canvas,
.dstage canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.bot-host .bot-svg {
  display: block;
  margin: auto;
}
.nx-tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.nx-tc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s;
}
a.nx-tc:hover {
  transform: translateY(-2px);
}
.nx-tc b {
  font-size: 15.5px;
}
.nx-tc small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.nx-tc .btn {
  margin-top: auto;
  align-self: flex-start;
}
.nx-tci {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--soft);
}
.nx-tc.red .nx-tci {
  background: var(--danger-50);
}
.nx-tc.red {
  border-color: #f3c0c0;
}
.nx-tc.blue .nx-tci {
  background: var(--info-50);
}
.nx-tc.gold .nx-tci {
  background: var(--brand-50);
}
.nx-tc.ok .nx-tci {
  background: var(--ok-50);
}
.bar {
  display: block;
  height: 8px;
  background: var(--soft);
  border-radius: 9px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #E9B850,
      #C8952C);
  border-radius: 9px;
  transition: width .6s;
}
.bar.hot i {
  background:
    linear-gradient(
      90deg,
      #f87171,
      #e5484d);
}
.nx-news {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 15px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 14px;
}
.nx-news.unread {
  border-color: var(--gold);
}
.nx-tag {
  background: #efe8ff;
  color: #8b5cf6;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}
.nx-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nx-line {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.nx-line b {
  display: block;
  font-size: 15px;
}
.nx-line span {
  color: var(--muted);
  font-size: 13.5px;
}
.nx-line.warn {
  border-color: #f3c99a;
  background:
    linear-gradient(
      90deg,
      var(--warn-50),
      var(--card) 70%);
}
.nx-li {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}
.nx-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--danger-50);
  color: var(--danger);
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 600;
}
.nx-more summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
  padding: 6px 2px;
}
.nx-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nx-h {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nx-h b {
  font-size: 15.5px;
}
.nx-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--gold2);
  display: grid;
  place-items: center;
}
.nx-ic svg {
  width: 18px;
  height: 18px;
}
.nx-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nx-links a {
  padding: 7px 12px;
  border-radius: 99px;
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}
.nx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.nx-table td,
.nx-table th {
  padding: 7px 6px;
  border-bottom: 1px solid var(--line);
  text-align: start;
}
.nx-table th {
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px;
}
.nx-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
}
.nx-bar {
  width: 38%;
  height: 8px;
  background: var(--soft);
  border-radius: 9px;
  overflow: hidden;
}
.nx-bar i {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: 9px;
}
.nx-info {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  cursor: help;
  flex: none;
}
.nx-tip {
  position: fixed;
  z-index: 120;
  max-width: 300px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.7;
  box-shadow: var(--shadow-lg);
}
.bot-static {
  display: grid;
  place-items: center;
}
.nx-notes {
  position: fixed;
  top: 64px;
  inset-inline-start: 16px;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}
.nx-note {
  pointer-events: auto;
  display: flex;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  animation: nxIn .35s cubic-bezier(.2, .9, .3, 1.2);
  text-decoration: none;
  color: var(--ink);
  transition: opacity .5s, transform .5s;
}
.nx-note.out {
  opacity: 0;
  transform: translateY(-10px);
}
.nx-note.k-hot,
.nx-note.k-losing,
.nx-note.k-losing_sup {
  border-color: #f3b0b0;
}
.nx-note-bot {
  flex: none;
  width: 46px;
  display: grid;
  place-items: center;
}
.nx-note-t {
  display: block;
  font-size: 14.5px;
  line-height: 1.5;
}
.nx-note-w {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.nx-note-v {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ok);
  background: var(--ok-50);
  border-radius: 8px;
  padding: 1px 8px;
}
.nx-note-r {
  margin-top: 6px;
  background: var(--soft);
  border-radius: 10px;
  padding: 6px 9px;
  font-size: 13px;
  line-height: 1.6;
}
.nx-note-a {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
@keyframes nxIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(.98);
  }
}
.nx-panel {
  position: fixed;
  top: 60px;
  inset-inline-start: 12px;
  z-index: 115;
  width: min(400px, calc(100vw - 24px));
  max-height: 72vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.nx-panel-h {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.nx-panel-b {
  overflow: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nx-note.in-panel {
  box-shadow: none;
  animation: none;
}
.inbox.nx-inbox {
  grid-template-columns: 340px 1fr 320px;
}
.inbox.nx-inbox .prof {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: 360px;
  z-index: 40;
  box-shadow: var(--shadow-lg);
  background: var(--card);
  overflow: auto;
}
.inbox.nx-inbox .prof.hide {
  display: none;
}
@media (min-width: 901px) and (max-width: 1250px) {
  .inbox.nx-inbox {
    grid-template-columns: 300px 1fr 280px;
  }
}
.nx-lhead h1 {
  font-size: 20px;
  font-weight: 800;
}
.nx-seg {
  display: flex;
  background: var(--soft);
  border-radius: 14px;
  padding: 4px;
  gap: 2px;
}
.nx-seg button {
  flex: 1;
  border: 0;
  background: none;
  border-radius: 11px;
  padding: 7px 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.nx-seg button.on {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}
.nx-seg .n {
  background: var(--line);
  border-radius: 99px;
  font-size: 11px;
  padding: 0 7px;
  min-width: 18px;
}
.nx-seg .n:empty {
  display: none;
}
.nx-seg button.on .n {
  background: var(--gold);
  color: #fff;
}
.conv.nx-row {
  border-bottom: 0;
  border-radius: 16px;
  margin: 2px 8px;
  padding: 11px 10px;
}
.conv.nx-row::before {
  display: none;
}
.conv.nx-row.on {
  background: var(--brand-50);
}
.nx-row .av,
.nx-who .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  flex: none;
  position: relative;
  background: hsl(var(--h, 30) 55% 52%);
}
.nx-row .ch {
  position: absolute;
  bottom: -2px;
  inset-inline-end: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--card);
  font-size: 9px;
  font-style: normal;
  display: grid;
  place-items: center;
  color: #fff;
  background: #888;
}
.ch-m {
  background: #0084ff !important;
}
.ch-i {
  background: #e1306c !important;
}
.ch-w {
  background: #25d366 !important;
}
.nx-row .ad {
  display: inline-block;
  font-size: 11.5px;
  color: var(--gold2);
  background: var(--brand-50);
  border-radius: 7px;
  padding: 1px 7px;
  margin: 2px 0;
  font-weight: 600;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win,
.sc {
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 8px;
  padding: 1px 7px;
  white-space: nowrap;
  flex: none;
}
.win.r {
  background: var(--danger-50);
  color: var(--danger);
}
.win.a {
  background: var(--warn-50);
  color: var(--warn);
}
.win.g {
  background: var(--soft);
  color: var(--muted);
}
.sc.hot {
  background: var(--danger-50);
  color: var(--danger);
}
.sc.ser {
  background: var(--brand-50);
  color: var(--gold2);
}
.nx-row .lacts {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 7px;
  flex-wrap: wrap;
}
.chat-head .nx-who {
  display: flex;
  gap: 10px;
  align-items: center;
  background: none;
  border: 0;
  text-align: start;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
.chat-head .nx-who .av {
  width: 38px;
  height: 38px;
  font-size: 15px;
}
.chat-head .nx-who b {
  display: block;
  font-size: 15px;
}
.chat-head .nx-who small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.chat.dragging::after {
  content: "📥 سيب الصور هنا وتتبعت";
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 3px dashed var(--gold);
  border-radius: 18px;
  background: rgba(200, 149, 44, .1);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--gold2);
  z-index: 30;
}
.chat {
  position: relative;
}
:root[data-theme=light] .b.out {
  background: var(--ink);
  color: #fff;
}
:root[data-theme=light] .b.out .t {
  color: rgba(255, 255, 255, .627);
}
.dock {
  background: var(--card);
  border-inline-start: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
}
.dstage {
  height: 190px;
  background: var(--stage);
  position: relative;
  flex: none;
  touch-action: none;
  cursor: grab;
  display: grid;
  place-items: center;
}
.dname {
  position: absolute;
  top: 10px;
  inset-inline-end: 12px;
  background: rgba(255, 255, 255, .8);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #7a5a12;
  z-index: 2;
}
:root[data-theme=dark] .dname {
  background: rgba(0, 0, 0, .533);
  color: var(--gold2);
}
.dbody {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dock > *,
.dbody > * {
  flex-shrink: 0;
}
.dock .tip {
  background: var(--brand-50);
  border-radius: 16px;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 1.7;
}
.dock .tip b {
  display: block;
  font-size: 12.5px;
  color: var(--gold2);
  margin-bottom: 2px;
}
.dock .tip.al {
  background: var(--danger-50);
}
.dock .tip.al b {
  color: var(--danger);
}
.dock .tip-card {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}
.sug-h {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}
.dk-rep {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 14px;
  padding: 8px 10px;
  margin-bottom: 7px;
  font-size: 13.5px;
  line-height: 1.65;
}
.dk-rep .t {
  flex: 1;
  min-width: 0;
}
.dk-rep .a {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dk-rep.warn {
  border-color: #f3c99a;
}
.dk-loading {
  color: var(--muted);
  font-size: 13.5px;
}
.dock .dk-meter {
  background: var(--bg);
  border-radius: 14px;
  padding: 10px 12px;
}
.dock .dk-meter .t {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.dock .dk-meter .t .r {
  color: var(--danger);
}
.dock .dk-meter .t .g {
  color: var(--gold2);
}
.dock .sigs {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  color: var(--muted);
}
.dock .sigs .neg {
  color: var(--danger);
}
.dock .sigs small {
  opacity: .7;
}
.dk-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ab {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 12px;
  padding: 9px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.ab.p {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.ab.hl {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  grid-column: 1 / -1;
}
.dmini {
  display: none;
}
.nx-mini-stats {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
}
.nx-qr {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}
.nx-qr::-webkit-scrollbar {
  display: none;
}
.nx-qr .q {
  flex: none;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  max-width: 260px;
  overflow: hidden;
  cursor: pointer;
}
.nx-qr .qt {
  padding: 6px 10px 6px 4px;
  padding-inline-start: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.nx-qr .qs {
  border: 0;
  background: var(--gold);
  color: #fff;
  width: 32px;
  align-self: stretch;
  font-size: 13px;
  cursor: pointer;
}
.nx-qr .q.lib {
  background: var(--brand-50);
  border-color: transparent;
  color: var(--gold2);
  padding: 6px 12px;
}
.nx-qr .q.ph {
  background: var(--info-50);
  border-color: transparent;
  color: var(--info);
  padding: 6px 12px;
}
.nx-att {
  font-size: 20px;
}
.sendbtn.mic {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.recwave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
  overflow: hidden;
  min-width: 40px;
}
.recwave i {
  width: 3px;
  border-radius: 3px;
  background: var(--gold);
  flex: none;
}
.nx-locked {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--danger-50);
  color: var(--ink);
  border-radius: 14px;
  padding: 10px 12px;
  flex-wrap: wrap;
}
.nx-locked b {
  display: block;
  color: var(--danger);
  font-size: 14px;
}
.nx-locked span {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .nx-hero,
  .nx-hero.sm {
    grid-template-columns: 1fr;
  }
  .nx-hero .nx-stage {
    order: -1;
    height: 200px;
  }
  .nx-hero.sm .nx-stage {
    height: 150px;
  }
  .nx-tri {
    grid-template-columns: 1fr;
  }
  .inbox.nx-inbox {
    grid-template-columns: 1fr;
  }
  .inbox.nx-inbox .dock {
    display: none;
  }
  .inbox.nx-inbox.has-chat .dock {
    display: flex;
    position: fixed;
    inset-inline: 0;
    bottom: var(--compH, 70px);
    max-height: 64vh;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .133);
    z-index: 22;
    transform: translateY(calc(100% - 60px));
    transition: transform .3s;
  }
  .inbox.nx-inbox.has-chat .dock.exp {
    transform: none;
  }
  .dock .dmini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    min-height: 60px;
    flex: none;
    border: 0;
    background: none;
    width: 100%;
    text-align: start;
    cursor: pointer;
    color: inherit;
  }
  .dock .dmini .mb {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 14px;
    background: var(--stage);
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  .dock .dmini .mt {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    min-width: 0;
  }
  .dock .dmini .mt b {
    display: block;
    font-size: 12px;
    color: var(--gold2);
  }
  .dock .dmini .mt span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dock .dmini .ar {
    font-size: 18px;
    color: var(--muted);
    transition: transform .3s;
  }
  .dock.exp .dmini .ar {
    transform: rotate(180deg);
  }
  .dock .dstage {
    display: none;
    height: 150px;
  }
  .dock.exp .dstage {
    display: grid;
  }
  .inbox.nx-inbox.has-chat .composer {
    position: relative;
    z-index: 25;
    background: var(--card);
  }
  .inbox.nx-inbox.has-chat .msgs {
    padding-bottom: 70px;
  }
  .nx-notes {
    top: 10px;
  }
}
.ac-sum {
  font-size: 14px;
}
.ac-common {
  background: var(--warn-50);
  border: 1px solid #f3d9a4;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 12px;
  align-items: start;
}
.ac {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--line);
}
.ac-r {
  border-top-color: var(--danger);
}
.ac-y {
  border-top-color: var(--warn);
}
.ac-g {
  border-top-color: var(--ok);
}
.ac-n {
  border-top-color: var(--faint);
}
.ac-top {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ac-top img,
.ac-ph {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.ac-top b {
  display: block;
  font-size: 15px;
}
.ac-dot {
  font-size: 20px;
}
.ac-say {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}
.ac-r .ac-say {
  color: var(--danger);
}
.ac-g .ac-say {
  color: var(--ok);
}
.ac-y .ac-say {
  color: var(--warn);
}
.ac-nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ac-nums > div {
  background: var(--soft);
  border-radius: 12px;
  padding: 8px;
  text-align: center;
}
.ac-nums b {
  display: block;
  font-size: 16px;
}
.ac-nums small {
  font-size: 11px;
  color: var(--muted);
}
.ac-cmp em {
  font-style: normal;
  font-weight: 700;
}
.okc {
  color: var(--ok);
}
.badc {
  color: var(--danger);
}
.ac-fun {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
}
.ac-fun > div {
  display: grid;
  grid-template-columns: 62px 1fr 38px;
  gap: 6px;
  align-items: center;
}
.ac-fun i {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: var(--gold, #C8952C);
  opacity: .75;
}
.ac-fun .bad i {
  background: var(--danger);
  opacity: 1;
}
.ac-fun .bad span {
  color: var(--danger);
  font-weight: 800;
}
.ac-fun b {
  text-align: left;
}
.ac-own {
  font-size: 12px;
  font-weight: 700;
  color: var(--danger);
}
.ac-tip {
  background: var(--soft);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.ac-tip.main {
  background: var(--info-50);
  border: 1px solid #c8daff;
}
.ac-tip .pill {
  font-size: 11px;
  white-space: nowrap;
}
.ac-why,
.ac-how {
  font-size: 12.5px;
  color: var(--ink);
  background: var(--card);
  border-radius: 10px;
  padding: 8px 10px;
}
.ac-how ol {
  margin: 0;
  padding-inline-start: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ac-res {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.ac-res.g {
  color: var(--ok);
}
.ac-res.r {
  color: var(--danger);
}
.ac-rest summary {
  cursor: pointer;
  font-size: 12.5px;
  color: var(--muted);
}
.ac-rest .ac-tip {
  margin-top: 6px;
}
.ac-adv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  font-size: 12px;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}
.ac-adv small {
  color: var(--muted);
  display: block;
  font-size: 10.5px;
}
.btn.xs {
  padding: 3px 9px;
  font-size: 12px;
  min-height: 0;
  border-radius: 9px;
}
.nx-seg.sm button {
  padding: 5px 12px;
}
.rc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rc > div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--soft);
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 13.5px;
}
.rc > div > span {
  font-size: 18px;
}
.rc img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
}
@media (max-width: 700px) {
  .ac-grid {
    grid-template-columns: 1fr;
  }
}
.ph-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.ph {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.ph img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--soft);
}
.ck-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ck-row:last-child {
  border-bottom: 0;
}
#adsP,
#adsP > *,
#adsP .ac,
#adsP .ad-card,
#adsP .ac > *,
#adsP .ad-card > * {
  min-width: 0;
  max-width: 100%;
}
#adsP .ac,
#adsP .ad-card {
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
#adsP .ac-nums,
#adsP .ac-adv {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#adsP .ac-nums > div,
#adsP .ac-adv > div,
#adsP .ad-nums > div {
  min-width: 0;
}
#adsP .btn,
#adsP .chip {
  max-width: 100%;
  white-space: normal;
  height: auto;
  min-height: 42px;
  padding-top: 8px;
  padding-bottom: 8px;
  overflow-wrap: anywhere;
  text-align: center;
}
#adsP .ac > .row:first-child > [data-drill] {
  display: block;
  width: 100%;
  line-height: 1.6;
}
#adsP .tscroll {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}
@media (max-width: 700px) {
  #adsP.v2 {
    padding-right: 10px;
    padding-left: 10px;
  }
  #adsP .ac-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #adsP .ac,
  #adsP .ad-card {
    padding: 12px;
    border-radius: 14px;
  }
  #adsP .ac-nums,
  #adsP .ad-nums,
  #adsP .ac-adv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #adsP .ac-top .ell {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #adsP .ac .row,
  #adsP .ad-card .row {
    flex-wrap: wrap;
  }
  #adsP .ac .row > .btn,
  #adsP .ad-card .row > .btn {
    flex: 1 1 120px;
  }
  #adsP .ac-tip .pill {
    white-space: normal;
  }
  #adsP .ac-fun > div {
    grid-template-columns: 62px minmax(0, 1fr) minmax(38px, auto);
  }
  #adsP .ad-funnel > div {
    grid-template-columns: 90px minmax(45px, auto) minmax(0, 1fr);
    gap: 6px;
  }
  #adsP nav,
  #adsP h2,
  #adsP .note {
    overflow-wrap: anywhere;
  }
  #adsP > .row.wrap > label {
    flex: 1 1 120px;
    min-width: 0;
  }
  #adsP input,
  #adsP select {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}
