/* 站点级样式：只补 Layui 没覆盖的布局骨架与小组件，尽量复用 layui-* 类 */
body {
  background: #f2f2f2;
  color: #333;
}

code {
  padding: 1px 5px;
  background: rgba(30, 159, 255, 0.09);
  border-radius: 2px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: relative;
  z-index: 10;
  background: #20222a;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.site-brand:hover {
  color: #fff;
  text-decoration: none;
}

.site-brand-sub {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 400;
}

.site-nav {
  float: none;
  background: transparent;
}

.site-nav .layui-nav-item a {
  color: rgba(255, 255, 255, 0.72);
}

.site-nav .layui-nav-item a:hover,
.site-nav .layui-nav-item.layui-this a {
  color: #fff;
}

.site-logout-form {
  margin: 0;
}

.site-logout-btn {
  display: block;
  width: 100%;
  padding: 0 20px;
  border: 0;
  background: none;
  color: #333;
  font-size: 14px;
  line-height: 36px;
  text-align: left;
  cursor: pointer;
}

.site-logout-btn:hover {
  background: #f2f2f2;
  color: #000;
}

/* ---------- 主体 ---------- */
/* 只设纵向内边距，横向 15px 由 .layui-container 在窄屏提供 */
.site-main {
  min-height: calc(100vh - 145px);
  padding-top: 24px;
  padding-bottom: 40px;
}

.site-footer {
  padding: 16px 0;
  background: #fff;
  border-top: 1px solid #e6e6e6;
  color: #999;
  font-size: 13px;
}

/* ---------- 标题区 ---------- */
.site-hero {
  margin-bottom: 18px;
}

.site-hero h1 {
  margin: 10px 0 6px;
  font-size: 26px;
  font-weight: 600;
}

.site-muted {
  margin: 0;
  color: #888;
}

.site-hero .site-muted {
  max-width: 72ch;
}

/* ---------- 卡片 ---------- */
.layui-card {
  margin-bottom: 15px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Layui 栅格靠浮动布局，仅靠 ::after 清浮动在部分组合下不生效，
   这里用 BFC 包住整行，避免后面的 flex 容器（工具栏、筛选条）被浮动挤成 0 宽 */
.layui-row {
  display: flow-root;
}

.layui-card-header {
  color: #333;
  font-weight: 600;
}

/* ---------- 提示 ---------- */
.site-flashes {
  margin-bottom: 15px;
}

.site-flash {
  margin: 0 0 10px;
}

.site-flash-success {
  border-left-color: #16b777;
}

.site-flash-error {
  border-left-color: #ff5722;
}

.site-flash-warning {
  border-left-color: #ffb800;
}

.site-flash-info {
  border-left-color: #1e9fff;
}

.site-alert {
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-left: 4px solid #ff5722;
  border-radius: 2px;
}

.site-hint {
  margin: 0 0 12px;
  font-size: 13px;
}

.site-hint-text {
  margin-top: 6px;
  color: #999;
  font-size: 12px;
}

/* ---------- 搜索与筛选 ---------- */
.site-search {
  margin-bottom: 12px;
}

.site-search-row {
  display: flex;
  gap: 10px;
}

.site-search-row .layui-input {
  height: 42px;
}

.site-search-row .layui-btn {
  flex: none;
  height: 42px;
  line-height: 42px;
}

.site-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
}

.site-filter {
  display: inline-block;
  padding: 4px 12px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  color: #666;
  font-size: 13px;
}

.site-filter:hover {
  border-color: #1e9fff;
  color: #1e9fff;
  text-decoration: none;
}

.site-filter.is-active {
  background: #1e9fff;
  border-color: #1e9fff;
  color: #fff;
}

.site-filter-sep {
  width: 1px;
  height: 18px;
  margin: 0 4px;
  background: #e6e6e6;
}

/* ---------- 项目卡片 ---------- */
.site-project {
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.site-project:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.site-project .layui-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.site-project-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* 详情页标题与平台徽标挨在一起，不拉到两端 */
.site-detail-head {
  justify-content: flex-start;
  gap: 10px;
}

.site-project-head h1 {
  margin: 0;
  font-size: 24px;
}

.site-project-name {
  color: #1e9fff;
  font-size: 16px;
  font-weight: 600;
}

.site-project-summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.7;
  min-height: 44px;
}

.site-project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 12px;
}

.site-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  background: #f6f6f6;
  border-radius: 3px;
  color: #666;
  font-size: 12px;
}

.site-project-date {
  margin-left: auto;
}

.site-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid rgba(30, 159, 255, 0.18);
  border-radius: 999px;
  background: #f4f8ff;
  color: var(--tag-color, #1e9fff);
  font-size: 12px;
  text-decoration: none;
}

.site-tag:hover {
  color: var(--tag-color, #0d7fd6);
  text-decoration: none;
}

/* ---------- 标签云 ---------- */
.site-tagcloud {
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
}

.site-tagcloud-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.site-tagcloud-head h2 {
  margin: 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.site-tagcloud-current {
  color: #999;
  font-size: 12px;
}

.site-tagcloud-current a {
  color: #ff5722;
}

.site-tagcloud-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.site-cloud-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid rgba(91, 115, 145, 0.18);
  border-radius: 999px;
  background: #f6f8fb;
  color: #5b7391;
  line-height: 1.5;
  text-decoration: none;
}

.site-cloud-tag:hover {
  color: #1e9fff;
  text-decoration: none;
}

.site-cloud-tag.level-1 {
  font-size: 12px;
}

.site-cloud-tag.level-2 {
  font-size: 13px;
}

.site-cloud-tag.level-3 {
  font-size: 14px;
}

.site-cloud-tag.level-4 {
  font-size: 15px;
}

.site-cloud-tag.is-active {
  color: #1e9fff;
  font-weight: 600;
}

.site-cloud-count {
  margin-left: 3px;
  color: #bbb;
  font-size: 11px;
}

/* 后台标签改名输入框 */
.site-tag-input {
  width: 160px;
  height: 28px;
}

.site-color-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  vertical-align: middle;
}

.site-color-select {
  width: 92px;
  font-family: Consolas, monospace;
}

/* ---------- 标签自动补全 ---------- */
.site-input-wrap {
  position: relative;
}

.tag-suggest {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 260px;
  margin-top: 4px;
  padding: 4px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.tag-suggest.is-open {
  display: block;
}

.tag-suggest-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 3px;
  background: none;
  text-align: left;
  cursor: pointer;
}

.tag-suggest-item:hover,
.tag-suggest-item.is-active {
  background: #f2f7ff;
}

.tag-suggest-name {
  font-size: 13px;
  font-weight: 600;
}

.tag-suggest-meta {
  color: #999;
  font-size: 12px;
}

.site-empty {
  padding: 28px 0;
  color: #999;
  text-align: center;
}

.site-links {
  margin: 0;
  padding-left: 18px;
  color: #666;
}

.site-links li {
  margin-bottom: 8px;
}

/* ---------- 分页 ---------- */
.site-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 22px 0 6px;
}

.site-page {
  min-width: 34px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  color: #666;
  font-size: 13px;
  text-align: center;
}

.site-page:hover {
  border-color: #1e9fff;
  color: #1e9fff;
  text-decoration: none;
}

.site-page.is-active {
  background: #1e9fff;
  border-color: #1e9fff;
  color: #fff;
}

.site-page.is-disabled,
.site-page.is-gap {
  color: #bbb;
  cursor: default;
}

