/* Keep neutral controls legible after the host skin changes white surfaces.
   Scope: Xinghe's existing interior app only; home, canvas and brand accents keep
   their own styles. These rules intentionally pair surface, ink and text fill. */
/* Structural card buttons own multiple backgrounds and text styles; only
   simple actions enter this palette. Compound cards retain their native skin. */
html:root.gx-ui:not(.gx-route-home):not(.gx-route-canvas) #root :is(button,a,[role="button"]):not(:has(> :is(div,article,section,figure)))[class~="bg-white"] {
  background: #f1f3f5 !important;
  color: #17212b !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #9baab8 !important;
}

html:root.gx-ui:not(.gx-route-home):not(.gx-route-canvas) #root :is(button,a,[role="button"]):not(:has(> :is(div,article,section,figure)))[class~="bg-white"]:hover:not(:disabled):not([aria-disabled="true"]) {
  background: #dce5ed !important;
  color: #17212b !important;
}

/* Translucent white utility controls are a different visual role from the
   solid white primary action. Match complete class tokens, not hover variants. */
html:root.gx-ui:not(.gx-route-home):not(.gx-route-canvas) #root :is(button,a,[role="button"]):not(:has(> :is(div,article,section,figure))):is([class^="bg-white/"],[class*=" bg-white/"]) {
  background: #1b222b !important;
  color: #f3f5f7 !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #526175 !important;
}

html:root.gx-ui:not(.gx-route-home):not(.gx-route-canvas) #root :is(button,a,[role="button"]):not(:has(> :is(div,article,section,figure))):is([class^="bg-white/"],[class*=" bg-white/"]):hover:not(:disabled):not([aria-disabled="true"]) {
  background: #293544 !important;
  color: #ffffff !important;
}

html:root.gx-ui.gx-light:not(.gx-route-home):not(.gx-route-canvas) #root :is(button,a,[role="button"]):not(:has(> :is(div,article,section,figure))):is([class^="bg-white/"],[class*=" bg-white/"]) {
  background: #e7edf3 !important;
  color: #17212b !important;
  border-color: #8c9baa !important;
}

html:root.gx-ui.gx-light:not(.gx-route-home):not(.gx-route-canvas) #root :is(button,a,[role="button"]):not(:has(> :is(div,article,section,figure))):is([class^="bg-white/"],[class*=" bg-white/"]):hover:not(:disabled):not([aria-disabled="true"]) {
  background: #d5dfe9 !important;
  color: #17212b !important;
}

html:root.gx-ui:not(.gx-route-home):not(.gx-route-canvas) #root :is(button,a,[role="button"]):not(:has(> :is(div,article,section,figure))):is([class~="bg-white"],[class^="bg-white/"],[class*=" bg-white/"]) > :is(span,svg):not([class*="bg-"]) {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

/* A pending action remains readable without looking like an enabled action.
   Native disabled / aria-disabled semantics and loading spinners are preserved. */
html:root.gx-ui:not(.gx-route-home):not(.gx-route-canvas) #root :is(button,a,[role="button"]):not(:has(> :is(div,article,section,figure)))[class~="bg-white"]:is(:disabled,[aria-disabled="true"]) {
  background: #c9d1d9 !important;
  color: #44505d !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #8b99a7 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

html:root.gx-ui:not(.gx-route-home):not(.gx-route-canvas) #root :is(button,a,[role="button"]):not(:has(> :is(div,article,section,figure))):is([class^="bg-white/"],[class*=" bg-white/"]):is(:disabled,[aria-disabled="true"]) {
  background: #28313b !important;
  color: #b8c2cf !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #495769 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

html:root.gx-ui.gx-light:not(.gx-route-home):not(.gx-route-canvas) #root :is(button,a,[role="button"]):not(:has(> :is(div,article,section,figure))):is([class^="bg-white/"],[class*=" bg-white/"]):is(:disabled,[aria-disabled="true"]) {
  background: #dfe5eb !important;
  color: #53616e !important;
  border-color: #98a5b1 !important;
}

html:root.gx-ui:not(.gx-route-home):not(.gx-route-canvas) #root :is(button,a,[role="button"]):not(:has(> :is(div,article,section,figure))):is([class~="bg-white"],[class^="bg-white/"],[class*=" bg-white/"]):focus-visible {
  outline: 2px solid #84dec9 !important;
  outline-offset: 3px !important;
}

