:root {
  --xh-page-bg: #f8f5ff;
  --xh-page-bg-2: #f7f2ff;
  --xh-page-bg-3: #fbfaff;
  --xh-card: #ffffff;
  --xh-card-soft: rgba(255, 255, 255, .9);
  --xh-primary: #8b5cf6;
  --xh-primary-2: #a855f7;
  --xh-primary-3: #6366f1;
  --xh-blue: #60a5fa;
  --xh-purple-soft: #f3e8ff;
  --xh-purple-light: #ede9fe;
  --xh-gold: #f6c453;
  --xh-gold-2: #ffd166;
  --xh-text: #1f2330;
  --xh-text-strong: #111827;
  --xh-muted: #6b7280;
  --xh-muted-2: #8a8fa3;
  --xh-border: rgba(139, 92, 246, .16);
  --xh-border-strong: rgba(139, 92, 246, .32);
  --xh-soft: rgba(139, 92, 246, .08);
  --xh-soft-2: rgba(168, 85, 247, .1);
  --xh-shadow: 0 10px 28px rgba(31, 35, 48, .08);
  --xh-glow: 0 12px 28px rgba(139, 92, 246, .18);
  --xh-radius: 16px;
  --xh-radius-lg: 22px;
  --primary: var(--xh-primary);
  --nav-bg-color: var(--xh-primary);
  --focus-color: var(--xh-primary);
}

html,
body {
  min-height: 100%;
  background: linear-gradient(180deg, var(--xh-page-bg-3) 0%, var(--xh-page-bg) 46%, var(--xh-page-bg-2) 100%) !important;
  color: var(--xh-text) !important;
  overflow-x: hidden;
}

body,
#body,
.container {
  color: var(--xh-text);
}

#body {
  background: transparent !important;
}

a,
.text-primary {
  color: var(--xh-primary) !important;
}

a:hover,
a:focus {
  color: var(--xh-primary-3) !important;
}

.navbar,
.navbar.navbar-light,
.header_fiexd {
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid rgba(139, 92, 246, .12) !important;
  box-shadow: 0 8px 24px rgba(31, 35, 48, .06) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar .navbar-brand,
.navbar .nav-link,
.MobilemenuBtn,
.nav-dark,
.navbar .iconfont,
.navbar .fas,
.navbar .far {
  color: #4b5563 !important;
}

.navbar .active > .nav-link,
.navbar .nav-link.active,
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus {
  color: var(--xh-primary) !important;
}

.navbar-brand span {
  color: var(--xh-text-strong);
  font-weight: 900;
}

.logo-2 {
  filter: none !important;
}

.site-info-logo,
.js-sidebar img[src*="zaesky_theme_light/view/img/avatar.png"] {
  background: #fff !important;
  border-color: rgba(139, 92, 246, .2) !important;
  filter: hue-rotate(235deg) saturate(.82) brightness(1.08) !important;
}

.wuai-home-carousel {
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(139, 92, 246, .18) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 34px rgba(139, 92, 246, .14) !important;
}

.wuai-home-carousel-link img {
  display: block !important;
  width: 100% !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  object-position: left center !important;
}

.wuai-icon-ads-card {
  background: linear-gradient(120deg, #fff 0%, #f7f1ff 58%, #edf6ff 100%) !important;
  border: 1px solid rgba(139, 92, 246, .14) !important;
  box-shadow: 0 16px 32px rgba(139, 92, 246, .12) !important;
}

.wuai-icon-ads-side {
  color: #7c3aed !important;
  background: rgba(139, 92, 246, .07) !important;
}

.wuai-icon-ad-item {
  color: var(--xh-text) !important;
}

.wuai-icon-ad-item img {
  display: block !important;
  position: relative;
  z-index: 1;
}

.wuai-icon-ad-item::before {
  display: none !important;
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
  place-items: center;
  color: #8a5a00;
  content: "✦";
  font-size: 25px;
  font-weight: 900;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .85) 0 20%, transparent 21%),
    linear-gradient(135deg, #ffffff 0%, #efe7ff 45%, #ddecff 100%);
  border: 1px solid rgba(139, 92, 246, .2);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(99, 102, 241, .16);
}

.wuai-icon-ad-item:nth-child(3n + 2)::before {
  color: #936200;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .86) 0 20%, transparent 21%),
    linear-gradient(135deg, #fffdf6 0%, #f3e8ff 48%, #e9f3ff 100%);
}

.wuai-icon-ad-item strong {
  color: #6d28d9 !important;
}

.wuai-icon-ad-item span {
  color: #34384a !important;
}

.wuai-post-action-list,
.wuai-mobile-stat-card {
  overflow: hidden;
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(139, 92, 246, .14) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 28px rgba(139, 92, 246, .1) !important;
}

.wuai-post-action-item {
  background: linear-gradient(90deg, rgba(255, 255, 255, .98), rgba(246, 240, 255, .86)) !important;
  border-bottom-color: rgba(139, 92, 246, .12) !important;
}

.wuai-post-action-close {
  color: #9aa3b5 !important;
}

.wuai-post-action-close:hover {
  color: #7c3aed !important;
}

.wuai-post-action-body img {
  display: none !important;
}

.wuai-post-action-body::before {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #8a5a00;
  content: "✦";
  font-size: 21px;
  font-weight: 900;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .88) 0 21%, transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #efe7ff 48%, #ddecff 100%);
  border: 1px solid rgba(139, 92, 246, .2);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(99, 102, 241, .14);
}

.wuai-post-action-body strong {
  color: #6d28d9 !important;
}

.wuai-post-action-body span {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xh-primary), #2f8cff) !important;
  box-shadow: 0 8px 18px rgba(99, 102, 241, .2) !important;
}

.card,
.breadcrumb,
.dropdown-menu,
.modal-content,
.popover,
.list-group-item,
.wuai-panel,
.wuai-card,
.xh-card {
  background: var(--xh-card) !important;
  border: 1px solid var(--xh-border) !important;
  border-radius: var(--xh-radius) !important;
  box-shadow: var(--xh-shadow) !important;
  color: var(--xh-text) !important;
}

.card-header,
.card-footer,
.modal-header,
.modal-footer,
.popover-header {
  background: rgba(255, 255, 255, .88) !important;
  border-color: rgba(139, 92, 246, .12) !important;
}

.card-header-tabs > .nav-item > .nav-link.active::after,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.list-group-item.active {
  color: var(--xh-primary) !important;
  background: rgba(139, 92, 246, .1) !important;
}

.btn-primary,
.btn-success,
.btn-info,
.btn-secondary.active,
.my-mobile-btn-group > a.btn-secondary:not(:disabled):not(.disabled).active,
.page-item.active .page-link,
.jb-blue,
.b-blue,
.b-theme,
.progress-bar,
.wuai-post-btn-legacy,
.wuai-post-btn-purple,
.wuai-post-btn-blue {
  color: #fff !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-3) 100%) !important;
  box-shadow: 0 10px 24px rgba(139, 92, 246, .22) !important;
}

.btn-outline-primary,
.btn-light,
.btn-outline-light,
.btn-secondary,
.page-link {
  color: #7c3aed !important;
  background: #fff !important;
  border-color: rgba(139, 92, 246, .22) !important;
}

