/* 轻语 Qingyu — 简约大方 · 强青色 */

:root {
  --qy-accent: #0d9488;
  --qy-accent-2: #14b8a6;
  --qy-accent-soft: rgba(13, 148, 136, 0.14);
  --qy-accent-softer: rgba(45, 212, 191, 0.18);
  --qy-accent-hover: #0f766e;
  --qy-ink: #115e59;
  --qy-ink-strong: #0f172a;
  --qy-muted: #5b6b73;
  --qy-line: #cce8e3;
  --qy-bg: #c8f0e8;
  --qy-surface: #ffffff;
  --qy-radius: 14px;
  --qy-shadow: 0 1px 2px rgba(13, 148, 136, 0.08), 0 14px 36px rgba(13, 148, 136, 0.14);
  --qy-font: "Manrope", "Noto Sans SC", sans-serif;
  --qy-display: "Sora", "Noto Sans SC", sans-serif;
}

/* Nucleo / FA：相对本主题 css/ 目录，兼容子目录部署 */
@font-face {
  font-family: NucleoIcons;
  src: url("../fonts/nucleo-icons.c1733565.eot");
  src: url("../fonts/nucleo-icons.c1733565.eot") format("embedded-opentype"),
    url("../fonts/nucleo-icons.42643978.woff2") format("woff2"),
    url("../fonts/nucleo-icons.2569aaea.woff") format("woff"),
    url("../fonts/nucleo-icons.f82ec6ba.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/fa-solid-900.7fb1cdd9.eot");
  src: url("../fonts/fa-solid-900.7fb1cdd9.eot?#iefix") format("embedded-opentype"),
    url("../fonts/fa-solid-900.f6121be5.woff2") format("woff2"),
    url("../fonts/fa-solid-900.93f28454.woff") format("woff"),
    url("../fonts/fa-solid-900.2aa6edf8.ttf") format("truetype");
}

@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fa-regular-400.3ac49cb3.eot");
  src: url("../fonts/fa-regular-400.3ac49cb3.eot?#iefix") format("embedded-opentype"),
    url("../fonts/fa-regular-400.9efb8697.woff2") format("woff2"),
    url("../fonts/fa-regular-400.a57bcf76.woff") format("woff"),
    url("../fonts/fa-regular-400.ece54318.ttf") format("truetype");
}

@font-face {
  font-family: "Font Awesome 5 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fa-brands-400.088a34f7.eot");
  src: url("../fonts/fa-brands-400.088a34f7.eot?#iefix") format("embedded-opentype"),
    url("../fonts/fa-brands-400.822d94f1.woff2") format("woff2"),
    url("../fonts/fa-brands-400.f4920c94.woff") format("woff"),
    url("../fonts/fa-brands-400.273dc9bf.ttf") format("truetype");
}

html,
body.qingyu-theme {
  font-family: var(--qy-font) !important;
  color: var(--qy-ink-strong) !important;
  background: var(--qy-bg) !important;
  -webkit-font-smoothing: antialiased;
}

