/* kk-login-selection-fix.css — v3 (force-overwrite all cascade layers)
 *
 * ROOT CAUSE FOUND BY HEADLESS VERIFICATION (2026-06-04):
 *   Bare `::selection` (specificity 0,1,0) loses to
 *   `[data-v-c9058dbc] .van-field__control::selection` (specificity 0,3,0)
 *   even with !important, because higher specificity always wins.
 *   Also, `::-webkit-selection` was falling back to transparent +
 *   white-text = the "白底白字" the user reported.
 *
 * FIX: include every existing selector pattern at MATCHING OR HIGHER
 * specificity, with !important on every property, covering
 * ::selection / ::-moz-selection / ::-webkit-selection.  Bumping
 * ?v= to invalidate browser cache.
 */

::selection,
::-moz-selection,
::-webkit-selection {
  background: #ff6b00 !important;
  background-color: #ff6b00 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  text-shadow: none !important;
}

/* Scoped wildcards — match the specificity used by dark-theme-v2
 * (`:root ::selection` ≈ 0,1,1) and kk-login-input-color.css
 * (`[data-v-c9058dbc] .van-field__control::selection` = 0,3,0). */
[data-v-c9058dbc] ::selection,
[data-v-c9058dbc] *::selection,
[data-v-c9058dbc] ::-moz-selection,
[data-v-c9058dbc] *::-moz-selection,
[data-v-c9058dbc] ::-webkit-selection,
[data-v-c9058dbc] *::-webkit-selection,
html[data-v-c9058dbc] ::selection,
body[data-v-c9058dbc] ::selection {
  background: #ff6b00 !important;
  background-color: #ff6b00 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  text-shadow: none !important;
}

/* Element-level — match .van-field__control / .van-cell input /
 * .van-cell textarea, with and without the [data-v-c9058dbc] scope. */
.van-field__control::selection,
.van-field__control::-moz-selection,
.van-field__control::-webkit-selection,
.van-cell input::selection,
.van-cell input::-moz-selection,
.van-cell input::-webkit-selection,
.van-cell textarea::selection,
.van-cell textarea::-moz-selection,
.van-cell textarea::-webkit-selection,
input.van-field__control::selection,
input.van-field__control::-moz-selection,
input.van-field__control::-webkit-selection,
textarea.van-field__control::selection,
textarea.van-field__control::-moz-selection,
textarea.van-field__control::-webkit-selection,
input::selection,
input::-moz-selection,
input::-webkit-selection,
textarea::selection,
textarea::-moz-selection,
textarea::-webkit-selection {
  background: #ff6b00 !important;
  background-color: #ff6b00 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  text-shadow: none !important;
}

/* Scoped element-level — highest priority.  Every existing pattern
 * from kk-login-input-color.css repeated here, plus the missing
 * webkit variants on the cell wrapper. */
[data-v-c9058dbc] .van-field__control::selection,
[data-v-c9058dbc] .van-field__control *::selection,
[data-v-c9058dbc] .van-field__control::-moz-selection,
[data-v-c9058dbc] .van-field__control *::-moz-selection,
[data-v-c9058dbc] .van-field__control::-webkit-selection,
[data-v-c9058dbc] .van-field__control *::-webkit-selection,
[data-v-c9058dbc] .van-cell input::selection,
[data-v-c9058dbc] .van-cell input::-moz-selection,
[data-v-c9058dbc] .van-cell input::-webkit-selection,
[data-v-c9058dbc] .van-cell textarea::selection,
[data-v-c9058dbc] .van-cell textarea::-moz-selection,
[data-v-c9058dbc] .van-cell textarea::-webkit-selection,
[data-v-c9058dbc] input.van-field__control::selection,
[data-v-c9058dbc] input.van-field__control::-moz-selection,
[data-v-c9058dbc] input.van-field__control::-webkit-selection,
[data-v-c9058dbc] textarea.van-field__control::selection,
[data-v-c9058dbc] textarea.van-field__control::-moz-selection,
[data-v-c9058dbc] textarea.van-field__control::-webkit-selection,
[data-v-c9058dbc] input::selection,
[data-v-c9058dbc] input::-moz-selection,
[data-v-c9058dbc] input::-webkit-selection,
[data-v-c9058dbc] textarea::selection,
[data-v-c9058dbc] textarea::-moz-selection,
[data-v-c9058dbc] textarea::-webkit-selection,
[data-v-c9058dbc] .van-cell::selection,
[data-v-c9058dbc] .van-cell *::selection,
[data-v-c9058dbc] .van-cell::-moz-selection,
[data-v-c9058dbc] .van-cell *::-moz-selection,
[data-v-c9058dbc] .van-cell::-webkit-selection,
[data-v-c9058dbc] .van-cell *::-webkit-selection {
  background: #ff6b00 !important;
  background-color: #ff6b00 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  text-shadow: none !important;
}