/* White modal/announcement panels are changed to dark by the host skin, while
   their original slate/gray ink classes remain dark. Repair those neutral
   surfaces only. Do not recolor accent/destructive controls or their children. */
html.gx-ui:not(.gx-light):not(.gx-route-home):not(.gx-route-canvas) #root :is(article,section,[role="dialog"],[role="alertdialog"],.xh-dialog-panel,.xh-announcement-dialog,.mh-recharge-modal-panel):is([class~="bg-white"],[class^="bg-white/"],[class*=" bg-white/"]) {
  background: #161c24 !important;
  color: #edf2f7 !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #465465 !important;
}

html.gx-ui.gx-light:not(.gx-route-home):not(.gx-route-canvas) #root :is(article,section,[role="dialog"],[role="alertdialog"],.xh-dialog-panel,.xh-announcement-dialog,.mh-recharge-modal-panel):is([class~="bg-white"],[class^="bg-white/"],[class*=" bg-white/"]) {
  background: #f7f9fc !important;
  color: #17212b !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #99a8b6 !important;
}

/* Explicit neutral ink within an affected white surface must follow its
   repaired surface. A root white panel itself is included by the rules above. */
html.gx-ui:not(.gx-light):not(.gx-route-home):not(.gx-route-canvas) #root :is([class~="bg-white"],[class^="bg-white/"],[class*=" bg-white/"]):is([class~="text-black"],[class~="text-slate-950"],[class~="text-slate-900"],[class~="text-slate-800"],[class~="text-gray-950"],[class~="text-gray-900"],[class~="text-gray-800"],[class~="text-[#0f172a]"],[class~="text-[#111827]"]):not(:where(button,a,[role="button"],[role="switch"])) {
  color: #edf2f7 !important;
  -webkit-text-fill-color: currentColor !important;
}

html.gx-ui.gx-light:not(.gx-route-home):not(.gx-route-canvas) #root :is([class~="bg-white"],[class^="bg-white/"],[class*=" bg-white/"]):is([class~="text-black"],[class~="text-slate-950"],[class~="text-slate-900"],[class~="text-slate-800"],[class~="text-gray-950"],[class~="text-gray-900"],[class~="text-gray-800"],[class~="text-[#0f172a]"],[class~="text-[#111827]"]):not(:where(button,a,[role="button"],[role="switch"])) {
  background: #f7f9fc !important;
  color: #17212b !important;
  -webkit-text-fill-color: currentColor !important;
}

html.gx-ui:not(.gx-light):not(.gx-route-home):not(.gx-route-canvas) #root :is([class~="bg-white"],[class^="bg-white/"],[class*=" bg-white/"]) :is([class~="text-black"],[class~="text-slate-950"],[class~="text-slate-900"],[class~="text-slate-800"],[class~="text-slate-700"],[class~="text-gray-950"],[class~="text-gray-900"],[class~="text-gray-800"],[class~="text-gray-700"],[class~="text-[#0f172a]"],[class~="text-[#111827]"],[class~="text-[#17212b]"],[class~="text-[#1f2937]"],[class~="text-[#101a33]"]):not(:where(button,a,[role="button"],[role="switch"])):not(:where(:is(button,a,[role="button"],[role="switch"]) *)):not(:where([class*="bg-"],[style*="background"])):not(:where([class*="bg-white"] [class*="bg-"]:not([class*="bg-white"]) *)) {
  color: #edf2f7 !important;
  -webkit-text-fill-color: currentColor !important;
}

html.gx-ui:not(.gx-light):not(.gx-route-home):not(.gx-route-canvas) #root :is([class~="bg-white"],[class^="bg-white/"],[class*=" bg-white/"]) :is([class~="text-slate-600"],[class~="text-slate-500"],[class~="text-gray-600"],[class~="text-gray-500"]):not(:where(button,a,[role="button"],[role="switch"])):not(:where(:is(button,a,[role="button"],[role="switch"]) *)):not(:where([class*="bg-"],[style*="background"])):not(:where([class*="bg-white"] [class*="bg-"]:not([class*="bg-white"]) *)) {
  color: #b7c2cf !important;
  -webkit-text-fill-color: currentColor !important;
}

