:root {
    --wechat-theme-accent: #22c55e;
    --wechat-theme-accent-deep: #16a34a;
    --wechat-theme-accent-soft: #86efac;
    --wechat-theme-dark-bg: #111827;
    --wechat-theme-dark-surface: rgba(17, 24, 39, 0.86);
    --wechat-theme-dark-surface-soft: rgba(31, 41, 55, 0.72);
    --wechat-theme-dark-line: rgba(55, 65, 81, 0.82);
    --wechat-theme-dark-text: #f8fafc;
    --wechat-theme-dark-muted: #94a3b8;
    --wechat-theme-light-bg: #edf3ec;
    --wechat-theme-light-surface: rgba(248, 251, 246, 0.88);
    --wechat-theme-light-surface-soft: rgba(238, 244, 238, 0.9);
    --wechat-theme-light-line: rgba(148, 163, 154, 0.2);
    --wechat-theme-light-text: #1d2c25;
    --wechat-theme-light-muted: #66756d;
    --wechat-theme-light-subtle: #95a198;
}

html,
body {
    transition:
        background-color 0.16s ease,
        color 0.16s ease;
}

.wechat-theme-toggle,
.services-hero,
.orders-hero,
.services-main__surface,
.orders-main-surface,
.services-profile-card,
.services-side-nav,
.services-side-note,
.services-search,
.services-quick-link,
.service-card,
.orders-list-shell,
.orders-list-row,
.orders-overview-card {
    transition:
        background-color 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease,
        box-shadow 0.16s ease;
}

.wechat-theme-toggle {
    position: fixed;
    left: 16px;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(55, 65, 81, 0.82);
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.92);
    color: #e5e7eb;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.28);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.wechat-theme-toggle-host {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    flex-shrink: 0;
}

