/* Newbee Galaxy additive skin v1 — scoped to the user-facing Glass theme. */
.newbee-galaxy {
  color-scheme: dark;
  --nb-canvas: #060914;
  --nb-surface: #0b1020;
  --nb-elevated: #11182d;
  --nb-border: #253653;
  --nb-text: #f3f6ff;
  --nb-muted: #a5b3cc;
  --nb-accent: #38bdf8;
  --nb-violet: #a78bfa;
  --g-accent: #38bdf8;
  --g-accent-2: #a78bfa;
  --g-glass: rgba(11, 16, 32, .94);
  --g-glass-2: #17233a;
  --g-glass-hover: #131e34;
  --g-stroke: #253653;
  --g-radius: 12px;
  --g-radius-lg: 18px;
  --g-hi: rgba(131, 172, 236, .09);
  background: var(--nb-canvas);
}
.newbee-galaxy body.xb-theme-glass,
.newbee-galaxy .xb-theme-glass #app {
  color: var(--nb-text);
  background: var(--nb-canvas) url('./galaxy-background.webp') top right / 100% auto no-repeat fixed !important;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif !important;
}
.newbee-galaxy #glass-bg { display: none !important; }
/* A hidden password input or stale legacy auth class must never restore the
   Great Wall backdrop after login. Route presentation owns both pseudo layers. */