html.gx-ui.gx-light:not(.gx-route-home):not(.gx-route-canvas) #root :is([class~="bg-white"],[class^="bg-white/"],[class*=" bg-white/"]) :is([class~="text-black"],[class~="text-slate-950"],[class~="text-slate-900"],[class~="text-slate-800"],[class~="text-slate-700"],[class~="text-gray-950"],[class~="text-gray-900"],[class~="text-gray-800"],[class~="text-gray-700"],[class~="text-[#0f172a]"],[class~="text-[#111827]"],[class~="text-[#17212b]"],[class~="text-[#1f2937]"],[class~="text-[#101a33]"]):not(:where(button,a,[role="button"],[role="switch"])):not(:where(:is(button,a,[role="button"],[role="switch"]) *)):not(:where([class*="bg-"],[style*="background"])):not(:where([class*="bg-white"] [class*="bg-"]:not([class*="bg-white"]) *)) {
  color: #17212b !important;
  -webkit-text-fill-color: currentColor !important;
}

html.gx-ui.gx-light:not(.gx-route-home):not(.gx-route-canvas) #root :is(article,section,[role="dialog"],[role="alertdialog"],.xh-dialog-panel,.xh-announcement-dialog,.mh-recharge-modal-panel):is([class~="bg-white"],[class^="bg-white/"],[class*=" bg-white/"]) :is([class~="text-slate-600"],[class~="text-slate-500"],[class~="text-gray-600"],[class~="text-gray-500"]):not(:where(button,a,[role="button"],[role="switch"])):not(:where(:is(button,a,[role="button"],[role="switch"]) *)):not(:where([class*="bg-"],[style*="background"])):not(:where([class*="bg-white"] [class*="bg-"]:not([class*="bg-white"]) *)) {
  color: #455466 !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Catalog cards contain a separate white CTA badge inside the dark tile. */
html:root.gx-ui:is(.gx-route-image-creation,.gx-route-video-creation) #root span[class~="bg-white"][class~="self-end"][class~="rounded-full"] {
  background: #f1f3f5 !important;
  color: #5b32b8 !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #b7a6d7 !important;
}

/* The app category rail retains a dark neutral surface in the legacy skin,
   including when the surrounding host is switched to its light palette. */
html:root.gx-ui.gx-route-apps #root button[class~="text-[#8492a6]"][class~="h-8"] {
  color: #b8c2cf !important;
  -webkit-text-fill-color: currentColor !important;
  background: #1b222b !important;
}

/* Official-asset series tabs and the compact filter header are intentionally
   light surfaces; the generic workbench heading ink must not turn white. */
html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library nav.pl-series.pl-tabs button {
  background: #f1f3f5 !important;
  color: #17212b !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #9baab8 !important;
}

html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library nav.pl-series.pl-tabs button[aria-pressed="true"] {
  background: #e6efff !important;
  border-color: #557ec0 !important;
}

html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library nav.pl-series.pl-tabs button strong,
html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library .pl-filter-heading h2 {
  color: #17212b !important;
  -webkit-text-fill-color: currentColor !important;
}

html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library nav.pl-series.pl-tabs button small {
  color: #455466 !important;
  -webkit-text-fill-color: currentColor !important;
}

html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library .pl-role-grid button strong {
  color: #17212b !important;
  -webkit-text-fill-color: currentColor !important;
}

html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library .pl-role-grid button small {
  color: #455466 !important;
  -webkit-text-fill-color: currentColor !important;
}

html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library .pl-results-head h2,
html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library .pl-card-open h3 {
  color: #edf2f7 !important;
  -webkit-text-fill-color: currentColor !important;
}

html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library .pl-results-head h2 small,
html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library .pl-card-open :is(p,small),
html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library :is(.pl-page-summary,.pl-page-number) {
  color: #b7c2cf !important;
  -webkit-text-fill-color: currentColor !important;
}

html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library .pl-results-head .pl-tabs button {
  background: #1b222b !important;
  color: #edf2f7 !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #526175 !important;
}

html:root.gx-ui.gx-route-asset #root #official-asset-center.person-library .pl-results-head .pl-tabs button[aria-pressed="true"] {
  background: #293e5c !important;
  border-color: #7ca3e0 !important;
}

