/* 可可 ChatGPT 镜像站 - unified light theme */

html.keke-theme,
html.keke-theme body,
html.keke-theme #app {
  --keke-bg: #f6f7fb;
  --keke-bg-soft: #eef1f5;
  --keke-surface: rgba(255, 255, 255, 0.9);
  --keke-surface-strong: #ffffff;
  --keke-surface-soft: #fafbfc;
  --keke-line: rgba(15, 23, 42, 0.08);
  --keke-line-strong: rgba(15, 23, 42, 0.12);
  --keke-text: #172033;
  --keke-muted: #7b8798;
  --keke-muted-strong: #4b5565;
  --keke-brand: #1b1d23;
  --keke-brand-hover: #2d323a;
  --keke-brand-soft: rgba(17, 24, 39, 0.07);
  --keke-link: #2563eb;
  --keke-link-hover: #1d4ed8;
  --keke-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  --keke-shadow-soft: 0 12px 34px rgba(15, 23, 42, 0.07);
  --keke-radius-xl: 28px;
  --keke-radius-lg: 22px;
  --keke-radius-md: 16px;
  --keke-radius-sm: 12px;

  --el-color-primary: var(--keke-brand) !important;
  --el-color-primary-light-3: #434851 !important;
  --el-color-primary-light-5: #6b7280 !important;
  --el-color-primary-light-7: #9ca3af !important;
  --el-color-primary-light-8: #d3d8df !important;
  --el-color-primary-light-9: #f3f4f6 !important;
  --el-color-primary-dark-2: #111318 !important;
  --el-color-primary-rgb: 27, 29, 35 !important;
  color-scheme: light;
}

html.keke-theme,
html.keke-theme body {
  min-height: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(17, 24, 39, 0.06), transparent 32%),
    linear-gradient(180deg, #fafbfc 0%, #f3f5f8 100%) !important;
  color: var(--keke-text);
}

body.keke-theme-body {
  min-height: 100vh;
  color: var(--keke-text);
}

html.keke-theme * {
  box-sizing: border-box;
}

html.keke-theme a {
  color: var(--keke-link);
  transition: color 0.2s ease;
}

html.keke-theme a:hover {
  color: var(--keke-link-hover);
}

html.keke-theme ::selection {
  background: rgba(37, 99, 235, 0.14);
}

html.keke-theme .el-overlay {
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.24) !important;
}

html.keke-theme .el-card,
html.keke-theme .el-dialog,
html.keke-theme .el-drawer,
html.keke-theme .el-popover,
html.keke-theme .el-dropdown-menu,
html.keke-theme .el-message-box,
html.keke-theme .notice-box,
html.keke-theme [class*="announcement"],
html.keke-theme [class*="notice"] {
  background: var(--keke-surface-strong) !important;
  border: 1px solid var(--keke-line) !important;
  border-radius: var(--keke-radius-lg) !important;
  box-shadow: var(--keke-shadow-soft) !important;
}

html.keke-theme .el-dialog,
html.keke-theme .el-message-box {
  overflow: hidden;
}

html.keke-theme .el-dialog__header,
html.keke-theme .el-drawer__header,
html.keke-theme .el-message-box__header {
  margin: 0 !important;
  padding: 22px 24px 18px !important;
  border-bottom: 1px solid var(--keke-line);
}

html.keke-theme .el-dialog__body,
html.keke-theme .el-drawer__body,
html.keke-theme .el-message-box__content {
  padding: 22px 24px !important;
}

html.keke-theme .el-form-item__label,
html.keke-theme .el-descriptions__label,
html.keke-theme .el-dialog__title {
  color: var(--keke-text) !important;
  font-weight: 700 !important;
}

html.keke-theme .el-button,
html.keke-theme button {
  border-radius: var(--keke-radius-md) !important;
  font-weight: 700 !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease !important;
}

html.keke-theme .el-button:hover,
html.keke-theme button:hover {
  transform: translateY(-1px);
}

html.keke-theme .el-button--primary,
html.keke-theme .submit-btn,
html.keke-theme .btn-primary {
  background: var(--keke-brand) !important;
  border-color: var(--keke-brand) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16);
}

html.keke-theme .el-button--primary:hover,
html.keke-theme .el-button--primary:focus,
html.keke-theme .submit-btn:hover,
html.keke-theme .btn-primary:hover {
  background: var(--keke-brand-hover) !important;
  border-color: var(--keke-brand-hover) !important;
  color: #fff !important;
}

html.keke-theme .el-button--default,
html.keke-theme .el-button--primary.is-plain,
html.keke-theme .submit-btn-minor {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: var(--keke-text) !important;
  box-shadow: none !important;
}

html.keke-theme .el-button--default:hover,
html.keke-theme .el-button--primary.is-plain:hover,
html.keke-theme .submit-btn-minor:hover {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.22) !important;
  color: var(--keke-text) !important;
}

html.keke-theme .el-input__wrapper,
html.keke-theme .el-select__wrapper,
html.keke-theme .el-date-editor.el-input__wrapper,
html.keke-theme .el-range-editor.el-input__wrapper,
html.keke-theme .el-textarea__inner {
  min-height: 48px;
  background: rgba(255, 255, 255, 0.96) !important;
  border-radius: var(--keke-radius-md) !important;
  box-shadow: 0 0 0 1px var(--keke-line-strong) inset !important;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease !important;
}

html.keke-theme .el-input__wrapper:hover,
html.keke-theme .el-select__wrapper:hover,
html.keke-theme .el-textarea__inner:hover {
  box-shadow: 0 0 0 1px #cbd5e1 inset !important;
}

html.keke-theme .el-input__wrapper.is-focus,
html.keke-theme .el-input__wrapper:focus-within,
html.keke-theme .el-select__wrapper.is-focus,
html.keke-theme .el-select__wrapper:focus-within,
html.keke-theme .el-textarea__inner:focus {
  box-shadow: 0 0 0 1px var(--keke-brand) inset !important;
}

html.keke-theme .el-input__inner,
html.keke-theme .el-textarea__inner,
html.keke-theme .el-select__placeholder,
html.keke-theme .el-select__selected-item,
html.keke-theme .el-input-number__decrease,
html.keke-theme .el-input-number__increase {
  color: var(--keke-text) !important;
}

html.keke-theme .el-input__inner::placeholder,
html.keke-theme .el-textarea__inner::placeholder {
  color: #94a3b8 !important;
}

html.keke-theme .el-tabs__active-bar {
  background: var(--keke-brand) !important;
  height: 3px !important;
  border-radius: 999px !important;
}

html.keke-theme .el-tabs__item {
  color: var(--keke-muted) !important;
  font-weight: 600 !important;
}

html.keke-theme .el-tabs__item.is-active,
html.keke-theme .el-tabs__item:hover {
  color: var(--keke-text) !important;
}

html.keke-theme .el-radio__input.is-checked .el-radio__inner,
html.keke-theme .el-checkbox__input.is-checked .el-checkbox__inner,
html.keke-theme .el-switch.is-checked .el-switch__core {
  background: var(--keke-brand) !important;
  border-color: var(--keke-brand) !important;
}

html.keke-theme .el-link--primary,
html.keke-theme .el-link--primary:hover {
  color: var(--keke-link) !important;
}

html.keke-theme .el-tag,
html.keke-theme [class*="badge"] {
  background: var(--keke-brand) !important;
  border-color: var(--keke-brand) !important;
  color: #fff !important;
}

html.keke-theme .el-tag--info {
  background: #f3f4f6 !important;
  border-color: #e5e7eb !important;
  color: #374151 !important;
}

html.keke-theme .el-tag--success {
  background: #ecfdf5 !important;
  border-color: #d1fae5 !important;
  color: #059669 !important;
}

html.keke-theme .el-alert,
html.keke-theme .el-result,
html.keke-theme .el-empty {
  border-radius: var(--keke-radius-lg) !important;
}

html.keke-theme .el-table {
  overflow: hidden;
  border: 1px solid var(--keke-line) !important;
  border-radius: var(--keke-radius-lg) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: var(--keke-shadow-soft) !important;
}

html.keke-theme .el-table::before,
html.keke-theme .el-table__inner-wrapper::before {
  background-color: transparent !important;
}

html.keke-theme .el-table th.el-table__cell {
  background: var(--keke-surface-soft) !important;
  color: var(--keke-muted-strong) !important;
  font-weight: 700 !important;
}

html.keke-theme .el-table td.el-table__cell,
html.keke-theme .el-table th.el-table__cell,
html.keke-theme .el-table tr {
  border-bottom-color: var(--keke-line) !important;
}

html.keke-theme .el-table__row:hover td.el-table__cell {
  background: rgba(17, 24, 39, 0.03) !important;
}

html.keke-theme .el-pagination .btn-prev,
html.keke-theme .el-pagination .btn-next,
html.keke-theme .el-pager li {
  border-radius: 12px !important;
  color: var(--keke-muted-strong) !important;
}

html.keke-theme .el-pager li.is-active {
  background: var(--keke-brand-soft) !important;
  color: var(--keke-text) !important;
  font-weight: 700 !important;
}

html.keke-theme .el-menu,
html.keke-theme .el-menu--vertical {
  background: transparent !important;
  border-right: 0 !important;
}

html.keke-theme .el-menu-item,
html.keke-theme .el-sub-menu__title {
  margin: 4px 8px !important;
  min-height: 44px;
  border-radius: 14px !important;
  color: var(--keke-muted-strong) !important;
}

html.keke-theme .el-menu-item a {
  color: inherit !important;
}

html.keke-theme .el-menu-item.is-active,
html.keke-theme .el-menu-item:hover,
html.keke-theme .el-sub-menu__title:hover {
  background: var(--keke-brand-soft) !important;
  color: var(--keke-text) !important;
}

html.keke-theme .el-menu-item.is-active {
  font-weight: 700 !important;
}

html.keke-theme .site-footer,
html.keke-theme footer,
html.keke-theme [class*="footer"] {
  color: var(--keke-muted) !important;
}

html.keke-theme .subscribe,
html.keke-theme .subscribe-mobile,
html.keke-theme [class*="subscribe-card"] {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(255, 255, 255, 0.96)) !important;
  border: 1px solid var(--keke-line) !important;
  border-radius: var(--keke-radius-lg) !important;
  box-shadow: var(--keke-shadow-soft) !important;
}

html.keke-theme .subscribe > span,
html.keke-theme .subscribe-mobile {
  color: var(--keke-text) !important;
}

html.keke-theme .subscribe .btn:before {
  background: var(--keke-brand) !important;
}

html.keke-theme #main-menu-container {
  background: linear-gradient(180deg, #1b1d23 0%, #111318 100%) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.22) !important;
}

html.keke-theme .el-loading-spinner .circular .path {
  stroke: var(--keke-brand) !important;
}

html.keke-theme ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html.keke-theme ::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
}

html.keke-theme ::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ===== 登录页 ===== */

html.keke-theme .user-login:not(.keke-auth-ready) .content,
html.keke-theme .user-register:not(.keke-auth-ready) .content {
  opacity: 1;
  transform: none;
}