.btn-outline-primary:hover,
.btn-light:hover,
.btn-secondary:hover,
.page-link:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-3) 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(139, 92, 246, .2) !important;
}

.btn-danger,
.wuai-danger,
.is-danger {
  color: #fff !important;
  background: linear-gradient(135deg, #ff5c7a, #ff7b8d) !important;
  border-color: transparent !important;
}

.form-control,
.custom-select,
input,
textarea,
select {
  color: var(--xh-text) !important;
  background: #fff !important;
  border-color: rgba(139, 92, 246, .18) !important;
  border-radius: 14px !important;
}

.form-control:focus,
.custom-select:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--xh-primary) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .1) !important;
}

.badge-primary,
.badge-info,
.badge-soft,
.wuai-more-badge,
.wuai-task-badge,
.wuai-wallet-badge,
.wuai-mall-badge,
.wuai-frame-badge,
.wuai-trade-badge,
.wuai-lottery-badge {
  color: #7c3aed !important;
  background: rgba(139, 92, 246, .1) !important;
  border: 1px solid rgba(139, 92, 246, .18) !important;
}

.badge-warning,
.jb-gold,
.vip-tag,
.pay-tag,
.wuai-vip,
.wuai-frame-vip,
.wuai-svip,
.order-type-4 .pay-tag {
  color: #4a2a00 !important;
  background: linear-gradient(135deg, var(--xh-gold-2) 0%, var(--xh-gold) 100%) !important;
  border-color: rgba(246, 196, 83, .45) !important;
}

.badge-success,
.alert-success {
  color: #4f46e5 !important;
  background: rgba(99, 102, 241, .1) !important;
  border-color: rgba(99, 102, 241, .18) !important;
}

.alert,
.alert-primary,
.alert-info,
.alert-warning {
  color: var(--xh-text) !important;
  background: rgba(139, 92, 246, .08) !important;
  border: 1px solid rgba(139, 92, 246, .14) !important;
}

.jb-dark,
.sidebar-bg,
.user_page_header,
.mp-background,
.mm-background,
.user-page-background {
  background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 52%, #6366f1 100%) !important;
  color: #fff !important;
}

.thread-forum-name,
.style3-thread-forum-name,
.forumlist-bg,
.search_form_input {
  background: rgba(139, 92, 246, .08) !important;
  color: #7c3aed !important;
  border: 1px solid rgba(139, 92, 246, .12) !important;
}

.threadlist,
.thread,
.card-threadlist .thread,
.post,
.postlist .card,
.message,
.blockquote,
.quote {
  background: #fff !important;
  color: var(--xh-text) !important;
}

.subject,
.subject a,
.thread .subject,
.thread .subject a,
.message h1,
.message h2,
.message h3 {
  color: var(--xh-text-strong) !important;
}

.thread .text-muted,
.post .text-muted,
.threadlist .text-muted,
.nav_font,
.small,
small {
  color: var(--xh-muted) !important;
}

.thread-nav,
.bottom-nav-bt,
.wuai-post-actionbar {
  background: rgba(255, 255, 255, .96) !important;
  border-top: 1px solid rgba(139, 92, 246, .12) !important;
  box-shadow: 0 -10px 28px rgba(31, 35, 48, .08) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bottom-nav,
.bottom-nav a,
.thread-nav a {
  color: var(--xh-muted) !important;
}

.bottom-nav .active,
.bottom-nav a.active,
.bottom-nav a:hover,
.thread-nav a:hover,
.thread_btm_func a.text-primary {
  color: var(--xh-primary) !important;
  text-shadow: 0 0 12px rgba(139, 92, 246, .24);
}

.bottom-nav .btn-primary,
.bottom-nav .jb-blue,
.bottom-nav-bt .btn-primary {
  width: 52px;
  height: 52px;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-3) 100%) !important;
  box-shadow: 0 10px 24px rgba(139, 92, 246, .26) !important;
}

.wuai-trade-dock-icon svg path {
  stroke: currentColor;
  fill: none;
}

.wuai-profile-shell,
.wuai-profile-basic,
.wuai-more-panel,
.wuai-wallet-page,
.wuai-task-page,
.wuai-mall-page,
.wuai-frame-page,
.wuai-trade-page,
.wuai-checkin-page,
.wuai-lottery-page,
.wuai-lite-editor-page,
.wuai-pi-thread-shell {
  background: transparent !important;
  color: var(--xh-text) !important;
}

.wuai-profile-hero,
.wuai-wallet-hero,
.wuai-task-hero,
.wuai-mall-hero,
.wuai-frame-hero,
.wuai-trade-hero,
.wuai-checkin-hero,
.wuai-lottery-hero {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .36) !important;
  background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 50%, #6366f1 100%) !important;
  box-shadow: 0 18px 42px rgba(139, 92, 246, .22) !important;
}

.wuai-profile-panel,
.wuai-profile-account,
.wuai-profile-time,
.wuai-profile-panel-stats,
.wuai-more-card,
.wuai-wallet-card,
.wuai-wallet-balance-card,
.wuai-wallet-section,
.wuai-task-card,
.wuai-task-section,
.wuai-mall-card,
.wuai-mall-section,
.wuai-frame-card,
.wuai-frame-section,
.wuai-trade-card,
.wuai-trade-section,
.wuai-checkin-card,
.wuai-checkin-section,
.wuai-lottery-card,
.wuai-lottery-section,
.wuai-post-card,
.wuai-reward-dialog,
.wuai-lite-editor-card {
  color: var(--xh-text) !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(139, 92, 246, .14) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(31, 35, 48, .06) !important;
}

.wuai-profile-info-row,
.wuai-profile-time-item,
.wuai-wallet-row,
.wuai-wallet-bind-card,
.wuai-task-reward,
.wuai-mall-record,
.wuai-frame-preview,
.wuai-trade-flow,
.wuai-checkin-day,
.wuai-lottery-prize,
.wuai-reward-amount {
  background: rgba(139, 92, 246, .06) !important;
  border: 1px solid rgba(139, 92, 246, .12) !important;
}

.wuai-profile-stat strong,
.wuai-profile-section-title,
.wuai-more-title,
.wuai-wallet-amount,
.wuai-wallet-balance,
.wuai-task-title,
.wuai-mall-price,
.wuai-frame-price,
.wuai-trade-price,
.wuai-checkin-title,
.wuai-lottery-title,
.wuai-post-card-title {
  color: var(--xh-primary) !important;
}

.wuai-more-desc,
.wuai-wallet-desc,
.wuai-task-desc,
.wuai-mall-desc,
.wuai-frame-desc,
.wuai-trade-desc,
.wuai-checkin-desc,
.wuai-lottery-desc {
  color: var(--xh-muted) !important;
}

.wuai-more-icon,
.wuai-wallet-icon,
.wuai-task-icon,
.wuai-mall-icon,
.wuai-frame-icon,
.wuai-trade-icon,
.wuai-checkin-icon,
.wuai-lottery-icon {
  color: var(--xh-primary) !important;
  background: rgba(139, 92, 246, .08) !important;
  border: 1px solid rgba(139, 92, 246, .14) !important;
}