html.newbee-galaxy body.xb-theme-glass:not(.galaxy-auth)::before,
html.newbee-galaxy body.xb-theme-glass:not(.galaxy-auth)::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
html.newbee-galaxy body.xb-theme-glass:not(.galaxy-auth) #app {
  background: #060914 url('./galaxy-planet-r.webp') top right / min(1100px,100vw) auto no-repeat fixed !important;
}
.newbee-galaxy .xb-theme-glass .n-layout-sider {
  background: rgba(8, 13, 27, .97) !important;
  border-right: 1px solid #1d2b43;
  backdrop-filter: none;
}
.newbee-galaxy .xb-theme-glass .n-layout-header {
  background: rgba(8, 13, 27, .9) !important;
  border-bottom: 1px solid #1d2b43;
}
.newbee-galaxy .xb-theme-glass .n-menu-item-content { min-height: 44px; margin: 7px 14px !important; }
.newbee-galaxy .xb-theme-glass .n-menu-item-content--selected {
  background: #142d49 !important;
  box-shadow: inset 3px 0 0 #38bdf8, inset 0 0 0 1px #274561;
}
.newbee-galaxy .xb-theme-glass .n-card {
  background: rgba(11, 16, 32, .96) !important;
  border: 1px solid var(--nb-border) !important;
  box-shadow: 0 14px 34px -20px #000c !important;
  backdrop-filter: none !important;
  border-radius: 18px !important;
}
.newbee-galaxy .xb-theme-glass .n-card::before { display: none; }
.newbee-galaxy .xb-theme-glass .n-card:hover {
  transform: none !important;
  background: rgba(13, 21, 39, .98) !important;
  border-color: #3b4b6c !important;
}
.newbee-galaxy .xb-theme-glass .n-card-header__main { color: #f3f6ff; font-weight: 700; letter-spacing: .01em; }
.newbee-galaxy .xb-theme-glass .n-button {
  border-radius: 11px !important;
  min-height: 38px;
  font-size: 14px;
}
.newbee-galaxy .xb-theme-glass .n-button.n-button--primary-type,
.newbee-galaxy .xb-theme-glass .n-button.n-button--info-type {
  background: #38bdf8 !important;
  color: #061626 !important;
  box-shadow: 0 4px 20px -12px #38bdf8 !important;
}
.newbee-galaxy .xb-theme-glass .n-button.n-button--primary-type:hover { background: #7dd3fc !important; }
.newbee-galaxy .xb-theme-glass .n-input,
.newbee-galaxy .xb-theme-glass .n-base-selection {
  background: #10192d !important;
  border-color: #304160 !important;
  color: #f3f6ff;
}
.newbee-galaxy .xb-theme-glass .n-input__input-el,
.newbee-galaxy .xb-theme-glass .n-input__textarea-el { color: #f3f6ff !important; }
.newbee-galaxy .xb-theme-glass .n-input__placeholder { color: #9aabc9 !important; }
.newbee-galaxy .xb-theme-glass .n-input--focus { box-shadow: 0 0 0 3px #38bdf82e !important; }
.newbee-galaxy .xb-theme-glass .n-progress-graph-line-fill { background: #38bdf8 !important; }
.newbee-galaxy .xb-theme-glass .n-data-table-th { background: #10192d !important; color: #bac8e0 !important; }
.newbee-galaxy .xb-theme-glass .n-data-table-td { color: #e8efff; }
.newbee-galaxy .xb-theme-glass .text-gray-500,
.newbee-galaxy .xb-theme-glass .text-gray-600 { color: #a5b3cc !important; }
.newbee-galaxy .n-layout-sider img,
.newbee-galaxy .n-layout-header img { object-fit: contain; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 9px #38bdf830); }

/* The source JPG remains archived. Display the dedicated transparent cutout. */
.newbee-galaxy img[src$="newbee-logo-cutout-v2.png"] {
  width: 80px !important;
  height: 64px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  background: transparent !important;
  border-radius: 0;
  flex-shrink: 0;
}
.newbee-galaxy .n-layout-sider .h-15:has(> img[src$="newbee-logo-cutout-v2.png"]) {
  height: 88px !important;
  padding: 12px 14px;
  gap: 8px !important;
  justify-content: flex-start !important;
  box-sizing: border-box;
}
.newbee-galaxy .n-layout-sider .h-15:has(> img[src$="newbee-logo-cutout-v2.png"]) > .title-text {
  color: #f3f6ff !important;
  -webkit-text-fill-color: #f3f6ff !important;
  background: none !important;
  font-size: 12px !important;
  line-height: 1.5;
  white-space: nowrap;
  letter-spacing: 0;
  margin-left: 0 !important;
  min-width: 0;
}

/* Reflow existing dashboard cards only: no new data, actions or API calls. */
.newbee-galaxy body.galaxy-dashboard .mb-1:has(> .n-card .n-carousel) {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1440px;
  margin: 22px auto 80px;
}
.newbee-galaxy body.galaxy-dashboard .mb-1:has(> .n-card .n-carousel) > .n-card { margin: 0 !important; min-width: 0; }
.newbee-galaxy body.galaxy-dashboard .mb-1:has(> .n-card .n-carousel) > .n-card:has(.n-progress) {
  grid-column: 1;
  grid-row: 1;
  background: #0e1930 url('./galaxy-background.webp') right top / auto 100% no-repeat !important;
  min-height: 300px;
}
.newbee-galaxy body.galaxy-dashboard .n-card:has(.n-progress) .n-card-header { padding: 28px 30px 10px; }
.newbee-galaxy body.galaxy-dashboard .n-card:has(.n-progress) .n-card-header__main { font-size: 22px; }
.newbee-galaxy body.galaxy-dashboard .n-card:has(.n-progress) .n-card__content { padding: 12px 30px 32px; }
.newbee-galaxy body.galaxy-dashboard .n-card:has(.n-progress) .text-block { font-size: 28px; padding-top: 8px; margin-bottom: 20px; }
.newbee-galaxy body.galaxy-dashboard .n-progress { margin-top: 36px; margin-bottom: 12px; }
.newbee-galaxy body.galaxy-dashboard .mb-1 > .n-card:has(.n-carousel) { grid-column: 2; grid-row: 1; }
.newbee-galaxy body.galaxy-dashboard .carousel-img { height: 300px !important; padding: 28px !important; }
.newbee-galaxy body.galaxy-dashboard .carousel-img .text-xl { color: #fff; font-size: 23px; font-weight: 700; line-height: 1.5; }
.newbee-galaxy body.galaxy-dashboard .carousel-img .text-base { color: #b5c4de; font-size: 13px; font-weight: 400; margin-top: 14px; }
.newbee-galaxy body.galaxy-dashboard .mb-1 > .n-card:has(.n-list) { grid-column: 1 / -1; grid-row: 2; }
/* Only native dashboard shortcut cards, never teleported subscription lists. */
.newbee-galaxy body.galaxy-dashboard #app .mb-1 > .n-card:not(.n-modal) .n-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; background: transparent !important; padding: 4px 24px 26px; }
.newbee-galaxy body.galaxy-dashboard #app .mb-1 > .n-card:not(.n-modal) .n-list-item { background: #111d33 !important; border: 1px solid #2a3d5d !important; border-radius: 12px; padding: 22px 18px !important; margin: 0 !important; min-height: 106px; }
.newbee-galaxy body.galaxy-dashboard #app .mb-1 > .n-card:not(.n-modal) .n-list-item:hover { background: #192c47 !important; border-color: #60a5fa !important; }
.newbee-galaxy body.galaxy-dashboard #app .mb-1 > .n-card:not(.n-modal) .n-list-item .text-base { color: #f3f6ff; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.newbee-galaxy body.galaxy-dashboard #app .mb-1 > .n-card:not(.n-modal) .n-list-item .text-sm { color: #a5b3cc; font-size: 13px; line-height: 1.7; }
.newbee-galaxy body.galaxy-dashboard #app .mb-1 > .n-card:not(.n-modal) .n-list-item svg { color: #7dd3fc; margin-left: 14px; }

/* Keep the native subscribe actions and platform filtering; readable rows only. */
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) {
  width: min(400px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #0d1528 !important;
}
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) .n-list {
  display: block;
  background: transparent !important;
  padding: 8px;
}
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) .n-list-item {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0;
  border: 0 !important;
  border-radius: 10px;
  background: transparent !important;
}
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) .n-list-item > .n-list-item__main { min-width: 0; width: 100%; }
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) .n-list-item .cursor-pointer {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 12px 14px;
  gap: 12px;
  box-sizing: border-box;
}
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) .n-list-item .w-16 { width: 36px; flex: 0 0 36px; }
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) .n-list-item .text-gray-500 {
  min-width: 0;
  color: #dbe7ff !important;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) .n-list-item:hover { background: #192c47 !important; }
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) .n-list-item svg { color: #7dd3fc; margin: 0; }
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) .n-list-item__divider { display: none; }
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) .n-button { white-space: normal; height: auto; min-height: 44px; }
.newbee-galaxy .n-card.n-modal.w-75:has(.n-list) .n-button__content { white-space: normal; line-height: 1.5; }

/* Profile: arrange the original wallet/security/notification controls, no new data. */
.newbee-galaxy body.galaxy-profile #app section.cus-scroll-y {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.1fr);
  gap: 22px;
  align-content: start;
  align-items: start;
  padding: 28px clamp(16px, 3vw, 44px) 156px !important;
  box-sizing: border-box;
}
.newbee-galaxy body.galaxy-profile #app section.cus-scroll-y > .n-card {
  margin: 0 !important;
  min-width: 0;
  width: 100%;
}
.newbee-galaxy body.galaxy-profile #app section.cus-scroll-y > .n-card .n-card-header { padding: 24px 26px 12px; }
.newbee-galaxy body.galaxy-profile #app section.cus-scroll-y > .n-card .n-card-header__main { font-size: 20px; line-height: 1.5; }
.newbee-galaxy body.galaxy-profile #app section.cus-scroll-y > .n-card > .n-card__content { padding: 12px 26px 26px; }
.newbee-galaxy body.galaxy-profile #app section.cus-scroll-y > .n-card:has(.text-5xl) {
  grid-column: 1;
  grid-row: 1;
  background: #0e1930 url('./galaxy-background.webp') right top / cover no-repeat !important;
}
.newbee-galaxy body.galaxy-profile .text-5xl { font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.6; font-variant-numeric: tabular-nums; }
.newbee-galaxy body.galaxy-profile #app section.cus-scroll-y > .n-card:has(.n-input) { grid-column: 2; grid-row: 1 / span 2; }
.newbee-galaxy body.galaxy-profile #app section.cus-scroll-y > .n-card:has(.n-switch) { grid-column: 1; grid-row: 2; }
.newbee-galaxy body.galaxy-profile .n-card label { display: block; margin-bottom: 8px; color: #bccbe3; font-size: 14px; line-height: 1.6; }
.newbee-galaxy body.galaxy-profile .n-input { min-height: 44px; }
.newbee-galaxy body.galaxy-profile input { font-size: 16px !important; }
.newbee-galaxy body.galaxy-profile .n-card:has(.n-input) .n-button { min-height: 44px; margin-top: 22px; }
.newbee-galaxy body.galaxy-profile .n-card:has(.n-switch) .max-w-125 { display: flex; gap: 20px; align-items: center; justify-content: space-between; max-width: none; min-height: 48px; }
.newbee-galaxy body.galaxy-profile .n-card:has(.n-switch) .mb-1 { margin: 0; font-size: 15px; }
.newbee-galaxy body.galaxy-profile #app section.cus-scroll-y > .n-card:has(.n-alert) { grid-column: 1 / -1; border-color: #8a6236 !important; }
.newbee-galaxy body.galaxy-profile .n-alert { line-height: 1.8; }
.newbee-galaxy body.galaxy-profile .n-card:has(.n-alert) .n-button { min-height: 40px; margin-top: 18px; }

/* Cover: image is decorative and never sits on top of the native form. */
.newbee-galaxy body.galaxy-auth::before {
  background: #060914 url('./newbee-cover-seamless-v2.webp') center / cover no-repeat !important;
  z-index: 0;
}
.newbee-galaxy body.galaxy-auth::after { background: none !important; }
.newbee-galaxy body.galaxy-auth #app { background: transparent !important; }
#galaxy-auth-intro {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  color: #f3f6ff;
}
#galaxy-auth-intro[hidden] { display: none; }
.galaxy-brand { position: absolute; left: 48px; top: 28px; display: flex; align-items: center; gap: 12px; }
.galaxy-brand img { object-fit: contain; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 9px #38bdf83b); }
.galaxy-brand span { font: 800 23px/1 'Segoe UI', sans-serif; letter-spacing: .045em; }
.galaxy-cover-copy { position: absolute; left: 48px; bottom: 98px; width: calc(100vw - 560px); max-width: 660px; padding: 0; background: none; text-shadow: 0 2px 18px #020512; box-sizing: border-box; }
.galaxy-eyebrow { font-size: 13px; color: #7dd3fc; letter-spacing: .18em; margin: 0 0 10px; }
.galaxy-cover-copy h1 { margin: 0 0 13px; font-size: clamp(32px, 3.3vw, 56px); line-height: 1.22; font-weight: 800; color: #fff; letter-spacing: -.025em; }
.galaxy-subtitle { margin: 0; color: #d7e6ff; font-size: clamp(14px, 1.3vw, 18px); line-height: 1.8; }
.newbee-galaxy body.galaxy-auth #app .wh-full.flex.items-center.justify-center {
  min-height: 100svh;
  padding: 80px 6vw 92px;
  justify-content: flex-end;
}
.newbee-galaxy body.galaxy-auth #app .n-card.max-w-md {
  width: 408px;
  max-width: 100%;
  flex-shrink: 0;
  margin: 0 !important;
  background: rgba(9, 15, 31, .96) !important;
  border: 1px solid #354467 !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 80px -20px #000d !important;
}
.newbee-galaxy body.galaxy-auth #app .n-card.max-w-md .p-6 { padding: 32px; }
.newbee-galaxy body.galaxy-auth #app .n-card.max-w-md img { width: 72px !important; height: 64px !important; object-fit: contain; margin: 0 auto 12px; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 8px #7dd3fc45); }
.newbee-galaxy body.galaxy-auth #app .n-card.max-w-md img[src$="newbee-logo-cutout-v2.png"] { width: 80px !important; height: 64px !important; object-fit: contain !important; filter: none !important; }
.newbee-galaxy body.galaxy-auth #app .n-card.max-w-md .text-center { color: #b9c8e3 !important; }
.newbee-galaxy body.galaxy-auth #app .n-card h1.text-center.text-4xl {
  color: #f3f6ff !important;
  -webkit-text-fill-color: #f3f6ff !important;
  background: none !important;
  filter: none !important;
  text-shadow: none !important;
  animation: none !important;
  font-size: 28px !important;
  line-height: 1.45;
}
.newbee-galaxy body.galaxy-auth #app .n-input { min-height: 44px; }
.newbee-galaxy body.galaxy-auth #app input { font-size: 16px !important; }

/* Adapted from Galaxy/05akalan57_thin-sloth-31: quiet corner light, no animation. */
.newbee-galaxy body.galaxy-dashboard #app .mb-1 > .n-card:not(.n-modal) .n-list-item {
  background: radial-gradient(ellipse at top left, #24446a55, transparent 65%), #111d33 !important;
  transition: border-color .18s ease, background-color .18s ease;
}
.newbee-galaxy body.galaxy-dashboard #app .mb-1 > .n-card:not(.n-modal) .n-list-item:focus-within { border-color: #7dd3fc !important; }
.newbee-galaxy body.galaxy-auth #app .n-button.n-button--primary-type { min-height: 44px; margin-top: 4px; }
.newbee-galaxy body.galaxy-auth #app .n-card__footer { background: #0d1528 !important; border-top: 1px solid #263653; border-radius: 0 0 23px 23px; }

/* Notices: solid reading surface, no imagery behind body text. */
.newbee-galaxy .n-modal-mask { background: rgba(2, 5, 14, .78) !important; backdrop-filter: blur(7px); }
.newbee-galaxy .n-card.n-modal:has(.custom-html-style),
.newbee-galaxy .n-modal-container .n-card:has(.custom-html-style) {
  width: min(720px, calc(100vw - 36px)) !important;
  max-width: calc(100vw - 36px) !important;
  max-height: calc(100svh - 48px);
  background: #0d1528 !important;
  border: 1px solid #425272 !important;
  border-radius: 22px !important;
  box-shadow: 0 26px 100px #000b !important;
  transform: none !important;
  overflow: hidden;
}
.newbee-galaxy .n-card:has(.custom-html-style) .n-card-header {
  padding: 27px 64px 23px 30px !important;
  min-height: 94px;
  background: #101d35 url('./galaxy-background.webp') right top / 100% auto no-repeat;
  border-bottom: 1px solid #3a4c6c;
}
.newbee-galaxy .n-card:has(.custom-html-style) .n-card-header__main { font-size: 24px; line-height: 1.45; font-weight: 700; color: #fff; }
.newbee-galaxy .n-card:has(.custom-html-style) .n-card__content {
  padding: 22px 30px 28px !important;
  overflow-y: auto;
  max-height: min(62svh, 610px);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #526685 #0d1528;
  background: #0d1528 !important;
}
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body {
  background: #0d1528 !important;
  color: #f1f5ff !important;
  font-size: 17px !important;
  line-height: 1.9 !important;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
  overflow-wrap: anywhere;
}
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body :is(p, li, span, strong, em, div) { color: #f1f5ff !important; }
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body :is(h1, h2, h3, h4) { color: #fff !important; border-color: #304160; line-height: 1.5; }
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body h1 { font-size: 28px; }
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body h2 { font-size: 23px; }
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body h3 { font-size: 19px; }
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body p { margin: 0 0 18px; }
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body a { color: #7dd3fc !important; text-decoration: underline; text-underline-offset: 4px; }
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body blockquote { margin: 20px 0; padding: 14px 18px; border-left: 3px solid #38bdf8; color: #dbeafe !important; background: #14233a; border-radius: 0 10px 10px 0; }
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body :is(pre, code) { background: #07101f !important; color: #c7e8ff !important; }
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body strong > code {
  display: inline-block;
  color: #fbbf24 !important;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .04em;
  padding: 8px 16px;
  border: 1px solid #c89229;
  border-radius: 12px;
}
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body :is(img, video, iframe) { max-width: 100%; height: auto; }
.newbee-galaxy .n-card:has(.custom-html-style) .markdown-body table { display: block; overflow-x: auto; max-width: 100%; }
.newbee-galaxy .n-card:has(.custom-html-style) .n-base-close { min-width: 40px; min-height: 40px; color: #d7e5ff !important; background: #15243a; border-radius: 10px; }
.newbee-galaxy :is(button, a, input):focus-visible { outline: 2px solid #7dd3fc; outline-offset: 3px; }

/* Preserve the original contact controls, actions, position and destination. */
.newbee-galaxy .xb-chat-launcher { background: #123857 !important; border: 1px solid #4a94bc; color: #eefaff !important; box-shadow: 0 8px 30px -14px #38bdf8 !important; }
.newbee-galaxy .xb-chat-panel { background: #0b1426 !important; border-color: #3a4c6c !important; color: #f3f6ff; }
.newbee-galaxy .xb-x-contact { background: #17273e !important; color: #f4f7ff !important; border-color: #45607f; }
.newbee-galaxy .xb-x-contact__copy,
.newbee-galaxy .xb-x-contact__copy small { color: #dceaff !important; }
.newbee-galaxy .galaxy-telegram-contact .xb-x-contact__avatar {
  background: #229ed9 !important;
  border: 0 !important;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
  box-shadow: none;
}
.newbee-galaxy .galaxy-x-contact {
  position: relative;
  z-index: 2147482999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 16px 6px 6px;
  box-sizing: border-box;
  background: linear-gradient(118deg, #ff9818 0%, #ff7700 54%, #ff6a00 100%);
  color: #102434;
  border: 1px solid rgba(65, 220, 231, .84);
  box-shadow: 0 12px 30px -14px rgba(255, 106, 0, .88), 0 0 0 1px #ffffff33 inset;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.1;
}
.newbee-galaxy .galaxy-x-contact__icon { width: 36px; height: 36px; object-fit: cover; border: 2px solid #ffffffeb; border-radius: 50%; background: #cbeff5; box-sizing: border-box; }
.newbee-galaxy .galaxy-x-contact__copy { display: grid; white-space: nowrap; line-height: 1.05; }
.newbee-galaxy .galaxy-x-contact__copy strong { font-size: 13px; font-weight: 800; }
.newbee-galaxy .galaxy-x-contact__copy small { font-size: 11px; margin-top: 4px; font-weight: 650; }
.newbee-galaxy .galaxy-x-contact:hover { filter: brightness(1.06); transform: translateY(-2px); }
.newbee-galaxy .galaxy-x-contact:active { transform: translateY(0); }
.newbee-galaxy #galaxy-social-links { position: fixed; left: 18px; bottom: 18px; z-index: 2147482999; display: flex; align-items: center; gap: 12px; }
.newbee-galaxy #galaxy-social-links > a { position: relative !important; left: auto !important; bottom: auto !important; }
.newbee-galaxy #galaxy-social-links[hidden] { display: none !important; }
.newbee-galaxy :is(.galaxy-x-contact, .xb-x-contact)[hidden],
.newbee-galaxy body.galaxy-auth :is(.galaxy-x-contact, .xb-x-contact) { display: none !important; }

@media (max-width: 960px) {
  .newbee-galaxy body.galaxy-dashboard #app .mb-1 > .n-card:not(.n-modal) .n-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galaxy-brand { left: 28px; }
  .galaxy-cover-copy { left: 28px; width: calc(100vw - 440px); }
  .galaxy-subtitle { max-width: 300px; }
  .newbee-galaxy body.galaxy-auth #app .n-card.max-w-md { width: 380px; }
  .newbee-galaxy body.galaxy-auth #app .wh-full.flex.items-center.justify-center { padding-right: 24px; }
}
@media (max-width: 760px) {
  .newbee-galaxy body.galaxy-dashboard .mb-1:has(> .n-card .n-carousel) { display: flex; flex-direction: column; gap: 18px; margin-top: 10px; }
  .newbee-galaxy body.galaxy-dashboard .mb-1 > .n-card:has(.n-progress) { order: -1; }
  .newbee-galaxy body.galaxy-dashboard .carousel-img { height: 180px !important; padding: 22px !important; }
  .newbee-galaxy body.galaxy-dashboard #app .mb-1 > .n-card:not(.n-modal) .n-list { grid-template-columns: 1fr; padding: 0 16px 18px; gap: 12px; }
  .newbee-galaxy body.galaxy-profile #app section.cus-scroll-y { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px 16px 156px !important; }
  .newbee-galaxy body.galaxy-profile #app section.cus-scroll-y > .n-card:is(:has(.text-5xl), :has(.n-input), :has(.n-switch), :has(.n-alert)) { grid-column: auto; grid-row: auto; }
  .newbee-galaxy body.galaxy-profile #app section.cus-scroll-y > .n-card .n-card-header { padding: 20px 20px 10px; }
  .newbee-galaxy body.galaxy-profile #app section.cus-scroll-y > .n-card > .n-card__content { padding: 10px 20px 22px; }
  .newbee-galaxy body.galaxy-auth::before {
    position: absolute !important;
    background-image: linear-gradient(to bottom, transparent 240px, #060914 362px), url('./newbee-cover-seamless-v2.webp') !important;
    background-size: 100% 362px, auto 362px !important;
    background-position: left top !important;
    background-color: #060914 !important;
  }
  /* Narrow auth pages keep contact actions below the form, not over its footer. */
  .newbee-galaxy:has(body.galaxy-auth) { height: auto !important; overflow-x: hidden; overflow-y: auto !important; }
  .newbee-galaxy body.galaxy-auth { height: auto !important; min-height: 100svh; overflow: visible !important; display: grid; grid-template-columns: 1fr 1fr; align-items: start; padding-bottom: 24px; }
  .newbee-galaxy body.galaxy-auth #app { grid-column: 1 / -1; height: auto !important; min-height: 0; }
  .newbee-galaxy body.galaxy-auth .xb-x-contact { position: relative; left: auto; bottom: auto; grid-column: 1; grid-row: 2; justify-self: start; margin: 20px 0 0 14px; }
  .newbee-galaxy body.galaxy-auth .xb-chat-widget { grid-column: 2; grid-row: 2; justify-self: end; margin: 20px 14px 0 0; }
  .newbee-galaxy body.galaxy-auth .xb-chat-button { position: relative; right: auto; bottom: auto; }
  #galaxy-auth-intro { position: absolute; height: 362px; }
  .galaxy-brand { left: 22px; top: 16px; gap: 9px; }
  .galaxy-brand img { width: 46px; height: 38px; }
  .galaxy-brand span { font-size: 19px; }
  .galaxy-cover-copy { left: 24px; right: 20px; bottom: 0; width: auto; padding: 0; background: none; }
  .galaxy-cover-copy h1 { font-size: 29px; margin-bottom: 8px; }
  .galaxy-eyebrow { font-size: 11px; margin-bottom: 6px; }
  .galaxy-subtitle { max-width: none; font-size: 13px; line-height: 1.8; }
  .newbee-galaxy body.galaxy-auth #app .wh-full.flex.items-center.justify-center { min-height: 0; height: auto; padding: 388px 18px 0; align-items: flex-start; justify-content: center; }
  .newbee-galaxy body.galaxy-auth #app .n-card.max-w-md { width: 100%; max-width: 460px; }
  .newbee-galaxy body.galaxy-auth #app .n-card.max-w-md .p-6 { padding: 22px; }
  .newbee-galaxy body.galaxy-auth #app .n-card.max-w-md img { width: 56px !important; height: 48px !important; }
  .newbee-galaxy body.galaxy-auth #app .n-card h1.text-center.text-4xl { font-size: 24px !important; }
  .newbee-galaxy .n-card:has(.custom-html-style) .n-card-header { padding: 20px 56px 18px 20px !important; min-height: 78px; }
  .newbee-galaxy .n-card:has(.custom-html-style) .n-card-header__main { font-size: 21px; }
  .newbee-galaxy .n-card:has(.custom-html-style) .n-card__content { padding: 18px 20px 24px !important; max-height: 66svh; }
  .newbee-galaxy .n-card:has(.custom-html-style) .markdown-body { font-size: 16px !important; line-height: 1.85 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .newbee-galaxy .n-card, .newbee-galaxy .n-button, .newbee-galaxy .xb-x-contact { transition: none !important; animation: none !important; }
}
@media (max-width: 640px) {
  .newbee-galaxy #galaxy-social-links { left: 14px; right: 14px; bottom: 76px; gap: 10px; }
  .newbee-galaxy #galaxy-social-links > a { flex: 1; min-width: 0; justify-content: center; gap: 7px; padding: 5px; min-height: 46px; }
  .newbee-galaxy .galaxy-x-contact__copy small { display: none; }
  .newbee-galaxy .galaxy-x-contact__icon { width: 34px; height: 34px; }
  .newbee-galaxy #galaxy-social-links strong { font-size: 12px; }
}