.wechat-theme-toggle--inline {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    gap: 0;
    border-radius: 12px;
    background: rgba(31, 41, 55, 0.72);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.wechat-theme-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.wechat-theme-toggle__icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wechat-theme-toggle__text {
    line-height: 1;
}

.wechat-theme-toggle--inline .wechat-theme-toggle__text {
    display: none;
}

.wechat-theme-toggle:active {
    transform: translateY(1px);
}

html[data-theme='light'] .wechat-theme-toggle {
    border-color: rgba(160, 174, 164, 0.28);
    background: rgba(248, 251, 246, 0.92);
    color: #1d2c25;
    box-shadow: 0 14px 30px rgba(29, 45, 36, 0.1);
}

html[data-theme='light'] .wechat-theme-toggle--inline {
    background: rgba(237, 243, 237, 0.92);
    box-shadow: none;
}

html[data-theme='dark'] {
    color-scheme: dark;
}

html[data-theme='light'] {
    color-scheme: light;
}

html[data-theme='light'],
html[data-theme='light'] body {
    background:
        radial-gradient(circle at top, rgba(34, 197, 94, 0.05), transparent 24%),
        linear-gradient(180deg, #f2f6f0 0%, #ebf1eb 50%, #e8efea 100%) !important;
    color: var(--wechat-theme-light-text) !important;
}

html[data-theme='light'] body {
    color: var(--wechat-theme-light-text) !important;
}

html[data-theme='light'] body,
html[data-theme='light'] input,
html[data-theme='light'] textarea,
html[data-theme='light'] select,
html[data-theme='light'] button {
    color: var(--wechat-theme-light-text);
}

html[data-theme='light'] .bottom-nav {
    background-color: rgba(247, 250, 245, 0.92) !important;
    border-top-color: rgba(192, 204, 196, 0.72) !important;
    box-shadow: 0 -10px 24px rgba(29, 45, 36, 0.06);
}

html[data-theme='light'] .nav-button {
    color: #6d7b74 !important;
}

html[data-theme='light'] .nav-button.active {
    color: #17884a !important;
}

html[data-theme='light'] .nav-button:not(.active):hover {
    color: #1d2c25 !important;
}

html[data-theme='light'] [class~='bg-gradient-to-b'][class~='from-gray-900'][class~='via-gray-900'][class~='to-black'] {
    background-image: linear-gradient(to bottom, #f2f6f0, #ebf1eb, #e8efea) !important;
}

html[data-theme='light'] [class~='bg-gray-900/95'],
html[data-theme='light'] [class~='bg-gray-900/96'],
html[data-theme='light'] [class~='bg-gray-900/94'],
html[data-theme='light'] [class~='bg-gray-900'] {
    background-color: rgba(247, 250, 245, 0.94) !important;
}

html[data-theme='light'] [class~='bg-gray-900/90'],
html[data-theme='light'] [class~='bg-gray-900/88'],
html[data-theme='light'] [class~='bg-gray-900/78'],
html[data-theme='light'] [class~='bg-gray-900/76'],
html[data-theme='light'] [class~='bg-gray-900/72'],
html[data-theme='light'] [class~='bg-gray-900/62'],
html[data-theme='light'] [class~='bg-gray-900/58'],
html[data-theme='light'] [class~='bg-gray-900/50'] {
    background-color: rgba(247, 250, 245, 0.82) !important;
}

html[data-theme='light'] [class~='bg-gray-800'],
html[data-theme='light'] [class~='bg-gray-800/50'],
html[data-theme='light'] [class~='bg-gray-800/60'],
html[data-theme='light'] [class~='bg-gray-800/70'],
html[data-theme='light'] [class~='bg-gray-800/80'] {
    background-color: rgba(238, 244, 238, 0.9) !important;
}

html[data-theme='light'] [class~='bg-black/60'] {
    background-color: rgba(24, 39, 31, 0.18) !important;
}

html[data-theme='light'] [class~='border-gray-800'],
html[data-theme='light'] [class~='border-gray-800/50'],
html[data-theme='light'] [class~='border-gray-700'],
html[data-theme='light'] [class~='border-gray-700/60'],
html[data-theme='light'] [class~='border-gray-700/90'] {
    border-color: rgba(166, 178, 169, 0.24) !important;
}

html[data-theme='light'] [class~='border-green-500/20'],
html[data-theme='light'] [class~='border-green-500/10'] {
    border-color: rgba(34, 197, 94, 0.14) !important;
}

html[data-theme='light'] [class~='text-white'] {
    color: #1d2c25 !important;
}

html[data-theme='light'] [class~='text-gray-600'] {
    color: #95a198 !important;
}

html[data-theme='light'] [class~='text-gray-500'] {
    color: #95a198 !important;
}

html[data-theme='light'] [class~='text-gray-400'] {
    color: #66756d !important;
}

html[data-theme='light'] [class~='text-gray-300'] {
    color: #44554d !important;
}

html[data-theme='light'] [class~='text-green-400'],
html[data-theme='light'] [class~='text-green-500'] {
    color: #17924d !important;
}

html[data-theme='light'] [class~='bg-green-500/10'],
html[data-theme='light'] [class~='bg-green-500/20'] {
    background-color: rgba(34, 197, 94, 0.08) !important;
}

html[data-theme='light'] [class~='bg-green-500'] {
    background-color: #1fab5a !important;
}

html[data-theme='light'] [class~='bg-green-600'] {
    background-color: #188e4c !important;
}

html[data-theme='light'] [class~='hover:bg-gray-800']:hover,
html[data-theme='light'] [class~='hover:bg-gray-700']:hover {
    background-color: rgba(231, 237, 231, 0.94) !important;
}

html[data-theme='light'] .services-page-body,
html[data-theme='light'] .orders-page-body {
    --services-yellow: #1fab5a;
    --services-yellow-deep: #188e4c;
    --services-black: #edf3ec;
    --services-surface: rgba(248, 251, 246, 0.78);
    --services-surface-strong: rgba(248, 251, 246, 0.92);
    --services-card: rgba(251, 253, 249, 0.86);
    --services-muted-surface: rgba(237, 243, 237, 0.92);
    --services-line: rgba(159, 173, 164, 0.26);
    --services-line-soft: rgba(182, 194, 186, 0.38);
    --services-text: #1d2c25;
    --services-muted: #66756d;
    --services-muted-soft: #95a198;
    --services-accent-soft: #17924d;
    --services-shadow: 0 16px 36px rgba(29, 45, 36, 0.06);
}

html[data-theme='light'] .services-hero {
    background: rgba(244, 248, 241, 0.9) !important;
    border-bottom-color: rgba(188, 200, 192, 0.56) !important;
    box-shadow: 0 8px 22px rgba(29, 45, 36, 0.05) !important;
}

html[data-theme='light'] .orders-hero {
    background: rgba(244, 248, 241, 0.9) !important;
    border-bottom-color: rgba(188, 200, 192, 0.56) !important;
    box-shadow: 0 8px 22px rgba(29, 45, 36, 0.05) !important;
}

html[data-theme='light'] .services-brand__logo,
html[data-theme='light'] .services-side-nav__glyph,
html[data-theme='light'] .service-card__serial,
html[data-theme='light'] .services-loading__panel {
    box-shadow: 0 8px 20px rgba(29, 45, 36, 0.06);
}

html[data-theme='light'] .orders-brand__logo {
    box-shadow: 0 8px 20px rgba(29, 45, 36, 0.06);
}

html[data-theme='light'] .services-search,
html[data-theme='light'] .services-main__surface,
html[data-theme='light'] .services-profile-card,
html[data-theme='light'] .services-side-note,
html[data-theme='light'] .service-card,
html[data-theme='light'] .services-empty {
    box-shadow: 0 12px 28px rgba(29, 45, 36, 0.05);
}

html[data-theme='light'] .services-search,
html[data-theme='light'] .services-profile-card,
html[data-theme='light'] .services-side-nav,
html[data-theme='light'] .services-side-note,
html[data-theme='light'] .services-main__surface,
html[data-theme='light'] .service-card,
html[data-theme='light'] .services-empty {
    border-color: rgba(175, 187, 179, 0.32) !important;
}

html[data-theme='light'] .services-main__surface {
    background: linear-gradient(180deg, rgba(248, 251, 246, 0.9) 0%, rgba(245, 249, 243, 0.84) 100%) !important;
}

html[data-theme='light'] .services-search {
    background: rgba(239, 244, 238, 0.92) !important;
}

html[data-theme='light'] .services-search input::placeholder,
html[data-theme='light'] .services-breadcrumb,
html[data-theme='light'] .services-profile-card__hint,
html[data-theme='light'] .services-profile-card__meta span {
    color: #93a097 !important;
}

html[data-theme='light'] .orders-brand__eyebrow {
    color: #93a097 !important;
}

html[data-theme='light'] .services-quick-link,
html[data-theme='light'] .services-main__back,
html[data-theme='light'] .service-card__action--ghost,
html[data-theme='light'] .services-categories__arrow,
html[data-theme='light'] .services-category-pill,
html[data-theme='light'] .services-search-state,
html[data-theme='light'] .services-profile-card__meta div,
html[data-theme='light'] .services-side-nav__glyph {
    background: rgba(237, 243, 237, 0.92) !important;
    border-color: rgba(175, 187, 179, 0.34) !important;
}

html[data-theme='light'] .orders-quick-link {
    background: rgba(237, 243, 237, 0.92) !important;
    border-color: rgba(175, 187, 179, 0.34) !important;
}

html[data-theme='light'] .services-quick-link,
html[data-theme='light'] .services-main__back,
html[data-theme='light'] .service-card__action--ghost,
html[data-theme='light'] .services-category-pill,
html[data-theme='light'] .services-side-nav__item,
html[data-theme='light'] .services-search-state {
    color: #617067 !important;
}

html[data-theme='light'] .orders-brand__copy h1 {
    color: #1d2c25 !important;
}

html[data-theme='light'] .orders-quick-link {
    color: #617067 !important;
}

html[data-theme='light'] .services-category-pill:hover,
html[data-theme='light'] .services-quick-link:hover,
html[data-theme='light'] .services-main__back:hover,
html[data-theme='light'] .service-card__action:hover,
html[data-theme='light'] .services-categories__arrow:hover,
html[data-theme='light'] .services-side-nav__item:hover {
    color: #1d2c25 !important;
    border-color: rgba(137, 154, 143, 0.38) !important;
    background: rgba(230, 237, 230, 0.94) !important;
}

html[data-theme='light'] .orders-quick-link:hover {
    color: #1d2c25 !important;
    border-color: rgba(137, 154, 143, 0.38) !important;
    background: rgba(230, 237, 230, 0.94) !important;
}

html[data-theme='light'] .services-side-nav__item p,
html[data-theme='light'] .services-side-note__list,
html[data-theme='light'] .service-card__content p,
html[data-theme='light'] .services-empty p {
    color: #738179 !important;
}

html[data-theme='light'] .services-side-nav__item--active,
html[data-theme='light'] .services-category-pill.is-active,
html[data-theme='light'] .services-main__summary em,
html[data-theme='light'] .service-card__serial {
    background: rgba(34, 197, 94, 0.08) !important;
    border-color: rgba(34, 197, 94, 0.16) !important;
    color: #17924d !important;
}

html[data-theme='light'] .orders-quick-link--accent {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

html[data-theme='light'] .service-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 245, 0.92) 100%) !important;
    border-color: rgba(128, 158, 138, 0.28) !important;
    box-shadow: 0 10px 24px rgba(29, 45, 36, 0.08) !important;
}

html[data-theme='light'] .service-card:hover {
    border-color: rgba(34, 197, 94, 0.18) !important;
    box-shadow: 0 16px 30px rgba(29, 45, 36, 0.07) !important;
}

html[data-theme='light'] .service-card__content h3,
html[data-theme='light'] .service-card__time,
html[data-theme='light'] .services-profile-card__name,
html[data-theme='light'] .services-profile-card__meta strong {
    color: #22322b !important;
}

html[data-theme='light'] .services-search-state {
    background: rgba(242, 246, 241, 0.94) !important;
}

html[data-theme='light'] .services-search-state button,
html[data-theme='light'] .services-side-note__label,
html[data-theme='light'] .service-card__price {
    color: #17924d !important;
}

html[data-theme='light'] .services-categories__arrow svg {
    stroke: #738179 !important;
}

html[data-theme='light'] .services-loading {
    background: rgba(233, 239, 233, 0.5) !important;
}

html[data-theme='light'] .services-loading__panel {
    background: rgba(248, 251, 246, 0.96) !important;
    border-color: rgba(175, 187, 179, 0.32) !important;
}

html[data-theme='light'] .services-loading__panel p {
    color: #44554d !important;
}

html[data-theme='light'] .orders-profile-card,
html[data-theme='light'] .orders-side-nav,
html[data-theme='light'] .orders-side-note,
html[data-theme='light'] .orders-main-surface,
html[data-theme='light'] .orders-search-card,
html[data-theme='light'] .orders-floating-summary,
html[data-theme='light'] .orders-floating-btn,
html[data-theme='light'] .orders-mobile-overview__item {
    background-color: rgba(248, 251, 246, 0.9) !important;
    border-color: rgba(170, 182, 173, 0.28) !important;
    box-shadow: 0 12px 26px rgba(29, 45, 36, 0.06);
}

html[data-theme='light'] .orders-main-surface {
    background: linear-gradient(180deg, rgba(248, 251, 246, 0.92) 0%, rgba(245, 249, 243, 0.86) 100%) !important;
}

html[data-theme='light'] .orders-search-title,
html[data-theme='light'] .orders-status-tab:hover,
html[data-theme='light'] .orders-floating-btn:hover,
html[data-theme='light'] .orders-main-link:hover,
html[data-theme='light'] .orders-side-nav__item:hover {
    color: #1d2c25 !important;
}

html[data-theme='light'] .orders-main-title,
html[data-theme='light'] .orders-profile-card__name,
html[data-theme='light'] .orders-profile-card__meta strong,
html[data-theme='light'] .orders-mobile-overview__item strong {
    color: #1d2c25 !important;
}

html[data-theme='light'] .orders-breadcrumb,
html[data-theme='light'] .orders-profile-card__hint,
html[data-theme='light'] .orders-profile-card__meta span,
html[data-theme='light'] .orders-search-field label,
html[data-theme='light'] .orders-floating-summary,
html[data-theme='light'] .orders-floating-btn,
html[data-theme='light'] .orders-main-summary,
html[data-theme='light'] .orders-side-note__list,
html[data-theme='light'] .orders-side-nav__item p,
html[data-theme='light'] .orders-mobile-overview__item span,
html[data-theme='light'] .orders-status-tab {
    color: #66756d !important;
}

html[data-theme='light'] .orders-profile-card__meta div,
html[data-theme='light'] .orders-side-nav__glyph,
html[data-theme='light'] .orders-main-link,
html[data-theme='light'] .orders-mobile-overview__item {
    background: rgba(237, 243, 237, 0.92) !important;
    border-color: rgba(170, 182, 173, 0.3) !important;
}

html[data-theme='light'] .orders-side-nav__item,
html[data-theme='light'] .orders-main-link {
    color: #617067 !important;
}

html[data-theme='light'] .orders-main-link:hover,
html[data-theme='light'] .orders-side-nav__item:hover {
    background: rgba(230, 237, 230, 0.94) !important;
    border-color: rgba(137, 154, 143, 0.38) !important;
}

html[data-theme='light'] .orders-side-nav__item--active,
html[data-theme='light'] .orders-main-summary em {
    background: rgba(34, 197, 94, 0.08) !important;
    border-color: rgba(34, 197, 94, 0.16) !important;
    color: #17924d !important;
}

html[data-theme='light'] .orders-side-nav__item--active .orders-side-nav__glyph,
html[data-theme='light'] .orders-side-note__label {
    background: rgba(34, 197, 94, 0.08) !important;
    color: #17924d !important;
}

html[data-theme='light'] .orders-search-input,
html[data-theme='light'] .orders-search-select {
    color: #1d2c25 !important;
    background-color: rgba(237, 243, 237, 0.92) !important;
    border-color: rgba(170, 182, 173, 0.3) !important;
}

html[data-theme='light'] .orders-search-input::placeholder {
    color: #95a198 !important;
}

html[data-theme='light'] .orders-search-btn-muted,
html[data-theme='light'] .orders-status-tab {
    background-color: rgba(237, 243, 237, 0.92) !important;
    border-color: rgba(170, 182, 173, 0.3) !important;
}

html[data-theme='light'] .orders-search-divider {
    border-top-color: rgba(188, 200, 192, 0.54) !important;
}

html[data-theme='light'] .orders-stat-card {
    background: rgba(248, 251, 246, 0.9) !important;
    border-color: rgba(170, 182, 173, 0.26) !important;
    box-shadow: 0 12px 26px rgba(29, 45, 36, 0.05) !important;
}

html[data-theme='light'] .orders-stat-card__label {
    color: #66756d !important;
}

html[data-theme='light'] .orders-stat-card__value.text-white {
    color: #1d2c25 !important;
}

html[data-theme='light'] .orders-stat-card--success {
    border-color: rgba(34, 197, 94, 0.18) !important;
}

html[data-theme='light'] .orders-stat-card--wait {
    border-color: rgba(234, 179, 8, 0.22) !important;
}

html[data-theme='light'] .orders-stat-card--handling {
    border-color: rgba(148, 163, 184, 0.34) !important;
}

html[data-theme='light'] .orders-stat-card--reject {
    border-color: rgba(248, 113, 113, 0.2) !important;
}

html[data-theme='light'] .orders-stat-card--total {
    border-color: rgba(96, 165, 250, 0.2) !important;
}

html[data-theme='light'] .orders-main-tool {
    color: #17924d !important;
    background: rgba(34, 197, 94, 0.08) !important;
    border-color: rgba(34, 197, 94, 0.18) !important;
}

html[data-theme='light'] .orders-main-tool:hover {
    color: #14532d !important;
    background: rgba(34, 197, 94, 0.14) !important;
    border-color: rgba(34, 197, 94, 0.26) !important;
}

html[data-theme='light'] .orders-record-card,
html[data-theme='light'] .orders-empty-state,
html[data-theme='light'] .orders-pagination-panel {
    background: linear-gradient(180deg, rgba(250, 252, 248, 0.98) 0%, rgba(243, 248, 242, 0.92) 100%) !important;
    border-color: rgba(170, 182, 173, 0.34) !important;
    box-shadow: 0 12px 26px rgba(29, 45, 36, 0.05) !important;
}

html[data-theme='light'] .orders-record-card:hover {
    border-color: rgba(34, 197, 94, 0.22) !important;
}

html[data-theme='light'] .orders-record-title,
html[data-theme='light'] .orders-record-result,
html[data-theme='light'] .orders-pagination-select,
html[data-theme='light'] .orders-pagination-btn {
    color: #1d2c25 !important;
}

html[data-theme='light'] .orders-record-meta,
html[data-theme='light'] .orders-record-time,
html[data-theme='light'] .orders-record-result-label,
html[data-theme='light'] .orders-empty-copy,
html[data-theme='light'] .orders-pagination-text {
    color: #66756d !important;
}

html[data-theme='light'] .orders-record-result-panel {
    background: linear-gradient(180deg, rgba(237, 243, 237, 0.96) 0%, rgba(232, 239, 232, 0.92) 100%) !important;
    border-color: rgba(170, 182, 173, 0.34) !important;
}

html[data-theme='light'] .orders-record-copy {
    background: rgba(237, 243, 237, 0.96) !important;
    border-color: rgba(170, 182, 173, 0.3) !important;
    color: #7b8a82 !important;
}

html[data-theme='light'] .orders-record-copy:hover {
    background: rgba(34, 197, 94, 0.1) !important;
    border-color: rgba(34, 197, 94, 0.2) !important;
    color: #17924d !important;
}

html[data-theme='light'] .orders-record-checkbox {
    border-color: rgba(159, 173, 164, 0.42) !important;
    background: rgba(244, 248, 241, 0.96) !important;
}

html[data-theme='light'] .orders-empty-icon {
    color: #95a198 !important;
}

html[data-theme='light'] .orders-empty-action {
    color: #17924d !important;
}

html[data-theme='light'] .orders-empty-action:hover {
    color: #14532d !important;
}

html[data-theme='light'] .orders-pagination-select {
    background: rgba(237, 243, 237, 0.96) !important;
    border-color: rgba(170, 182, 173, 0.32) !important;
}

html[data-theme='light'] .orders-pagination-btn {
    background: rgba(34, 197, 94, 0.08) !important;
    border-color: rgba(34, 197, 94, 0.18) !important;
    color: #17924d !important;
}

html[data-theme='light'] .orders-pagination-btn:hover {
    background: rgba(34, 197, 94, 0.14) !important;
    border-color: rgba(34, 197, 94, 0.24) !important;
    color: #14532d !important;
}

html[data-theme='light'] .orders-record-credit--paid {
    color: #b45309 !important;
    background: rgba(234, 179, 8, 0.1) !important;
    border-color: rgba(234, 179, 8, 0.16) !important;
}

html[data-theme='light'] .orders-record-credit--free,
html[data-theme='light'] .orders-record-status--done {
    color: #17924d !important;
    background: rgba(34, 197, 94, 0.1) !important;
    border-color: rgba(34, 197, 94, 0.16) !important;
}

html[data-theme='light'] .orders-record-status--wait {
    color: #b45309 !important;
    background: rgba(234, 179, 8, 0.1) !important;
    border-color: rgba(234, 179, 8, 0.16) !important;
}

html[data-theme='light'] .orders-record-status--handling {
    color: #1d4ed8 !important;
    background: rgba(59, 130, 246, 0.08) !important;
    border-color: rgba(59, 130, 246, 0.14) !important;
}

html[data-theme='light'] .orders-record-status--error {
    color: #dc2626 !important;
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: rgba(239, 68, 68, 0.14) !important;
}

html[data-theme='light'] .orders-record-status--cancel {
    color: #6b7280 !important;
    background: rgba(148, 163, 184, 0.1) !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-theme='light'] .orders-mobile-tabs__item {
    color: #66756d !important;
}

html[data-theme='light'] .orders-mobile-tabs__item--active {
    color: #1d2c25 !important;
}

html[data-theme='light'] .orders-mobile-tabs__item--active::after {
    background: #1fab5a !important;
}

html[data-theme='light'] .member-bill-shortcuts,
html[data-theme='light'] .member-action-card,
html[data-theme='light'] .member-bill-modal__panel,
html[data-theme='light'] .member-white-ip-modal__panel,
html[data-theme='light'] .member-bill-record,
html[data-theme='light'] .member-bill-modal__footer {
    border-color: rgba(170, 182, 173, 0.24) !important;
    background: rgba(248, 251, 246, 0.9) !important;
    box-shadow: 0 14px 32px rgba(29, 45, 36, 0.06);
}

html[data-theme='light'] .member-action-card__title,
html[data-theme='light'] .member-bill-modal__title,
html[data-theme='light'] .member-bill-record__title {
    color: #1d2c25 !important;
}

html[data-theme='light'] .member-action-card__desc,
html[data-theme='light'] .member-bill-modal__desc,
html[data-theme='light'] .member-bill-modal__summary,
html[data-theme='light'] .member-bill-record__meta,
html[data-theme='light'] .member-bill-record__note,
html[data-theme='light'] .member-white-ip-modal__hint,
html[data-theme='light'] .member-white-ip-modal__tip-desc {
    color: #66756d !important;
}

html[data-theme='light'] .member-bill-record__time,
html[data-theme='light'] .member-bill-record__unit {
    color: #95a198 !important;
}

html[data-theme='light'] .member-bill-modal__close,
html[data-theme='light'] .member-bill-modal__tab,
html[data-theme='light'] .member-bill-modal__pager-btn,
html[data-theme='light'] .member-white-ip-modal__secondary,
html[data-theme='light'] .member-white-ip-modal__switch-btn,
html[data-theme='light'] .member-white-ip-modal__textarea {
    border-color: rgba(170, 182, 173, 0.28) !important;
    background: rgba(237, 243, 237, 0.92) !important;
    color: #44554d !important;
}

html[data-theme='light'] .member-bill-modal__tab--charge-active,
html[data-theme='light'] .member-bill-record__badge--charge {
    border-color: rgba(34, 197, 94, 0.18) !important;
    background: rgba(34, 197, 94, 0.1) !important;
    color: #17884a !important;
}

html[data-theme='light'] .member-bill-modal__tab--consume-active,
html[data-theme='light'] .member-bill-record__badge--consume {
    border-color: rgba(245, 158, 11, 0.18) !important;
    background: rgba(245, 158, 11, 0.1) !important;
    color: #9a6700 !important;
}

html[data-theme='light'] .member-bill-record__amount--charge {
    color: #17884a !important;
}

html[data-theme='light'] .member-bill-record__amount--consume {
    color: #b7791f !important;
}

html[data-theme='light'] .member-bill-modal__page-number--active,
html[data-theme='light'] .member-white-ip-modal__switch-btn--on,
html[data-theme='light'] .member-white-ip-modal__primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    border-color: transparent !important;
}