/* 全站 ni 图标：元素与 ::before 都强制 Nucleo，正文 font 盖不掉 */
body.qingyu-theme .ni,
body.qingyu-theme i.ni,
body.qingyu-theme [class^="ni-"],
body.qingyu-theme [class*=" ni-"],
body.qingyu-theme .sidenav .nav-link i,
body.qingyu-theme .navbar-vertical .nav-link i,
body.qingyu-theme .icon-shape i,
body.qingyu-theme .btn i,
body.qingyu-theme .dropdown-item i,
body.qingyu-theme .dropdown-toggle i {
  font-family: NucleoIcons !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.qingyu-theme .ni::before,
body.qingyu-theme i.ni::before,
body.qingyu-theme [class*="ni-"]::before,
body.qingyu-theme .btn i::before,
body.qingyu-theme .dropdown-item i::before,
body.qingyu-theme .dropdown-toggle i::before {
  font-family: NucleoIcons !important;
  font-style: normal !important;
  font-weight: normal !important;
  speak: none;
}

body.qingyu-theme .btn i.ni,
body.qingyu-theme .btn .ni,
body.qingyu-theme .dropdown-toggle i.ni,
body.qingyu-theme .dropdown-toggle .ni {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-right: 0.35rem;
  vertical-align: -0.08em;
  color: inherit !important;
}

body.qingyu-theme .dropdown-item i.ni,
body.qingyu-theme .dropdown-item .ni,
body.qingyu-theme .dropdown-menu i.ni {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 1.15rem;
  margin-right: 0.45rem;
  color: var(--qy-accent) !important;
  vertical-align: -0.08em;
}

body.qingyu-theme .fas,
body.qingyu-theme .far,
body.qingyu-theme .fa {
  font-family: "Font Awesome 5 Free" !important;
}

body.qingyu-theme .fab {
  font-family: "Font Awesome 5 Brands" !important;
}

body.qingyu-theme {
  background-color: #b7ebe1 !important;
  background-image:
    radial-gradient(1100px 620px at 12% -10%, rgba(20, 184, 166, 0.55), transparent 58%),
    radial-gradient(900px 520px at 96% 6%, rgba(13, 148, 136, 0.38), transparent 56%),
    radial-gradient(760px 460px at 50% 105%, rgba(45, 212, 191, 0.28), transparent 62%),
    linear-gradient(180deg, #9fdfd3 0%, #c8f0e8 36%, #d7f5ee 100%) !important;
  background-attachment: fixed;
  min-height: 100%;
}

body.qingyu-theme::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(13, 148, 136, 0.12) 0%, transparent 42%, rgba(20, 184, 166, 0.14) 100%);
}

body.qingyu-theme #app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ---------- 竹子 / 植物装饰（登录页） ---------- */

body.qingyu-theme .qingyu-bamboo {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 右上角场景：残墙略小，贴近网络 */
body.qingyu-theme .qingyu-scene {
  position: absolute;
  left: auto;
  right: max(0.5rem, 1vw);
  top: 2.5%;
  width: min(440px, 46vw);
  height: auto;
  transform: none;
  opacity: 0.96;
  z-index: 0;
  animation: none;
  mask-image: none;
  -webkit-mask-image: none;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(8, 53, 48, 0.2));
}

body.qingyu-theme .qingyu-scene__svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(300px, 40vh);
}

body.qingyu-theme .qingyu-scene .qy-link {
  animation: qyLinkGlow 2.2s ease-in-out infinite;
}

/* 墙体本身静止；仅能量与尘埃动 */
body.qingyu-theme .qingyu-scene .qy-wall-left,
body.qingyu-theme .qingyu-scene .qy-wall-right,
body.qingyu-theme .qingyu-scene .qy-cap,
body.qingyu-theme .qingyu-scene .qy-debris,
body.qingyu-theme .qingyu-scene .qy-web,
body.qingyu-theme .qingyu-scene .qy-wall {
  animation: none !important;
  transform: none !important;
}

body.qingyu-theme .qingyu-scene .qy-dust-p {
  animation: qyDustDrift 4.5s ease-in-out infinite;
}

body.qingyu-theme .qingyu-scene .qy-dust-p--b {
  animation-delay: 1.2s;
}

body.qingyu-theme .qingyu-scene .qy-dust-p--c {
  animation-delay: 2.4s;
}

body.qingyu-theme .qingyu-scene .qy-net-out {
  animation: qyNetBreath 4s ease-in-out infinite;
  transform-origin: 382px 172px;
}

body.qingyu-theme .qingyu-scene .qy-wall {
  filter: drop-shadow(3px 0 6px rgba(0, 0, 0, 0.35));
}

@keyframes qySceneBreath {
  0%,
  100% {
    opacity: 0.48;
  }
  50% {
    opacity: 0.62;
  }
}

@keyframes qyLinkGlow {
  0%,
  100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

@keyframes qyPressurePulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.06);
  }
}

@keyframes qyEdgeHot {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes qyDustDrift {
  0% {
    opacity: 0.15;
    transform: translate(0, 4px);
  }
  40% {
    opacity: 0.55;
  }
  100% {
    opacity: 0.1;
    transform: translate(3px, -18px);
  }
}

@keyframes qyWallLeanL {
  0%,
  100% {
    transform: rotate(-0.6deg) translateX(0);
  }
  50% {
    transform: rotate(-1.5deg) translateX(-1.5px);
  }
}

@keyframes qyWallLeanR {
  0%,
  100% {
    transform: rotate(0.7deg) translateX(0);
  }
  50% {
    transform: rotate(1.7deg) translateX(1.8px);
  }
}

@keyframes qyCapTremble {
  0%,
  100% {
    transform: rotate(-1deg) translateY(0);
  }
  35% {
    transform: rotate(1.2deg) translateY(1px);
  }
  70% {
    transform: rotate(-0.8deg) translateY(0.5px);
  }
}

@keyframes qyDebrisFall {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0deg);
  }
  12% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(6px, 56px) rotate(28deg);
  }
}