/* ---------- 详情 ---------- */
.site-prose {
  color: #444;
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Markdown 渲染后的介绍：排版交给标签，不能再 pre-wrap（否则标签间多余空白） */
.site-prose-md {
  white-space: normal;
}

.site-prose-md > :first-child {
  margin-top: 0;
}

.site-prose-md > :last-child {
  margin-bottom: 0;
}

.site-prose-md h1,
.site-prose-md h2,
.site-prose-md h3 {
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.site-prose-md p,
.site-prose-md ul,
.site-prose-md ol,
.site-prose-md blockquote {
  margin: 0 0 10px;
}

.site-prose-md ul,
.site-prose-md ol {
  padding-left: 22px;
}

.site-prose-md blockquote {
  padding: 4px 12px;
  border-left: 3px solid #e6e6e6;
  color: #777;
}

.site-prose-md code {
  padding: 1px 5px;
  background: #f5f5f5;
  border-radius: 2px;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

.site-prose-md pre {
  overflow-x: auto;
  margin: 0 0 12px;
  padding: 12px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 3px;
}

.site-prose-md pre code {
  padding: 0;
  background: none;
}

.site-prose-md a {
  color: #1e9fff;
}

.site-prose-md img {
  max-width: 100%;
}

.site-prose-md table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.site-prose-md th,
.site-prose-md td {
  padding: 6px 8px;
  border: 1px solid #e6e6e6;
  text-align: left;
}

.site-meta-list {
  margin: 16px 0 0;
  font-size: 13px;
}

.site-meta-list dt {
  margin-top: 10px;
  color: #999;
  font-size: 12px;
}

.site-meta-list dd {
  margin: 2px 0 0;
  color: #333;
  word-break: break-all;
}

/* ---------- 表单 ---------- */
/* layui 给输入类显式设了 display，会盖掉 UA 的 [hidden]{display:none} */
[hidden] {
  display: none !important;
}

/* 必填字段：标签前红色星号 */
.site-required {
  white-space: nowrap;
}

.site-required::before {
  content: "*";
  margin-right: 2px;
  color: #ff5722;
}

.site-field-error {
  padding-top: 4px;
  color: #ff5722;
  font-size: 12px;
}

/* ---------- Markdown 编辑器（EasyMDE） ---------- */
/* 编辑器宽度跟随 layui 的输入列，避免出现横向溢出 */
.editor-toolbar,
.CodeMirror,
.EasyMDEContainer .editor-statusbar {
  width: 100%;
  box-sizing: border-box;
}

.CodeMirror {
  border-color: #e6e6e6;
  font-size: 14px;
}

.site-md-counter {
  margin: 4px 0 0;
  color: #999;
  font-size: 12px;
}

.site-md-counter.is-over {
  color: #ff5722;
}

.site-field-error-block {
  margin-top: -8px;
  padding: 0 0 8px 110px;
}

.site-form-tight {
  margin-top: -8px;
  margin-bottom: 0;
}

.site-link {
  color: #1e9fff;
  font-size: 12px;
}

.site-inline {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 0;
}

/* ---------- 登录 / 注册 / 提交 ---------- */
.site-auth {
  box-sizing: border-box;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 24px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.site-auth.site-form-wide {
  max-width: 720px;
}

.site-auth h1 {
  margin: 0 0 6px;
  font-size: 22px;
}

.site-auth .layui-form {
  margin-top: 16px;
}

.site-auth-alt {
  margin: 16px 0 0;
  color: #888;
  font-size: 13px;
  text-align: center;
}

/* 登录页底部「注册 / 忘记密码」同行分隔符 */
.site-auth-sep {
  margin: 0 8px;
  color: #ccc;
}

/* 提交中按钮（如「发送重置链接」）的禁用视觉反馈 */
.layui-btn.is-busy,
.layui-btn[disabled],
.layui-btn.layui-btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.site-captcha-field,
.layui-form-item .site-captcha-field {
  width: 140px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Layui 的 .layui-form-item .layui-input-inline 自带 190px，需要更高优先级覆盖 */
.layui-form-item .site-captcha-img {
  width: 120px;
  height: 38px;
  vertical-align: middle;
}

.site-captcha-image {
  display: block;
  box-sizing: border-box;
  width: 120px;
  height: 38px;
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  cursor: pointer;
}

/* ---------- 表格 ---------- */
.site-table-wrap {
  overflow-x: auto;
}

.site-sub {
  color: #999;
  font-size: 12px;
}

.site-right {
  text-align: right;
}

.site-row-self td {
  background: #fafafa;
}

.site-select {
  height: 30px;
  padding: 0 6px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  color: #333;
  font-size: 13px;
}

.site-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
}

.site-dot-ok {
  background: #16b777;
}

.site-dot-off {
  background: #c2c2c2;
}

/* ---------- 错误页 ---------- */
.site-error {
  max-width: 520px;
  margin: 40px auto;
  text-align: center;
}

.site-error-code {
  margin: 0;
  color: #1e9fff;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}

.site-error h1 {
  margin: 12px 0;
  font-size: 20px;
}

.site-error .site-muted {
  margin-bottom: 20px;
}

/* ---------- 后台管理：左菜单 + 右页面 ---------- */
.admin-body {
  background: #f2f2f2;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

/* 左侧菜单：整列固定、可独立滚动 */
.admin-side {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 210px;
  overflow-y: auto;
  background: #20222a;
}

.admin-brand {
  display: flex;
  flex: none;
  align-items: baseline;
  gap: 8px;
  padding: 18px 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.admin-brand:hover {
  color: #fff;
  text-decoration: none;
}

.admin-brand-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 400;
}

.admin-nav {
  flex: 1;
  float: none;
  background: transparent;
}

.admin-nav .layui-nav-item a {
  color: rgba(255, 255, 255, 0.72);
}

.admin-nav .layui-nav-item a:hover,
.admin-nav .layui-nav-item.layui-this a {
  color: #fff;
}

.admin-nav .layui-icon {
  margin-right: 8px;
  font-size: 15px;
}

.admin-back-fore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
  padding: 6px 14px;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  color: #666;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.admin-back-fore:hover {
  color: #1e9fff;
  border-color: #1e9fff;
  text-decoration: none;
}

.admin-back-fore .layui-icon {
  font-size: 14px;
}

/* 右侧：顶部栏 + 当前菜单页面 */
.admin-main-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  margin-left: 210px;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.admin-topbar-title {
  color: #333;
  font-size: 15px;
  font-weight: 600;
}

.admin-crumb-root {
  color: #999;
  font-weight: 400;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.admin-user-nav {
  float: none;
  background: transparent;
}

.admin-user-nav .layui-nav-item {
  line-height: 56px;
}

.admin-user-nav .layui-nav-item > a {
  color: #333;
}

.admin-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  background: #fff;
  color: #666;
  cursor: pointer;
}

.admin-content {
  flex: 1;
  padding: 20px 24px 32px;
}

.admin-nav-mask {
  display: none;
}

.admin-page-title {
  margin-bottom: 16px;
}

.admin-page-title h1 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 600;
}

.admin-stat .layui-card-body {
  padding: 18px 20px;
}

.admin-stat-label {
  color: #999;
  font-size: 13px;
}

.admin-stat-value {
  margin: 6px 0 4px;
  color: #333;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.admin-stat-value.admin-stat-warn {
  color: #ffb800;
}

.admin-stat-value.admin-stat-danger {
  color: #ff5722;
}

.admin-stat-sub {
  color: #999;
  font-size: 12px;
}

.admin-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
  font-size: 12px;
}

.admin-bar-label {
  width: 44px;
}

.admin-bar-track {
  flex: 1;
  height: 10px;
  overflow: hidden;
  background: #f2f2f2;
  border-radius: 5px;
}

.admin-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1e9fff, #4fb0ff);
  border-radius: 5px;
}

.admin-bar-value {
  width: 28px;
  text-align: right;
}

.admin-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.admin-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.admin-list li:last-child {
  border-bottom: 0;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.admin-search .layui-input {
  width: 260px;
  height: 32px;
}

.admin-search .layui-btn {
  margin: 0;
}

/* 批量审核条：贴在表格上方，勾了才亮按钮 */
.admin-batch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #fafafa;
}

.admin-batch-label {
  margin-right: 6px;
  color: #666;
  font-size: 13px;
}

.admin-batch .layui-btn[disabled] {
  opacity: 0.5;
}

.admin-cell-check {
  width: 34px;
  text-align: center;
}

.admin-cell-check input[type="checkbox"],
.layui-table th input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
}

.admin-content .layui-table {
  margin-bottom: 0;
}

.admin-footer {
  padding: 14px 24px;
  background: #fff;
  border-top: 1px solid #e6e6e6;
  color: #999;
  font-size: 12px;
}

/* ---------- 窄屏 ---------- */
@media (max-width: 768px) {
  .site-header-inner {
    height: auto;
    padding: 8px 15px;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .site-auth {
    padding: 18px;
  }

  .site-field-error-block {
    padding-left: 0;
  }

  .site-project-date {
    margin-left: 0;
  }

  .admin-search .layui-input {
    width: 100%;
  }
}

/* 后台：窄屏时左菜单改为抽屉，点顶部按钮展开 */
@media (max-width: 900px) {
  .admin-side {
    z-index: 20;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }

  .admin-nav-open .admin-side {
    transform: none;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
  }

  .admin-nav-open .admin-nav-mask {
    position: fixed;
    inset: 0;
    z-index: 15;
    display: block;
    background: rgba(0, 0, 0, 0.35);
  }

  .admin-main-panel {
    margin-left: 0;
  }

  .admin-toggle {
    display: inline-flex;
  }

  .admin-topbar {
    padding: 0 15px;
  }

  .admin-back-fore {
    margin-right: 10px;
    padding: 6px 10px;
  }

  .admin-back-fore span {
    display: none;
  }

  .admin-content {
    padding: 15px 15px 28px;
  }
}

/* 手机宽度：表单标签改为上方堆叠，验证码输入与图片并排 */
@media (max-width: 560px) {
  .site-auth .layui-form-label {
    float: none;
    display: block;
    width: auto;
    padding: 0 0 4px;
    text-align: left;
  }

  .site-auth .layui-input-block {
    margin-left: 0;
  }

  .site-auth .site-captcha-field {
    display: inline-block;
    width: calc(100% - 130px);
    margin: 0 8px 0 0;
  }

  .site-auth .site-captcha-img {
    display: inline-block;
    width: 120px;
    margin: 0;
  }
}

/* ================================================================
   首页
   所有规则限定在 .home-body 下，避免影响详情、后台等其他页面。
   ================================================================ */
.home-body {
  background:
    radial-gradient(circle at 12% 0, rgba(47, 124, 255, 0.07), transparent 30rem),
    radial-gradient(circle at 92% 26%, rgba(66, 211, 255, 0.05), transparent 26rem),
    #f5f7fb;
}

.home-body .site-main {
  padding-top: 20px;
  padding-bottom: 56px;
}

/* ---------- Hero ---------- */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 48px 46px 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 8%, rgba(47, 124, 255, 0.32), transparent 38%),
    radial-gradient(circle at 8% 96%, rgba(22, 183, 119, 0.2), transparent 38%),
    linear-gradient(132deg, #0b1120 0%, #121c33 54%, #0b1930 100%);
  box-shadow: 0 30px 70px -40px rgba(11, 24, 52, 0.85);
  color: #fff;
}

/* 粒子画布：盖在网格/光晕之上、内容之下 */
.home-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
  pointer-events: none;
}

.home-hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.home-hero-orb-a {
  top: -190px;
  right: -110px;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(66, 211, 255, 0.34), transparent 66%);
}

.home-hero-orb-b {
  bottom: -220px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22, 183, 119, 0.28), transparent 66%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 36px;
}

.home-hero-copy {
  min-width: 0;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #9fc6ff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.home-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #42d3ff;
  box-shadow: 0 0 0 4px rgba(66, 211, 255, 0.12);
}

.home-hero h1 {
  max-width: 12em;
  margin: 20px 0 14px;
  background: linear-gradient(100deg, #ffffff 12%, #b9d7ff 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #fff;
  -webkit-text-fill-color: transparent;
  font-size: clamp(32px, 4.3vw, 50px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.14;
}

.home-hero-lead {
  max-width: 40em;
  margin: 0;
  color: rgba(224, 235, 255, 0.7);
  font-size: 15px;
  line-height: 1.9;
}

.home-hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 28px;
  color: rgba(214, 228, 250, 0.66);
  font-size: 13px;
}

.home-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.home-stat b {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.home-stat-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.14);
}

/* 右侧装饰：轨道卡片 + 悬浮平台标签 */
.home-hero-art {
  position: relative;
  min-height: 260px;
}

.home-orbit {
  position: absolute;
  inset: 0;
}

.home-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.home-orbit-ring-sm {
  width: 250px;
  height: 250px;
}

.home-orbit-ring-lg {
  width: 340px;
  height: 340px;
  border-style: dashed;
  opacity: 0.55;
}

.home-orbit-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 236px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%) rotate(-4deg);
}

.home-orbit-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
}

.home-orbit-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.home-orbit-dots span:first-child {
  background: #ff6b6b;
}

.home-orbit-dots span:nth-child(2) {
  background: #ffd76a;
}

.home-orbit-dots span:nth-child(3) {
  background: #4ade80;
}

.home-orbit-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dce9ff;
  font-size: 14px;
  font-weight: 600;
}

.home-orbit-line .layui-icon {
  color: #ffd76a;
  font-size: 15px;
}

.home-orbit-bar {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.home-orbit-bar span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #42d3ff, #2f7cff);
}