html.keke-theme .user-login.keke-auth-ready .content,
html.keke-theme .user-register.keke-auth-ready .content {
  opacity: 1;
  transform: none;
  transition: none !important;
}

html.keke-login-page body {
  overflow-x: hidden;
}

html.keke-login-page .user-login {
  min-height: 100vh;
  padding: 28px 16px 24px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent !important;
}

html.keke-login-page .user-login .background-img,
html.keke-login-page .user-login .system-notice,
html.keke-login-page .user-login .sub-content {
  display: none !important;
}

html.keke-login-page #kk-login-hero {
  display: none !important;
}

html.keke-login-page #kk-login-brand {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

html.keke-login-page #kk-login-brand .keke-login-logo {
  display: inline-flex;
  line-height: 0;
}

html.keke-login-page #kk-login-brand .keke-login-site {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--keke-text);
  font-weight: 700;
}

html.keke-login-page .user-login .content {
  width: min(100%, 540px) !important;
  padding: 32px 36px 26px !important;
  background: var(--keke-surface) !important;
  border: 1px solid var(--keke-line) !important;
  border-radius: var(--keke-radius-xl) !important;
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.1) !important;
  backdrop-filter: blur(12px);
}

html.keke-login-page .user-login .content .title {
  margin-bottom: 6px !important;
  color: var(--keke-text) !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  text-align: center;
  letter-spacing: -0.03em;
}

html.keke-login-page .user-login .content .welcome {
  margin-bottom: 24px !important;
  color: var(--keke-muted) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  text-align: center;
  opacity: 1 !important;
}

html.keke-login-page .user-login .content .input-item .label {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--keke-text) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  background: transparent !important;
}

html.keke-login-page .user-login .content .input-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 16px !important;
  padding: 16px 18px 14px !important;
  min-height: 84px;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

html.keke-login-page .user-login .content .input-item:focus-within {
  border-color: var(--keke-brand) !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08) !important;
}

html.keke-login-page .user-login .content .input-item > input,
html.keke-login-page .user-login .content .input-item .input {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  color: var(--keke-text) !important;
  border-radius: 0 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

html.keke-login-page .user-login .content .input-item > input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.96) inset !important;
  -webkit-text-fill-color: var(--keke-text) !important;
}

html.keke-login-page .user-login .content .input-item .suffix {
  position: absolute !important;
  right: 18px !important;
  bottom: 12px !important;
  align-self: auto !important;
  transform: none !important;
  margin: 0 !important;
  color: var(--keke-link) !important;
  font-weight: 700 !important;
}

html.keke-login-page.keke-hide-forgot .user-login .content .input-item .suffix {
  display: inline-flex !important;
}

html.keke-login-page .user-login .content .input-item .suffix,
html.keke-login-page .user-login .content .input-item .keke-forgot-contact,
html.keke-theme .user-login .content .input-item .suffix,
html.keke-theme .user-login .content .input-item .keke-forgot-contact {
  min-height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  color: var(--keke-link) !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  user-select: none !important;
}

html.keke-login-page .user-login .el-button,
html.keke-login-page .user-login .submit-btn,
html.keke-login-page .user-login .submit-btn-minor {
  width: 100%;
  min-height: 50px;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 16px !important;
}

html.keke-login-page .user-login .btn-box {
  display: grid;
  gap: 12px;
}

html.keke-login-page .user-login .btn-box .el-button:first-child,
html.keke-login-page .user-login .btn-box > button:first-child {
  background: var(--keke-brand) !important;
  border-color: var(--keke-brand) !important;
  color: #fff !important;
}

html.keke-login-page .user-login .btn-box .el-button:first-child:hover,
html.keke-login-page .user-login .btn-box > button:first-child:hover {
  background: var(--keke-brand-hover) !important;
  border-color: var(--keke-brand-hover) !important;
}

html.keke-login-page .user-login .btn-box .el-button:nth-child(2),
html.keke-login-page .user-login .btn-box > button:nth-child(2) {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: var(--keke-text) !important;
}

html.keke-login-page .keke-login-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 4px;
}

html.keke-login-page .keke-login-sep::before,
html.keke-login-page .keke-login-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
}

html.keke-login-page .keke-login-sep span {
  color: var(--keke-muted) !important;
  font-size: 13px;
}

html.keke-login-page .user-login .register-hint,
html.keke-login-page .user-login .bottom-text-box {
  color: var(--keke-muted-strong) !important;
}

html.keke-login-page .user-login .register-hint > span,
html.keke-login-page .user-login .bottom-text-box .register-hint > span {
  color: var(--keke-link) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

html.keke-login-page .user-login .site-footer,
html.keke-login-page .user-login footer {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  padding: 0 !important;
  margin-top: 18px;
  color: var(--keke-muted) !important;
  font-size: 13px !important;
  text-align: center;
  box-shadow: none !important;
}

/* ===== 注册页 ===== */

html.keke-register-page body {
  overflow-x: hidden;
}

html.keke-register-page .user-register {
  min-height: 100vh;
  padding: 28px 16px 24px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent !important;
}

html.keke-register-page .user-register .background-img {
  display: none !important;
}

html.keke-register-page .user-register #kk-login-brand {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

html.keke-register-page .user-register #kk-login-brand .keke-login-logo {
  display: inline-flex;
  line-height: 0;
}

html.keke-register-page .user-register #kk-login-brand .keke-login-site {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--keke-text);
  font-weight: 700;
}

html.keke-register-page .user-register .content {
  width: min(100%, 540px) !important;
  min-width: 0 !important;
  max-width: 540px !important;
  padding: 32px 36px 26px !important;
  background: var(--keke-surface) !important;
  border: 1px solid var(--keke-line) !important;
  border-radius: var(--keke-radius-xl) !important;
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.1) !important;
  backdrop-filter: blur(12px);
}

html.keke-register-page .user-register .content .title {
  margin-bottom: 6px !important;
  color: var(--keke-text) !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: center;
  letter-spacing: 0;
}

html.keke-register-page .user-register .content .welcome {
  margin-bottom: 24px !important;
  color: var(--keke-muted) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  text-align: center;
  opacity: 1 !important;
}

html.keke-register-page .user-register .content .input-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100% !important;
  min-height: 84px;
  padding: 16px 18px 14px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 16px !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
}

html.keke-register-page .user-register .content .input-item:focus-within {
  border-color: var(--keke-brand) !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08) !important;
}

html.keke-register-page .user-register .content .input-item .label {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--keke-text) !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  background: transparent !important;
}

html.keke-register-page .user-register .content .input-item > input {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  color: var(--keke-text) !important;
  border-radius: 0 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  outline: none !important;
  box-shadow: none !important;
}

html.keke-register-page .user-register .content .input-item > input::placeholder {
  color: #94a3b8 !important;
}

html.keke-register-page .user-register .content .input-item .suffix {
  position: static !important;
  align-self: flex-end;
  transform: none !important;
  margin-top: 2px;
  color: var(--keke-link) !important;
  font-weight: 700 !important;
}

html.keke-register-page .user-register .content .action-box .btn-box {
  display: grid !important;
  gap: 12px;
}

html.keke-register-page .user-register .content .action-box .btn-box .submit-btn,
html.keke-register-page .user-register .content .action-box .btn-box .submit-btn-minor,
html.keke-register-page .user-register .el-button {
  width: 100%;
  min-height: 50px;
  height: auto !important;
  margin: 0 !important;
  background: var(--keke-brand) !important;
  border-color: var(--keke-brand) !important;
  color: #fff !important;
  border-radius: 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16);
}

html.keke-register-page .user-register .content .action-box .btn-box .submit-btn:hover,
html.keke-register-page .user-register .content .action-box .btn-box .submit-btn-minor:hover,
html.keke-register-page .user-register .el-button:hover {
  background: var(--keke-brand-hover) !important;
  border-color: var(--keke-brand-hover) !important;
  color: #fff !important;
}

html.keke-register-page .user-register .content .action-box .bottom-text-box {
  margin-top: 24px !important;
  display: flex;
  justify-content: flex-start !important;
  align-items: center;
  color: var(--keke-muted-strong) !important;
}

html.keke-register-page .user-register .content .action-box .bottom-text-box .register-hint {
  color: var(--keke-muted-strong) !important;
  font-size: 15px !important;
}

html.keke-register-page .user-register .content .action-box .bottom-text-box .register-hint > span {
  color: var(--keke-link) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

html.keke-register-page .user-register .content .turnstile-container {
  margin-top: 4px;
}

/* ===== 登录后页面 ===== */

html.keke-app-page .layout-sider,
html.keke-app-page .el-aside,
html.keke-app-page aside {
  background: rgba(255, 255, 255, 0.82) !important;
  border-right: 1px solid var(--keke-line) !important;
  backdrop-filter: blur(14px);
  box-shadow: 16px 0 36px rgba(15, 23, 42, 0.03);
}

html.keke-app-page .logo-title,
html.keke-app-page .site-name,
html.keke-app-page .sidebar-title {
  color: var(--keke-text) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

html.keke-app-page .el-main,
html.keke-app-page main,
html.keke-app-page [class*="content-wrap"],
html.keke-app-page [class*="page-container"] {
  background: transparent !important;
}

html.keke-app-page .el-main > *,
html.keke-app-page main > * {
  border-radius: inherit;
}

@media (max-width: 768px) {
  html.keke-login-page .user-login,
  html.keke-register-page .user-register {
    padding: 16px 12px 18px !important;
  }

  html.keke-login-page #kk-login-brand .keke-login-site,
  html.keke-register-page #kk-login-brand .keke-login-site {
    font-size: 16px;
  }

  html.keke-login-page .user-login .content,
  html.keke-register-page .user-register .content {
    padding: 26px 20px 22px !important;
    border-radius: 22px !important;
  }

  html.keke-login-page .user-login .content .title,
  html.keke-register-page .user-register .content .title {
    font-size: 26px !important;
  }
}

/* ===== Direct Overrides For user-new Car List ===== */

html.keke-app-page .car-list-page {
  height: auto !important;
  min-height: 100vh;
  padding-top: 4px;
  background: transparent !important;
}

html.keke-app-page .car-list-page .header {
  height: auto !important;
  min-height: 78px;
  padding: 0 4px 18px !important;
  margin: 0 0 18px !important;
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none !important;
}

html.keke-app-page .car-list-page .header .search-box {
  width: min(100%, 460px) !important;
  max-width: 460px !important;
  gap: 12px !important;
}

html.keke-app-page .car-list-page .header .search-box .input-group {
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none !important;
}

html.keke-app-page .car-list-page .header .search-box .input-group .prefix-icon {
  left: 16px !important;
  fill: #111827 !important;
}

html.keke-app-page .car-list-page .header .search-box .input-group input {
  width: 100% !important;
  height: 52px !important;
  padding: 0 18px 0 52px !important;
  background: transparent !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  color: var(--keke-text) !important;
  font-size: 15px !important;
}

html.keke-app-page .car-list-page .header .search-box .search-button {
  width: 52px !important;
  height: 52px !important;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: none !important;
  fill: #111827 !important;
}

html.keke-app-page .car-list-page .header .search-box .search-button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
}