@keyframes qyNetBreath {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.045);
    opacity: 1;
  }
}

body.qingyu-theme .qingyu-bamboo__side {
  position: absolute;
  bottom: -4%;
  width: min(340px, 34vw);
  filter: drop-shadow(0 14px 28px rgba(13, 148, 136, 0.22));
  transform-origin: 50% 100%;
}

body.qingyu-theme .qingyu-bamboo__side--left-back,
body.qingyu-theme .qingyu-bamboo__side--right-back {
  width: min(280px, 30vw);
  opacity: 0.34;
  filter: blur(0.4px) drop-shadow(0 10px 20px rgba(13, 148, 136, 0.12));
}

body.qingyu-theme .qingyu-bamboo__side--left-back {
  left: max(0rem, 0.2vw);
  bottom: -8%;
  width: min(220px, 24vw);
  opacity: 0.28;
  animation: qyBambooSwaySoft 10s ease-in-out infinite;
}

body.qingyu-theme .qingyu-bamboo__side--right-back {
  right: max(0rem, 0.5vw);
  bottom: 4%;
  width: min(260px, 28vw);
  opacity: 0.24;
  animation: qyBambooSwaySoft 12.5s ease-in-out infinite reverse;
}

body.qingyu-theme .qingyu-bamboo__side--left {
  left: max(0.2rem, 1vw);
  bottom: -5%;
  width: min(300px, 32vw);
  opacity: 0.8;
  animation: qyBambooSway 7.2s ease-in-out infinite;
  z-index: 1;
}

body.qingyu-theme .qingyu-bamboo__side--right {
  right: max(0.4rem, 1.2vw);
  bottom: 1%;
  width: min(320px, 34vw);
  opacity: 0.66;
  animation: qyBambooSwayR 9.2s ease-in-out infinite;
  z-index: 1;
}

body.qingyu-theme .qingyu-bamboo__svg {
  display: block;
  width: 100%;
  height: auto;
}

body.qingyu-theme .qingyu-bamboo__svg.is-flip {
  transform: scaleX(-1);
}

body.qingyu-theme .qingyu-bamboo__svg.is-back {
  opacity: 0.95;
}

/* 角落散落小草：不铺满，错落自然 */
body.qingyu-theme .qingyu-grass-patch {
  position: absolute;
  bottom: -2%;
  width: min(280px, 32vw);
  z-index: 2;
  pointer-events: none;
  transform-origin: 50% 100%;
}

body.qingyu-theme .qingyu-grass-patch__svg {
  display: block;
  width: 100%;
  height: auto;
}

body.qingyu-theme .qingyu-grass-patch--left {
  left: max(0.5rem, 1.5vw);
  width: min(300px, 34vw);
  opacity: 0.74;
  animation: qyGrassSwayL 6.8s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(13, 148, 136, 0.14));
}

body.qingyu-theme .qingyu-grass-patch--right {
  right: max(0.2rem, 1vw);
  width: min(240px, 28vw);
  bottom: 0;
  opacity: 0.5;
  animation: qyGrassSwayR 8.1s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(13, 148, 136, 0.12));
}

@keyframes qyGrassSwayL {
  0%,
  100% {
    transform: rotate(-1.4deg) translateX(0);
  }
  50% {
    transform: rotate(1.1deg) translateX(3px);
  }
}

@keyframes qyGrassSwayR {
  0%,
  100% {
    transform: rotate(1.2deg) translateX(0);
  }
  50% {
    transform: rotate(-1.5deg) translateX(-3px);
  }
}

@keyframes qyBambooSway {
  0%,
  100% {
    transform: rotate(-1.8deg) translateX(0);
  }
  50% {
    transform: rotate(1.2deg) translateX(2px);
  }
}