/* Repair light-mode ink only where the legacy host keeps mixed surfaces.
   Default dark mode, accent controls and layout are unchanged. */
html:root.gx-ui.gx-light.gx-route-dashboard #root [class~="bg-white"] :is(h1,h2,h3,h4,strong,[class~="text-content"]) {
  color: #17212b !important;
  -webkit-text-fill-color: currentColor !important;
}

html:root.gx-ui.gx-light.gx-route-dashboard #root [class~="bg-white"] :is([class~="text-content-muted"],[class~="text-content-subtle"],[class~="text-[#607089]"]) {
  color: #53616e !important;
  -webkit-text-fill-color: currentColor !important;
}

html:root.gx-ui.gx-light.gx-route-dashboard #root [class~="bg-white"] [class~="text-emerald-600"] {
  color: #047857 !important;
  -webkit-text-fill-color: currentColor !important;
}

/* These filter buttons retain the legacy dark surface even in light mode. */
html:root.gx-ui.gx-light.gx-route-dashboard #root button[class~="inline-flex"][class~="gap-1.5"] {
  color: #c2ccd7 !important;
  -webkit-text-fill-color: currentColor !important;
}

html:root.gx-ui.gx-light.gx-route-dashboard #root aside[class~="bg-white"] {
  background: #f7f9fc !important;
  color: #17212b !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #99a8b6 !important;
}

/* Account headings sit on the existing dark account panel, while fields use
   the light input surface. Do not inherit the legacy white text-fill value. */
html:root.gx-ui.gx-light.gx-route-account:not(.gx-route-home):not(.gx-route-canvas) #root main h1[class~="text-[#101a33]"] {
  color: #edf2f7 !important;
  -webkit-text-fill-color: currentColor !important;
}

html:root.gx-ui.gx-light.gx-route-account #root main :is(input,textarea,select) {
  background: #f7f9fc !important;
  color: #17212b !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #8c9baa !important;
}

html:root.gx-ui.gx-light.gx-route-account #root main :is(input,textarea,select):is(:disabled,[readonly]) {
  background: #e7edf3 !important;
  color: #53616e !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
}

html:root.gx-ui.gx-light.gx-route-account #root main :is(input,textarea)::placeholder {
  color: #53616e !important;
  -webkit-text-fill-color: #53616e !important;
  opacity: 1 !important;
}

html:root.gx-ui.gx-light .gx-account-profile > summary.gx-account-avatar > b {
  color: #b8c2cf !important;
  -webkit-text-fill-color: currentColor !important;
}

/* One brand and one feature trigger in the persistent interior navigation. */
html:root.gx-ui #root header [data-xh-duplicate-brand="20261202"],
html:root.gx-ui #root header [data-xh-duplicate-home="20261202"] {
  display:none!important;
}
/* Undo the legacy positional hiding rule: only identified branding is hidden. */
html:root.gx-ui:not(.gx-route-home):not(.gx-route-canvas) #root header.fixed.top-0[data-xh-header-identity="20261202"] button:first-child:not([data-xh-duplicate-brand]) {
  opacity:1;
  pointer-events:auto;
}
/* Keep feature and account controls separate on narrow screens. Secondary
   actions remain available inside the profile and feature menus. */
@media(max-width:820px) {
  html:root.gx-ui .gx-account-floating {
    right:12px!important;width:auto!important;min-width:0!important;max-width:none!important;
    padding:5px 0!important;gap:6px!important;box-shadow:none!important;background:#080908!important;
  }
  html:root.gx-ui .gx-account-floating > :is(.gx-account-customer,.gx-account-invite,.gx-account-recharge,.gx-account-agent) {display:none!important}
  html:root.gx-ui .gx-account-floating > .gx-account-points {
    width:34px!important;min-width:34px!important;padding:0!important;justify-content:center!important;
  }
  html:root.gx-ui .gx-account-floating > .gx-account-points > span {display:none!important}
  html:root.gx-ui .gx-account-floating > .gx-account-profile {flex:0 0 auto!important}
}