html.keke-app-page .car-list-page .header .action-box {
  gap: 12px !important;
}

html.keke-app-page .car-list-page .header .action-box .action-button {
  width: auto !important;
  min-width: 110px;
  height: 52px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  border-radius: 18px !important;
  border-width: 1px !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: 15px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html.keke-app-page .car-list-page .header .action-box .action-button > span {
  margin-top: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

html.keke-app-page .car-list-page .header .action-box .action-button .icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  display: block !important;
  margin: 0 !important;
}

html.keke-app-page .car-list-page .header .action-box .color-blue,
html.keke-app-page .car-list-page .header .action-box .color-green {
  background: #fff !important;
  color: var(--keke-text) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

html.keke-app-page .car-list-page .header .action-box .color-blue .icon,
html.keke-app-page .car-list-page .header .action-box .color-green .icon {
  fill: var(--keke-text) !important;
}

html.keke-app-page .car-list-page .header .action-box .color-red {
  background: #18181b !important;
  color: #fff !important;
  border-color: #18181b !important;
}

html.keke-app-page .car-list-page .header .action-box .color-red .icon {
  fill: #fff !important;
}

html.keke-app-page .car-list-page .header .action-box .keke-purchase-button,
html.keke-app-page .menu-list .keke-chatgpt-menu,
html.keke-app-page .menu-list .keke-purchase-menu {
  cursor: pointer;
}

html.keke-app-page .car-list-page .header .action-box .keke-purchase-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  gap: 8px !important;
}

html.keke-app-page .car-list-page .header .action-box .keke-purchase-button svg,
html.keke-app-page .menu-list .keke-purchase-menu svg {
  flex-shrink: 0;
}

html.keke-app-page .car-list-page .header .action-box .keke-purchase-button .keke-purchase-icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  fill: currentColor !important;
  color: currentColor !important;
  stroke: none !important;
}

html.keke-app-page .menu-list .keke-purchase-menu {
  background: #18181b !important;
  color: #fff !important;
  fill: #fff !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

html.keke-app-page .menu-list .keke-purchase-menu:hover {
  background: #2b2d33 !important;
  color: #fff !important;
  fill: #fff !important;
}

html.keke-app-page .keke-purchase-inline {
  min-height: 44px;
  border-radius: 14px !important;
}

html.keke-theme.keke-purchase-open,
html.keke-theme.keke-purchase-open body,
body.keke-theme-body.keke-purchase-open {
  overflow: hidden !important;
}

html.keke-app-page .keke-purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 10070;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

html.keke-app-page .keke-purchase-modal.is-open {
  display: block;
}

html.keke-app-page .keke-purchase-modal .keke-purchase-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(10px);
}

html.keke-app-page .keke-purchase-modal .keke-purchase-panel {
  position: absolute;
  inset: 28px;
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 28px 24px;
  background: linear-gradient(180deg, rgba(243, 250, 251, 0.96) 0%, rgba(255, 255, 255, 0.98) 22%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

html.keke-app-page .keke-purchase-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--keke-text) !important;
  box-shadow: none !important;
}

html.keke-app-page .keke-purchase-close:hover {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
}

html.keke-app-page .keke-purchase-head {
  padding-right: 64px;
}

html.keke-app-page .keke-purchase-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

html.keke-app-page .keke-purchase-head h2 {
  margin: 0;
  color: var(--keke-text);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

html.keke-app-page .keke-purchase-head p {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
}

html.keke-app-page .keke-purchase-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

html.keke-app-page .keke-purchase-card {
  min-height: 138px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

html.keke-app-page .keke-purchase-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

html.keke-app-page .keke-purchase-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}

html.keke-app-page .keke-purchase-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
}

html.keke-app-page .keke-purchase-card-top strong {
  color: var(--keke-text);
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

html.keke-app-page .keke-purchase-card h3 {
  margin: 0 0 8px;
  color: var(--keke-text);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
}

html.keke-app-page .keke-purchase-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.8;
}

html.keke-app-page .keke-purchase-price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