html[data-theme='light'] .member-bill-modal__backdrop {
    background: rgba(24, 39, 31, 0.16) !important;
}

html[data-theme='dark'] body {
    background: #111827 !important;
    color: #f8fafc !important;
}

html[data-theme='dark'] .wechat-legacy-page .page-wrapper,
html[data-theme='dark'] .wechat-legacy-page .main-container,
html[data-theme='dark'] .wechat-legacy-page #app {
    color: #f8fafc;
}

html[data-theme='dark'] .wechat-legacy-page .uk-card-default,
html[data-theme='dark'] .wechat-legacy-page .uk-card-secondary,
html[data-theme='dark'] .wechat-legacy-page .uk-card-body,
html[data-theme='dark'] .wechat-legacy-page .f-block,
html[data-theme='dark'] .wechat-legacy-page .content,
html[data-theme='dark'] .wechat-legacy-page .uk-modal-dialog,
html[data-theme='dark'] .wechat-order-detail-page .container {
    background: rgba(17, 24, 39, 0.92) !important;
    color: #f8fafc !important;
    border-color: rgba(55, 65, 81, 0.82) !important;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.26);
}

html[data-theme='dark'] .wechat-legacy-page pre,
html[data-theme='dark'] .wechat-legacy-page .uk-table,
html[data-theme='dark'] .wechat-legacy-page .uk-tab > *,
html[data-theme='dark'] .wechat-legacy-page .f-info,
html[data-theme='dark'] .wechat-legacy-page .f-tip,
html[data-theme='dark'] .wechat-legacy-page .f-c9,
html[data-theme='dark'] .wechat-legacy-page .f-c6,
html[data-theme='dark'] .wechat-order-detail-page .label,
html[data-theme='dark'] .wechat-order-detail-page .timestamp {
    color: #94a3b8 !important;
}