.wuai-more-icon svg,
.wuai-trade-dock-icon svg,
.wuai-mall-icon svg,
.wuai-frame-icon svg {
  color: var(--xh-primary) !important;
  stroke: currentColor !important;
}

.wuai-profile-group-pill,
.wuai-more-card.is-open .wuai-more-badge,
.wuai-task-claim,
.wuai-wallet-primary,
.wuai-mall-buy,
.wuai-frame-buy,
.wuai-trade-submit,
.wuai-checkin-submit,
.wuai-lottery-draw,
.wuai-reward-submit,
.wuai-lite-submit {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-3) 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(139, 92, 246, .22) !important;
}

.wuai-profile-level,
.wuai-level-card,
.wuai-level-progress,
.wuai-checkin-progress {
  background: rgba(139, 92, 246, .12) !important;
}

.wuai-level-progress-bar,
.wuai-checkin-progress-bar {
  background: linear-gradient(90deg, var(--xh-primary), var(--xh-primary-3)) !important;
}

.wuai-wallet-amount-plus,
.is-plus {
  color: #4f46e5 !important;
}

.wuai-wallet-amount-minus,
.is-minus {
  color: #ff5c7a !important;
}

.wuai-lottery-cabin,
.wuai-lottery-machine {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
  border-color: rgba(255, 255, 255, .28) !important;
  box-shadow: 0 18px 42px rgba(139, 92, 246, .24) !important;
}

.wuai-lottery-cabin .wuai-lottery-title,
.wuai-lottery-machine .wuai-lottery-title {
  color: #fff !important;
}

.wuai-lottery-hero {
  color: var(--xh-text) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f5efff 56%, #edf6ff 100%) !important;
  border-color: rgba(139, 92, 246, .18) !important;
}

.wuai-lottery-hero .wuai-lottery-title {
  color: #7c3aed !important;
}

.wuai-lottery-subtitle {
  color: #34384a !important;
}

.wuai-lottery-stage {
  color: var(--xh-text) !important;
  background:
    radial-gradient(circle at 82% 18%, rgba(246, 196, 83, .18), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f7f1ff 58%, #edf6ff 100%) !important;
  border: 1px solid rgba(139, 92, 246, .18) !important;
  box-shadow: 0 18px 42px rgba(139, 92, 246, .14) !important;
}

.wuai-lottery-stage-head strong {
  color: #34214a !important;
}

.wuai-lottery-stage-head span {
  color: #7c3aed !important;
}

.wuai-lottery-glow {
  background: radial-gradient(circle, rgba(139, 92, 246, .2), transparent 62%) !important;
  opacity: .68 !important;
}

.wuai-lottery-prize,
.wuai-lottery-center {
  color: var(--xh-text) !important;
  background: rgba(255, 255, 255, .88) !important;
  border: 1px solid rgba(139, 92, 246, .16) !important;
  box-shadow: 0 10px 24px rgba(139, 92, 246, .1) !important;
}

.wuai-lottery-prize::before {
  background: linear-gradient(135deg, rgba(139, 92, 246, .08), rgba(96, 165, 250, .1)) !important;
}

.wuai-lottery-prize.is-active,
.wuai-lottery-prize.is-final {
  background: linear-gradient(135deg, #fffaf0 0%, #f3e8ff 100%) !important;
  border-color: rgba(246, 196, 83, .72) !important;
  box-shadow: 0 12px 28px rgba(246, 196, 83, .22) !important;
}

.wuai-lottery-prize-img {
  background: linear-gradient(135deg, #fff7c2, #f6c453) !important;
  box-shadow: 0 8px 18px rgba(246, 196, 83, .22) !important;
}

.wuai-lottery-prize-img b,
.wuai-lottery-prize-name,
.wuai-lottery-draw-btn span {
  color: #34214a !important;
}

.wuai-lottery-prize-amount,
.wuai-lottery-prize-prob {
  color: #7c3aed !important;
}

.wuai-lottery-draw-btn {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xh-primary), #2f8cff) !important;
  border: 1px solid rgba(255, 255, 255, .7) !important;
  box-shadow: 0 14px 30px rgba(99, 102, 241, .24) !important;
}

.wuai-lottery-draw-btn span,
.wuai-lottery-draw-btn em {
  color: #fff !important;
}

.wuai-lite-editor-header,
.wuai-admin-editor-panel,
.wuai-admin-editor-card {
  background: rgba(255, 255, 255, .94) !important;
  border-color: var(--xh-border) !important;
}

.wuai-editor-divider,
.wuai-divider {
  border-color: rgba(139, 92, 246, .28) !important;
}

.goTop {
  background: linear-gradient(135deg, var(--xh-primary), var(--xh-primary-3)) !important;
  color: #fff !important;
  box-shadow: var(--xh-glow) !important;
}

.userOnline,
.icon-top-3 {
  color: var(--xh-primary) !important;
}

.b-cyan,
.jb-cyan,
.b-green,
.jb-green,
.order-type-5 .pay-tag,
.order-type-6 .pay-tag {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-3) 100%) !important;
}

.b-purple,
.jb-purple {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-2) 100%) !important;
}

.background,
.subject_body_img:hover {
  filter: none !important;
}