@keyframes qyBambooSwayR {
  0%,
  100% {
    transform: rotate(1.4deg) translateX(0);
  }
  50% {
    transform: rotate(-1.6deg) translateX(-2px);
  }
}

@keyframes qyBambooSwaySoft {
  0%,
  100% {
    transform: rotate(-0.8deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

@media (max-width: 991.98px) {
  body.qingyu-theme .qingyu-bamboo__side--left,
  body.qingyu-theme .qingyu-bamboo__side--right {
    width: min(210px, 36vw);
    opacity: 0.48;
  }

  body.qingyu-theme .qingyu-bamboo__side--left-back,
  body.qingyu-theme .qingyu-bamboo__side--right-back {
    width: min(170px, 30vw);
    opacity: 0.22;
  }
}

@media (max-width: 991.98px) {
  body.qingyu-theme .qingyu-scene {
    opacity: 0.92;
    top: 2%;
    right: 0.4rem;
    width: min(340px, 58vw);
  }

  body.qingyu-theme .qingyu-scene__svg {
    max-height: min(230px, 30vh);
  }
}

@media (max-width: 575.98px) {
  body.qingyu-theme .qingyu-bamboo__side--left,
  body.qingyu-theme .qingyu-bamboo__side--right {
    width: min(140px, 38vw);
    opacity: 0.34;
  }

  body.qingyu-theme .qingyu-bamboo__side--left-back,
  body.qingyu-theme .qingyu-bamboo__side--right-back {
    display: none;
  }

  body.qingyu-theme .qingyu-grass-patch--left,
  body.qingyu-theme .qingyu-grass-patch--right {
    width: min(160px, 42vw);
    opacity: 0.45;
  }

  body.qingyu-theme .qingyu-scene {
    opacity: 0.88;
    top: 1%;
    right: 0;
    width: min(230px, 62vw);
  }

  body.qingyu-theme .qingyu-scene__svg {
    max-height: 160px;
  }
}

/* ---------- 干掉 Argon 深蓝横条 / 默认深色块 ---------- */

body.qingyu-theme .header,
body.qingyu-theme .header.bg-default,
body.qingyu-theme .header.bg-gradient-success,
body.qingyu-theme .header.bg-gradient-info,
body.qingyu-theme .header.bg-gradient-primary,
body.qingyu-theme .bg-default,
body.qingyu-theme .bg-dark,
body.qingyu-theme .bg-gradient-default,
body.qingyu-theme section.bg-default,
body.qingyu-theme .separator-skwed,
body.qingyu-theme .separator,
body.qingyu-theme .separator-bottom,
body.qingyu-theme .separator-top,
body.qingyu-theme .shape-container,
body.qingyu-theme .page-header {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  color: inherit !important;
}

body.qingyu-theme .header::before,
body.qingyu-theme .header::after,
body.qingyu-theme .separator::before,
body.qingyu-theme .separator::after,
body.qingyu-theme .separator-skwed::before,
body.qingyu-theme .separator-skwed::after,
body.qingyu-theme .shape-container svg,
body.qingyu-theme .header svg {
  display: none !important;
}

body.qingyu-theme .bg-gradient-success,
body.qingyu-theme .bg-gradient-info,
body.qingyu-theme .bg-gradient-primary,
body.qingyu-theme .bg-gradient-danger,
body.qingyu-theme .bg-gradient-warning {
  background: transparent !important;
  background-image: none !important;
}

/* 登录页：隐藏 Argon 自带的重复站点标题 */
body.qingyu-theme.qingyu-auth-page .header h1,
body.qingyu-theme.qingyu-auth-page .header .display-2,
body.qingyu-theme.qingyu-auth-page .header .display-3,
body.qingyu-theme.qingyu-auth-page .header .display-4,
body.qingyu-theme.qingyu-auth-page .header-body h1,
body.qingyu-theme.qingyu-auth-page .qingyu-hide-dup {
  display: none !important;
}

/* 原深蓝头图上的白字 → 浅青底上改为深青绿，保证可读 */
body.qingyu-theme.qingyu-auth-page .header,
body.qingyu-theme.qingyu-auth-page .header *,
body.qingyu-theme.qingyu-auth-page .header-body,
body.qingyu-theme.qingyu-auth-page .header-body *,
body.qingyu-theme.qingyu-auth-page .text-white,
body.qingyu-theme.qingyu-auth-page .text-light,
body.qingyu-theme.qingyu-auth-page .text-white-50,
body.qingyu-theme.qingyu-auth-page p.text-lead,
body.qingyu-theme.qingyu-auth-page .lead,
body.qingyu-theme.qingyu-auth-page .description {
  color: var(--qy-ink) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.qingyu-theme.qingyu-auth-page .header p,
body.qingyu-theme.qingyu-auth-page .header-body p,
body.qingyu-theme.qingyu-auth-page .header .text-muted,
body.qingyu-theme.qingyu-auth-page .header-body .text-muted {
  color: #3f6f69 !important;
  opacity: 0.95 !important;
}

/* 非登录页也避免白字落在浅底上 */
body.qingyu-theme .main-content .text-white:not(.btn):not(.badge):not(.nav-link.active),
body.qingyu-theme .card .text-white:not(.btn):not(.badge),
body.qingyu-theme .header .text-white:not(.btn):not(.badge) {
  color: var(--qy-ink) !important;
}

/* ---------- 登录 / 注册品牌 ---------- */

body.qingyu-theme .qingyu-auth-brand {
  text-align: center;
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  animation: qyBrandIn 0.65s ease both;
}

body.qingyu-theme .qingyu-auth-brand__name {
  font-family: var(--qy-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 3.6rem);
  letter-spacing: 0.16em;
  color: var(--qy-accent);
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 8px 30px rgba(13, 148, 136, 0.18);
}

body.qingyu-theme .qingyu-auth-brand__tagline {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  color: var(--qy-ink);
  letter-spacing: 0.08em;
  font-weight: 500;
  opacity: 0.85;
}

@keyframes qyBrandIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.qingyu-theme .qingyu-auth-shell {
  animation: qyPanelIn 0.5s ease 0.06s both;
}

@keyframes qyPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 卡片 / 登录框：青色边与光晕 ---------- */

body.qingyu-theme .card,
body.qingyu-theme .card.shadow,
body.qingyu-theme .card.border-0,
body.qingyu-theme .shadow,
body.qingyu-theme .shadow-lg {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(13, 148, 136, 0.22) !important;
  border-radius: var(--qy-radius) !important;
  box-shadow: var(--qy-shadow) !important;
  backdrop-filter: blur(8px);
}

body.qingyu-theme.qingyu-auth-page .card {
  border-top: 3px solid var(--qy-accent) !important;
  box-shadow:
    0 1px 2px rgba(13, 148, 136, 0.06),
    0 18px 40px rgba(13, 148, 136, 0.14) !important;
}

body.qingyu-theme .card-header,
body.qingyu-theme .card-footer {
  background: transparent !important;
  border-color: rgba(13, 148, 136, 0.12) !important;
}

body.qingyu-theme.qingyu-auth-page .card-header h1,
body.qingyu-theme.qingyu-auth-page .card-header h2,
body.qingyu-theme.qingyu-auth-page .card-header h3,
body.qingyu-theme.qingyu-auth-page .card-title {
  color: var(--qy-accent) !important;
  letter-spacing: 0.04em;
}

body.qingyu-theme .form-control,
body.qingyu-theme .el-input__inner,
body.qingyu-theme .ant-input,
body.qingyu-theme input.form-control,
body.qingyu-theme .input-group-alternative .form-control {
  border-radius: 12px !important;
  border: 1px solid rgba(13, 148, 136, 0.22) !important;
  background: #f7fffc !important;
  color: var(--qy-ink-strong) !important;
  box-shadow: none !important;
  min-height: 46px;
}

body.qingyu-theme .input-group-text {
  background: #f0fffb !important;
  border-color: rgba(13, 148, 136, 0.22) !important;
  color: var(--qy-accent) !important;
}

body.qingyu-theme .form-control:focus,
body.qingyu-theme .el-input__inner:focus,
body.qingyu-theme .ant-input:focus,
body.qingyu-theme .input-group-alternative .form-control:focus {
  border-color: var(--qy-accent) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px var(--qy-accent-soft) !important;
}

/* ---------- 按钮 ---------- */

body.qingyu-theme .btn-primary,
body.qingyu-theme .btn-success,
body.qingyu-theme .btn-info,
body.qingyu-theme .el-button--primary,
body.qingyu-theme .ant-btn-primary,
body.qingyu-theme .btn.btn-primary {
  background: linear-gradient(135deg, var(--qy-accent-2), var(--qy-accent)) !important;
  border-color: var(--qy-accent) !important;
  color: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.28) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease !important;
}

body.qingyu-theme .btn-primary:hover,
body.qingyu-theme .btn-success:hover,
body.qingyu-theme .btn-info:hover,
body.qingyu-theme .el-button--primary:hover,
body.qingyu-theme .ant-btn-primary:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.34) !important;
}

body.qingyu-theme .btn-outline-primary,
body.qingyu-theme .btn-neutral {
  border-radius: 12px !important;
  border-color: rgba(13, 148, 136, 0.35) !important;
  color: var(--qy-accent) !important;
  background: rgba(255, 255, 255, 0.8) !important;
}

body.qingyu-theme .btn-outline-primary:hover,
body.qingyu-theme .btn-neutral:hover {
  border-color: var(--qy-accent) !important;
  color: var(--qy-accent-hover) !important;
  background: var(--qy-accent-soft) !important;
}

/* ---------- 侧栏 / 顶栏 ---------- */

body.qingyu-theme .sidenav,
body.qingyu-theme .navbar-vertical,
body.qingyu-theme .g-sidenav-show .sidenav,
body.qingyu-theme nav.sidenav {
  background: rgba(214, 245, 237, 0.96) !important;
  backdrop-filter: blur(12px);
  border-right: 1px solid rgba(13, 148, 136, 0.2) !important;
  box-shadow: none !important;
  animation: qySidebarIn 0.4s ease both;
}

@keyframes qySidebarIn {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

body.qingyu-theme .sidenav .navbar-brand,
body.qingyu-theme .navbar-brand,
body.qingyu-theme .sidenav-header {
  color: var(--qy-accent) !important;
  font-family: var(--qy-display) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
}

body.qingyu-theme .qingyu-side-brand {
  display: block;
  padding: 0.4rem 0.25rem 1rem;
  font-family: var(--qy-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--qy-accent);
  line-height: 1.2;
}

body.qingyu-theme .sidenav .nav-link,
body.qingyu-theme .navbar-vertical .nav-link {
  color: #4b6a66 !important;
  border-radius: 12px !important;
  margin: 0.18rem 0.75rem !important;
  font-weight: 500 !important;
}

body.qingyu-theme .sidenav .nav-link:hover,
body.qingyu-theme .navbar-vertical .nav-link:hover {
  color: var(--qy-accent) !important;
  background: var(--qy-accent-soft) !important;
}

body.qingyu-theme .sidenav .nav-link.active,
body.qingyu-theme .navbar-vertical .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--qy-accent-2), var(--qy-accent)) !important;
  box-shadow: 0 8px 16px rgba(13, 148, 136, 0.25) !important;
  font-weight: 600 !important;
}