html.keke-app-page .keke-purchase-period {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

html.keke-app-page .keke-purchase-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

html.keke-app-page .keke-purchase-meta span {
  min-height: 42px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border-radius: 12px;
  background: #f6f8fb;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

html.keke-app-page .keke-purchase-meta em {
  color: #94a3b8;
  font-size: 11px;
  line-height: 1;
  font-style: normal;
  font-weight: 700;
}

html.keke-app-page .keke-purchase-meta strong {
  color: var(--keke-text);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}

html.keke-app-page .keke-purchase-desc {
  min-height: 46px;
}

html.keke-app-page .keke-purchase-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 16px;
}

html.keke-app-page .keke-purchase-feature {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 12px;
  background: #f4f7fb;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

html.keke-app-page .keke-purchase-submit {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  background: #18181b !important;
  border: 1px solid #18181b !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

html.keke-app-page .keke-purchase-submit:hover {
  background: #2b2d33 !important;
  border-color: #2b2d33 !important;
}

html.keke-app-page .keke-purchase-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

html.keke-app-page .keke-purchase-hint {
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

html.keke-app-page .keke-purchase-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

html.keke-app-page .keke-purchase-secondary {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: 14px !important;
  color: var(--keke-text) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none !important;
}

html.keke-app-page .keke-purchase-secondary:hover {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
  color: var(--keke-text) !important;
}

@media (max-width: 1024px) {
  html.keke-app-page .keke-purchase-modal .keke-purchase-panel {
    inset: 18px;
    max-height: calc(100dvh - 36px);
    padding: 22px 20px 20px;
  }

  html.keke-app-page .keke-purchase-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html.keke-app-page .keke-purchase-modal {
    z-index: 10070 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    touch-action: pan-y !important;
  }

  html.keke-app-page .keke-purchase-modal .keke-purchase-backdrop {
    position: fixed;
  }

  html.keke-app-page .keke-purchase-modal .keke-purchase-panel {
    height: 100dvh;
    max-height: 100dvh;
    inset: 0;
    border-radius: 0;
    padding: max(18px, env(safe-area-inset-top)) 16px max(22px, env(safe-area-inset-bottom));
    overflow-y: auto !important;
    overflow-x: hidden !important;
    touch-action: pan-y !important;
  }

  html.keke-app-page .keke-purchase-head {
    padding-right: 48px;
  }

  html.keke-app-page .keke-purchase-head h2 {
    font-size: 20px;
  }

  html.keke-app-page .keke-purchase-summary {
    grid-template-columns: 1fr;
  }

  html.keke-app-page .keke-purchase-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  html.keke-app-page .keke-purchase-actions {
    width: 100%;
  }

  html.keke-app-page .keke-purchase-secondary {
    flex: 1;
  }
}

html.keke-app-page .car-list-page .content {
  padding: 0 0 6px !important;
}

html.keke-app-page .car-list-page .content .system-notice {
  padding: 26px 28px !important;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 30px !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05) !important;
  fill: var(--keke-text) !important;
}

html.keke-app-page .car-list-page .content .system-notice .system-notice-title {
  color: var(--keke-text) !important;
}

html.keke-app-page .car-list-page .content .system-notice .notice {
  color: #334155 !important;
  line-height: 1.95 !important;
}

html.keke-app-page .car-list-page .content .car-list-box {
  margin-top: 18px !important;
  padding: 24px 22px 28px !important;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 30px !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05) !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-name {
  color: var(--keke-text) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  margin-bottom: 18px !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item {
  display: flex;
  padding: 14px !important;
  margin-bottom: 14px !important;
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  transform: none !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item:hover {
  background: #fbfbfd !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.07) !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-type {
  width: 78px !important;
  height: 78px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #7e22ce 0%, #9333ea 100%) !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-plus .car-type {
  background: linear-gradient(135deg, #7e22ce 0%, #9333ea 100%) !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-35 .car-type {
  background: linear-gradient(135deg, #111827 0%, #374151 100%) !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-type > p:nth-child(1) {
  height: auto !important;
  line-height: 1.2 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-type > p:nth-child(2) {
  display: none !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-info {
  margin-left: 16px !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-info .car-name {
  color: var(--keke-text) !important;
  fill: #2563eb !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-info .car-state-box .car-state {
  color: #475569 !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-info .car-state-box .usage-ratio {
  height: 14px !important;
  border-radius: 999px !important;
  background: #e5e7eb !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-info .car-state-box .usage-ratio .usage-ratio-bar {
  background: #cbd5e1 !important;
  border-radius: 999px !important;
}

html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .active {
  border-color: rgba(37, 99, 235, 0.28) !important;
}

html.keke-app-page .user-center,
html.keke-app-page .user-center .section,
html.keke-app-page .promotion-content,
html.keke-app-page .promotion-card,
html.keke-app-page .records-section {
  overflow-x: hidden !important;
}

html.keke-app-page .user-center .promotion-content .promotion-card .share-section {
  flex-wrap: wrap !important;
}

html.keke-app-page .user-center .promotion-content .promotion-card .data-overview {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
}

@media (max-width: 780px) {
  html.keke-app-page .car-list-page .header {
    padding: 0 0 16px !important;
  }

  html.keke-app-page .car-list-page .header .search-box {
    width: 100% !important;
    max-width: 100% !important;
  }

  html.keke-app-page .car-list-page .header .action-box .action-button {
    min-width: 0;
    width: calc((100% - 16px) / 3) !important;
    flex-direction: column !important;
    gap: 4px;
    padding: 6px 8px !important;
  }

  html.keke-app-page .car-list-page .header .action-box .action-button > span {
    font-size: 12px !important;
  }

  html.keke-app-page .car-list-page .content .system-notice,
  html.keke-app-page .car-list-page .content .car-list-box {
    border-radius: 22px !important;
    padding: 18px 16px !important;
  }
}

/* ===== Screenshot-like App UI ===== */

html.keke-app-page,
html.keke-app-page body {
  background:
    linear-gradient(180deg, #fcfcfd 0%, #f7f8fa 100%) !important;
}

html.keke-app-page .keke-shell {
  gap: 24px;
  min-height: 100vh;
  padding: 0 24px 0 12px;
}

html.keke-app-page .keke-shell-left {
  width: 248px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 22px 0 20px;
  display: flex;
  flex-direction: column;
}

html.keke-app-page .keke-side-logo,
html.keke-app-page .default-layout .left .logo-box {
  margin: 0 12px 20px !important;
  padding: 8px 6px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  min-height: 52px;
}

html.keke-app-page .keke-side-logo > img,
html.keke-app-page .default-layout .left .logo-box > img {
  width: 28px !important;
  height: 28px !important;
}

html.keke-app-page .keke-side-logo > span,
html.keke-app-page .default-layout .left .logo-box > span {
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: var(--keke-text) !important;
}

html.keke-app-page .keke-side-profile.user-info {
  margin: 0 12px 18px !important;
  padding: 42px 22px 22px !important;
  width: auto !important;
  height: 310px !important;
  min-height: 310px !important;
  max-height: 310px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 28px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

html.keke-app-page .keke-side-profile.user-info:has(.logout-text-btn) {
  height: 310px !important;
  min-height: 310px !important;
  max-height: 310px !important;
}

html.keke-app-page .keke-side-profile.user-info .logout-text-btn {
  flex: 0 0 26px !important;
  min-height: 26px !important;
  height: 26px !important;
  margin-top: 4px !important;
  line-height: 26px !important;
}

html.keke-app-page .keke-side-profile.user-info img {
  width: 74px !important;
  height: 74px !important;
  flex: 0 0 74px !important;
  border-radius: 22px !important;
  object-fit: cover;
  display: block;
  margin: 0 auto 18px !important;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

html.keke-app-page .keke-side-profile.user-info .user-name {
  width: 100% !important;
  min-height: 26px !important;
  margin: 0 0 2px !important;
  line-height: 26px !important;
  text-align: center !important;
}

html.keke-app-page .keke-side-profile.user-info .subscription-info {
  width: 100% !important;
  min-height: 22px !important;
  margin: 0 !important;
  line-height: 22px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

html.keke-app-page .keke-side-profile.user-info p,
html.keke-app-page .keke-side-profile.user-info span,
html.keke-app-page .keke-side-profile.user-info div {
  color: var(--keke-muted-strong);
  line-height: 1.65;
}

html.keke-app-page .keke-side-profile.user-info p:first-of-type,
html.keke-app-page .keke-side-profile.user-info strong {
  color: var(--keke-text) !important;
  font-weight: 800 !important;
}

html.keke-app-page .keke-side-profile.user-info button,
html.keke-app-page .keke-side-profile.user-info a,
html.keke-app-page .keke-side-profile.user-info [class*="logout"] {
  color: var(--keke-muted-strong) !important;
}

html.keke-app-page .keke-side-profile.user-info .keke-profile-purchase {
  width: 100%;
  min-height: 38px;
  margin: 10px 0 4px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: #fff !important;
  color: #111827 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

html.keke-app-page .keke-side-profile.user-info .keke-profile-purchase:hover {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.24);
  transform: translateY(-1px);
}

html.keke-app-page .keke-side-profile.user-info .keke-profile-purchase svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  color: inherit !important;
}

html.keke-app-page .keke-side-profile.user-info.keke-free-profile .keke-usage-line {
  display: none !important;
}

html.keke-app-page .keke-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10080;
  transform: translate(-50%, calc(-50% + 6px));
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 16px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 14px;
  background: rgba(254, 242, 242, 0.96);
  color: #b91c1c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 14px 28px rgba(127, 29, 29, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

html.keke-app-page .keke-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

html.keke-app-page .keke-side-menu,
html.keke-app-page .menu-list {
  flex: 1;
  height: auto !important;
  margin: 0 12px !important;
  padding: 10px 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html.keke-app-page .keke-side-menu .menu-item,
html.keke-app-page .menu-list .menu-item {
  min-height: 56px;
  padding: 0 18px !important;
  margin-bottom: 6px;
  border-radius: 18px !important;
  color: #6b7280 !important;
  fill: #6b7280 !important;
  background: transparent !important;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease !important;
}

html.keke-app-page .keke-side-menu .menu-item:hover,
html.keke-app-page .menu-list .menu-item:hover {
  background: rgba(15, 23, 42, 0.05) !important;
  color: var(--keke-text) !important;
  fill: var(--keke-text) !important;
  transform: translateX(2px);
}

html.keke-app-page .keke-side-menu .menu-item > span,
html.keke-app-page .menu-list .menu-item > span {
  margin-left: 14px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

html.keke-app-page .keke-side-menu .menu-active,
html.keke-app-page .menu-list .menu-active {
  background: #f2f4f7 !important;
  color: var(--keke-text) !important;
  fill: var(--keke-text) !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

html.keke-app-page .default-layout .right {
  padding-right: 12px;
}

html.keke-app-page .keke-topbar,
html.keke-app-page .head {
  margin: 0 !important;
  padding: 22px 0 18px !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html.keke-app-page .keke-topbar .left,
html.keke-app-page .head .left {
  min-width: 0;
}

html.keke-app-page .keke-topbar .left .content,
html.keke-app-page .head .left .content {
  margin-right: 0 !important;
  justify-content: flex-start !important;
}

html.keke-app-page .keke-topbar .left .content span,
html.keke-app-page .head .left .content span {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--keke-text) !important;
  letter-spacing: -0.03em;
}

html.keke-app-page .keke-topbar .right,
html.keke-app-page .head .right,
html.keke-app-page .keke-top-actions {
  gap: 12px !important;
}

html.keke-app-page .keke-inline-search,
html.keke-app-page .search {
  margin: 0 !important;
  padding: 0 !important;
}

html.keke-app-page .keke-inline-search .search-box,
html.keke-app-page .search .search-box {
  width: min(100%, 460px) !important;
  max-width: 460px !important;
  gap: 12px !important;
}

html.keke-app-page .keke-inline-search .input-group,
html.keke-app-page .search .input-group {
  min-height: 52px;
  background: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08) inset !important;
  overflow: hidden !important;
}

html.keke-app-page .keke-inline-search .input-group .prefix-icon,
html.keke-app-page .search .input-group .prefix-icon {
  left: 16px !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  padding: 0 !important;
}

html.keke-app-page .keke-inline-search .input-group .prefix-icon svg,
html.keke-app-page .search .input-group .prefix-icon svg {
  fill: #111827 !important;
}

html.keke-app-page .keke-inline-search .input-group input,
html.keke-app-page .search .input-group input {
  width: 100% !important;
  height: 52px !important;
  padding: 0 20px 0 54px !important;
  background: transparent !important;
  color: var(--keke-text) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

html.keke-app-page .keke-inline-search .search-button,
html.keke-app-page .search .search-button,
html.keke-app-page .refresh-btn,
html.keke-app-page .keke-action-btn.refresh-btn {
  width: 52px !important;
  height: 52px !important;
  padding: 0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: var(--keke-text) !important;
  fill: var(--keke-text) !important;
  box-shadow: none !important;
}

html.keke-app-page .keke-inline-search .search-button:hover,
html.keke-app-page .search .search-button:hover,
html.keke-app-page .refresh-btn:hover {
  background: #f9fafb !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
}

html.keke-app-page .car-list-page .header .action-box .keke-purchase-button,
html.keke-app-page .redeem-code,
html.keke-app-page .keke-action-btn.redeem-code {
  min-height: 52px;
  padding: 0 22px !important;
  background: #18181b !important;
  color: #fff !important;
  border: 1px solid #18181b !important;
  border-radius: 18px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

html.keke-app-page .car-list-page .header .action-box .keke-purchase-button:hover,
html.keke-app-page .redeem-code:hover,
html.keke-app-page .keke-action-btn.redeem-code:hover {
  background: #2b2d33 !important;
  border-color: #2b2d33 !important;
  color: #fff !important;
}

html.keke-app-page .purchase,
html.keke-app-page .notice-btn {
  min-height: 52px;
  padding: 0 18px !important;
  background: #fff !important;
  color: var(--keke-text) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 18px !important;
}

html.keke-app-page .keke-announcement-card,
html.keke-app-page .keke-car-board,
html.keke-app-page .car-list-box,
html.keke-app-page .user-center .section {
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 32px !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05) !important;
}

html.keke-app-page .keke-announcement-card {
  margin: 18px 0 18px !important;
  padding: 28px 30px !important;
}

html.keke-app-page .keke-announcement-card,
html.keke-app-page .keke-announcement-card p,
html.keke-app-page .keke-announcement-card div {
  color: #253041 !important;
  line-height: 1.95 !important;
  font-size: 14px !important;
}

html.keke-app-page .keke-car-board,
html.keke-app-page .car-list-box {
  margin: 0 0 20px !important;
  padding: 24px 22px 28px !important;
}

html.keke-app-page .keke-car-board .car-group,
html.keke-app-page .car-list-box .car-group {
  margin-bottom: 18px !important;
}

html.keke-app-page .keke-car-board .car-group-name,
html.keke-app-page .car-list-box .car-group-name {
  margin-bottom: 18px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--keke-text) !important;
}

html.keke-app-page .keke-car-card,
html.keke-app-page .car-item {
  min-height: 104px;
  padding: 14px !important;
  background: #fbfbfd !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease !important;
}

html.keke-app-page .keke-car-card:hover,
html.keke-app-page .car-item:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.07) !important;
}

html.keke-app-page .keke-car-card .car-type,
html.keke-app-page .car-item .car-type {
  width: 78px !important;
  min-width: 78px !important;
  height: 78px !important;
  border-radius: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #7e22ce 0%, #9333ea 100%) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

html.keke-app-page .keke-car-card .car-info,
html.keke-app-page .car-item .car-info {
  margin-left: 16px !important;
}

html.keke-app-page .keke-car-card .car-name,
html.keke-app-page .car-item .car-name {
  color: var(--keke-text) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

html.keke-app-page .keke-car-card .car-info p,
html.keke-app-page .keke-car-card .car-info span,
html.keke-app-page .car-item .car-info p,
html.keke-app-page .car-item .car-info span {
  color: #6b7280 !important;
}

html.keke-app-page .empty,
html.keke-app-page .no-more,
html.keke-app-page .loading-more {
  color: #9ca3af !important;
}

@media (max-width: 980px) {
  html.keke-app-page .keke-shell {
    padding: 0 16px;
    gap: 18px;
  }

  html.keke-app-page .keke-shell-left {
    width: 220px !important;
  }
}

@media (max-width: 780px) {
  html.keke-app-page .keke-shell {
    padding: 0 12px;
  }

  html.keke-app-page .keke-topbar,
  html.keke-app-page .head {
    padding: 18px 0 14px !important;
  }

  html.keke-app-page .keke-announcement-card {
    padding: 20px 18px !important;
    border-radius: 24px !important;
  }

  html.keke-app-page .keke-car-board,
  html.keke-app-page .car-list-box {
    padding: 18px 14px 22px !important;
    border-radius: 24px !important;
  }

  html.keke-app-page .keke-car-card,
  html.keke-app-page .car-item {
    border-radius: 18px !important;
  }
}

/* ===== Mobile car status readability ===== */

@media (max-width: 640px) {
  html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item,
  html.keke-app-page .keke-car-card,
  html.keke-app-page .car-item {
    align-items: center !important;
    overflow: visible !important;
  }

  html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-info,
  html.keke-app-page .keke-car-card .car-info,
  html.keke-app-page .car-item .car-info {
    min-width: 82px !important;
    flex: 1 1 82px !important;
    margin-left: 10px !important;
    overflow: visible !important;
  }

  html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-info .car-state-box,
  html.keke-app-page .keke-car-card .car-state-box,
  html.keke-app-page .car-item .car-state-box {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    overflow: visible !important;
  }

  html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-info .car-state-box .car-state,
  html.keke-app-page .keke-car-card .car-state-box .car-state,
  html.keke-app-page .car-item .car-state-box .car-state {
    width: auto !important;
    min-width: 50px !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: keep-all !important;
  }

  html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-info .car-state-box .car-state *,
  html.keke-app-page .keke-car-card .car-state-box .car-state *,
  html.keke-app-page .car-item .car-state-box .car-state * {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  html.keke-app-page .car-list-page .content .car-list-box .car-group .car-group-list .car-item .car-info .car-state-box .usage-ratio,
  html.keke-app-page .keke-car-card .car-state-box .usage-ratio,
  html.keke-app-page .car-item .car-state-box .usage-ratio {
    min-width: 30px !important;
    max-width: 70px !important;
    flex: 1 1 42px !important;
  }
}

/* ── Payment QR Modal ────────────────────────────────────── */

.keke-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 3300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keke-pay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
}

.keke-pay-panel {
  position: relative;
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 32px 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  text-align: center;
  animation: keke-pay-in 0.22s ease-out;
}

@keyframes keke-pay-in {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.keke-pay-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  background: rgba(241, 245, 249, 0.8);
  color: #64748b;
  cursor: pointer;
  transition: background 0.15s;
}

.keke-pay-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.keke-pay-head {
  margin-bottom: 20px;
}

.keke-pay-wechat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(7, 193, 96, 0.1);
  margin-bottom: 12px;
}

.keke-pay-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.keke-pay-head p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.keke-pay-qr {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 12px;
}

.keke-pay-qr img {
  display: block;
  border-radius: 8px;
}

.keke-pay-hint {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.keke-pay-status {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
}

.keke-pay-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border: 3px solid #e2e8f0;
  border-top-color: #1b1d23;
  border-radius: 50%;
  animation: keke-spin 0.7s linear infinite;
}

@keyframes keke-spin {
  to { transform: rotate(360deg); }
}

.keke-pay-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  line-height: 56px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  background: #07C160;
  border-radius: 50%;
}

.keke-pay-success-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #07C160;
}

.keke-pay-error-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  line-height: 56px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  background: #ef4444;
  border-radius: 50%;
}

.keke-pay-error-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #ef4444;
}

.keke-pay-done {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 32px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #1b1d23;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s;
}

.keke-pay-done:hover {
  background: #334155;
}

/* ===== Sidebar menu polish ===== */

html.keke-menu-booting:not(.keke-menu-ready) .menu-list {
  min-height: 176px !important;
  visibility: hidden !important;
}

html.keke-menu-booting:not(.keke-menu-ready) .menu-list > * {
  opacity: 0 !important;
}

html.keke-app-page .keke-mobile-drawer-usage {
  display: none !important;
}

html.keke-app-page .keke-side-menu .menu-item,
html.keke-app-page .keke-side-menu .menu-active,
html.keke-app-page .menu-list .menu-item,
html.keke-app-page .menu-list .menu-active {
  width: 100% !important;
  min-height: 56px !important;
  padding: 0 18px !important;
  margin: 0 0 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  border-radius: 18px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #6b7280 !important;
  fill: currentColor !important;
  box-shadow: none !important;
}

html.keke-app-page .keke-side-menu .menu-item:hover,
html.keke-app-page .keke-side-menu .menu-active:hover,
html.keke-app-page .menu-list .menu-item:hover,
html.keke-app-page .menu-list .menu-active:hover {
  background: rgba(15, 23, 42, 0.05) !important;
  color: var(--keke-text) !important;
  transform: translateX(2px);
}

html.keke-app-page .keke-side-menu .menu-active,
html.keke-app-page .menu-list .menu-active {
  background: #f2f4f7 !important;
  color: var(--keke-text) !important;
  border-color: rgba(15, 23, 42, 0.05) !important;
}

html.keke-app-page .menu-list .keke-purchase-menu,
html.keke-app-page .menu-list .keke-purchase-menu:hover {
  background: transparent !important;
  color: #6b7280 !important;
  fill: currentColor !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html.keke-app-page .menu-list .keke-purchase-menu:hover {
  background: rgba(15, 23, 42, 0.05) !important;
  color: var(--keke-text) !important;
}

html.keke-app-page.keke-purchase-open .keke-side-menu .menu-active:not(.keke-purchase-menu),
html.keke-app-page.keke-purchase-open .menu-list .menu-active:not(.keke-purchase-menu) {
  background: transparent !important;
  color: #6b7280 !important;
  fill: currentColor !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html.keke-app-page.keke-purchase-open .menu-list .keke-purchase-menu,
html.keke-app-page.keke-purchase-open .menu-list .keke-purchase-menu:hover {
  background: #f2f4f7 !important;
  color: var(--keke-text) !important;
  fill: currentColor !important;
  border-color: rgba(15, 23, 42, 0.05) !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
}

html.keke-app-page .keke-side-menu .menu-item > span,
html.keke-app-page .keke-side-menu .menu-active > span,
html.keke-app-page .menu-list .menu-item > span,
html.keke-app-page .menu-list .menu-active > span {
  margin-left: 0 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

html.keke-app-page .keke-side-menu .menu-item svg,
html.keke-app-page .keke-side-menu .menu-active svg,
html.keke-app-page .menu-list .menu-item svg,
html.keke-app-page .menu-list .menu-active svg {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  display: block !important;
  color: currentColor !important;
  fill: currentColor !important;
}

html.keke-app-page .keke-nav-icon {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  display: block !important;
  color: currentColor !important;
  fill: none !important;
  stroke: currentColor !important;
}

html.keke-app-page .menu-list .menu-item svg.keke-nav-icon,
html.keke-app-page .menu-list .menu-active svg.keke-nav-icon {
  fill: none !important;
  stroke: currentColor !important;
}

/* ===== User action and promotion hotfix ===== */

html.keke-app-page .user-center .keke-purchase-inline {
  width: auto !important;
  min-width: 176px !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 24px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  border-radius: 18px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

html.keke-app-page .user-center .keke-purchase-inline svg,
html.keke-app-page .user-center .keke-purchase-inline .keke-nav-icon {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 !important;
}

html.keke-app-page .user-center .keke-purchase-inline span {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

html.keke-app-page .user-center.keke-promo-page .promotion-content {
  display: block !important;
  grid-template-columns: none !important;
}

html.keke-app-page .user-center.keke-promo-page .promotion-card,
html.keke-app-page .user-center.keke-promo-page .keke-promo-qr-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html.keke-app-page .user-center.keke-promo-page .promotion-card {
  overflow: hidden !important;
}

/* ===== User pages cleanup ===== */

html.keke-app-page .keke-menu-hidden {
  display: none !important;
}

html.keke-app-page,
html.keke-app-page body,
html.keke-app-page #app,
html.keke-app-page .default-layout,
html.keke-app-page .default-layout .right,
html.keke-app-page .user-center {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

html.keke-app-page .slide-left-enter-active,
html.keke-app-page .slide-left-leave-active,
html.keke-app-page .slide-right-enter-active,
html.keke-app-page .slide-right-leave-active,
html.keke-app-page .fade-slide-enter-active,
html.keke-app-page .fade-slide-leave-active,
html.keke-app-page [class*="slide"][class*="enter"],
html.keke-app-page [class*="slide"][class*="leave"],
html.keke-app-page .user-center,
html.keke-app-page .user-center .el-tabs__content,
html.keke-app-page .user-center .el-tab-pane,
html.keke-app-page .records-section {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

html.keke-app-page .keke-qq-notice,
html.keke-app-page .keke-qq-notice p,
html.keke-app-page .keke-qq-notice div,
html.keke-app-page .system-notice .notice.keke-qq-notice,
html.keke-app-page .keke-announcement-card .keke-qq-notice {
  font-size: 20px !important;
  line-height: 1.7 !important;
  font-weight: 800 !important;
  color: var(--keke-text) !important;
}

html.keke-app-page .user-center.keke-promo-page,
html.keke-app-page .user-center.keke-promo-page .promotion-content,
html.keke-app-page .user-center.keke-promo-page .records-section,
html.keke-app-page .user-center.keke-promo-page .section {
  min-width: 0 !important;
  overflow-x: hidden !important;
}

html.keke-app-page .user-center.keke-promo-page .promotion-content {
  display: grid !important;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
}

html.keke-app-page .user-center.keke-promo-page .keke-promo-qr-card {
  width: 100% !important;
  max-width: 360px !important;
  padding: 24px 26px !important;
  align-self: start !important;
}

html.keke-app-page .user-center.keke-promo-page .keke-promo-qr-card img,
html.keke-app-page .user-center.keke-promo-page .keke-promo-qr-card canvas {
  width: min(220px, 100%) !important;
  height: auto !important;
  display: block !important;
  margin: 14px auto !important;
}

html.keke-app-page .user-center.keke-promo-page .keke-promo-qr-card p,
html.keke-app-page .user-center.keke-promo-page .keke-promo-qr-card div,
html.keke-app-page .user-center.keke-promo-page .keke-promo-qr-card span {
  max-width: 100% !important;
  word-break: break-word !important;
  line-height: 1.6 !important;
}

html.keke-app-page .user-center.keke-promo-page .data-overview,
html.keke-app-page .user-center.keke-promo-page .records-section,
html.keke-app-page .user-center.keke-promo-page .promotion-table {
  width: 100% !important;
  min-width: 0 !important;
}

@media (max-width: 860px) {
  html.keke-app-page .user-center.keke-promo-page .promotion-content {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Final user action alignment ===== */

html.keke-app-page .user-center .section .action-buttons,
html.keke-app-page .user-center .header .actions,
html.keke-app-page .user-center [class*="action-buttons"] {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 18px !important;
}

html.keke-app-page .user-center .section .action-buttons > *,
html.keke-app-page .user-center .header .actions > *,
html.keke-app-page .user-center [class*="action-buttons"] > *,
html.keke-app-page .user-center button.keke-purchase-inline,
html.keke-app-page .user-center .purchase,
html.keke-app-page .user-center .redeem-code {
  width: auto !important;
  min-width: 190px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 28px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  border-radius: 20px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  text-align: center !important;
}

html.keke-app-page .user-center button.keke-purchase-inline > *,
html.keke-app-page .user-center .purchase > *,
html.keke-app-page .user-center .redeem-code > *,
html.keke-app-page .user-center [class*="action-buttons"] > * > * {
  position: static !important;
  transform: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

html.keke-app-page .user-center button.keke-purchase-inline svg,
html.keke-app-page .user-center .purchase svg,
html.keke-app-page .user-center .redeem-code svg,
html.keke-app-page .user-center .purchase .icon,
html.keke-app-page .user-center .redeem-code .icon,
html.keke-app-page .user-center [class*="action-buttons"] svg,
html.keke-app-page .user-center [class*="action-buttons"] .icon {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  display: block !important;
  margin: 0 !important;
}

html.keke-app-page .user-center button.keke-purchase-inline span,
html.keke-app-page .user-center .purchase span,
html.keke-app-page .user-center .redeem-code span,
html.keke-app-page .user-center [class*="action-buttons"] span {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

/* ===== User center alignment fix ===== */

html.keke-app-page .user-center .section .section-subtitle {
  margin-left: 0 !important;
  text-align: left !important;
}

html.keke-app-page .user-center .section .info-row {
  display: grid !important;
  grid-template-columns: 110px minmax(0, 1fr) !important;
  justify-content: start !important;
  align-items: center !important;
  column-gap: 24px !important;
  max-width: 520px !important;
}

html.keke-app-page .user-center .section .info-label,
html.keke-app-page .user-center .section .info-value {
  text-align: left !important;
}

html.keke-app-page .user-center .keke-security-section {
  text-align: left !important;
}

html.keke-app-page .user-center .keke-security-section .action-buttons {
  width: 100% !important;
  margin-top: 34px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 18px !important;
}

html.keke-app-page .user-center .keke-security-section .action-buttons > *,
html.keke-app-page .user-center .keke-security-section button,
html.keke-app-page .user-center .keke-security-section .el-button {
  width: auto !important;
  min-width: 176px !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

html.keke-app-page .user-center .keke-security-section .action-buttons > * > *,
html.keke-app-page .user-center .keke-security-section button > *,
html.keke-app-page .user-center .keke-security-section .el-button > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1 !important;
}

/* ===== Final promotion card restore ===== */

html.keke-app-page .user-center.keke-promo-page,
html.keke-app-page .user-center.keke-promo-page .section,
html.keke-app-page .user-center.keke-promo-page .promotion-content,
html.keke-app-page .user-center.keke-promo-page .promotion-card,
html.keke-app-page .user-center.keke-promo-page .keke-promo-card,
html.keke-app-page .user-center.keke-promo-page .keke-promo-qr-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html.keke-app-page .user-center.keke-promo-page .promotion-content {
  display: block !important;
  grid-template-columns: none !important;
}

html.keke-app-page .user-center.keke-promo-page .promotion-card,
html.keke-app-page .user-center.keke-promo-page .keke-promo-card {
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: stretch !important;
}

html.keke-app-page .user-center.keke-promo-page .promotion-card img,
html.keke-app-page .user-center.keke-promo-page .promotion-card canvas {
  max-width: 100% !important;
}

/* ===== Final purchase card slimming ===== */

html.keke-app-page .keke-purchase-meta {
  display: none !important;
}

html.keke-app-page .keke-purchase-price-line {
  justify-content: space-between !important;
}

html.keke-app-page .keke-purchase-period {
  display: inline-flex !important;
  align-items: center !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

/* ===== Withdraw WeChat guide ===== */

html.keke-app-page .keke-withdraw-wechat-tip {
  margin: 0 0 16px !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 12px !important;
  border: 1px solid rgba(34, 197, 94, 0.22) !important;
  border-radius: 14px !important;
  background: #f0fdf4 !important;
  color: #166534 !important;
  box-shadow: none !important;
}

html.keke-app-page .keke-withdraw-wechat-tip strong {
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

html.keke-app-page .keke-withdraw-wechat-tip span {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: #15803d !important;
}

.keke-withdraw-wechat-guide {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10020 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
  background: rgba(15, 23, 42, 0.48) !important;
}

.keke-withdraw-wechat-panel {
  position: relative !important;
  width: min(420px, 100%) !important;
  padding: 28px !important;
  border-radius: 24px !important;
  background: #fff !important;
  color: #111827 !important;
  text-align: center !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.26) !important;
}

.keke-withdraw-wechat-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 36px !important;
  height: 36px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #475569 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.keke-withdraw-wechat-icon {
  width: 58px !important;
  height: 58px !important;
  margin: 0 auto 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 18px !important;
  background: #22c55e !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
}

.keke-withdraw-wechat-panel h3 {
  margin: 0 0 10px !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #111827 !important;
}

.keke-withdraw-wechat-panel p {
  margin: 0 0 16px !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #64748b !important;
}

.keke-withdraw-wechat-url {
  margin: 0 0 16px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  text-align: left !important;
  word-break: break-all !important;
}

.keke-withdraw-wechat-copy {
  width: 100% !important;
  height: 48px !important;
  border: none !important;
  border-radius: 14px !important;
  background: #18181b !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

html.keke-app-page .keke-withdraw-loading {
  opacity: 0.72 !important;
  pointer-events: none !important;
}

/* ===== WeChat mobile layout guard ===== */

@media (max-width: 640px) {
  html.keke-app-page,
  html.keke-app-page body,
  html.keke-app-page #app,
  html.keke-app-page .default-layout,
  html.keke-app-page .keke-shell,
  html.keke-app-page .default-layout .right,
  html.keke-app-page .user-center {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  html.keke-app-page body {
    min-height: 100%;
    overscroll-behavior-x: none;
  }

  html.keke-app-page .default-layout,
  html.keke-app-page .keke-shell {
    display: block !important;
    padding: 0 10px 18px !important;
    gap: 0 !important;
  }

  html.keke-app-page .default-layout .left,
  html.keke-app-page .keke-shell-left {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 0 4px !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: none !important;
  }

  html.keke-app-page .keke-side-logo,
  html.keke-app-page .default-layout .left .logo-box,
  html.keke-app-page .keke-side-profile {
    display: none !important;
  }

  html.keke-app-page .keke-side-menu,
  html.keke-app-page .menu-list {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 0 10px !important;
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap !important;
  }

  html.keke-app-page .keke-side-menu::-webkit-scrollbar,
  html.keke-app-page .menu-list::-webkit-scrollbar {
    display: none;
  }

  html.keke-app-page .keke-side-menu .menu-item,
  html.keke-app-page .keke-side-menu .menu-active,
  html.keke-app-page .menu-list .menu-item,
  html.keke-app-page .menu-list .menu-active {
    width: auto !important;
    min-width: 0 !important;
    min-height: 42px !important;
    flex: 0 0 auto !important;
    padding: 0 14px !important;
    margin: 0 !important;
    gap: 8px !important;
    border-radius: 999px !important;
    transform: none !important;
  }

  html.keke-app-page .keke-side-menu .menu-item > span,
  html.keke-app-page .keke-side-menu .menu-active > span,
  html.keke-app-page .menu-list .menu-item > span,
  html.keke-app-page .menu-list .menu-active > span {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  html.keke-app-page .keke-side-menu .menu-item svg,
  html.keke-app-page .keke-side-menu .menu-active svg,
  html.keke-app-page .menu-list .menu-item svg,
  html.keke-app-page .menu-list .menu-active svg,
  html.keke-app-page .keke-nav-icon {
    width: 18px !important;
    height: 18px !important;
    flex-basis: 18px !important;
  }

  html.keke-app-page .default-layout .right {
    padding: 0 !important;
    margin: 0 !important;
  }

  html.keke-app-page .keke-topbar,
  html.keke-app-page .head {
    min-height: 0 !important;
    padding: 10px 0 12px !important;
    margin: 0 !important;
  }

  html.keke-app-page .keke-topbar .left .content span,
  html.keke-app-page .head .left .content span {
    font-size: 18px !important;
  }

  html.keke-app-page .user-center,
  html.keke-app-page .user-center .section,
  html.keke-app-page .promotion-content,
  html.keke-app-page .promotion-card,
  html.keke-app-page .records-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html.keke-app-page .user-center .section,
  html.keke-app-page .promotion-card,
  html.keke-app-page .records-section {
    padding: 18px 14px !important;
    border-radius: 22px !important;
  }

  html.keke-app-page .user-center .section .action-buttons,
  html.keke-app-page .user-center .header .actions,
  html.keke-app-page .user-center [class*="action-buttons"] {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  html.keke-app-page .user-center .section .action-buttons > *,
  html.keke-app-page .user-center .header .actions > *,
  html.keke-app-page .user-center [class*="action-buttons"] > *,
  html.keke-app-page .user-center button.keke-purchase-inline,
  html.keke-app-page .user-center .purchase,
  html.keke-app-page .user-center .redeem-code,
  html.keke-app-page .user-center .el-button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
    line-height: 1 !important;
  }

  html.keke-app-page .user-center button.keke-purchase-inline span,
  html.keke-app-page .user-center .purchase span,
  html.keke-app-page .user-center .redeem-code span,
  html.keke-app-page .user-center [class*="action-buttons"] span {
    font-size: 15px !important;
  }

  html.keke-app-page .user-center .section .info-row {
    display: block !important;
    max-width: none !important;
  }

  html.keke-app-page .user-center .section .info-label,
  html.keke-app-page .user-center .section .info-value {
    display: block !important;
    width: 100% !important;
  }

  html.keke-app-page .user-center .section .info-label {
    margin-bottom: 8px !important;
  }

  html.keke-app-page .user-center .keke-security-section .action-buttons {
    margin-top: 28px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  html.keke-app-page .user-center .keke-security-section .action-buttons > *,
  html.keke-app-page .user-center .keke-security-section button,
  html.keke-app-page .user-center .keke-security-section .el-button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 52px !important;
    min-height: 52px !important;
    display: flex !important;
  }

  html.keke-app-page .user-center .keke-security-section .section-subtitle {
    margin: 0 0 24px !important;
    padding: 0 !important;
    transform: none !important;
    text-align: left !important;
  }

  html.keke-app-page .user-center .keke-security-section .action-buttons > *,
  html.keke-app-page .user-center .keke-security-section button,
  html.keke-app-page .user-center .keke-security-section .el-button,
  html.keke-app-page .user-center .keke-security-section .keke-purchase-inline {
    position: relative !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    overflow: hidden !important;
    text-align: center !important;
    vertical-align: middle !important;
  }

  html.keke-app-page .user-center .keke-security-section .action-buttons > * > *,
  html.keke-app-page .user-center .keke-security-section button > *,
  html.keke-app-page .user-center .keke-security-section .el-button > * {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  html.keke-app-page .user-center .keke-security-section .action-buttons span,
  html.keke-app-page .user-center .keke-security-section button span,
  html.keke-app-page .user-center .keke-security-section .el-button span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
  }

  html.keke-app-page .user-center .keke-security-section .keke-purchase-inline svg,
  html.keke-app-page .user-center .keke-security-section .keke-purchase-inline .icon,
  html.keke-app-page .user-center .keke-security-section .keke-purchase-inline .keke-purchase-icon {
    display: none !important;
  }

  html.keke-app-page .user-center .keke-security-section,
  html.keke-app-page .user-center .keke-security-section .action-buttons {
    text-align: left !important;
  }

  html.keke-app-page .user-center .keke-security-section .action-buttons {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html.keke-app-page .user-center .keke-security-section .action-buttons > *,
  html.keke-app-page .user-center .keke-security-section .action-buttons .el-button,
  html.keke-app-page .user-center .keke-security-section .el-button + .el-button,
  html.keke-app-page .user-center .keke-security-section .keke-purchase-inline {
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: stretch !important;
  }
}

/* ===== Login mobile bottom fix ===== */

@media (max-width: 768px) {
  html.keke-login-page,
  html.keke-login-page body {
    min-height: 100%;
    overflow-x: hidden !important;
  }

  html.keke-login-page .user-login {
    min-height: 100svh;
    justify-content: flex-start !important;
    padding: 72px 12px max(28px, env(safe-area-inset-bottom)) !important;
    gap: 0 !important;
  }

  html.keke-login-page .user-login .content {
    width: min(100%, 540px) !important;
    margin: 0 auto !important;
    padding-bottom: 30px !important;
    overflow: visible !important;
  }

  html.keke-login-page .keke-login-sep {
    margin: 20px 0 18px !important;
  }

  html.keke-login-page .user-login .bottom-text-box,
  html.keke-login-page .user-login .register-hint {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1.6 !important;
    white-space: normal !important;
    transform: none !important;
  }

  html.keke-login-page .user-login .bottom-text-box .register-hint {
    margin: 0 !important;
  }

  html.keke-login-page .site-footer,
  html.keke-login-page footer,
  html.keke-login-page [class*="footer"] {
    position: static !important;
    display: block !important;
    width: min(100%, 540px) !important;
    margin: 14px auto 0 !important;
    padding: 0 8px !important;
    clear: both !important;
    color: var(--keke-muted) !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    white-space: normal !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

/* ===== Mobile drawer navigation ===== */

html.keke-mobile-drawer-open,
html.keke-mobile-drawer-open body,
body.keke-mobile-drawer-open {
  overflow: hidden !important;
}

.keke-mobile-drawer-toggle,
.keke-mobile-drawer-backdrop,
.keke-mobile-drawer-close {
  display: none;
}

@media (max-width: 640px) {
  html.keke-app-page .show-menu-toggle,
  html.keke-app-page .keke-native-drawer-toggle,
  html.keke-app-page .hamburger,
  html.keke-app-page [class*="hamburger"],
  html.keke-app-page .mobile-menu-btn,
  html.keke-app-page .mobile-menu-toggle,
  html.keke-app-page .mobile-menu-overlay,
  html.keke-app-page .mobile-menu-content,
  html.keke-app-page .mobile-menu {
    display: none !important;
  }

  html.keke-app-page .keke-mobile-drawer-toggle {
    position: fixed !important;
    left: 16px !important;
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
    z-index: 3410 !important;
    width: 58px !important;
    height: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid rgba(37, 99, 235, 0.18) !important;
    border-radius: 20px !important;
    background: rgba(239, 246, 255, 0.96) !important;
    color: #2563eb !important;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.12) !important;
    appearance: none !important;
    transform: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  html.keke-app-page.keke-mobile-drawer-open .keke-mobile-drawer-toggle {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-8px) !important;
  }

  html.keke-app-page .keke-mobile-drawer-toggle svg {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
    fill: currentColor !important;
    stroke: none !important;
    color: inherit !important;
  }

  html.keke-app-page .keke-mobile-drawer-toggle svg circle {
    fill: currentColor !important;
  }

  html.keke-app-page .keke-mobile-drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 3390 !important;
    display: block !important;
    background: rgba(15, 23, 42, 0.34) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.22s ease !important;
    backdrop-filter: blur(5px);
  }

  html.keke-app-page.keke-mobile-drawer-open .keke-mobile-drawer-backdrop {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  html.keke-app-page .default-layout .left.keke-mobile-drawer-panel,
  html.keke-app-page .keke-shell-left.keke-mobile-drawer-panel,
  html.keke-mobile-drawer-open .default-layout .left,
  html.keke-mobile-drawer-open .keke-shell-left {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    z-index: 3400 !important;
    width: min(84vw, 336px) !important;
    max-width: 336px !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    padding: max(22px, env(safe-area-inset-top)) 14px max(24px, env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 0 !important;
    border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 0 24px 24px 0 !important;
    box-shadow: 22px 0 60px rgba(15, 23, 42, 0.18) !important;
    transform: translateX(-108%) !important;
    transition: transform 0.24s ease !important;
    -webkit-overflow-scrolling: touch;
  }

  html.keke-app-page.keke-mobile-drawer-open .default-layout .left.keke-mobile-drawer-panel,
  html.keke-app-page.keke-mobile-drawer-open .keke-shell-left.keke-mobile-drawer-panel,
  html.keke-mobile-drawer-open .default-layout .left,
  html.keke-mobile-drawer-open .keke-shell-left {
    transform: translateX(0) !important;
  }

  html.keke-app-page .keke-mobile-drawer-close {
    position: absolute !important;
    top: max(14px, env(safe-area-inset-top)) !important;
    right: 14px !important;
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #111827 !important;
    appearance: none !important;
  }

  html.keke-app-page .keke-mobile-drawer-close span {
    position: absolute !important;
    width: 16px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
  }

  html.keke-app-page .keke-mobile-drawer-close span:first-child {
    transform: rotate(45deg);
  }

  html.keke-app-page .keke-mobile-drawer-close span:last-child {
    transform: rotate(-45deg);
  }

  html.keke-app-page .keke-mobile-drawer-panel .keke-side-logo,
  html.keke-app-page .default-layout .left.keke-mobile-drawer-panel .logo-box,
  html.keke-app-page .keke-mobile-drawer-panel .logo-box {
    display: flex !important;
    min-height: 44px !important;
    margin: 0 46px 16px 2px !important;
    padding: 0 !important;
    align-items: center !important;
    gap: 10px !important;
  }

  html.keke-app-page .keke-mobile-drawer-panel .keke-side-logo > span,
  html.keke-app-page .default-layout .left.keke-mobile-drawer-panel .logo-box > span,
  html.keke-app-page .keke-mobile-drawer-panel .logo-box > span {
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    color: var(--keke-text) !important;
  }

  html.keke-app-page .keke-mobile-drawer-panel .keke-side-profile,
  html.keke-app-page .keke-mobile-drawer-panel .keke-mobile-drawer-profile {
    display: block !important;
    margin: 0 0 16px !important;
    padding: 18px !important;
    border: 1px solid rgba(15, 23, 42, 0.07) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07) !important;
  }

  html.keke-app-page .keke-mobile-drawer-panel .keke-side-profile.user-info .logout-text-btn,
  html.keke-app-page .keke-mobile-drawer-panel .keke-mobile-drawer-profile.user-info .logout-text-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 8px auto 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  html.keke-app-page .keke-mobile-drawer-panel .keke-side-profile.user-info .logout-text-btn > span,
  html.keke-app-page .keke-mobile-drawer-panel .keke-mobile-drawer-profile.user-info .logout-text-btn > span {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
  }

  html.keke-app-page .keke-mobile-drawer-person {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
  }

  html.keke-app-page .keke-mobile-drawer-avatar {
    width: 46px !important;
    height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
    background: #18181b !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 900 !important;
  }

  html.keke-app-page .keke-mobile-drawer-person strong,
  html.keke-app-page .keke-mobile-drawer-profile strong[data-keke-drawer-name] {
    display: block !important;
    color: var(--keke-text) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
  }

  html.keke-app-page .keke-mobile-drawer-person span {
    display: block !important;
    margin-top: 3px !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  html.keke-app-page .keke-mobile-drawer-usage {
    display: none !important;
    gap: 8px !important;
  }

  html.keke-app-page .keke-mobile-drawer-usage-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
  }

  html.keke-app-page .keke-mobile-drawer-usage-row span {
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  html.keke-app-page .keke-mobile-drawer-usage-row strong {
    min-width: 0 !important;
    color: var(--keke-text) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-align: right !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html.keke-app-page .keke-mobile-drawer-panel .keke-side-menu,
  html.keke-app-page .keke-mobile-drawer-panel .menu-list {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 4px 0 0 !important;
    display: block !important;
    flex: 1 0 auto !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  html.keke-app-page .keke-mobile-drawer-panel .keke-side-menu .menu-item,
  html.keke-app-page .keke-mobile-drawer-panel .keke-side-menu .menu-active,
  html.keke-app-page .keke-mobile-drawer-panel .menu-list .menu-item,
  html.keke-app-page .keke-mobile-drawer-panel .menu-list .menu-active {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 14px !important;
    margin: 0 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    border-radius: 16px !important;
    background: transparent !important;
    color: #6b7280 !important;
    transform: none !important;
  }

  html.keke-app-page .keke-mobile-drawer-panel .keke-side-menu .menu-active,
  html.keke-app-page .keke-mobile-drawer-panel .menu-list .menu-active {
    background: #f2f4f7 !important;
    color: var(--keke-text) !important;
  }

  html.keke-app-page .keke-mobile-drawer-panel .keke-side-menu .menu-item > span,
  html.keke-app-page .keke-mobile-drawer-panel .keke-side-menu .menu-active > span,
  html.keke-app-page .keke-mobile-drawer-panel .menu-list .menu-item > span,
  html.keke-app-page .keke-mobile-drawer-panel .menu-list .menu-active > span {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
  }

  html.keke-app-page .default-layout,
  html.keke-app-page .keke-shell {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  html.keke-app-page .default-layout .right {
    width: 100% !important;
    max-width: 100% !important;
  }
}

html.keke-app-page.keke-purchase-active .keke-side-menu .menu-active:not(.keke-purchase-menu),
html.keke-app-page.keke-purchase-active .menu-list .menu-active:not(.keke-purchase-menu),
html.keke-app-page.keke-purchase-open .keke-side-menu .menu-active:not(.keke-purchase-menu),
html.keke-app-page.keke-purchase-open .menu-list .menu-active:not(.keke-purchase-menu) {
  background: transparent !important;
  color: #6b7280 !important;
  fill: currentColor !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html.keke-app-page.keke-purchase-active .menu-list .keke-purchase-menu,
html.keke-app-page.keke-purchase-active .menu-list .keke-purchase-current,
html.keke-app-page.keke-purchase-active .menu-list .keke-purchase-menu:hover,
html.keke-app-page.keke-purchase-open .menu-list .keke-purchase-menu,
html.keke-app-page.keke-purchase-open .menu-list .keke-purchase-current,
html.keke-app-page.keke-purchase-open .menu-list .keke-purchase-menu:hover,
html.keke-app-page.keke-purchase-active .keke-mobile-drawer-panel .menu-list .keke-purchase-menu,
html.keke-app-page.keke-purchase-active .keke-mobile-drawer-panel .menu-list .keke-purchase-current,
html.keke-app-page.keke-purchase-open .keke-mobile-drawer-panel .menu-list .keke-purchase-menu,
html.keke-app-page.keke-purchase-open .keke-mobile-drawer-panel .menu-list .keke-purchase-current {
  background: #f2f4f7 !important;
  color: var(--keke-text) !important;
  fill: currentColor !important;
  border-color: rgba(15, 23, 42, 0.05) !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
}

html.keke-app-page .keke-side-menu .keke-route-active,
html.keke-app-page .menu-list .keke-route-active,
html.keke-app-page .keke-mobile-drawer-panel .keke-side-menu .keke-route-active,
html.keke-app-page .keke-mobile-drawer-panel .menu-list .keke-route-active {
  background: #f2f4f7 !important;
  color: var(--keke-text) !important;
  fill: currentColor !important;
  border-color: rgba(15, 23, 42, 0.05) !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
}

html.keke-app-page .keke-side-menu .keke-route-inactive,
html.keke-app-page .menu-list .keke-route-inactive,
html.keke-app-page .keke-mobile-drawer-panel .keke-side-menu .keke-route-inactive,
html.keke-app-page .keke-mobile-drawer-panel .menu-list .keke-route-inactive {
  background: transparent !important;
  color: #6b7280 !important;
  fill: currentColor !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* ===== Unified auth card sizing ===== */

html.keke-theme .user-login,
html.keke-theme .user-register,
html.keke-login-page .user-login,
html.keke-register-page .user-register {
  min-height: 100vh !important;
  padding: 28px 16px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
}

html.keke-theme .user-login,
html.keke-theme .user-login *,
html.keke-login-page .user-login,
html.keke-login-page .user-login *,
html.keke-theme .user-register,
html.keke-theme .user-register *,
html.keke-register-page .user-register,
html.keke-register-page .user-register * {
  transition-property: none !important;
  animation: none !important;
}

html.keke-theme .user-login .content,
html.keke-theme .user-register .content,
html.keke-login-page .user-login .content,
html.keke-register-page .user-register .content {
  width: min(100%, 560px) !important;
  min-width: 0 !important;
  max-width: 560px !important;
  height: 650px !important;
  min-height: 650px !important;
  padding: 34px 38px 28px !important;
  margin: 0 auto !important;
  background: var(--keke-surface) !important;
  border: 1px solid var(--keke-line) !important;
  border-radius: 30px !important;
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.1) !important;
  box-sizing: border-box !important;
  transition: none !important;
  animation: none !important;
}

html.keke-theme .user-login .content::before,
html.keke-theme .user-register .content::before,
html.keke-login-page .user-login .content::before,
html.keke-register-page .user-register .content::before {
  content: "可可chatgpt镜像站" !important;
  width: 100% !important;
  min-height: 84px !important;
  display: block !important;
  margin: 0 auto 22px !important;
  padding-top: 70px !important;
  box-sizing: border-box !important;
  background: no-repeat top center / 60px 60px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 41 41' fill='none'%3E%3Cpath d='M37.532 16.87a9.963 9.963 0 0 0-.856-8.184 10.078 10.078 0 0 0-10.855-4.835A9.964 9.964 0 0 0 18.306.5a10.079 10.079 0 0 0-9.614 6.977 9.967 9.967 0 0 0-6.664 4.834 10.08 10.08 0 0 0 1.24 11.817 9.965 9.965 0 0 0 .856 8.185 10.079 10.079 0 0 0 10.855 4.835 9.965 9.965 0 0 0 7.516 3.35 10.078 10.078 0 0 0 9.617-6.981 9.967 9.967 0 0 0 6.663-4.834 10.079 10.079 0 0 0-1.243-11.813ZM22.498 37.886a7.474 7.474 0 0 1-4.799-1.735c.061-.033.168-.091.237-.134l7.964-4.6a1.294 1.294 0 0 0 .655-1.134V19.054l3.366 1.944a.12.12 0 0 1 .066.092v9.299a7.505 7.505 0 0 1-7.49 7.496ZM6.392 31.006a7.471 7.471 0 0 1-.894-5.023c.06.036.162.099.237.141l7.964 4.6a1.297 1.297 0 0 0 1.308 0l9.724-5.614v3.888a.12.12 0 0 1-.048.103l-8.051 4.649a7.504 7.504 0 0 1-10.24-2.744ZM4.297 13.62A7.469 7.469 0 0 1 8.2 10.333c0 .068-.004.19-.004.274v9.201a1.294 1.294 0 0 0 .654 1.132l9.723 5.614-3.366 1.944a.12.12 0 0 1-.114.012L7.044 23.86a7.504 7.504 0 0 1-2.747-10.24Zm27.658 6.437-9.724-5.615 3.367-1.943a.121.121 0 0 1 .113-.012l8.051 4.649a7.497 7.497 0 0 1-1.158 13.528v-9.476a1.293 1.293 0 0 0-.649-1.131Zm3.35-5.043c-.059-.037-.162-.099-.236-.141l-7.965-4.6a1.298 1.298 0 0 0-1.308 0l-9.723 5.614v-3.888a.12.12 0 0 1 .048-.103l8.05-4.645a7.497 7.497 0 0 1 11.135 7.763Zm-21.063 6.929-3.367-1.944a.12.12 0 0 1-.065-.092v-9.299a7.497 7.497 0 0 1 12.293-5.756 6.94 6.94 0 0 0-.236.134l-7.965 4.6a1.294 1.294 0 0 0-.654 1.132l-.006 11.225Zm1.829-3.943 4.33-2.501 4.332 2.5v5l-4.331 2.5-4.331-2.5V18Z' fill='%23111827'/%3E%3C/svg%3E") !important;
  color: var(--keke-text) !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 760 !important;
  text-align: center !important;
}

html.keke-theme .user-login .content::after,
html.keke-theme .user-register .content::after,
html.keke-login-page .user-login .content::after,
html.keke-register-page .user-register .content::after {
  content: none !important;
  display: none !important;
}

html.keke-theme .user-login #kk-login-brand,
html.keke-theme .user-register #kk-login-brand,
html.keke-login-page #kk-login-brand,
html.keke-register-page #kk-login-brand,
html.keke-login-page .user-login #kk-login-brand,
html.keke-register-page .user-register #kk-login-brand {
  margin-bottom: 18px !important;
  gap: 10px !important;
}

html.keke-theme .user-login #kk-login-brand .keke-login-logo svg,
html.keke-theme .user-register #kk-login-brand .keke-login-logo svg,
html.keke-login-page #kk-login-brand .keke-login-logo svg,
html.keke-register-page #kk-login-brand .keke-login-logo svg {
  width: 60px !important;
  height: 60px !important;
}

html.keke-theme .user-login #kk-login-brand .keke-login-site,
html.keke-theme .user-register #kk-login-brand .keke-login-site,
html.keke-login-page #kk-login-brand .keke-login-site,
html.keke-register-page #kk-login-brand .keke-login-site {
  margin: 0 !important;
  color: var(--keke-text) !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
}

html.keke-theme .user-login .content .title,
html.keke-theme .user-register .content .title,
html.keke-login-page .user-login .content .title,
html.keke-register-page .user-register .content .title {
  margin-bottom: 6px !important;
  color: var(--keke-text) !important;
  font-size: 30px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
}

html.keke-theme .user-login .content .welcome,
html.keke-theme .user-register .content .welcome,
html.keke-login-page .user-login .content .welcome,
html.keke-register-page .user-register .content .welcome {
  margin-bottom: 24px !important;
  color: var(--keke-muted) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  text-align: center !important;
}

html.keke-theme .user-login .content .input-item,
html.keke-theme .user-register .content .input-item,
html.keke-login-page .user-login .content .input-item,
html.keke-register-page .user-register .content .input-item {
  width: 100% !important;
  min-height: 74px !important;
  padding: 13px 18px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 7px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
}

html.keke-theme .user-login .content .input-item .label,
html.keke-theme .user-register .content .input-item .label,
html.keke-login-page .user-login .content .input-item .label,
html.keke-register-page .user-register .content .input-item .label {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--keke-text) !important;
  background: transparent !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 760 !important;
}

html.keke-theme .user-login .content .input-item > input,
html.keke-theme .user-login .content .input-item .input,
html.keke-theme .user-register .content .input-item > input,
html.keke-theme .user-register .content .input-item .input,
html.keke-login-page .user-login .content .input-item > input,
html.keke-login-page .user-login .content .input-item .input,
html.keke-register-page .user-register .content .input-item > input,
html.keke-register-page .user-register .content .input-item .input {
  width: 100% !important;
  min-height: 22px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--keke-text) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 650 !important;
}

html.keke-theme .user-login .content .input-item:has(.keke-forgot-contact),
html.keke-login-page .user-login .content .input-item:has(.keke-forgot-contact),
html.keke-theme .user-login .content .input-item:has(.suffix),
html.keke-login-page .user-login .content .input-item:has(.suffix),
html.keke-theme .user-login .content .input-item.keke-password-item,
html.keke-login-page .user-login .content .input-item.keke-password-item {
  position: relative !important;
  padding-right: 104px !important;
}

html.keke-theme .user-login .content .input-item .suffix,
html.keke-login-page .user-login .content .input-item .suffix {
  pointer-events: auto !important;
  z-index: 3 !important;
}

html.keke-theme .user-login .btn-box,
html.keke-theme .user-register .content .action-box .btn-box,
html.keke-login-page .user-login .btn-box,
html.keke-register-page .user-register .content .action-box .btn-box {
  width: 100% !important;
  min-height: 50px !important;
  display: grid !important;
  gap: 12px !important;
  align-content: start !important;
}

html.keke-theme .user-login .el-button,
html.keke-theme .user-login .submit-btn,
html.keke-theme .user-login .submit-btn-minor,
html.keke-theme .user-register .el-button,
html.keke-theme .user-register .content .action-box .btn-box .submit-btn,
html.keke-theme .user-register .content .action-box .btn-box .submit-btn-minor,
html.keke-login-page .user-login .el-button,
html.keke-login-page .user-login .submit-btn,
html.keke-login-page .user-login .submit-btn-minor,
html.keke-register-page .user-register .el-button,
html.keke-register-page .user-register .content .action-box .btn-box .submit-btn,
html.keke-register-page .user-register .content .action-box .btn-box .submit-btn-minor {
  width: 100% !important;
  min-height: 50px !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 16px !important;
  font-size: 16px !important;
  font-weight: 760 !important;
  transition: none !important;
  animation: none !important;
}

html.keke-theme .user-login .submit-btn-minor,
html.keke-login-page .user-login .submit-btn-minor {
  display: none !important;
}

html.keke-theme .user-login .bottom-text-box,
html.keke-theme .user-login .register-hint,
html.keke-theme .user-register .content .action-box .bottom-text-box,
html.keke-login-page .user-login .bottom-text-box,
html.keke-login-page .user-login .register-hint,
html.keke-register-page .user-register .content .action-box .bottom-text-box {
  min-height: 28px !important;
  margin-top: 24px !important;
  color: var(--keke-muted-strong) !important;
  font-size: 15px !important;
}

@media (max-width: 768px) {
  html.keke-theme .user-login,
  html.keke-theme .user-register,
  html.keke-login-page .user-login,
  html.keke-register-page .user-register {
    min-height: 100svh !important;
    justify-content: flex-start !important;
    padding: 72px 12px max(28px, env(safe-area-inset-bottom)) !important;
  }

  html.keke-theme .user-login .content,
  html.keke-theme .user-register .content,
  html.keke-login-page .user-login .content,
  html.keke-register-page .user-register .content {
    width: min(100%, 540px) !important;
    max-width: 540px !important;
    min-height: 0 !important;
    padding: 28px 22px 24px !important;
    border-radius: 24px !important;
  }

  html.keke-theme .user-login #kk-login-brand .keke-login-site,
  html.keke-theme .user-register #kk-login-brand .keke-login-site,
  html.keke-login-page #kk-login-brand .keke-login-site,
  html.keke-register-page #kk-login-brand .keke-login-site {
    font-size: 16px !important;
  }

  html.keke-theme .user-login .content .title,
  html.keke-theme .user-register .content .title,
  html.keke-login-page .user-login .content .title,
  html.keke-register-page .user-register .content .title {
    font-size: 26px !important;
  }
}