@media (max-width: 575.98px) {
  body {
    background: linear-gradient(180deg, #fbfaff 0%, #f8f5ff 52%, #f7f2ff 100%) !important;
  }

  .card,
  .wuai-profile-panel,
  .wuai-more-card,
  .wuai-wallet-card,
  .wuai-task-card,
  .wuai-mall-card,
  .wuai-frame-card,
  .wuai-trade-card {
    border-radius: 16px !important;
  }

  .bottom-nav-bt {
    min-height: 62px;
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* V5 detail closeout: neutralize legacy pink/green residues, keep logic untouched. */
:root {
  --wuai-pink: var(--xh-primary);
  --wuai-pink-2: var(--xh-primary-2);
  --wuai-pink-3: var(--xh-purple-soft);
  --wuai-pink-4: var(--xh-purple-light);
}

html body .threadlist .thread .subject > a,
html body .threadlist .thread .subject > a:link,
html body .threadlist .thread .subject > a:visited,
html body .threadlist .thread .subject > a:hover,
html body .threadlist .thread .subject > a:focus,
html body .style1_subject_body .subject > a,
html body .style1_subject_body .subject > a:link,
html body .style1_subject_body .subject > a:visited,
html body .style1_subject_body .subject > a:hover,
html body .style1_subject_body .subject > a:focus,
html body .style2_subject > a,
html body .style2_subject > a:link,
html body .style2_subject > a:visited,
html body .style2_subject > a:hover,
html body .style2_subject > a:focus,
html body .style3_subject.break-all > a,
html body .style3_subject.break-all > a:link,
html body .style3_subject.break-all > a:visited,
html body .style3_subject.break-all > a:hover,
html body .style3_subject.break-all > a:focus,
html body .card-thread .card-header h1,
html body .card-thread .card-header h2,
html body .card-thread .card-header h3,
html body .card-thread .card-header h4,
html body .card-thread .card-header h4 > a,
html body .wuai-public-post-title,
html body .wuai-message-list-head h2,
html body .wuai-message-topbar-title h1,
html body .wuai-pm-topbar-title h1,
html body .wuai-pm-chat-user h1 {
  color: var(--xh-text) !important;
  -webkit-text-fill-color: var(--xh-text) !important;
}

html body .threadlist .thread .subject .wuai-title-style,
html body .style1_subject_body .subject .wuai-title-style,
html body .style2_subject .wuai-title-style,
html body .style3_subject.break-all .wuai-title-style,
html body .card-thread .card-header .wuai-title-style {
  color: var(--wuai-title-color, var(--wuai-title-fallback, var(--xh-primary))) !important;
  -webkit-text-fill-color: currentColor !important;
}

html body .threadlist .thread .subject .wuai-title-gradient,
html body .threadlist .thread .subject .wuai-title-rainbow,
html body .threadlist .thread .subject .wuai-title-fire,
html body .style1_subject_body .subject .wuai-title-gradient,
html body .style1_subject_body .subject .wuai-title-rainbow,
html body .style1_subject_body .subject .wuai-title-fire,
html body .style2_subject .wuai-title-gradient,
html body .style2_subject .wuai-title-rainbow,
html body .style2_subject .wuai-title-fire,
html body .style3_subject.break-all .wuai-title-gradient,
html body .style3_subject.break-all .wuai-title-rainbow,
html body .style3_subject.break-all .wuai-title-fire,
html body .card-thread .card-header .wuai-title-gradient,
html body .card-thread .card-header .wuai-title-rainbow,
html body .card-thread .card-header .wuai-title-fire {
  color: var(--wuai-title-fallback, var(--xh-primary)) !important;
  -webkit-text-fill-color: transparent !important;
}

html body .bottom-nav-bt,
html body .thread-nav,
html body .wuai-post-actionbar {
  background: rgba(255, 255, 255, .96) !important;
  border-top-color: rgba(139, 92, 246, .12) !important;
  box-shadow: 0 -10px 28px rgba(31, 35, 48, .08) !important;
}

html body .bottom-nav a,
html body .bottom-nav a i,
html body .bottom-nav a .iconfont,
html body .bottom-nav a .wuai-trade-dock-icon,
html body .bottom-nav a .nav_font {
  color: var(--xh-muted) !important;
}

html body .bottom-nav a.active,
html body .bottom-nav a.active i,
html body .bottom-nav a.active .iconfont,
html body .bottom-nav a.active .wuai-trade-dock-icon,
html body .bottom-nav a.active .nav_font,
html body .bottom-nav a:hover,
html body .bottom-nav a:hover i,
html body .bottom-nav a:hover .nav_font {
  color: var(--xh-primary) !important;
  text-shadow: 0 0 12px rgba(139, 92, 246, .24) !important;
}

html body .bottom-nav .btn-primary.jb-blue,
html body .bottom-nav .btn-primary.jb-blue:focus,
html body .bottom-nav .btn-primary.jb-blue:hover,
html body .bottom-nav-bt .btn-primary,
html body .bottom-nav-bt .btn-primary:focus,
html body .bottom-nav-bt .btn-primary:hover,
html body #js-go_top.goTop,
html body .goTop {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-3) 100%) !important;
  border-color: rgba(255, 255, 255, .68) !important;
  box-shadow: 0 10px 24px rgba(139, 92, 246, .26) !important;
}

html body .bottom-nav a > .btn.btn-primary.jb-blue,
html body .bottom-nav .btn.btn-primary.jb-blue,
html body .bottom-nav-bt .btn.btn-primary.jb-blue {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
}

html body .bottom-nav a > .btn.btn-primary.jb-blue .iconfont,
html body .bottom-nav .btn.btn-primary.jb-blue .iconfont,
html body .bottom-nav .btn.btn-primary.jb-blue .icon-dockfatie,
html body .bottom-nav-bt .btn.btn-primary.jb-blue .iconfont,
html body .bottom-nav-bt .btn.btn-primary.jb-blue .icon-dockfatie {
  display: block !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 28px !important;
  line-height: 1 !important;
  text-shadow: none !important;
  transform: translateY(-1px);
}

html body #js-go_top.goTop i,
html body .goTop i {
  color: #fff !important;
}

html body .wuai-my-level-card,
html body .wuai-my-level-card.wuai-my-level-card-standalone,
html body .wuai-level-user-card,
html body .wuai-level-stat-card,
html body .wuai-level-reward-list,
html body .wuai-level-rule-list,
html body .wuai-public-section,
html body .wuai-public-post-card,
html body .wuai-message-topbar,
html body .wuai-message-category-card,
html body .wuai-message-list-card,
html body .wuai-pm-topbar,
html body .wuai-pm-chat-topbar,
html body .wuai-pm-list-card,
html body .wuai-online-summary-card,
html body .wuai-online-section,
html body .wuai-online-task-card,
html body .wuai-online-rank-card,
html body .wuai-online-rank-tabs a {
  background: rgba(255, 255, 255, .96) !important;
  border-color: rgba(139, 92, 246, .14) !important;
  box-shadow: 0 12px 28px rgba(31, 35, 48, .06) !important;
}

html body .wuai-my-level-card,
html body .wuai-my-level-card.wuai-my-level-card-standalone,
html body .wuai-profile-panel-stats,
html body .wuai-profile-info-row,
html body .wuai-profile-time-item,
html body .wuai-public-info-row,
html body .wuai-public-time-grid div,
html body .wuai-public-empty,
html body .wuai-more-card,
html body .wuai-more-feature-link {
  background: linear-gradient(180deg, #fff 0%, #f8f5ff 100%) !important;
  border-color: rgba(139, 92, 246, .12) !important;
  box-shadow: 0 12px 26px rgba(31, 35, 48, .06) !important;
}

html body .wuai-my-level-card:after {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .42), transparent 36%),
    radial-gradient(circle at 92% 15%, rgba(139, 92, 246, .14), transparent 28%) !important;
}

html body .wuai-my-level-badge,
html body .wuai-my-level-card-standalone .wuai-my-level-badge,
html body .wuai-level-reward-badge,
html body .wuai-level-rule-reward-btn:not(:disabled),
html body .wuai-level-reward-btn:not(:disabled),
html body .wuai-level-rule-head em,
html body .my-mobile-btn-group > .btn-secondary.active,
html body .my-mobile-btn-group > .btn-secondary:not(:disabled):not(.disabled).active,
html body .wuai-profile-edit-tabs .nav-link.active,
html body .wuai-public-tab.is-active,
html body .wuai-public-action.is-primary,
html body .wuai-message-readall.readall,
html body .wuai-online-rank-tabs a.is-active,
html body .wuai-online-task-btn,
html body .wuai-online-task-badge,
html body .wuai-pm-chat-form button,
html body .wuai-pm-message.is-self .wuai-pm-bubble,
html body .wuai-thread-filter-tab.is-active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-3) 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(139, 92, 246, .22) !important;
}