html[data-theme='dark'] .wechat-legacy-page pre,
html[data-theme='dark'] .wechat-order-detail-page pre {
    background: transparent !important;
}

html[data-theme='dark'] .wechat-legacy-page .uk-table th,
html[data-theme='dark'] .wechat-legacy-page .uk-table td,
html[data-theme='dark'] .wechat-legacy-page .h-line,
html[data-theme='dark'] .wechat-legacy-page .v-line,
html[data-theme='dark'] .wechat-order-detail-page .detail-item {
    border-color: rgba(55, 65, 81, 0.72) !important;
}

html[data-theme='dark'] .wechat-legacy-page .uk-button,
html[data-theme='dark'] .wechat-legacy-page .uk-button-danger,
html[data-theme='dark'] .wechat-legacy-page .btn {
    border-color: transparent !important;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    color: #ffffff !important;
}

html[data-theme='dark'] .wechat-legacy-page .f-primary,
html[data-theme='dark'] .wechat-legacy-page .f-success,
html[data-theme='dark'] .wechat-legacy-page .text-success,
html[data-theme='dark'] .wechat-legacy-page .text-danger,
html[data-theme='dark'] .wechat-legacy-page .bgc-success {
    color: #86efac !important;
}

html[data-theme='dark'] .wechat-order-detail-page .copy-btn {
    border-color: rgba(34, 197, 94, 0.3) !important;
    background: rgba(34, 197, 94, 0.12) !important;
    color: #86efac !important;
    box-shadow: none !important;
}