/* Feature menus share a viewport-bound panel on the home and interior shells. */
html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel,
html:root.gx-ui body > .gx-interior-menu.gx-more-menu > .gx-more-panel {
  position: fixed !important;
  inset: auto !important;
  top: var(--gx-feature-menu-top, 72px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: min(1280px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: var(--gx-feature-menu-height, calc(100dvh - 88px)) !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  box-sizing: border-box !important;
  z-index: 130 !important;
}
html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu:not([open]) > .gx-more-panel,
html:root.gx-ui body > .gx-interior-menu.gx-more-menu:not([open]) > .gx-more-panel {
  display: none !important;
  pointer-events: none !important;
}
html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu[open] > .gx-more-panel,
html:root.gx-ui body > .gx-interior-menu.gx-more-menu[open] > .gx-more-panel {
  display: grid !important;
}
html:root.gx-ui .gx-more-menu > .gx-more-panel section,
html:root.gx-ui .gx-more-menu > .gx-more-panel a {
  min-width: 0;
}
html:root.gx-ui .gx-more-menu > .gx-more-panel section > small {
  color: #b6beb5 !important;
  -webkit-text-fill-color: #b6beb5 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
html:root.gx-ui .gx-more-menu > .gx-more-panel a b {
  color: #f0f3ee !important;
  -webkit-text-fill-color: #f0f3ee !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
html:root.gx-ui .gx-more-menu > .gx-more-panel a > span:not(.xh-more-icon) {
  color: #b5bdb5 !important;
  -webkit-text-fill-color: #b5bdb5 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  white-space: normal !important;
}
html:root.gx-ui .gx-more-menu > summary:focus-visible,
html:root.gx-ui .gx-more-menu > .gx-more-panel a:focus-visible {
  outline: 2px solid #d3ee9a !important;
  outline-offset: 3px;
}
@media (max-width: 720px) {
  html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel,
  html:root.gx-ui body > .gx-interior-menu.gx-more-menu > .gx-more-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 12px !important;
  }
}

/* Share previews use a clear media column and a compact project summary. */
html:root.gx-ui #root main[data-xh-share-layout] {
  font-family:Inter,"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",Arial,sans-serif!important;
}
html:root.gx-ui #root main[data-xh-share-layout] > header,
html:root.gx-ui #root main[data-xh-share-layout] > header > div {height:64px!important;min-height:64px!important}
html:root.gx-ui #root [data-xh-share-content] {
  box-sizing:border-box!important;width:min(1840px,calc(100% - 64px))!important;
  max-width:none!important;margin:0 auto!important;padding:32px 0 64px!important;
}
html:root.gx-ui #root [data-xh-share-content] > div:first-child {margin-bottom:24px!important;padding:14px 18px!important;border-radius:12px!important;gap:16px!important}
html:root.gx-ui #root [data-xh-share-hero] {
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,360px)!important;
  gap:24px!important;align-items:start!important;
}
html:root.gx-ui #root [data-xh-share-cover] {min-width:0;overflow:hidden;border-radius:16px!important}
html:root.gx-ui #root [data-xh-share-cover] img {object-fit:contain!important}
html:root.gx-ui #root [data-xh-share-info] {min-width:0;padding:24px!important;border-radius:16px!important;gap:0!important}
html:root.gx-ui #root [data-xh-share-info] h1 {
  margin:18px 0 0!important;font:650 clamp(24px,2vw,30px)/1.35 Inter,"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",Arial,sans-serif!important;
  letter-spacing:0!important;overflow-wrap:anywhere;
}
html:root.gx-ui #root [data-xh-share-info] h1 + div {margin-top:20px!important;gap:8px!important;font-size:14px!important;line-height:1.5!important}
html:root.gx-ui #root [data-xh-share-action] {margin-top:0!important;padding-top:28px!important}
html:root.gx-ui #root [data-xh-share-action] button {height:48px!important;min-height:48px!important;border-radius:10px!important;font-size:16px!important;line-height:1.5!important}
html:root.gx-ui #root [data-xh-share-gallery] {margin-top:36px!important}
html:root.gx-ui #root [data-xh-share-gallery] h2 {font:650 20px/1.4 Inter,"Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif!important;letter-spacing:0!important}
html:root.gx-ui #root [data-xh-share-gallery] > div:last-child {gap:20px!important}
html:root.gx-ui #root [data-xh-share-gallery] article {min-width:0;border-radius:12px!important}
@media(max-width:1023px) {
  html:root.gx-ui #root [data-xh-share-content] {width:calc(100% - 40px)!important;padding-top:24px!important}
  html:root.gx-ui #root [data-xh-share-hero] {grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
  html:root.gx-ui #root [data-xh-share-info] {padding:24px!important}
}
@media(max-width:600px) {
  html:root.gx-ui #root [data-xh-share-content] {width:calc(100% - 32px)!important;padding:20px 0 40px!important}
  html:root.gx-ui #root [data-xh-share-content] > div:first-child {padding:12px 14px!important;align-items:flex-start!important}
  html:root.gx-ui #root [data-xh-share-info] {padding:20px!important}
  html:root.gx-ui #root [data-xh-share-info] h1 {font-size:24px!important}
  html:root.gx-ui #root [data-xh-share-gallery] {margin-top:28px!important}
  html:root.gx-ui #root [data-xh-share-gallery] > div:last-child {grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
}