html body .wuai-level-page .wuai-level-hero,
html body .wuai-online-page .wuai-online-hero,
html body .wuai-frame-hero {
  color: #fff !important;
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 255, 255, .22) 0 36px, transparent 38px),
    radial-gradient(circle at 86% 24%, rgba(255, 255, 255, .18) 0 58px, transparent 60px),
    linear-gradient(135deg, var(--xh-primary-2) 0%, var(--xh-primary) 52%, var(--xh-primary-3) 100%) !important;
  box-shadow: 0 16px 34px rgba(139, 92, 246, .22) !important;
}

html body .wuai-level-progress,
html body .wuai-my-level-bar,
html body .wuai-online-progress {
  background: rgba(139, 92, 246, .12) !important;
  box-shadow: inset 0 1px 2px rgba(139, 92, 246, .08) !important;
}

html body .wuai-level-progress i,
html body .wuai-my-level-bar i,
html body .wuai-online-progress i {
  background: linear-gradient(90deg, var(--xh-primary) 0%, var(--xh-primary-3) 100%) !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, .28) !important;
}

html body .wuai-level-rule-dot,
html body .wuai-level-rule-item.is-current .wuai-level-rule-dot,
html body .wuai-level-rule-item.has-reward .wuai-level-rule-dot {
  background: var(--xh-primary) !important;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, .18), 0 0 0 8px rgba(139, 92, 246, .08) !important;
}

html body .wuai-level-rule-link,
html body .wuai-profile-group-pill,
html body .wuai-level-user-name em,
html body .wuai-public-inline-pill,
html body .wuai-public-card-tags span,
html body .wuai-public-action.is-soft,
html body .wuai-message-all-link,
html body .wuai-message-tool-btn,
html body .wuai-message-empty-icon,
html body .wuai-message-topbar-icon,
html body .wuai-message-action,
html body .wuai-pm-topbar-icon,
html body .wuai-pm-delete,
html body .wuai-pm-empty-icon,
html body .wuai-online-rank-num,
html body .wuai-online-rank-time,
html body .wuai-signin-entry,
html body .wuai-signin-entry.is-signed,
html body .wuai-index-category-tab {
  color: var(--xh-primary) !important;
  background: rgba(139, 92, 246, .1) !important;
  border-color: rgba(139, 92, 246, .16) !important;
  box-shadow: none !important;
}

html body .wuai-signin-entry.is-signed,
html body .wuai-index-category-tab:hover,
html body .wuai-index-category-tab.active {
  background: rgba(139, 92, 246, .12) !important;
  border-color: rgba(139, 92, 246, .22) !important;
}

html body .wuai-message-topbar,
html body .wuai-message-action,
html body .wuai-message-topbar-icon {
  background-image: none !important;
}

html body .wuai-message-category:hover,
html body .wuai-message-category.active,
html body .wuai-message-item.unread {
  background: rgba(139, 92, 246, .08) !important;
}

html body .wuai-message-category-private,
html body .wuai-message-category-mention,
html body .wuai-message-type-other,
html body .wuai-message-type-mention {
  color: var(--xh-primary) !important;
  background: rgba(139, 92, 246, .1) !important;
}

html body .wuai-message-category-interaction,
html body .wuai-message-type-interaction {
  color: var(--xh-primary-3) !important;
  background: rgba(99, 102, 241, .1) !important;
}

html body .wuai-message-category-system,
html body .wuai-message-category-announce,
html body .wuai-message-type-system,
html body .wuai-message-type-announce,
html body .wuai-level-reward-mini-tag,
html body .wuai-level-rule-reward-text span {
  color: #b7791f !important;
  background: rgba(246, 196, 83, .16) !important;
  border-color: rgba(246, 196, 83, .28) !important;
}

html body .wuai-level-rule-reward,
html body .wuai-level-rule-item.is-current .wuai-level-rule-reward {
  background: linear-gradient(90deg, #fff 0%, #f8f5ff 100%) !important;
  border-color: rgba(139, 92, 246, .14) !important;
}

html body .wuai-level-rule-reward-btn:disabled,
html body .wuai-level-reward-btn:disabled,
html body .wuai-online-task-btn.is-muted,
html body .wuai-online-task-btn:disabled,
html body .wuai-online-task-card.is-locked .wuai-online-task-badge,
html body .wuai-online-task-card.is-claimed .wuai-online-task-badge,
html body .wuai-message-readall {
  color: var(--xh-muted-2) !important;
  background: #eef0f5 !important;
  box-shadow: none !important;
}

html body .wuai-wallet-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .24), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(99, 102, 241, .34), transparent 30%),
    linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-2) 48%, var(--xh-primary-3) 100%) !important;
  box-shadow: 0 18px 42px rgba(139, 92, 246, .24) !important;
}

html body .wuai-wallet-tab.is-active,
html body .wuai-wallet-subtab.is-active,
html body .wuai-wallet-action-card.is-primary,
html body .wuai-wallet-primary,
html body .wuai-wallet-form .wuai-wallet-primary,
html body .wuai-wallet-method-card.is-selected .wuai-wallet-method-dot,
html body .wuai-wallet-bind-icon.is-alipay,
html body .wuai-wallet-bind-icon.is-usdt {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-2) 48%, var(--xh-primary-3) 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 12px 26px rgba(139, 92, 246, .24) !important;
}

html body .wuai-wallet-action-icon,
html body .wuai-wallet-panel-title button,
html body .wuai-wallet-method-card.is-selected {
  color: var(--xh-primary) !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .14) 0%, rgba(168, 85, 247, .1) 48%, rgba(99, 102, 241, .1) 100%) !important;
  border-color: rgba(139, 92, 246, .2) !important;
}

html body .wuai-wallet-gradient-text {
  background: linear-gradient(135deg, var(--xh-primary) 0%, var(--xh-primary-2) 48%, var(--xh-primary-3) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

/* Home / forum / list final closeout 20260625. */
html body #body {
  padding-bottom: 22px;
}

html body .wuai-home-row,
html body .wuai-forum-row {
  align-items: flex-start;
}

html body .wuai-home-main,
html body .wuai-forum-main {
  min-width: 0;
}

html body .card-threadlist.wuai-list-card,
html body .wuai-top-thread-card,
html body .wuai-site-info-card,
html body .wuai-forum-info-card,
html body .wuai-forum-mobile-brief,
html body .col-lg-10.mx-auto > .card {
  overflow: hidden;
  border-radius: 14px !important;
}

html body .wuai-list-header {
  padding: 10px 14px 0 !important;
}

html body .wuai-list-header .card-header-tabs {
  min-width: 0;
  align-items: center;
  gap: 6px;
  margin-right: 0;
  margin-left: 0;
}

html body .wuai-list-header .nav-link {
  padding: 8px 10px !important;
  color: var(--xh-muted) !important;
  border-radius: 999px !important;
  line-height: 1.2;
  white-space: nowrap;
}

html body .wuai-list-header .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xh-primary), var(--xh-primary-3)) !important;
  box-shadow: 0 8px 18px rgba(139, 92, 246, .18) !important;
}

html body .wuai-list-header .nav-link.active::after {
  display: none !important;
}

html body .wuai-list-body,
html body .card.card-threadlist > .card-body.wuai-list-body {
  padding: 0 !important;
}

html body .threadlist.wuai-threadlist,
html body .card-threadlist .threadlist {
  background: #fff !important;
}