html[data-theme='dark'] .wechat-order-detail-page .copy-btn:active {
    background: #22c55e !important;
    color: #07110a !important;
}

html[data-theme='dark'] .wechat-order-detail-page .status-completed {
    background: rgba(34, 197, 94, 0.14) !important;
    color: #86efac !important;
}

html[data-theme='dark'] .wechat-order-detail-page .status-rejected {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #fca5a5 !important;
}

html[data-theme='dark'] .wechat-order-detail-page .free-tag,
html[data-theme='dark'] .wechat-order-detail-page .fee-tag {
    background: rgba(245, 158, 11, 0.14) !important;
    color: #fbbf24 !important;
}

html[data-theme='dark'] .wechat-order-detail-page .notes {
    background: rgba(15, 23, 42, 0.8) !important;
    color: #e2e8f0 !important;
}

html[data-theme='dark'] .wechat-charge-list-page .pay-status-icon.not {
    background-color: #475569 !important;
}

html[data-theme='dark'] .wechat-charge-list-page .pay-status-icon.payed {
    background-color: #16a34a !important;
}

html[data-theme='dark'] .wechat-user-ranking-page #tab-bar {
    background: rgba(17, 24, 39, 0.96) !important;
    border-bottom: 1px solid rgba(55, 65, 81, 0.72) !important;
}