/* Keep the six feature groups in a stable reading order and a quiet grid. */
html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel[data-xh-more-organized] {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 24px 20px !important;
  padding: 20px !important;
  border: 1px solid #343733 !important;
  border-radius: 12px !important;
  background: #111311 !important;
  color: #edf0ea !important;
  box-shadow: 0 20px 56px #0009 !important;
}
html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel[data-xh-more-organized] > section {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-flow: row !important;
  align-content: start !important;
  gap: 3px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
html:root.gx-ui #xh-home-midnight .gx-more-panel > section[data-xh-more-group="0"] {order: 0 !important}
html:root.gx-ui #xh-home-midnight .gx-more-panel > section[data-xh-more-group="1"] {order: 1 !important}
html:root.gx-ui #xh-home-midnight .gx-more-panel > section[data-xh-more-group="2"] {order: 2 !important}
html:root.gx-ui #xh-home-midnight .gx-more-panel > section[data-xh-more-group="3"] {order: 3 !important}
html:root.gx-ui #xh-home-midnight .gx-more-panel > section[data-xh-more-group="4"] {order: 4 !important}
html:root.gx-ui #xh-home-midnight .gx-more-panel > section[data-xh-more-group="5"] {order: 5 !important}
html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel[data-xh-more-organized] > section > small {
  min-height: 32px !important;
  margin: 0 0 4px !important;
  padding: 0 8px 10px !important;
  color: #b5bdb1 !important;
  -webkit-text-fill-color: #b5bdb1 !important;
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  border-color: #30342e !important;
}
html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel[data-xh-more-organized] > section > a {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: start !important;
  align-content: start !important;
  column-gap: 8px !important;
  row-gap: 2px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 56px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 7px 8px !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  background: transparent !important;
}
html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel[data-xh-more-organized] > section > a > b {
  color: #edf0ea !important;
  -webkit-text-fill-color: #edf0ea !important;
  font-size: 14px !important;
  line-height: 21px !important;
  font-weight: 600 !important;
}
html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel[data-xh-more-organized] > section > a > span:not(.xh-more-icon) {
  color: #adb6a8 !important;
  -webkit-text-fill-color: #adb6a8 !important;
  font-size: 13px !important;
  line-height: 19.5px !important;
  margin: 0 !important;
}
html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel[data-xh-more-organized] > section > a > .xh-more-icon {
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 4px !important;
  border-color: #3a4035 !important;
  border-radius: 6px !important;
  background: #1c201a !important;
  color: #bdc8b4 !important;
}
html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel[data-xh-more-organized] > section > a:is(:hover, :focus-visible) {
  border-color: #4c5842 !important;
  background: #20251c !important;
}
@media (min-width: 1440px) {
  html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel[data-xh-more-organized] {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 16px !important;
    padding: 20px 16px !important;
  }
}
@media (max-width: 720px) {
  html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel[data-xh-more-organized] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 10px !important;
    padding: 14px 10px !important;
  }
  html:root.gx-ui #xh-home-midnight .gx-home-nav .gx-more-menu > .gx-more-panel[data-xh-more-organized] > section > a {
    padding: 7px 4px !important;
    column-gap: 6px !important;
    min-height: 68px !important;
  }
}