body.qingyu-theme .sidenav .nav-link i,
body.qingyu-theme .navbar-vertical .nav-link i {
  color: var(--qy-accent) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  min-width: 1.25rem;
  margin-right: 0.55rem;
  font-size: 0.95rem;
  vertical-align: middle;
}

body.qingyu-theme .sidenav .nav-link.active i,
body.qingyu-theme .navbar-vertical .nav-link.active i {
  color: #fff !important;
}

body.qingyu-theme .navbar-top,
body.qingyu-theme .navbar.navbar-top {
  background: rgba(200, 240, 232, 0.9) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 148, 136, 0.18) !important;
  box-shadow: none !important;
}

/* ---------- 主内容 ---------- */

body.qingyu-theme .main-content {
  background: transparent !important;
}

body.qingyu-theme .main-content > .container-fluid,
body.qingyu-theme .container-fluid {
  animation: qyMainIn 0.35s ease both;
}

@keyframes qyMainIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.qingyu-theme h1,
body.qingyu-theme h2,
body.qingyu-theme h3,
body.qingyu-theme .h1,
body.qingyu-theme .h2,
body.qingyu-theme .h3 {
  color: var(--qy-ink) !important;
  font-weight: 650 !important;
  letter-spacing: -0.015em;
}

body.qingyu-theme .text-muted,
body.qingyu-theme .text-gray,
body.qingyu-theme small {
  color: var(--qy-muted) !important;
}