html[data-theme='dark'] .wechat-user-ranking-page #tab-bar > li > a,
html[data-theme='dark'] .wechat-user-ranking-page .uk-tab > .uk-active > a {
    color: #e2e8f0 !important;
}

html[data-theme='dark'] .wechat-auth-page .wx-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.26) !important;
}

html[data-theme='dark'] .wechat-auth-page .wx-btn:hover {
    background: linear-gradient(135deg, #28cf65 0%, #18af50 100%) !important;
}

html[data-theme='dark'] .wechat-auth-page .tips {
    color: #94a3b8 !important;
}

html[data-theme='dark'] .wechat-auth-page .success-container p {
    color: #86efac !important;
}

html[data-theme='dark'] .wechat-auth-page .main-content {
    color: #f8fafc !important;
}

html[data-theme='light'] .wechat-order-detail-page .copy-btn {
    border-color: rgba(34, 197, 94, 0.24) !important;
    background: rgba(34, 197, 94, 0.08) !important;
    color: #16a34a !important;
    box-shadow: none !important;
}

html[data-theme='light'] .wechat-order-detail-page .copy-btn:active {
    background: #22c55e !important;
    color: #ffffff !important;
}

html[data-theme='light'] .wechat-order-detail-page .notes {
    background: rgba(241, 245, 249, 0.92) !important;
    color: #334155 !important;
}

html[data-theme='light'] .wechat-order-detail-page .free-tag,
html[data-theme='light'] .wechat-order-detail-page .fee-tag {
    background: rgba(245, 158, 11, 0.14) !important;
    color: #b45309 !important;
}

html[data-theme='light'] .wechat-order-detail-page .status-completed {
    background: rgba(34, 197, 94, 0.12) !important;
    color: #15803d !important;
}

html[data-theme='light'] .wechat-order-detail-page .status-rejected {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #dc2626 !important;
}

html[data-theme='light'] .wechat-auth-page .wx-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
}

@media (min-width: 768px) {
    .wechat-theme-toggle:not(.wechat-theme-toggle--inline) {
        left: auto;
        right: 24px;
        bottom: 24px;
    }
}

@media (max-width: 767.98px) {
    .services-page-body .wechat-theme-toggle-host {
        width: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .services-page-body .wechat-theme-toggle--inline {
        width: 36px;
        min-width: 36px;
        min-height: 36px;
        gap: 0;
        padding: 0;
        border-radius: 12px;
        justify-content: center;
        font-size: 0;
    }

    .services-page-body .wechat-theme-toggle--inline .wechat-theme-toggle__icon {
        width: 17px;
        height: 17px;
    }

    .services-page-body .wechat-theme-toggle--inline .wechat-theme-toggle__icon svg {
        width: 17px;
        height: 17px;
    }

    .services-page-body .wechat-theme-toggle--inline .wechat-theme-toggle__text {
        display: none;
    }

    .services-page-body .wechat-theme-toggle:not(.wechat-theme-toggle--inline) {
        left: auto;
        right: 14px;
        bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    }

    html[data-theme='light'] .wechat-theme-toggle {
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    }
}