.home-orbit-code {
  margin-top: 14px;
  color: rgba(220, 233, 255, 0.55);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11px;
}

.home-float {
  position: absolute;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 24px -18px #000;
  color: #cfe4ff;
  font-size: 12px;
  backdrop-filter: blur(8px);
  animation: home-float-motion 6s ease-in-out infinite;
}

.home-float-gh {
  top: 10%;
  right: 0;
  animation-delay: -1s;
}

.home-float-ge {
  bottom: 12%;
  left: 2%;
  animation-delay: -3s;
}

.home-float-tag {
  right: -4px;
  bottom: 34%;
  color: #8ce3c0;
  animation-delay: -4.5s;
}

@keyframes home-float-motion {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* 搜索：嵌在深色 Hero 底部 */
.home-search {
  position: relative;
  z-index: 2;
  margin: 30px 0 0;
}

.home-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.home-search-field {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
}

.home-search-icon {
  position: absolute;
  left: 16px;
  z-index: 1;
  color: #7f8ea8;
  font-size: 18px;
  pointer-events: none;
}

.home-search-field .layui-input {
  width: 100%;
  height: 48px;
  padding: 0 52px 0 44px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
  color: #243044;
  font-size: 14px;
}

.home-search-field .layui-input:focus {
  box-shadow: 0 0 0 3px rgba(66, 211, 255, 0.18);
}

.home-search-kbd {
  position: absolute;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 1px solid #d9e0ea;
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #f8fafc;
  color: #8a96a8;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  line-height: 1;
}

.home-search-clear {
  position: absolute;
  right: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #8a96a8;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.home-search-clear:hover {
  background: #f0f3f8;
  color: #3a4a5c;
}

.home-search-clear.is-visible {
  display: inline-flex;
}

/* 有内容时隐藏 kbd，显示清空按钮 */
.home-search-field:has(.home-search-clear.is-visible) .home-search-kbd {
  display: none;
}

.home-body .home-search-btn {
  flex: none;
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #2f7cff, #0d63f3);
  box-shadow: 0 10px 22px -12px rgba(47, 124, 255, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 48px;
}

.home-body .home-search-btn:hover {
  background: linear-gradient(135deg, #4a8dff, #1a6fff);
  color: #fff;
}

/* ---------- 筛选条 ---------- */
.home-body .home-filters {
  gap: 6px;
  margin: 0 0 24px;
  padding: 8px;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px -28px rgba(20, 35, 70, 0.45);
}

.site-filters-label {
  padding: 0 6px;
  color: #98a3b5;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.home-body .site-filter {
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5d6b80;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.home-body .site-filter:hover {
  background: #f2f6fc;
  color: #1d6fe8;
  text-decoration: none;
}

.home-body .site-filter.is-active {
  background: #e9f2ff;
  box-shadow: inset 0 0 0 1px rgba(47, 124, 255, 0.18);
  color: #1568dc;
  font-weight: 600;
}

.home-body .site-filter-sep {
  height: 22px;
  margin: 0 4px 0 auto;
  background: #e8edf5;
}

/* 筛选栏内强制换行：编程语言与平台/排序同属一个卡片，但占独立一行 */
.home-filters-break {
  flex-basis: 100%;
  height: 0;
}

/* ---------- 主体两栏 ---------- */
.site-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  align-items: start;
  gap: 24px;
}

.site-home-feed {
  min-width: 0;
}

.site-home-aside {
  position: sticky;
  top: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 14px;
  /* 翻页 #projects 定位时，为吸顶栏（桌面 60px）预留高度，避免标题被遮住 */
  scroll-margin-top: 76px;
}

/* 窄屏顶栏多行堆叠会变高，翻页定位时相应多留一些；
   需放在基础 .home-section-head 之后，同为单类选择器靠后声明覆盖 */
@media (max-width: 768px) {
  .home-section-head {
    scroll-margin-top: 200px;
  }
}

.home-section-head h2 {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: #1a2434;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.home-section-head h2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 16px;
  border-radius: 99px;
  background: linear-gradient(180deg, #42d3ff, #2f7cff);
  transform: translateY(-50%);
}

.home-section-count {
  color: #94a0b2;
  font-size: 12px;
}

/* ---------- 项目网格 ---------- */
.site-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-body .site-project {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: auto;
  margin-bottom: 0;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(23, 37, 66, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-body .site-project::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

.home-body .site-project[data-platform="github"]::before {
  background: linear-gradient(90deg, #475569, #94a3b8);
}

.home-body .site-project[data-platform="gitee"]::before {
  background: linear-gradient(90deg, #c71d23, #ff6b6b);
}

.home-body .site-project[data-platform="other"]::before {
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

.home-body .site-project:hover {
  border-color: #d7e4f7;
  box-shadow: 0 18px 36px -24px rgba(23, 55, 110, 0.4);
  transform: translateY(-3px);
}

.home-body .site-project .layui-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  height: auto;
  padding: 18px 18px 16px;
}

.home-body .site-project-head {
  align-items: flex-start;
}

.home-body .site-project-name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #16233a;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  transition: color 0.18s ease;
}

.home-body .site-project-name:hover {
  color: #1d6fe8;
  text-decoration: none;
}

.home-body .site-project .layui-badge {
  flex: none;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 22px;
}

.home-body .site-project-summary {
  min-height: 44px;
  color: #6a7689;
  font-size: 13px;
  line-height: 1.75;
}

.home-body .site-project-meta {
  gap: 7px;
  margin-top: auto;
}

.home-body .site-chip {
  padding: 3px 8px;
  border: 1px solid #eef2f8;
  border-radius: 999px;
  background: #f4f7fb;
  color: #64748b;
  font-size: 11px;
}

.home-body .site-chip-star {
  border-color: #fdf0c8;
  background: #fff9e8;
  color: #b7791f;
}

.home-body .site-chip-star .layui-icon {
  font-size: 12px;
}

.site-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #42d3ff;
  box-shadow: 0 0 0 2px rgba(66, 211, 255, 0.14);
}

.home-body .site-project-date {
  margin-left: auto;
  color: #a2adbd;
  font-size: 11px;
}

.home-body .site-project .site-tags {
  gap: 6px;
  padding-top: 2px;
}

.home-body .site-project .site-tag {
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f7f9fc;
  color: var(--tag-color, #5d6b80);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-body .site-project .site-tag:hover {
  border-color: color-mix(in srgb, var(--tag-color, #2f7cff) 35%, transparent);
  background: color-mix(in srgb, var(--tag-color, #2f7cff) 10%, #fff);
  box-shadow: 0 4px 10px -6px color-mix(in srgb, var(--tag-color, #2f7cff) 55%, transparent);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ---------- 侧栏标签云 ---------- */
.home-body .site-tagcloud {
  margin: 0;
  padding: 18px;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(23, 37, 66, 0.04);
}

.home-body .site-tagcloud-head {
  align-items: center;
  margin-bottom: 14px;
}

.home-body .site-tagcloud-head h2 {
  position: relative;
  padding-left: 11px;
  color: #1a2434;
  font-size: 15px;
  font-weight: 700;
}

.home-body .site-tagcloud-head h2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 14px;
  border-radius: 99px;
  background: linear-gradient(180deg, #42d3ff, #2f7cff);
  transform: translateY(-50%);
}

.home-body .site-tagcloud-current {
  color: #98a3b5;
  font-size: 11px;
}

.home-body .site-tagcloud-body {
  align-items: center;
  gap: 8px;
}

.home-body .site-cloud-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f6f8fc;
  color: var(--tag-color, #5d6b80);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-body .site-cloud-tag:hover {
  border-color: color-mix(in srgb, var(--tag-color, #2f7cff) 35%, transparent);
  background: color-mix(in srgb, var(--tag-color, #2f7cff) 10%, #fff);
  box-shadow: 0 5px 12px -6px color-mix(in srgb, var(--tag-color, #2f7cff) 55%, transparent);
  color: var(--tag-color, #1d6fe8);
  text-decoration: none;
  transform: translateY(-1px);
}

.home-body .site-cloud-tag.level-1 {
  font-size: 12px;
}

.home-body .site-cloud-tag.level-2 {
  font-size: 13px;
}

.home-body .site-cloud-tag.level-3 {
  font-size: 14px;
}

.home-body .site-cloud-tag.level-4 {
  font-size: 16px;
}

.home-body .site-cloud-tag.is-active {
  border-color: transparent;
  background: var(--tag-color, #1e9fff);
  box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--tag-color, #1e9fff) 80%, transparent);
  color: #fff !important;
}

.home-body .site-cloud-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  margin-left: 3px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e9eef7;
  color: #7d8ba1;
  font-size: 10px;
  line-height: 1;
}

.home-body .site-cloud-tag.is-active .site-cloud-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* 标签云 3D 球状旋转：JS 逐帧透视定位，靠后淡出，悬停暂停，可拖拽 */
.home-body .tagcloud-sphere {
  position: relative;
}

.home-body .tagcloud-sphere.is-3d {
  height: 268px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.home-body .tagcloud-sphere.is-3d.is-dragging {
  cursor: grabbing;
}

.home-body .tagcloud-sphere.is-3d .site-cloud-tag {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--tag-color, #5b7391);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
  transition: color 0.15s ease;
}

.home-body .tagcloud-sphere.is-3d .site-cloud-tag:hover {
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--tag-color, #1e9fff);
  text-shadow: 0 0 10px color-mix(in srgb, var(--tag-color, #1e9fff) 45%, transparent);
}

.home-body .tagcloud-sphere.is-3d .site-cloud-tag.is-active {
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--tag-color, #1e9fff) !important;
  font-weight: 800;
  text-shadow: 0 0 12px color-mix(in srgb, var(--tag-color, #1e9fff) 55%, transparent);
}

.home-body .tagcloud-sphere.is-3d .site-cloud-count {
  display: none;
}

/* ---------- 侧栏提交 CTA ---------- */
.home-cta {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, #14213d, #0c1730);
  box-shadow: 0 16px 30px -24px rgba(10, 25, 60, 0.8);
  color: #fff;
}

.home-cta::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 211, 255, 0.35), transparent 66%);
  pointer-events: none;
}

.home-cta-kicker {
  position: relative;
  color: #7fbcff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.home-cta h2 {
  position: relative;
  margin: 8px 0 6px;
  color: #fff;
  font-size: 17px;
  font-weight: 650;
}

.home-cta p {
  position: relative;
  margin: 0 0 16px;
  color: rgba(218, 231, 250, 0.62);
  font-size: 12px;
  line-height: 1.7;
}

.home-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2f7cff, #1163ee);
  box-shadow: 0 10px 20px -12px rgba(47, 124, 255, 0.85);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-cta-btn:hover {
  box-shadow: 0 14px 24px -12px rgba(47, 124, 255, 0.95);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ---------- 空状态与分页 ---------- */
.home-body .home-empty {
  padding: 64px 24px;
  border: 1px dashed #d8e1ef;
  border-radius: 18px;
  background: #fff;
  color: #8b97a9;
}

.home-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #eef5ff;
  color: #2f7cff;
  font-size: 26px;
}

.home-empty h2 {
  margin: 0 0 8px;
  color: #1a2434;
  font-size: 18px;
  font-weight: 650;
}

.home-empty p {
  margin: 0 0 18px;
  font-size: 13px;
}

.home-empty-btn {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 10px;
  background: #1e9fff;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.home-empty-btn:hover {
  background: #1589e6;
  color: #fff;
  text-decoration: none;
}

.home-body .site-pager {
  gap: 8px;
  margin: 28px 0 0;
}

.home-body .site-page {
  min-width: 36px;
  padding: 8px 12px;
  border: 1px solid #e3e9f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 37, 66, 0.04);
  color: #66748a;
  font-size: 12px;
}

.home-body .site-page:hover {
  border-color: #b9d4fb;
  background: #f8fbff;
  color: #1d6fe8;
  text-decoration: none;
}

.home-body .site-page.is-active {
  border-color: #2f7cff;
  background: #2f7cff;
  box-shadow: 0 8px 18px -12px rgba(47, 124, 255, 0.9);
  color: #fff;
}

.home-body .site-page.is-disabled,
.home-body .site-page.is-gap {
  background: #f7f9fc;
  color: #b6c0ce;
}

/* 卡片入场动画：类名由 home.js 添加，脚本不可用时不影响内容 */
.home-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease var(--home-reveal-delay, 0ms),
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) var(--home-reveal-delay, 0ms);
}

.home-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 首页响应式 ---------- */
@media (max-width: 1100px) {
  .site-home-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .site-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .site-home-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-home-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .site-home-aside > :only-child {
    grid-column: 1 / -1;
  }

  .home-hero {
    padding: 36px 30px 22px;
  }

  .home-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .home-hero-art {
    display: none;
  }

  .home-hero h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .home-body .site-main {
    padding-top: 14px;
    padding-bottom: 36px;
  }

  .home-hero {
    margin-bottom: 16px;
    padding: 28px 18px 18px;
    border-radius: 18px;
  }

  .home-hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(26px, 8vw, 36px);
  }

  .home-hero-lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .home-hero-stats {
    gap: 10px 14px;
    margin-top: 22px;
    font-size: 12px;
  }

  .home-stat b {
    font-size: 20px;
  }

  .home-stat-sep {
    display: none;
  }

  .home-search {
    margin-top: 24px;
  }

  .home-search-box {
    padding: 6px;
    border-radius: 14px;
  }

  .home-search-field .layui-input {
    height: 44px;
    padding: 0 42px 0 40px;
    border-radius: 10px;
  }

  .home-search-icon {
    left: 14px;
  }

  .home-search-kbd {
    display: none;
  }

  .home-search-clear {
    right: 10px;
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .home-body .home-search-btn {
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    line-height: 44px;
  }

  .home-body .home-filters {
    gap: 4px;
    margin-bottom: 18px;
    border-radius: 14px;
  }

  .home-body .site-filter-sep {
    display: none;
  }

  .home-filters .site-filters-label {
    width: 100%;
    padding: 4px 6px 0;
  }

  .home-body .site-filter {
    padding: 7px 12px;
  }

  /* 窄屏下标签已 width:100% 自然换行，不再需要额外断行 */
  .home-filters-break {
    display: none;
  }

  .site-project-grid {
    gap: 12px;
  }

  .site-home-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-body .site-pager {
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .home-br {
    display: none;
  }

  .home-search-box {
    flex-wrap: wrap;
  }

  .home-search-field {
    flex-basis: 100%;
  }

  .home-body .home-search-btn {
    width: 100%;
  }

  .site-project-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-body .home-empty {
    padding: 48px 18px;
  }
}

/* ---------- 详情页（浅色科技风） ---------- */
/* 详情页整页浅色底，只作用于该页 body_class，不影响其他页面 */
.detail-tech-body {
  background: #f5f8ff;
  color: #1f2b45;
  overflow-x: hidden;
}

.detail-tech-body .site-footer {
  border-top: 0;
  color: #8b98b0;
}

.detail-tech-body .site-flashes .site-flash {
  background: #fff;
  border-color: #dfe7f5;
  color: #1f2b45;
}

/* Hero：与正文同宽的圆角玻璃面板（避免 100vw 满宽造成横向溢出） */
.detail-hero {
  position: relative;
  overflow: hidden;
  max-width: 1140px;
  margin: 0 auto 26px;
  padding: 48px 40px 40px;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(ellipse at 85% 110%, rgba(139, 92, 246, 0.16), transparent 55%),
    linear-gradient(160deg, #ffffff 0%, #eef4ff 60%, #f5f8ff 100%);
  box-shadow: 0 20px 46px -30px rgba(30, 64, 175, 0.4);
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 75%);
  pointer-events: none;
}

.detail-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.detail-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: detail-glow-drift 14s ease-in-out infinite alternate;
}

.detail-glow-a {
  top: -140px;
  left: 8%;
  background: rgba(56, 189, 248, 0.4);
}

.detail-glow-b {
  right: 6%;
  bottom: -160px;
  background: rgba(139, 92, 246, 0.32);
  animation-delay: -7s;
}

@keyframes detail-glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 30px, 0) scale(1.15); }
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
}

.detail-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-kicker-line {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, #0ea5e9, transparent);
}

.detail-kicker-text {
  color: #0284c7;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.detail-name {
  margin: 0 0 10px;
  background: linear-gradient(92deg, #1e3a8a 10%, #0284c7 55%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 0 42px rgba(56, 189, 248, 0.18);
}

.detail-summary {
  max-width: 72ch;
  margin: 0 0 20px;
  color: #55647d;
  font-size: 15px;
  line-height: 1.8;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: 999px;
  background: #fff;
  color: #0369a1;
  font-family: Consolas, monospace;
  font-size: 12px;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px -2px rgba(30, 64, 175, 0.12);
}

.detail-badge-platform.is-github {
  border-color: rgba(31, 43, 69, 0.25);
  color: #1f2b45;
}

.detail-badge-platform.is-gitee {
  border-color: rgba(220, 68, 38, 0.35);
  color: #dc4226;
}

.detail-badge.is-pending {
  border-color: rgba(217, 119, 6, 0.4);
  background: #fffbeb;
  color: #b45309;
}

.detail-badge.is-ok {
  border-color: rgba(5, 150, 105, 0.35);
  background: #ecfdf5;
  color: #059669;
}

.detail-badge.is-ghost {
  border-color: rgba(100, 116, 139, 0.28);
  color: #64748b;
}

/* VERIFIED 徽章的呼吸光点 */
.detail-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: detail-pulse 2s ease-out infinite;
}

@keyframes detail-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border: 1px solid color-mix(in srgb, var(--tag-color, #1e9fff) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--tag-color, #1e9fff) 8%, #fff);
  color: var(--tag-color, #0284c7);
  font-family: Consolas, monospace;
  font-size: 12px;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}

.detail-tag:hover {
  background: color-mix(in srgb, var(--tag-color, #1e9fff) 16%, #fff);
  box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--tag-color, #0284c7) 60%, transparent);
  color: var(--tag-color, #0284c7);
  text-decoration: none;
  transform: translateY(-1px);
}

/* 主体双栏：内容 + 侧栏 */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
  gap: 18px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
  padding-bottom: 8px;
}

/* 轻玻璃面板：渐变描边用双层背景实现 */
.detail-panel {
  position: relative;
  border: 1px solid transparent;
  border-radius: 12px;
  background:
    linear-gradient(#ffffff, #fbfdff) padding-box,
    linear-gradient(140deg, rgba(56, 189, 248, 0.55), rgba(56, 189, 248, 0.12) 30%, rgba(139, 92, 246, 0.4)) border-box;
  box-shadow: 0 14px 34px -18px rgba(30, 64, 175, 0.22);
  overflow: hidden;
}

.detail-panel:hover {
  box-shadow: 0 18px 44px -18px rgba(56, 189, 248, 0.35);
}

.detail-panel-main {
  animation: detail-rise 0.5s ease both;
}

.detail-panel-side {
  animation: detail-rise 0.5s 0.12s ease both;
}

@keyframes detail-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* 面板头：仿终端窗口红绿灯 */
.detail-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5edfa;
  background: linear-gradient(180deg, #f4f8ff, #eef4fe);
}

.detail-dots {
  display: inline-flex;
  gap: 6px;
}

.detail-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.detail-dots i:nth-child(1) { background: #ff6058; }
.detail-dots i:nth-child(2) { background: #ffbd2e; }
.detail-dots i:nth-child(3) { background: #28c840; }

.detail-panel-title {
  color: #3f5170;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 13px;
}

.detail-panel-meta {
  margin-left: auto;
  color: #93a5c4;
  font-family: Consolas, monospace;
  font-size: 11px;
  letter-spacing: 1px;
}

.detail-panel-body {
  padding: 20px 22px;
}

/* 浅色环境下的 Markdown 正文 */
.detail-prose {
  color: #384866;
}

.detail-prose h1,
.detail-prose h2,
.detail-prose h3 {
  position: relative;
  padding-left: 12px;
  color: #16233d;
}

.detail-prose h1::before,
.detail-prose h2::before,
.detail-prose h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(#0ea5e9, #7c3aed);
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.45);
}

.detail-prose a {
  color: #0284c7;
}

.detail-prose a:hover {
  color: #7c3aed;
  text-shadow: 0 0 10px rgba(124, 58, 237, 0.25);
}

.detail-prose code {
  background: #eaf3ff;
  border: 1px solid #cfe3fb;
  color: #0369a1;
}

.detail-prose pre {
  background: #f8fafd;
  border-color: #e3ecf8;
}

.detail-prose pre code {
  background: none;
  border: 0;
}

.detail-prose blockquote {
  border-left-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.05);
  color: #5b6480;
}

.detail-prose th,
.detail-prose td {
  border-color: #dfe7f5;
}

.detail-prose th {
  background: #f0f5fd;
  color: #16233d;
}

.detail-aside .detail-panel-body {
  padding: 18px;
}

/* 打开仓库：霓虹渐变按钮 + 流光 */
.detail-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 13px 18px;
  border-radius: 8px;
  background: linear-gradient(115deg, #1e78ff, #37d6ff 55%, #9a6bff);
  background-size: 180% 100%;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: background-position 0.5s, box-shadow 0.3s, transform 0.2s;
}

.detail-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: detail-sheen 3.2s ease-in-out infinite;
}

@keyframes detail-sheen {
  0%, 55% { left: -70%; }
  100% { left: 160%; }
}

.detail-cta:hover {
  background-position: 100% 0;
  box-shadow: 0 0 24px rgba(55, 214, 255, 0.45);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.detail-cta-arrow {
  font-size: 18px;
  line-height: 1;
}

/* 收藏 / 点赞按钮：紧跟“打开仓库”下方的次要操作，浅描边科技风 */
.detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.detail-action-form {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.detail-fav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cfe0f6;
  border-radius: 8px;
  background: #fff;
  color: #4b5c78;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}

.detail-fav:hover {
  border-color: #7dd3fc;
  color: #0284c7;
  box-shadow: 0 6px 16px -6px rgba(14, 165, 233, 0.3);
}

.detail-fav.is-fav {
  border-color: #ffb800;
  background: #fff8e6;
  color: #b45309;
}

/* 收藏按钮双状态标记：默认显示空闲（空心星+“收藏”），is-fav 时切到已收藏（实心星+“已收藏”） */
.detail-fav .fav-icon-active,
.detail-fav .fav-label-active {
  display: none;
}

.detail-fav.is-fav .fav-icon-idle,
.detail-fav.is-fav .fav-label-idle {
  display: none;
}

.detail-fav.is-fav .fav-icon-active {
  display: inline-block;
}

.detail-fav.is-fav .fav-label-active {
  display: inline;
}

.detail-fav.detail-like:hover,
.detail-fav.detail-like {
  border-color: #ffd7d7;
  color: #e0483d;
}

.detail-fav.detail-like:hover {
  border-color: #ff9a9a;
  background: #fff2f2;
  box-shadow: 0 6px 16px -6px rgba(224, 72, 61, 0.3);
}

.detail-fav .layui-icon {
  font-size: 16px;
}

/* 点赞数字：等宽避免自增时宽度跳动，前缀中点作分隔 */
.detail-like-num {
  font-family: "Cascadia Code", Consolas, monospace;
}

.detail-like-num::before {
  content: "\00b7";
  margin-right: 5px;
  opacity: 0.55;
}

/* AJAX 请求进行中：置灰并阻止重复点击 */
.detail-fav.is-busy {
  opacity: 0.6;
  cursor: progress;
  pointer-events: none;
}

/* 点赞成功：按钮弹跳一下，给就地轻反馈 */
.detail-fav.detail-like.is-pop {
  animation: detail-like-pop 0.42s ease;
}

@keyframes detail-like-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.08);
    border-color: #ff6b6b;
    background: #ffeaea;
  }
  100% {
    transform: scale(1);
  }
}

/* 收藏切换成功：按钮弹跳一下（琥珀色），作为就地点击反馈 */
.detail-fav.detail-favbtn.is-pop {
  animation: detail-fav-pop 0.42s ease;
}

@keyframes detail-fav-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.08);
    box-shadow: 0 6px 18px -6px rgba(255, 184, 0, 0.55);
  }
  100% {
    transform: scale(1);
  }
}

a.detail-fav {
  text-decoration: none;
}

/* 侧栏元数据：等宽标签 + 分隔线 */
.detail-stats {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.detail-stats li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px dashed #d5e2f5;
}

.detail-stats li:last-child {
  border-bottom: 0;
}

.detail-stat-label {
  flex: none;
  color: #7d8ca6;
  font-family: Consolas, monospace;
  font-size: 12px;
  letter-spacing: 1px;
}

.detail-stat-value {
  color: #1f2b45;
  font-size: 13px;
  text-align: right;
  word-break: break-all;
}

.detail-mono {
  font-family: "Cascadia Code", Consolas, monospace;
  color: #0369a1;
}

.detail-repo-link {
  color: #0284c7;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  text-decoration: none;
  word-break: break-all;
}

.detail-repo-link:hover {
  color: #7c3aed;
  text-decoration: underline;
}

.detail-note {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(180, 83, 9, 0.3);
  border-radius: 6px;
  background: #fffbeb;
  color: #b45309;
  font-size: 12px;
  line-height: 1.7;
}

/* 返回列表按钮 */
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 16px;
  border: 1px solid #cfe0f6;
  border-radius: 8px;
  background: #fff;
  color: #4b5c78;
  font-size: 13px;
  box-shadow: 0 2px 8px -3px rgba(30, 64, 175, 0.12);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.detail-back:hover {
  border-color: #7dd3fc;
  box-shadow: 0 6px 16px -6px rgba(14, 165, 233, 0.3);
  color: #0284c7;
  text-decoration: none;
}

.detail-back-arrow {
  font-style: normal;
}

@media (max-width: 960px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-hero {
    padding: 36px 22px 30px;
  }
}

@media (max-width: 560px) {
  .detail-name {
    font-size: 26px;
  }

  .detail-panel-meta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-glow,
  .detail-pulse,
  .detail-cta::after,
  .detail-panel-main,
  .detail-panel-side {
    animation: none;
  }

  .detail-fav.detail-like.is-pop {
    animation: none;
  }

  .detail-fav.detail-favbtn.is-pop {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-float {
    animation: none;
  }

  .home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================================================================
   全站统一「浅色科技风」主题层
   追加在末尾，用同等或更高优先级覆盖上方基础样式，
   使首页、认证、账户、提交、关于、错误页与后台都向详情页风格看齐。
   ================================================================ */
:root {
  --tech-bg: #f5f8ff;
  --tech-ink: #1f2b45;
  --tech-muted: #55647d;
  --tech-faint: #93a5c4;
  --tech-line: #dfe7f5;
  --tech-cyan: #0ea5e9;
  --tech-blue: #0284c7;
  --tech-indigo: #6366f1;
  --tech-violet: #7c3aed;
  --tech-grad: linear-gradient(92deg, #1e3a8a, #0284c7 55%, #7c3aed);
  --tech-accent: linear-gradient(115deg, #0ea5e9, #6366f1 55%, #7c3aed);
  --tech-panel: linear-gradient(140deg, rgba(56, 189, 248, 0.55), rgba(56, 189, 248, 0.12) 30%, rgba(139, 92, 246, 0.4));
  --tech-shadow: 0 14px 34px -18px rgba(30, 64, 175, 0.22);
  --tech-mono: "Cascadia Code", Consolas, monospace;
}

/* 全局底色与文字 */
body {
  background:
    radial-gradient(circle at 10% -5%, rgba(56, 189, 248, 0.08), transparent 30rem),
    radial-gradient(circle at 95% 8%, rgba(139, 92, 246, 0.07), transparent 26rem),
    var(--tech-bg);
  color: var(--tech-ink);
}

/* 顶栏：浅色玻璃吸顶 + 底部渐变发丝线 */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--tech-line);
  backdrop-filter: blur(10px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.55), rgba(124, 58, 237, 0.55), transparent);
  opacity: 0.7;
}

.site-brand {
  color: var(--tech-ink);
}

.site-brand:hover {
  color: var(--tech-blue);
  text-decoration: none;
}

.site-brand-sub {
  color: var(--tech-faint);
}

.site-nav .layui-nav-item a {
  color: #4b5c78;
}

.site-nav .layui-nav-item a:hover,
.site-nav .layui-nav-item.layui-this a {
  color: var(--tech-blue);
}

/* 页脚 */
.site-footer {
  background: transparent;
  border-top: 1px solid var(--tech-line);
  color: var(--tech-faint);
}

/* 玻璃卡片 */
.layui-card {
  border: 1px solid transparent;
  border-radius: 12px;
  background:
    linear-gradient(#ffffff, #fbfdff) padding-box,
    var(--tech-panel) border-box;
  box-shadow: var(--tech-shadow);
}

.layui-card-header {
  border-bottom: 1px solid #eef3fb;
  color: var(--tech-ink);
  font-weight: 600;
}

/* 提示条 */
.site-flash {
  border-color: var(--tech-line);
  background: #fff;
  color: var(--tech-ink);
}

.site-alert {
  background: #fff;
  border-color: #fecaca;
  border-left-color: #f43f5e;
}

/* 标题区渐变字 */
.site-hero h1 {
  background: var(--tech-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

.site-muted {
  color: var(--tech-muted);
}

/* 按钮 */
.layui-btn {
  border-radius: 8px;
  font-weight: 500;
}

.layui-btn:not(.layui-btn-primary):not(.layui-btn-danger):not(.layui-btn-normal) {
  border: 0;
  background: var(--tech-accent);
  color: #fff;
}

.layui-btn-normal {
  border: 0;
  background: var(--tech-accent);
  background-size: 160% 100%;
  box-shadow: 0 8px 18px -10px rgba(14, 165, 233, 0.7);
  transition: background-position 0.4s, box-shadow 0.3s, transform 0.2s;
}

.layui-btn-normal:hover {
  background-position: 100% 0;
  box-shadow: 0 10px 22px -10px rgba(99, 102, 241, 0.7);
  color: #fff;
}

.layui-btn-primary {
  border: 1px solid #cfe0f6;
  background: #fff;
  color: #4b5c78;
}

.layui-btn-primary:hover {
  border-color: var(--tech-cyan);
  color: var(--tech-blue);
}

.layui-btn-danger {
  border: 0;
  background: linear-gradient(115deg, #f43f5e, #e11d48);
  color: #fff;
}

/* 徽标胶囊化 */
.layui-badge {
  border-radius: 999px;
}

/* 表单控件 */
.layui-input,
.layui-textarea,
.site-select {
  border: 1px solid #d5e2f5;
  border-radius: 8px;
  background: #fff;
  color: var(--tech-ink);
}

.layui-input:focus,
.layui-textarea:focus {
  border-color: var(--tech-cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.layui-form-label {
  color: var(--tech-muted);
}

/* 表格 */
.layui-table {
  background: transparent;
  color: var(--tech-ink);
}

.layui-table th {
  background: #f0f5fd;
  color: #16233d;
  font-weight: 600;
}

.layui-table tr {
  background: transparent;
}

.layui-table td,
.layui-table th {
  border-color: #e6eef9;
}

/* 分页 */
.site-page {
  background: #fff;
  border: 1px solid var(--tech-line);
  border-radius: 8px;
  color: #4b5c78;
}

.site-page:hover {
  border-color: var(--tech-cyan);
  color: var(--tech-blue);
}

.site-page.is-active {
  border-color: transparent;
  background: var(--tech-accent);
  color: #fff;
}

/* 筛选胶囊 */
.site-filter {
  background: #fff;
  border: 1px solid var(--tech-line);
  border-radius: 999px;
  color: var(--tech-muted);
}

.site-filter:hover {
  border-color: var(--tech-cyan);
  color: var(--tech-blue);
}

.site-filter.is-active {
  border-color: transparent;
  background: var(--tech-accent);
  color: #fff;
}

/* 认证 / 提交表单卡片 */
.site-auth {
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#ffffff, #fbfdff) padding-box,
    var(--tech-panel) border-box;
  box-shadow: var(--tech-shadow);
}

.site-auth h1 {
  background: var(--tech-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

/* 错误页 */
.site-error-code {
  background: var(--tech-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.site-links {
  color: var(--tech-muted);
}

.site-meta-list dd {
  color: var(--tech-ink);
}

.site-sub {
  color: var(--tech-faint);
}

/* ---------- 首页：深色 Hero -> 浅色科技风 ---------- */
.home-body {
  background:
    radial-gradient(circle at 12% 0, rgba(47, 124, 255, 0.07), transparent 30rem),
    radial-gradient(circle at 92% 26%, rgba(66, 211, 255, 0.05), transparent 26rem),
    var(--tech-bg);
}

.home-hero {
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffff, #eef4ff) padding-box,
    var(--tech-panel) border-box;
  box-shadow: 0 30px 70px -46px rgba(30, 64, 175, 0.45);
  color: var(--tech-ink);
}

.home-hero-grid {
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.09) 1px, transparent 1px);
}

.home-hero-orb-a {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 66%);
}

.home-hero-orb-b {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 66%);
}

.home-kicker {
  border: 1px solid rgba(2, 132, 199, 0.28);
  background: rgba(2, 132, 199, 0.06);
  color: var(--tech-blue);
}

.home-kicker-dot {
  background: var(--tech-cyan);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.home-hero h1 {
  background: var(--tech-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.home-hero-lead {
  color: var(--tech-muted);
}

.home-stat {
  color: var(--tech-muted);
}

.home-stat b {
  color: var(--tech-ink);
}

.home-stat-sep {
  background: rgba(31, 43, 69, 0.14);
}

/* 右侧轨道装饰 */
.home-orbit-ring {
  border-color: rgba(2, 132, 199, 0.16);
}

.home-orbit-card {
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: linear-gradient(160deg, #ffffff, #f2f7ff);
  box-shadow: 0 24px 50px -30px rgba(30, 64, 175, 0.5);
}

.home-orbit-line {
  color: var(--tech-ink);
}

.home-orbit-line .layui-icon {
  color: #f59e0b;
}

.home-orbit-bar {
  background: #e3ecf8;
}

.home-orbit-bar span {
  background: var(--tech-accent);
}

.home-orbit-code {
  color: var(--tech-faint);
}

.home-orbit-dots span {
  background: #cbd8ea;
}

.home-orbit-dots span:first-child { background: #ff6058; }
.home-orbit-dots span:nth-child(2) { background: #ffbd2e; }
.home-orbit-dots span:nth-child(3) { background: #28c840; }

.home-float {
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 24px -18px rgba(30, 64, 175, 0.5);
  color: var(--tech-blue);
}

.home-float-tag {
  color: #059669;
}

/* 搜索框 */
.home-search-box {
  border: 1px solid var(--tech-line);
  background: #fff;
  box-shadow: 0 12px 30px -22px rgba(30, 64, 175, 0.5);
}

.home-body .home-search-btn {
  background: var(--tech-accent);
  box-shadow: 0 10px 22px -12px rgba(14, 165, 233, 0.8);
}

.home-body .home-search-btn:hover {
  background: var(--tech-accent);
  color: #fff;
}

/* 项目卡片 -> 玻璃渐变描边 */
.home-body .site-project {
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffff, #fbfdff) padding-box,
    var(--tech-panel) border-box;
  box-shadow: var(--tech-shadow);
}

.home-body .site-project:hover {
  box-shadow: 0 20px 40px -20px rgba(30, 64, 175, 0.4);
}

.home-body .site-project-name {
  color: var(--tech-ink);
}

.home-body .site-project-name:hover {
  color: var(--tech-blue);
}

.home-body .site-cloud-tag.is-active {
  border-color: transparent;
  background: var(--tag-color, #1e9fff);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--tag-color, #1e9fff) 40%, #fff),
    0 6px 14px -8px color-mix(in srgb, var(--tag-color, #1e9fff) 80%, transparent);
}

.home-body .site-page.is-active {
  border-color: transparent;
  background: var(--tech-accent);
}

/* 侧栏提交 CTA：深色 -> 浅色玻璃 */
.home-cta {
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffff, #f4f8ff) padding-box,
    var(--tech-panel) border-box;
  box-shadow: var(--tech-shadow);
  color: var(--tech-ink);
}

.home-cta::before {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 66%);
}

.home-cta-kicker {
  color: var(--tech-blue);
}

.home-cta h2 {
  color: var(--tech-ink);
}

.home-cta p {
  color: var(--tech-muted);
}

.home-cta-btn {
  background: var(--tech-accent);
  box-shadow: 0 10px 20px -12px rgba(14, 165, 233, 0.85);
}

.home-cta-btn:hover {
  background: var(--tech-accent);
  color: #fff;
}

.home-body .home-empty {
  border-color: #dbe6f5;
  background: #fff;
}

.home-empty h2 {
  color: var(--tech-ink);
}

/* ---------- 后台：深色壳 -> 浅色玻璃壳 ---------- */
.admin-body {
  background: var(--tech-bg);
}

.admin-side {
  background: linear-gradient(180deg, #ffffff, #f3f7ff);
  border-right: 1px solid var(--tech-line);
}

.admin-brand {
  color: var(--tech-ink);
}

.admin-brand:hover {
  color: var(--tech-ink);
}

.admin-brand-sub {
  color: var(--tech-faint);
}

.admin-nav .layui-nav-item a {
  color: #4b5c78;
}

.admin-nav .layui-nav-item a:hover,
.admin-nav .layui-nav-item.layui-this a {
  color: var(--tech-blue);
}

.admin-nav.layui-nav-tree .layui-nav-item.layui-this {
  background: rgba(14, 165, 233, 0.1);
  border-radius: 8px;
}

.admin-back-fore {
  border-color: var(--tech-line);
  color: var(--tech-muted);
}

.admin-back-fore:hover {
  color: var(--tech-blue);
  border-color: var(--tech-blue);
}

.admin-topbar {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--tech-line);
  backdrop-filter: blur(8px);
}

.admin-topbar-title {
  color: var(--tech-ink);
}

.admin-crumb-root {
  color: var(--tech-faint);
}

.admin-user-nav .layui-nav-item > a {
  color: var(--tech-ink);
}

.admin-toggle {
  border-color: var(--tech-line);
  color: #4b5c78;
}

.admin-page-title h1 {
  color: var(--tech-ink);
}

.admin-stat-label {
  color: var(--tech-faint);
}

.admin-stat-value {
  color: var(--tech-ink);
}

.admin-stat-value.admin-stat-warn {
  color: #d97706;
}

.admin-stat-value.admin-stat-danger {
  color: #e11d48;
}

.admin-stat-sub {
  color: var(--tech-faint);
}

.admin-bar-track {
  background: #eaf1fb;
}

.admin-bar-fill {
  background: var(--tech-accent);
}

.admin-list li {
  border-bottom-color: #eef3fb;
}

.admin-footer {
  background: transparent;
  border-top: 1px solid var(--tech-line);
  color: var(--tech-faint);
}

/* ---------- 页脚重设计（浅色科技风） ---------- */
/* 顶部渐变发丝线，与吸顶栏的 ::after 呼应 */
.site-footer {
  position: relative;
  padding: 0;
  background: linear-gradient(180deg, rgba(240, 246, 255, 0.6), #ffffff);
  color: var(--tech-muted);
  font-size: 13px;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.55), rgba(124, 58, 237, 0.55), transparent);
  opacity: 0.7;
}

.site-footer-top {
  padding: 40px 0 40px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
}

.site-footer-brand {
  max-width: 36ch;
}

.site-footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  background: var(--tech-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 20px;
  font-weight: 700;
}

.site-footer-logo:hover {
  text-decoration: none;
}

.site-footer-logo-sub {
  color: var(--tech-faint);
  -webkit-text-fill-color: var(--tech-faint);
  font-size: 12px;
  font-weight: 400;
}

.site-footer-desc {
  margin: 0;
  color: var(--tech-muted);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer-title {
  margin: 0 0 14px;
  color: var(--tech-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.site-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-links li {
  margin-bottom: 9px;
}

.site-footer-links a {
  display: inline-block;
  color: var(--tech-muted);
  transition: color 0.2s, transform 0.2s;
}

.site-footer-links a:hover {
  color: var(--tech-blue);
  text-decoration: none;
  transform: translateX(2px);
}

/* 窄屏：栅格塌缩为单列 */
@media (max-width: 768px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer-brand {
    max-width: none;
  }
}

/* 页脚变高后，收紧主体最小高度，避免短页面出现多余留白 */
.site-main {
  min-height: calc(100vh - 300px);
}

/* ================================================================
   后台资源监控页
   环形仪表用 conic-gradient + --sys-ring，条形用 --sys-bar，
   两者都在选择器上给了默认值，JS 只改自定义属性不碰 background。
   ================================================================ */
.sys-mono {
  font-family: var(--tech-mono);
}

.sys-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  padding: 12px 16px;
  border: 1px solid #fde68a;
  border-left: 3px solid #f59e0b;
  border-radius: 10px;
  background: #fffdf5;
  color: #92400e;
  font-size: 13px;
}

.sys-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  padding: 10px 14px;
  border: 1px solid var(--tech-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.sys-toolbar-meta {
  color: var(--tech-faint);
  font-size: 12px;
}

.sys-toolbar-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.sys-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tech-muted);
  font-size: 13px;
  font-weight: 600;
}

.sys-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd8ea;
}

.sys-status[data-state="idle"] .sys-status-dot,
.sys-status[data-state="retry"] .sys-status-dot {
  background: var(--tech-cyan);
}

.sys-status[data-state="live"] .sys-status-dot {
  background: #10b981;
  animation: sys-pulse 2s ease-in-out infinite;
}

.sys-status[data-state="paused"] .sys-status-dot {
  background: #94a3b8;
}

.sys-status[data-state="error"] .sys-status-dot,
.sys-status[data-state="expired"] .sys-status-dot {
  background: #f43f5e;
}

.sys-status[data-state="error"],
.sys-status[data-state="expired"] {
  color: #e11d48;
}

@keyframes sys-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .sys-status[data-state="live"] .sys-status-dot {
    animation: none;
  }

  .sys-bar-fill,
  .sys-core-fill,
  .sys-ring {
    transition: none;
  }
}

/* ---------- 环形仪表卡片 ---------- */
/* 拉成 flex 行，四张卡片才能等高（栅格列默认 float，各自按内容起高） */
.sys-gauge-row {
  display: flex;
  flex-wrap: wrap;
}

.sys-gauge-row > [class*="layui-col-"] {
  display: flex;
}

.sys-gauge-row .sys-gauge-card {
  flex: 1;
}

.sys-gauge-card .layui-card-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 16px;
}

.sys-ring {
  --sys-ring: 0%;
  --sys-ring-ok: var(--tech-cyan);
  --sys-ring-color: var(--sys-ring-ok);
  position: relative;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: conic-gradient(var(--sys-ring-color) var(--sys-ring), #eaf1fb var(--sys-ring));
  transition: background 0.4s;
}

.sys-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff;
}

.sys-ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tech-ink);
  font-family: var(--tech-mono);
  font-size: 17px;
  font-weight: 700;
}

.sys-ring-mem {
  --sys-ring-ok: var(--tech-indigo);
}

.sys-ring-disk {
  --sys-ring-ok: #059669;
}

.sys-ring[data-level="warn"] {
  --sys-ring-color: #f59e0b;
}

.sys-ring[data-level="danger"] {
  --sys-ring-color: #f43f5e;
}

.sys-ring[data-level="none"] {
  --sys-ring-color: #cbd8ea;
}

.sys-gauge-info {
  /* flex-basis 给足下限：卡片太窄时整块换行到圆环下方，而不是把文字挤成竖排 */
  flex: 1 1 132px;
  min-width: 0;
}

.sys-gauge-value {
  margin: 4px 0 2px;
  color: var(--tech-ink);
  font-size: 13px;
  overflow-wrap: break-word;
}

.sys-net-block {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 6px;
}

.sys-net-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--tech-blue);
  font-size: 15px;
  font-weight: 700;
}

.sys-net-row i {
  color: var(--tech-cyan);
  font-size: 16px;
}

/* ---------- 关键指标条 ---------- */
.sys-facts {
  display: grid;
  /* 固定 6 列而不是 auto-fit：避免窄屏下排成 5+1，最后一块孤零零占一行 */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 5px 0 15px;
}

.sys-fact {
  padding: 10px 12px;
  border: 1px solid var(--tech-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
}

.sys-fact span {
  display: block;
  color: var(--tech-faint);
  font-size: 12px;
}

.sys-fact strong {
  display: block;
  margin-top: 3px;
  color: var(--tech-ink);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: break-word;
}

/* ---------- 走势图 ---------- */
.sys-canvas {
  display: block;
  width: 100%;
  height: 170px;
}

.sys-canvas-compact {
  height: 150px;
}

.sys-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  color: var(--tech-muted);
  font-size: 12px;
}

.sys-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sys-legend-dot {
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: #cbd8ea;
}

.sys-legend-cpu { background: #0284c7; }
.sys-legend-memory { background: #7c3aed; }
.sys-legend-recv { background: #0ea5e9; }
.sys-legend-send { background: #6366f1; }
.sys-legend-read { background: #059669; }
.sys-legend-write { background: #f59e0b; }

/* ---------- 每核占用 ---------- */
.sys-cores {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 190px;
  padding-right: 4px;
  overflow-y: auto;
}

.sys-core {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tech-faint);
  font-size: 11px;
}

.sys-core-label {
  width: 22px;
  text-align: right;
}

.sys-core-track {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: #eaf1fb;
  overflow: hidden;
}

.sys-core-fill {
  --sys-bar: 0%;
  display: block;
  width: var(--sys-bar);
  height: 100%;
  border-radius: 4px;
  background: var(--tech-cyan);
  transition: width 0.35s;
}

.sys-core-value {
  width: 34px;
  color: var(--tech-muted);
  text-align: right;
}

/* ---------- 磁盘分区 ---------- */
.sys-disk {
  padding: 9px 0;
  border-bottom: 1px dashed #eef3fb;
}

.sys-disk:last-child {
  border-bottom: 0;
}

.sys-disk-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.sys-disk-mount {
  color: var(--tech-ink);
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.sys-disk-nums {
  color: var(--tech-muted);
  font-size: 12px;
}

.sys-bar {
  height: 8px;
  border-radius: 4px;
  background: #eaf1fb;
  overflow: hidden;
}

.sys-bar-fill {
  --sys-bar: 0%;
  display: block;
  width: var(--sys-bar);
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #0ea5e9, #6366f1);
  transition: width 0.35s;
}

.sys-disk-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
}

/* 使用率超阈值时统一换成警示色 */
.sys-bar-fill[data-level="warn"],
.sys-core-fill[data-level="warn"] {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.sys-bar-fill[data-level="danger"],
.sys-core-fill[data-level="danger"] {
  background: linear-gradient(90deg, #fb7185, #e11d48);
}

/* ---------- 运行环境 ---------- */
.sys-info {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0 0 10px;
  font-size: 13px;
}

.sys-info dt {
  color: var(--tech-faint);
}

.sys-info dd {
  margin: 0;
  color: var(--tech-ink);
  overflow-wrap: anywhere;
}

@media (max-width: 1400px) {
  .sys-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .sys-toolbar-actions {
    margin-left: 0;
  }

  .sys-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sys-gauge-card .layui-card-body {
    padding: 14px;
  }

  .sys-ring {
    width: 66px;
    height: 66px;
  }

  .sys-info {
    grid-template-columns: 78px minmax(0, 1fr);
  }
}

/* ================================================================
   提交项目页：炫酷科技风改版
   浮动光斑 + 网格背景 + 渐变标题 + 分区卡片逐个浮现 +
   语言/标签点选芯片（选中时彩色发光）+ 提交按钮扫光。
   ================================================================ */
.submit-page {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 48px;
  padding: 40px clamp(20px, 5vw, 56px) 44px;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(#ffffff, #fafcff) padding-box,
    var(--tech-panel) border-box;
  box-shadow: var(--tech-shadow);
  overflow: hidden;
}

/* 背景：光斑 + 网格 */
.submit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.submit-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(10px);
  animation: submit-orb-float 14s ease-in-out infinite;
}

.submit-orb-a {
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 68%);
}

.submit-orb-b {
  top: 30%;
  right: -160px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 68%);
  animation-delay: -5s;
  animation-duration: 17s;
}

.submit-orb-c {
  bottom: -170px;
  left: 22%;
  width: 380px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
  animation-delay: -9s;
  animation-duration: 20s;
}

@keyframes submit-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(26px, -30px, 0) scale(1.08); }
  66% { transform: translate3d(-20px, 22px, 0) scale(0.95); }
}

.submit-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 0, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 0, #000 30%, transparent 78%);
}

.submit-page > *:not(.submit-bg) {
  position: relative;
  z-index: 1;
}

/* Hero：渐变标题 + 呼吸指示灯 kicker */
.submit-hero {
  margin: 0 0 28px;
  text-align: center;
  animation: submit-rise 0.6s ease-out both;
}

.submit-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 6px 16px;
  border: 1px solid rgba(2, 132, 199, 0.28);
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.06);
  color: var(--tech-blue);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.submit-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tech-cyan);
  animation: submit-pulse 1.8s ease-in-out infinite;
}

@keyframes submit-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(14, 165, 233, 0); }
}

.submit-title {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
  background: var(--tech-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: submit-title-flow 7s ease-in-out infinite alternate;
}

@keyframes submit-title-flow {
  from { background-position: 0 0; }
  to { background-position: 100% 0; }
}

.submit-lead {
  margin: 0 auto;
  max-width: 560px;
  font-size: 13px;
}

/* 分区卡片：逐个浮现 */
.submit-form {
  margin-top: 0 !important;
}

.submit-section {
  box-sizing: border-box;
  margin: 0 0 22px;
  padding: 20px 22px 8px;
  border: 1px solid var(--tech-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s, box-shadow 0.3s;
  animation: submit-rise 0.6s cubic-bezier(0.22, 0.8, 0.36, 1) both;
  animation-delay: calc(var(--reveal-i, 0) * 0.12s + 0.15s);
}

.submit-section:hover {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 12px 30px -20px rgba(30, 64, 175, 0.35);
}

@keyframes submit-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.submit-section-title {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 8px;
  margin: 0 0 14px;
  color: var(--tech-ink);
  font-size: 15px;
  font-weight: 700;
}

.submit-section-title .layui-icon {
  color: var(--tech-blue);
}

.submit-section-tip {
  font-size: 12px;
  font-weight: 400;
  color: var(--tech-faint);
}

.submit-star {
  font-style: normal;
  color: #ff5722;
  font-weight: 700;
}

.submit-field-note {
  margin-left: 2px;
  color: var(--tech-faint);
  font-size: 12px;
  font-weight: 400;
  white-space: normal;
}

.submit-actions {
  animation: submit-rise 0.6s ease-out both;
  animation-delay: calc(var(--reveal-i, 2) * 0.12s + 0.3s);
}

/* ---------- 点选芯片（语言 / 标签） ---------- */
.chip-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--tech-line);
  border-radius: 10px;
  background: #fbfdff;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.chip-picker:focus-within {
  border-color: var(--tech-cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.chip-group {
  display: contents;
}

.chip-group-title {
  flex-basis: 100%;
  margin: 2px 0 0;
  color: var(--tech-faint);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.chip-empty-tip {
  color: var(--tech-faint);
  font-size: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border: 1px solid #dbe6f6;
  border-radius: 999px;
  background: #fff;
  color: var(--tech-muted);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.chip:hover {
  border-color: var(--tech-cyan);
  color: var(--tech-blue);
  transform: translateY(-1px);
}

.chip:active {
  transform: scale(0.96);
}

.chip.is-selected {
  border-color: transparent;
  background: var(--tech-accent);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(99, 102, 241, 0.7);
  animation: chip-pop 0.3s ease-out;
}

/* 选中的标签芯片用标签自己的颜色发光 */
.chip-tag.is-selected {
  background: color-mix(in srgb, var(--chip-color, #0284c7) 14%, #fff);
  border-color: var(--chip-color, #0284c7);
  color: var(--chip-color, #0284c7);
  box-shadow: 0 0 0 1px var(--chip-color, #0284c7), 0 8px 16px -10px var(--chip-color, #0284c7);
}

.chip-other {
  border-style: dashed;
  color: var(--tech-blue);
}

.chip-other.is-selected {
  background: rgba(14, 165, 233, 0.08);
  border-style: solid;
  border-color: var(--tech-cyan);
  color: var(--tech-blue);
  box-shadow: none;
  animation: none;
}

@keyframes chip-pop {
  0% { transform: scale(0.9); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.chip-custom {
  width: 150px;
  height: 30px;
  line-height: 30px;
  font-size: 13px;
}

.chip-picker.is-shake {
  animation: chip-shake 0.4s ease;
}

@keyframes chip-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

/* 已选标签条 */
.chip-selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.chip-selected.is-empty::before {
  content: "尚未选择标签";
  color: var(--tech-faint);
  font-size: 12px;
}

.chip-selected-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--chip-color, #0284c7);
  border-radius: 999px;
  background: color-mix(in srgb, var(--chip-color, #0284c7) 10%, #fff);
  color: var(--chip-color, #0284c7);
  font-size: 12px;
  animation: chip-pop 0.25s ease-out;
}

.chip-selected-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--chip-color, #0284c7);
}

.chip-selected-remove {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}

.chip-selected-remove:hover {
  opacity: 1;
}

.chip-selected-count {
  color: var(--tech-faint);
  font-size: 12px;
}

/* 提交按钮：渐变扫光 */
.submit-submit-btn {
  position: relative;
  overflow: hidden;
  padding: 0 30px;
  height: 42px;
  line-height: 42px;
  font-size: 15px;
}

.submit-submit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: submit-sheen 2.8s ease-in-out infinite;
}

@keyframes submit-sheen {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}

/* 自动获取 README 开关：选中态用站点渐变，替掉 layui 默认青绿 */
.submit-page .layui-form-onswitch {
  border-color: transparent;
  background: var(--tech-accent);
}

/* 移动端：标签栏堆叠时保证芯片区不溢出 */
@media (max-width: 768px) {
  .submit-title {
    font-size: 24px;
  }

  .submit-section {
    padding: 16px 14px 4px;
  }

  .chip-picker {
    padding: 8px;
  }
}

/* 手机宽度：与登录/注册页一致，表单标签上方堆叠 */
@media (max-width: 560px) {
  .submit-page .layui-form-label {
    float: none;
    display: block;
    width: auto;
    padding: 0 0 4px;
    text-align: left;
  }

  .submit-page .layui-input-block {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .submit-orb,
  .submit-title,
  .submit-kicker-dot,
  .submit-submit-btn::after,
  .submit-section,
  .submit-hero,
  .submit-actions,
  .chip.is-selected,
  .chip-selected-item,
  .chip-picker.is-shake {
    animation: none;
  }

  .submit-section,
  .submit-hero,
  .submit-actions {
    opacity: 1;
    transform: none;
  }
}

/* ================================================================
   关于页：浅色科技风
   渐变标题 + 呼吸 kicker + 光晕背景 + 玻璃卡片 + 浮现动画，
   与首页 / 详情页 / 提交页保持同一套设计语言。
   ================================================================ */
.about-page {
  position: relative;
  padding: 8px 0 6px;
}

/* 背景：漂浮光斑 + 网格晕染，置于内容层之下且不吃点击 */
.about-bg {
  position: absolute;
  inset: -20px 0 auto;
  height: 460px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.about-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: about-orb-float 16s ease-in-out infinite alternate;
}

.about-orb-a {
  top: -60px;
  left: 6%;
  background: rgba(56, 189, 248, 0.42);
}

.about-orb-b {
  top: 40px;
  right: 8%;
  background: rgba(139, 92, 246, 0.34);
  animation-delay: -8s;
}

@keyframes about-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, 26px, 0) scale(1.12); }
}

.about-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 0, #000 28%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 0, #000 28%, transparent 76%);
}

.about-page > *:not(.about-bg) {
  position: relative;
  z-index: 1;
}

/* Hero：居中标题区 */
.about-hero {
  margin: 0 auto 30px;
  text-align: center;
  animation: about-rise 0.6s ease-out both;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 16px;
  border: 1px solid rgba(2, 132, 199, 0.28);
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.06);
  color: var(--tech-blue);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.about-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tech-cyan);
  animation: about-pulse 1.8s ease-in-out infinite;
}

@keyframes about-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(14, 165, 233, 0); }
}

.about-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  background: var(--tech-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: about-title-flow 7s ease-in-out infinite alternate;
}

@keyframes about-title-flow {
  from { background-position: 0 0; }
  to { background-position: 100% 0; }
}

.about-lead {
  max-width: 640px;
  margin: 0 auto 18px;
  color: var(--tech-muted);
  font-size: 15px;
  line-height: 1.9;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: 999px;
  background: #fff;
  color: #0369a1;
  font-family: var(--tech-mono);
  font-size: 12px;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px -2px rgba(30, 64, 175, 0.12);
}

.about-badge .layui-icon {
  color: var(--tech-cyan);
}

/* 双栏卡片网格 */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

/* 玻璃卡片：渐变描边 + 逐个浮现 */
.about-card {
  margin-bottom: 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(#ffffff, #fbfdff) padding-box,
    var(--tech-panel) border-box;
  box-shadow: var(--tech-shadow);
  overflow: hidden;
  animation: about-rise 0.55s cubic-bezier(0.22, 0.8, 0.36, 1) both;
  animation-delay: calc(var(--reveal-i, 0) * 0.1s + 0.12s);
  transition: box-shadow 0.3s, transform 0.2s;
}

.about-grid .about-card {
  margin-bottom: 0;
}

.about-card:hover {
  box-shadow: 0 18px 40px -20px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

@keyframes about-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.about-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid #eef3fb;
  background: linear-gradient(180deg, #f4f8ff, #eef4fe);
}

.about-card-head h2 {
  margin: 0;
  color: var(--tech-ink);
  font-size: 17px;
  font-weight: 700;
}

.about-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--tech-accent);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 6px 14px -6px rgba(14, 165, 233, 0.6);
}

.about-card-tip {
  margin-left: auto;
  color: var(--tech-faint);
  font-family: var(--tech-mono);
  font-size: 12px;
}

.about-card-body {
  padding: 20px 22px;
}

.about-prose {
  margin: 0 0 14px;
  color: #384866;
  font-size: 14px;
  line-height: 1.9;
}

/* 特性 / 规则列表：渐变圆点替代默认符号 */
.about-feats,
.about-rules {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-feats li,
.about-rules li {
  position: relative;
  padding: 0 0 0 22px;
  margin-bottom: 10px;
  color: var(--tech-muted);
  font-size: 14px;
  line-height: 1.7;
}

.about-feats li:last-child,
.about-rules li:last-child {
  margin-bottom: 0;
}

.about-feats li::before,
.about-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(#0ea5e9, #7c3aed);
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
}

.about-feats li::before {
  top: 0.6em;
  border-radius: 2px;
}

.about-rules code {
  padding: 1px 6px;
  background: #eaf3ff;
  border: 1px solid #cfe3fb;
  border-radius: 4px;
  color: #0369a1;
  font-family: var(--tech-mono);
  font-size: 12px;
}

/* 审核流程步骤 */
.about-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.about-step {
  position: relative;
  padding: 16px;
  border: 1px solid var(--tech-line);
  border-radius: 12px;
  background: #f8fbff;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.about-step:hover {
  border-color: rgba(14, 165, 233, 0.4);
  background: #fff;
  box-shadow: 0 12px 26px -18px rgba(30, 64, 175, 0.4);
}

.about-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--tech-accent);
  color: #fff;
  font-family: var(--tech-mono);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 14px -6px rgba(99, 102, 241, 0.6);
}

.about-step-text h3 {
  margin: 0 0 6px;
  color: var(--tech-ink);
  font-size: 15px;
  font-weight: 700;
}

.about-step-text p {
  margin: 0;
  color: var(--tech-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* 我们的承诺：图标 + 标题 + 描述 网格 */
.about-promise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-promise-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--tech-line);
  border-radius: 12px;
  background: #f8fbff;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s, transform 0.2s;
}

.about-promise-item:hover {
  border-color: rgba(14, 165, 233, 0.4);
  background: #fff;
  box-shadow: 0 12px 26px -18px rgba(30, 64, 175, 0.4);
  transform: translateY(-2px);
}

.about-promise-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--tech-accent);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 16px -8px rgba(99, 102, 241, 0.6);
}

.about-promise-item h3 {
  margin: 2px 0 6px;
  color: var(--tech-ink);
  font-size: 15px;
  font-weight: 700;
}

.about-promise-item p {
  margin: 0;
  color: var(--tech-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* 常见问题：问答列表 */
.about-qa {
  margin: 0;
}

.about-qa dt {
  position: relative;
  padding: 14px 0 6px 26px;
  color: var(--tech-ink);
  font-size: 15px;
  font-weight: 700;
}

.about-qa dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 15px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--tech-accent);
  color: #fff;
  font-family: var(--tech-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.about-qa dd {
  margin: 0 0 14px;
  padding: 0 0 14px 26px;
  border-bottom: 1px dashed #e6edf8;
  color: var(--tech-muted);
  font-size: 14px;
  line-height: 1.8;
}

.about-qa dd:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

/* 行动号召条 */
.about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 12% -10%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(ellipse at 92% 120%, rgba(139, 92, 246, 0.16), transparent 55%),
    linear-gradient(160deg, #ffffff, #eef4ff);
  box-shadow: 0 20px 46px -30px rgba(30, 64, 175, 0.45);
  animation: about-rise 0.55s cubic-bezier(0.22, 0.8, 0.36, 1) both;
  animation-delay: calc(var(--reveal-i, 5) * 0.1s + 0.12s);
}

.about-cta-copy h2 {
  margin: 0 0 6px;
  color: var(--tech-ink);
  font-size: 20px;
  font-weight: 700;
}

.about-cta-copy p {
  margin: 0;
  color: var(--tech-muted);
  font-size: 14px;
}

.about-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-cta-btn {
  height: 44px;
  line-height: 44px;
  padding: 0 22px;
  font-size: 15px;
}

.about-cta-ghost {
  height: 44px;
  line-height: 42px;
  padding: 0 20px;
  font-size: 15px;
}

/* 响应式 */
@media (max-width: 900px) {
  .about-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-promise-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .about-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-orb,
  .about-title,
  .about-kicker-dot {
    animation: none;
  }

  .about-hero,
  .about-card,
  .about-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