body.qingyu-theme .text-primary,
body.qingyu-theme .text-success,
body.qingyu-theme .text-info {
  color: var(--qy-accent) !important;
}

body.qingyu-theme .badge,
body.qingyu-theme .badge-pill,
body.qingyu-theme .el-tag,
body.qingyu-theme .ant-tag {
  border-radius: 999px !important;
  font-weight: 500 !important;
  border: 1px solid rgba(13, 148, 136, 0.22) !important;
  background: var(--qy-accent-soft) !important;
  color: var(--qy-accent) !important;
  box-shadow: none !important;
}

body.qingyu-theme .badge-success,
body.qingyu-theme .badge-primary,
body.qingyu-theme .badge-info,
body.qingyu-theme .el-tag--success {
  background: var(--qy-accent-soft) !important;
  color: var(--qy-accent) !important;
  border-color: rgba(13, 148, 136, 0.25) !important;
}

body.qingyu-theme .table,
body.qingyu-theme .el-table,
body.qingyu-theme .ant-table {
  color: var(--qy-ink-strong) !important;
}

body.qingyu-theme .table thead th,
body.qingyu-theme .el-table th {
  background: #dff7f1 !important;
  color: var(--qy-ink) !important;
  border-color: rgba(13, 148, 136, 0.14) !important;
  font-weight: 600 !important;
}