html body .wuai-threadlist > .row.justify-content-center {
  margin-right: 0;
  margin-left: 0;
}

html body .wuai-threadlist > .row.justify-content-center > [class*="col-"] {
  max-width: 100%;
  flex: 0 0 100%;
  padding-right: 0;
  padding-left: 0;
}

html body .card-threadlist .threadlist > .thread,
html body .card-threadlist .threadlist > li.thread {
  display: flex !important;
  min-width: 0;
  margin: 0 !important;
  padding: 13px 14px !important;
  border-bottom: 1px solid rgba(139, 92, 246, .1);
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body .card-threadlist .threadlist > .thread:last-child {
  border-bottom: 0;
}

html body .card-threadlist .threadlist .media-body {
  min-width: 0;
}

html body .card-threadlist .threadlist .subject,
html body .card-threadlist .threadlist .style3_subject {
  display: block !important;
  max-width: 100%;
  margin-bottom: 6px !important;
  line-height: 1.45 !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}

html body .card-threadlist .threadlist .subject > a,
html body .card-threadlist .threadlist .style3_subject > a {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

html body .card-threadlist .threadlist .subject .wuai-title-style,
html body .card-threadlist .threadlist .style3_subject .wuai-title-style {
  color: var(--wuai-title-color, var(--wuai-title-fallback, var(--xh-primary))) !important;
  -webkit-text-fill-color: currentColor !important;
}

html body .card-threadlist .threadlist .subject .wuai-title-gradient,
html body .card-threadlist .threadlist .subject .wuai-title-rainbow,
html body .card-threadlist .threadlist .subject .wuai-title-fire,
html body .card-threadlist .threadlist .style3_subject .wuai-title-gradient,
html body .card-threadlist .threadlist .style3_subject .wuai-title-rainbow,
html body .card-threadlist .threadlist .style3_subject .wuai-title-fire {
  -webkit-text-fill-color: transparent !important;
}

html body .card-threadlist .threadlist .brief,
html body .card-threadlist .threadlist .threadlist_brief {
  display: -webkit-box;
  margin: 2px 0 8px;
  color: var(--xh-muted) !important;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html body .card-threadlist .threadlist .left_img_box {
  margin: 8px 0 6px !important;
  gap: 6px;
}

html body .card-threadlist .threadlist .subject_body_img {
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f3f0ff;
}

html body .xh-thread-list-avatar-frame,
html body .xh-thread-list-avatar-link {
  flex: 0 0 auto;
}

html body .thread_checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--xh-primary);
}

html body .thread_mod_func {
  z-index: 1020;
  padding: 0 10px;
  pointer-events: none;
}

html body .thread_mod_func .mod-button {
  pointer-events: auto;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(31, 35, 48, .14);
}

html body .thread_mod_func .btn {
  padding: 9px 12px !important;
  white-space: nowrap;
}

html body .thread_mod_func.is-fixed {
  background: transparent !important;
}

html body .wuai-pagination-wrap {
  margin: 12px 0 16px !important;
}

html body .pagination {
  gap: 6px;
}

html body .pagination .page-link {
  min-width: 34px;
  min-height: 34px;
  padding: 8px 11px !important;
  border-radius: 999px !important;
  line-height: 1.1;
  text-align: center;
}

html body .wuai-thread-filter-item {
  flex: 1 1 100%;
  min-width: 0;
}

html body .wuai-thread-filter-bar {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 6px 0 2px;
}

html body .wuai-thread-filter-tab,
html body .wuai-index-category-tab {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 11px;
  border: 1px solid rgba(139, 92, 246, .16);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

html body .wuai-index-category-tabs {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: none;
}

html body .wuai-index-category-tabs::-webkit-scrollbar {
  display: none;
}

html body .wuai-index-category-tab.is-active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--xh-primary), var(--xh-primary-3)) !important;
  border-color: transparent !important;
}

html body .wuai-home-carousel-wrap,
html body .wuai-icon-ads-wrap,
html body .wuai-post-tools-wrap {
  margin-bottom: 10px !important;
}

html body .wuai-home-carousel {
  border-width: 3px !important;
  border-radius: 14px !important;
}

html body .wuai-home-carousel-link img {
  height: auto !important;
  max-height: 220px;
  aspect-ratio: 26 / 7;
  background: linear-gradient(135deg, #f8f5ff, #eaf3ff);
}

html body .wuai-home-carousel-link img[src=""],
html body .wuai-icon-ad-item img[src=""] {
  visibility: hidden;
}

html body .wuai-icon-ads-card {
  border-radius: 14px !important;
}

html body .wuai-icon-ads-side {
  width: 42px !important;
  min-width: 42px !important;
  padding: 10px 6px !important;
  font-size: 14px;
}

html body .wuai-icon-ads-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px 6px !important;
  padding: 13px 8px !important;
}

html body .wuai-icon-ad-item {
  min-height: 82px !important;
  justify-content: center !important;
}

html body .wuai-icon-ad-item img {
  width: 44px !important;
  height: 44px !important;
  margin-bottom: 6px !important;
  border-radius: 12px !important;
  object-fit: cover;
}

