/* 首页白色主题：页脚、问题反馈和插件弹窗；保持原尺寸与交互。 */
html[data-mi-theme="light"] body.story-home .support-footer {
  color: #505050;
  border-color: #d6d6d6;
}

html[data-mi-theme="light"] body.story-home :is(.support-brand .wordmark, .support-footer h2) {
  color: #202020;
}

html[data-mi-theme="light"] body.story-home :is(.support-brand p, .support-contact p, .support-bottom) {
  color: #626262;
}

html[data-mi-theme="light"] body.story-home .support-bottom { border-color: #dedede; }
html[data-mi-theme="light"] body.story-home .support-footer a:hover { color: #111; }

html[data-mi-theme="light"] body.story-home :is(.support-open, .support-close) {
  color: #303030;
  border-color: #cdcdcd;
  background: #f8f8f8;
}

html[data-mi-theme="light"] body.story-home :is(.support-open, .support-close):hover {
  color: #111;
  border-color: #999;
  background: #ededed;
}

html[data-mi-theme="light"] body.story-home .support-dialog {
  color: #242424;
  border-color: #d1d1d1;
  background: #fff;
  box-shadow: 0 24px 100px rgb(0 0 0 / 20%);
}

html[data-mi-theme="light"] body.story-home :is(.support-dialog, .pc-dialog)::backdrop {
  background: rgb(18 18 18 / 32%);
}

html[data-mi-theme="light"] body.story-home :is(.support-intro, .support-field-meta, .support-privacy) {
  color: #616161;
}

html[data-mi-theme="light"] body.story-home .support-form :is(input, textarea) {
  color: #222;
  border-color: #bdbdbd;
  background: #f8f8f8;
}

html[data-mi-theme="light"] body.story-home .support-form :is(input, textarea)::placeholder {
  color: #6c6c6c;
  opacity: 1;
}

html[data-mi-theme="light"] body.story-home .support-form [aria-invalid="true"] { border-color: #a93829; }
html[data-mi-theme="light"] body.story-home .support-error { color: #a02e20; }
html[data-mi-theme="light"] body.story-home .support-dialog a { color: #303030; }
html[data-mi-theme="light"] body.story-home .support-dialog a:hover { color: #000; }

html[data-mi-theme="light"] body.story-home .support-submit {
  color: #fff;
  background: #242424;
}

html[data-mi-theme="light"] body.story-home .support-submit:hover:not(:disabled) { background: #080808; }

html[data-mi-theme="light"] body.story-home .support-status {
  color: #333;
  border-color: #ccc;
  background: #f2f2f2;
}

html[data-mi-theme="light"] body.story-home :is(.support-footer a, .support-footer button):focus-visible,
html[data-mi-theme="light"] body.story-home .support-dialog :focus-visible {
  outline-color: #272727;
}

/* 插件图片保持原始色彩；所有明暗变化仅作用于界面材质和文字。 */
html[data-mi-theme="light"] body.story-home .pc-entry:hover { color: #111; }
html[data-mi-theme="light"] body.story-home .pc-entry:focus-visible { outline-color: #272727; }

html[data-mi-theme="light"] body.story-home .pc-dialog {
  color: #222;
  background: #fff;
  border-color: #d1d1d1;
  box-shadow: 0 28px 100px rgb(0 0 0 / 20%);
}

html[data-mi-theme="light"] body.story-home .pc-dialog button {
  color: #303030;
  border-color: #cecece;
  background: #f5f5f5;
}

html[data-mi-theme="light"] body.story-home .pc-dialog :is(button, a):hover {
  background-color: #e9e9e9;
}

html[data-mi-theme="light"] body.story-home .pc-dialog :is(button, a, summary):focus-visible {
  outline-color: #272727;
}

html[data-mi-theme="light"] body.story-home .pc-sidebar {
  color: #282828;
  background: #f4f4f4;
  border-color: #dedede;
}

html[data-mi-theme="light"] body.story-home .pc-sidebar nav button {
  border-color: transparent;
  background: transparent;
}

html[data-mi-theme="light"] body.story-home .pc-sidebar nav button:hover { background: #e9e9e9; }

html[data-mi-theme="light"] body.story-home .pc-sidebar nav button[aria-pressed="true"] {
  color: #111;
  border-color: #bdbdbd;
  background: #e5e5e5;
}

html[data-mi-theme="light"] body.story-home :is(.pc-caption, .pc-nav-arrow, .pc-side-note,
  .pc-heading p, .pc-heading .pc-eyebrow, .pc-feature p, .pc-compat, .pc-download-area > span,
  .pc-step-number, .pc-steps p, .pc-state, .pc-connection p, .pc-help, .pc-footer, .pc-license code) {
  color: #5d5d5d;
}

html[data-mi-theme="light"] body.story-home .pc-scroll { scrollbar-color: #aaa transparent; }

html[data-mi-theme="light"] body.story-home .pc-dialog .pc-close {
  color: #505050;
  background: #f2f2f2;
}

html[data-mi-theme="light"] body.story-home .pc-dialog .pc-close:hover {
  color: #111;
  background: #e5e5e5;
}

html[data-mi-theme="light"] body.story-home .pc-feature {
  border-color: #dedede;
  background: linear-gradient(125deg, #f8f8f8, #f3f3f3);
}

html[data-mi-theme="light"] body.story-home .pc-symbol {
  background: #ededed;
  border-color: #d3d3d3;
}

html[data-mi-theme="light"] body.story-home .pc-dialog .pc-download {
  color: #fff;
  border-color: #242424;
  background: #242424;
}

html[data-mi-theme="light"] body.story-home .pc-dialog .pc-download:hover {
  color: #fff;
  border-color: #080808;
  background: #080808;
}

html[data-mi-theme="light"] body.story-home .pc-steps li {
  border-color: #dedede;
  background: #fafafa;
}

html[data-mi-theme="light"] body.story-home :is(.pc-command code, .pc-state[data-state="connected"], .pc-footer strong) {
  color: #292929;
}

html[data-mi-theme="light"] body.story-home :is(.pc-connection, .pc-footer) { border-color: #dedede; }
html[data-mi-theme="light"] body.story-home .pc-license a { color: #333; }
html[data-mi-theme="light"] body.story-home .pc-license a:hover { color: #000; }