body.qingyu-theme .table td,
body.qingyu-theme .el-table td {
  border-color: rgba(13, 148, 136, 0.1) !important;
}

body.qingyu-theme .progress {
  background: rgba(13, 148, 136, 0.1) !important;
}

body.qingyu-theme .progress-bar,
body.qingyu-theme .el-progress-bar__inner {
  background-color: var(--qy-accent) !important;
  background-image: linear-gradient(90deg, var(--qy-accent-2), var(--qy-accent)) !important;
}

body.qingyu-theme .bg-primary,
body.qingyu-theme .bg-success,
body.qingyu-theme .bg-info {
  background-color: var(--qy-accent) !important;
  background-image: none !important;
}

body.qingyu-theme a {
  color: var(--qy-accent);
}

body.qingyu-theme a:hover {
  color: var(--qy-accent-hover);
}

/* 仪表盘 stats 右上角小图标（Nucleo） */
body.qingyu-theme .icon.icon-shape,
body.qingyu-theme .icon-shape {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--qy-accent-soft) !important;
  color: var(--qy-accent) !important;
  box-shadow: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.qingyu-theme .icon-shape i,
body.qingyu-theme .icon.icon-shape i,
body.qingyu-theme .icon-shape .ni,
body.qingyu-theme .card .icon-shape.text-white,
body.qingyu-theme .card .icon-shape.text-white i {
  color: var(--qy-accent) !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 1.25rem;
  line-height: 1;
}

body.qingyu-theme .icon-shape.bg-gradient-success,
body.qingyu-theme .icon-shape.bg-gradient-info,
body.qingyu-theme .icon-shape.bg-gradient-primary,
body.qingyu-theme .icon-shape.bg-gradient-danger,
body.qingyu-theme .icon-shape.bg-gradient-warning,
body.qingyu-theme .icon-shape.bg-gradient-red,
body.qingyu-theme .icon-shape.bg-gradient-orange,
body.qingyu-theme .icon-shape.bg-gradient-green,
body.qingyu-theme .icon-shape.bg-primary,
body.qingyu-theme .icon-shape.bg-success,
body.qingyu-theme .icon-shape.bg-info,
body.qingyu-theme .icon-shape.bg-default {
  background: var(--qy-accent-soft) !important;
  background-image: none !important;
  color: var(--qy-accent) !important;
}

body.qingyu-theme.qingyu-has-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--qy-bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

@media (max-width: 991.98px) {
  body.qingyu-theme .sidenav,
  body.qingyu-theme .navbar-vertical {
    border-right: none !important;
    border-bottom: 1px solid rgba(13, 148, 136, 0.14) !important;
  }

  body.qingyu-theme .qingyu-auth-brand__name {
    font-size: 2.4rem;
  }
}