html body .wuai-icon-ad-item strong {
  min-height: 0 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

html body .wuai-icon-ad-item span {
  min-height: 0 !important;
  margin-top: 1px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

html body .wuai-mobile-stat-card,
html body .wuai-mobile-stat-inline .breadcrumb {
  margin-bottom: 9px !important;
  padding: 10px 11px !important;
  border-radius: 14px !important;
}

html body .wuai-mobile-stat-main {
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

html body .wuai-mobile-stat-main::-webkit-scrollbar {
  display: none;
}

html body .wuai-post-action-list {
  border-radius: 14px !important;
}

html body .wuai-post-action-item {
  min-height: 58px !important;
}

html body .wuai-post-action-close {
  flex-basis: 32px !important;
  width: 32px !important;
  height: 32px !important;
  font-size: 22px !important;
}

html body .wuai-post-action-body {
  gap: 9px !important;
  padding: 9px 10px 9px 0 !important;
}

html body .wuai-post-action-body::before {
  flex-basis: 38px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 11px !important;
  font-size: 18px !important;
}

html body .wuai-post-action-body strong {
  font-size: 14px !important;
}

html body .wuai-post-action-body span {
  min-width: 72px !important;
  padding: 7px 9px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
}

html body .wuai-site-announcement {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px !important;
  padding: 10px 38px 10px 12px !important;
  border-radius: 14px !important;
  line-height: 1.5;
}

html body .wuai-site-announcement .close {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

html body .wuai-forum-mobile-brief .card-body {
  padding: 13px !important;
}

html body .wuai-forum-mobile-brief h5 {
  margin-bottom: 4px;
  font-size: 17px;
  line-height: 1.35;
}

html body .wuai-forum-mobile-brief .mt-3 {
  margin-top: 8px !important;
}

html body .wuai-forum-announcement {
  margin-bottom: 10px !important;
  border-radius: 14px !important;
}

html body .wuai-forum-list-header {
  flex-wrap: wrap;
  gap: 8px;
}

html body .card-header-dropdown {
  flex: 0 0 auto;
  padding-top: 6px !important;
}

html body .col-lg-10.mx-auto > .card:first-child {
  margin-bottom: 10px;
}

html body .col-lg-10.mx-auto > .card:first-child .card-body {
  padding: 13px !important;
}

html body .col-lg-10.mx-auto form#form .input-group {
  margin-bottom: 0 !important;
}

html body .col-lg-10.mx-auto form#form .form-group {
  margin: 10px 0 0 !important;
}

html body .bottom-nav-bt {
  right: 0;
  left: 0;
  z-index: 1030;
}

html body .bottom-nav-bt .row {
  min-height: 58px;
  padding-bottom: env(safe-area-inset-bottom);
}

html body .bottom-nav a.col {
  min-width: 0;
  padding-right: 4px;
  padding-left: 4px;
}

html body .bottom-nav .nav_font {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.1;
}

html body #js-go_top.goTop {
  right: 12px !important;
  bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  line-height: 42px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
}

html body #js-go_top.goTop.wuai-go-top-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

html body .js-sidebar:not(.is-visible) {
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

html body .js-sidebar:not(.is-visible) .js-sidebar--container {
  visibility: hidden;
}

html body .js-sidebar.is-visible .js-sidebar--container {
  visibility: visible;
}

html body .js-sidebar.is-visible {
  visibility: visible;
}

html body #footer {
  margin-bottom: 64px;
}

html body .wuai-footer-brand {
  color: var(--xh-muted);
  font-weight: 700;
}

@media (min-width: 992px) {
  html body .wuai-home-carousel-link img {
    max-height: 250px;
  }

  html body .wuai-icon-ad-item strong {
    font-size: 13px !important;
  }

  html body .wuai-icon-ad-item span {
    font-size: 12px !important;
  }

  html body #footer {
    margin-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  html body #body {
    padding-top: 55px;
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  html body #body > .container {
    padding-right: 9px;
    padding-left: 9px;
  }

  html body #mobile_nav {
    display: grid;
    min-height: 54px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    padding: 0 6px;
  }

  html body #mobile_nav .MobilemenuBtn,
  html body #mobile_nav > .navbar-brand,
  html body #mobile_nav > .nav-item,
  html body #mobile_nav > a.navbar-brand {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body #mobile_nav > .navbar-brand.text-truncate {
    width: auto;
    min-width: 0;
    justify-self: center;
    color: var(--xh-text-strong) !important;
    font-size: 17px;
    font-weight: 900;
  }

  html body .wuai-home-carousel-wrap,
  html body .wuai-icon-ads-wrap {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  html body .wuai-home-row,
  html body .wuai-forum-row {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  html body .wuai-home-row > .main,
  html body .wuai-forum-row > .main,
  html body .wuai-home-row > [class*="col-"],
  html body .wuai-forum-row > [class*="col-"] {
    max-width: 100%;
    flex: 0 0 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  html body .wuai-home-carousel-link img {
    max-height: none;
    aspect-ratio: 26 / 7;
  }

  html body .wuai-icon-ads-side {
    width: 34px !important;
    min-width: 34px !important;
    font-size: 13px;
  }

  html body .wuai-icon-ads-grid {
    gap: 8px 4px !important;
    padding: 11px 6px !important;
  }

  html body .wuai-icon-ad-item {
    min-height: 72px !important;
  }

  html body .wuai-icon-ad-item img {
    width: 38px !important;
    height: 38px !important;
  }

  html body .wuai-list-header {
    padding: 9px 10px 0 !important;
  }

  html body .wuai-thread-filter-bar {
    gap: 6px;
    overflow: hidden;
  }

  html body .wuai-index-category-tabs {
    max-width: 100%;
  }

  html body .wuai-thread-filter-tab,
  html body .wuai-index-category-tab {
    min-height: 30px;
    padding: 7px 9px;
    font-size: 12px;
  }

  html body .card-threadlist .threadlist > .thread,
  html body .card-threadlist .threadlist > li.thread {
    padding: 11px 10px !important;
  }

  html body .card-threadlist .threadlist .subject,
  html body .card-threadlist .threadlist .style3_subject {
    font-size: 15px !important;
    line-height: 1.42 !important;
  }

  html body .card-threadlist .threadlist .brief,
  html body .card-threadlist .threadlist .threadlist_brief {
    -webkit-line-clamp: 1;
  }

  html body .card-threadlist .threadlist .text-nowrap {
    white-space: normal !important;
  }

  html body .card-threadlist .threadlist .xh-thread-list-avatar-link {
    margin-right: 10px !important;
  }

  html body .pagination .page-link {
    min-width: 32px;
    min-height: 32px;
    padding: 7px 10px !important;
    font-size: 13px;
  }

  html body .thread_mod_func .mod-button {
    max-width: calc(100vw - 20px);
    overflow-x: auto;
    border-radius: 14px;
  }

  html body .thread_mod_func .btn {
    flex: 0 0 auto;
    padding: 8px 10px !important;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  html body #body > .container {
    padding-right: 8px;
    padding-left: 8px;
  }

  html body .wuai-icon-ad-item strong {
    font-size: 11px !important;
  }

  html body .wuai-icon-ad-item span {
    display: none !important;
  }

  html body .wuai-post-action-body strong {
    font-size: 13px !important;
  }

  html body .wuai-post-action-body span {
    min-width: 66px !important;
    padding-right: 7px !important;
    padding-left: 7px !important;
  }
}

/* Emergency mobile compact restore for home/forum/search lists 20260626. */
@media (max-width: 575.98px) {
  html body .card-threadlist.wuai-list-card {
    overflow: hidden;
    background: #fff !important;
    border: 1px solid rgba(139, 92, 246, .10) !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 14px rgba(31, 35, 48, .028) !important;
  }

  html body .card-threadlist.wuai-list-card > .card-header,
  html body .card-threadlist.wuai-list-card .wuai-list-header {
    padding: 8px 9px 4px !important;
  }

  html body .wuai-thread-filter-bar {
    gap: 5px;
    padding: 3px 0 0 !important;
  }

  html body .wuai-index-category-tabs {
    gap: 6px;
    padding-bottom: 2px;
  }

  html body .wuai-thread-filter-tab,
  html body .wuai-index-category-tab {
    min-height: 28px !important;
    padding: 6px 9px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    background: rgba(255, 255, 255, .94);
    border-color: rgba(139, 92, 246, .13);
    box-shadow: none !important;
  }

  html body .card-threadlist .threadlist > .thread,
  html body .card-threadlist .threadlist > li.thread {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
    min-height: 66px;
    padding: 9px 10px !important;
    border-bottom: 1px solid rgba(17, 24, 39, .06) !important;
  }

  html body .card-threadlist .threadlist > .thread:last-child,
  html body .card-threadlist .threadlist > li.thread:last-child {
    border-bottom: 0 !important;
  }

  html body .card-threadlist .threadlist .xh-thread-list-avatar-link {
    width: 50px !important;
    min-width: 50px !important;
    flex: 0 0 50px !important;
    margin: 1px 8px 0 0 !important;
  }

  html body .card-threadlist .threadlist .xh-thread-list-avatar-frame,
  html body .card-threadlist .threadlist .xh-thread-list-avatar-link .xh-thread-list-avatar-frame {
    --xh-avatar-size: 38px !important;
    --xh-frame-scale: 1.4 !important;
    width: 38px !important;
    height: 38px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    margin: 2px auto 0 !important;
    overflow: visible !important;
  }

  html body .card-threadlist .threadlist .xh-thread-list-avatar-link img.avatar-3 {
    width: 42px !important;
    height: 42px !important;
    object-fit: cover;
  }

  html body .card-threadlist .threadlist > .thread > .media-body,
  html body .card-threadlist .threadlist > li.thread > .media-body {
    min-width: 0;
    flex: 1 1 auto;
  }

  html body .card-threadlist .threadlist .subject,
  html body .card-threadlist .threadlist .style1_subject_body .subject,
  html body .card-threadlist .threadlist .style2_subject,
  html body .card-threadlist .threadlist .style3_subject {
    display: block !important;
    max-width: 100% !important;
    max-height: 2.6em;
    margin: 0 0 3px !important;
    overflow: hidden;
    color: #3f4752 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  html body .card-threadlist .threadlist .subject > a,
  html body .card-threadlist .threadlist .style1_subject_body .subject > a,
  html body .card-threadlist .threadlist .style2_subject > a,
  html body .card-threadlist .threadlist .style3_subject > a {
    color: #3f4752 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    -webkit-text-fill-color: #3f4752 !important;
  }

  html body .card-threadlist .threadlist .subject > a > *,
  html body .card-threadlist .threadlist .style1_subject_body .subject > a > *,
  html body .card-threadlist .threadlist .style2_subject > a > *,
  html body .card-threadlist .threadlist .style3_subject > a > * {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  html body .card-threadlist .threadlist .subject .wuai-title-style,
  html body .card-threadlist .threadlist .style1_subject_body .subject .wuai-title-style,
  html body .card-threadlist .threadlist .style2_subject .wuai-title-style,
  html body .card-threadlist .threadlist .style3_subject .wuai-title-style {
    color: var(--wuai-title-color, var(--wuai-title-fallback, var(--xh-primary))) !important;
    -webkit-text-fill-color: currentColor !important;
  }

  html body .card-threadlist .threadlist .subject .wuai-title-gradient,
  html body .card-threadlist .threadlist .subject .wuai-title-rainbow,
  html body .card-threadlist .threadlist .subject .wuai-title-fire,
  html body .card-threadlist .threadlist .style1_subject_body .subject .wuai-title-gradient,
  html body .card-threadlist .threadlist .style1_subject_body .subject .wuai-title-rainbow,
  html body .card-threadlist .threadlist .style1_subject_body .subject .wuai-title-fire,
  html body .card-threadlist .threadlist .style2_subject .wuai-title-gradient,
  html body .card-threadlist .threadlist .style2_subject .wuai-title-rainbow,
  html body .card-threadlist .threadlist .style2_subject .wuai-title-fire,
  html body .card-threadlist .threadlist .style3_subject .wuai-title-gradient,
  html body .card-threadlist .threadlist .style3_subject .wuai-title-rainbow,
  html body .card-threadlist .threadlist .style3_subject .wuai-title-fire {
    -webkit-text-fill-color: transparent !important;
  }

  html body .card-threadlist .threadlist > .thread > .media-body > .d-flex.justify-content-between,
  html body .card-threadlist .threadlist > li.thread > .media-body > .d-flex.justify-content-between {
    align-items: center !important;
    gap: 8px;
    min-height: 20px;
    margin-top: 3px !important;
    color: #8a8f9e !important;
    font-size: 12px !important;
    line-height: 1.25;
  }

  html body .card-threadlist .threadlist > .thread > .media-body > .d-flex.justify-content-between > .break-all,
  html body .card-threadlist .threadlist > li.thread > .media-body > .d-flex.justify-content-between > .break-all {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0 5px;
    overflow: hidden;
    white-space: nowrap !important;
    text-overflow: clip;
  }

  html body .card-threadlist .threadlist > .thread > .media-body > .d-flex.justify-content-between > .text-nowrap,
  html body .card-threadlist .threadlist > li.thread > .media-body > .d-flex.justify-content-between > .text-nowrap {
    flex: 0 0 auto;
    margin-left: auto;
    color: #6b7280 !important;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap !important;
  }

  html body .card-threadlist .threadlist .style3-thread-forum-name,
  html body .card-threadlist .threadlist a.style3-thread-forum-name {
    display: inline-flex;
    max-width: 88px;
    height: 20px;
    min-height: 20px;
    align-items: center;
    padding: 0 6px !important;
    overflow: hidden;
    border-radius: 999px !important;
    background: rgba(139, 92, 246, .08) !important;
    color: #7c3aed !important;
    font-size: 12px !important;
    line-height: 20px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html body .card-threadlist .nav-tabs .wuai-checkin-home-actions {
    display: none !important;
  }

  html body .card-threadlist .threadlist .wuai-user-badges,
  html body .card-threadlist .threadlist .wuai-user-badge {
    max-width: 84px;
    flex: 0 1 auto;
  }

  html body .card-threadlist .threadlist .wuai-user-badges,
  html body .card-threadlist .threadlist .wuai-user-badges-thread_list {
    display: inline-flex !important;
    max-height: 18px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    margin: 0 4px 0 2px !important;
    overflow: hidden !important;
    vertical-align: middle !important;
  }

  html body .card-threadlist .threadlist .wuai-user-badge,
  html body .card-threadlist .threadlist .wuai-user-badges-thread_list .wuai-user-badge {
    height: 18px !important;
    max-height: 18px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  html body .card-threadlist .threadlist .wuai-user-badge img,
  html body .card-threadlist .threadlist .wuai-user-badge-img,
  html body .card-threadlist .threadlist .wuai-user-badges-thread_list .wuai-user-badge img,
  html body .card-threadlist .threadlist .wuai-user-badges-thread_list .wuai-user-badge-img {
    width: auto !important;
    height: 18px !important;
    max-width: 84px !important;
    max-height: 18px !important;
    object-fit: contain !important;
  }

  html body .card-threadlist .threadlist .brief,
  html body .card-threadlist .threadlist .threadlist_brief,
  html body .card-threadlist .threadlist .left_img_box {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }

  html body #js-go_top.goTop {
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }
}

html body .wuai-daily-action .wuai-daily-icon {
  position: relative;
  overflow: hidden;
}

html body .wuai-daily-action .wuai-daily-icon i {
  display: inline-flex !important;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: currentColor !important;
}

html body .wuai-action-checkin .wuai-daily-icon i::before {
  content: "\2713" !important;
}

html body .wuai-action-checkin.is-unsigned .wuai-daily-icon i::before {
  content: "\1F4C5" !important;
}

html body .wuai-action-lottery .wuai-daily-icon i::before {
  content: "\2605" !important;
}

html body .wuai-action-checkin .wuai-daily-icon:empty::before {
  content: "\2713";
}

html body .wuai-action-checkin.is-unsigned .wuai-daily-icon:empty::before {
  content: "\1F4C5";
}

html body .wuai-action-lottery .wuai-daily-icon:empty::before {
  content: "\2605";
}
