/* Homepage discovery material, matched to http://105626.xyz/landing.css.
   Loaded last so the shared lightweight interior theme cannot flatten it. */
html:lang(zh) body {
  font-family: "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
}
html:lang(zh) :is(button, input, select, textarea) { font-family: inherit; }

html body.landing-mode .landing-discover {
  background: linear-gradient(115deg, #edf3ff13 0%, #eff5ff05 48%, #d8e8ff0c 100%);
  border: 1px solid #e4edff2e;
  border-top-color: #f2f7ff66;
  box-shadow: inset 0 1px 0 #ffffff13, inset 0 -1px 0 #ffffff06, 0 12px 40px #00000012;
  backdrop-filter: blur(4px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(4px) saturate(125%) !important;
}
html body.landing-mode .landing-discover::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(165deg, #ffffff07, transparent 40%, #ffffff03);
}
html body.landing-mode .landing-discover .landing-categories button {
  background: linear-gradient(140deg, #ffffff12, #ffffff04);
  border: 1px solid #ffffff38;
  border-top-color: #ffffff66;
  box-shadow: inset 0 1px 0 #ffffff10;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  transition: background .18s, border-color .18s;
}
html body.landing-mode .landing-discover .landing-categories button:first-child {
  background: linear-gradient(140deg, #ffffff2e, #ffffff12);
  border-color: #ffffff66;
  border-top-color: #ffffffa0;
}
html body.landing-mode .landing-discover .landing-categories button:hover {
  background: #ffffff30;
  border-color: #ffffff90;
  color: #fff;
  transform: none;
}
html body.landing-mode .landing-discover .landing-video-toggle {
  color: #fff;
  background: linear-gradient(145deg, #ffffff12, #ffffff04);
  border: 1px solid #ffffff38;
  border-top-color: #ffffff66;
  box-shadow: inset 0 1px 0 #ffffff0d;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}
html body.landing-mode .landing-discover .landing-video-toggle:hover {
  background: #ffffff24;
  border-color: #ffffff80;
  transform: none;
}
html body.landing-mode .landing-search-field {
  background: linear-gradient(125deg, #ffffff20, #ffffff0b);
  border: 1px solid #ffffff40;
  border-top-color: #ffffff80;
  box-shadow: inset 0 1px 0 #ffffff20, 0 4px 18px #0000000d;
  backdrop-filter: blur(5px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(5px) saturate(120%) !important;
  transition: background .18s, border-color .18s;
}
html body.landing-mode .landing-search-field:hover {
  background: linear-gradient(125deg, #ffffff20, #ffffff0b);
}
html body.landing-mode .landing-search-field:focus-within {
  background: #ffffff24;
  border-color: #c4d4ff;
}
html body.landing-mode .landing-discover .landing-search-submit {
  color: #fff;
  background: #ffffff20;
  border: 1px solid #ffffff36;
  box-shadow: inset 0 1px 0 #ffffff1a;
}
html body.landing-mode .landing-discover .landing-search-submit:hover {
  background: #ffffff40;
  border-color: #ffffff36;
  transform: none;
}
@media (max-width: 680px) {
  html body.landing-mode .landing-discover { background: #091020a3; }
}
@media (prefers-reduced-motion: reduce) {
  html body.landing-mode .landing-discover,
  html body.landing-mode .landing-discover * { transition: none !important; }
}

/* Preserve reference material when playback is unavailable or reduced. */
html body.landing-mode .landing-discover .landing-video-toggle:disabled {
  background: linear-gradient(145deg, #ffffff12, #ffffff04);
  border-color: #ffffff38;
  border-top-color: #ffffff66;
  transform: none;
}
