/* TALPADCRACK · 官网 UI 扩展（沿用 installer lite 官网设计系统） */

/* 关键内容不依赖脚本显现：默认可见，入场动画只作为增强 */
.reveal, .reveal:not(.in) { opacity: 1 !important; transform: none !important; }
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }
/* 浮动标签移到卡片下沿之外，不遮挡控制台状态行 */
.hero-visual .chip-log { bottom: -14px; left: 18px; }

.mini-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.panel { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); padding: 24px; }
.panel-shell > .panel { border: 0; border-radius: 0; box-shadow: none; padding: 26px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 17px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.panel-head h3 { margin: 0 0 3px; font-size: 16px; letter-spacing: -.025em; }
.panel-head p { margin: 0; font-size: 11.5px; color: var(--muted); }
.panel-badge { font-family: var(--mono); font-size: 10.5px; color: var(--ok); white-space: nowrap; }
.panel-side { font-family: var(--mono); font-size: 10.5px; color: var(--ok); }
.code-block .cl { color: #8ab4ff; }
.code-block .sep { opacity: .45; }

/* ---------- hero 控制台卡 ---------- */
.console-window { position: relative; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow), 0 2px 6px rgba(20,30,60,.06); overflow: hidden; animation: floaty 7s ease-in-out infinite; }
.cw-top { height: 42px; display: flex; align-items: center; gap: 11px; padding: 0 15px; border-bottom: 1px solid var(--border); background: var(--surface-2); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.cw-dots { display: flex; gap: 5px; }
.cw-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.cw-dots i:first-child { background: #e2685f; } .cw-dots i:nth-child(2) { background: #e0b050; } .cw-dots i:nth-child(3) { background: #61b77a; }
.cw-title { color: var(--text-2); }
.cw-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: 10px; letter-spacing: .08em; }
.cw-live .pulse { width: 6px; height: 6px; }
.cw-body { padding: 20px 22px 16px; }
.cw-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.cw-head b { font-size: 13.5px; letter-spacing: -.02em; }
.cw-head span { font-size: 10.5px; color: var(--muted); }
.cw-rows { display: flex; flex-direction: column; gap: 7px; }
.cw-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); font-size: 12.2px; color: var(--text-2); transition: transform .2s, border-color .2s, background .2s; }
.cw-row:hover { transform: translateX(3px); border-color: var(--border-strong); background: var(--surface-3); color: var(--text); }
.cw-row .rd { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); flex: none; }
.cw-row.ok .rd { background: var(--ok); }
.cw-row b { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--muted); font-weight: 600; }
.cw-foot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 10px; color: var(--muted); }
.hero-log { display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
.hero-log .mono-line { font-family: var(--mono); font-size: 11px; color: var(--code-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-log .mono-line .sep { color: #6b7688; margin: 0 6px; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1.12fr .92fr; gap: 22px; align-items: start; }
.about-p { font-size: 13.6px; line-height: 2; color: var(--text-2); margin: 0 0 15px; }
.about-p b { color: var(--text); font-weight: 680; }
.about-lines { margin-top: 22px; border-top: 1px solid var(--border); }
.about-line { display: flex; align-items: center; gap: 16px; padding: 11px 2px; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); }
.al-k { font-family: var(--mono); font-size: 10.5px; color: var(--muted); width: 42px; flex: none; letter-spacing: .06em; }
.dir-list { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.dir-item { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); transition: transform .2s, box-shadow .2s, border-color .2s; }
.dir-item:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.di-num { font-family: var(--mono); font-size: 11px; color: var(--accent); font-weight: 700; flex: none; width: 24px; }
.dir-item > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dir-item b { font-size: 12.5px; color: var(--text); }
.dir-item small { font-size: 10.5px; color: var(--muted); }
.di-arrow { margin-left: auto; color: var(--muted); font-size: 14px; }

/* ---------- 研究方向面板 ---------- */
.rp-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; min-height: 252px; }
.rp-num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; margin-bottom: 13px; }
.rp-main h3 { font-size: clamp(21px, 2.4vw, 29px); letter-spacing: -.04em; margin: 0 0 14px; }
.rp-main p { font-size: 13.5px; line-height: 1.95; color: var(--text-2); margin: 0 0 20px; max-width: 520px; }
.rp-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.rp-tags span { font-size: 11px; color: var(--text-2); border: 1px solid var(--border); background: var(--surface-2); border-radius: 999px; padding: 5px 12px; }
.rp-side { border-left: 1px solid var(--border); padding-left: 30px; display: flex; flex-direction: column; gap: 22px; }
.rp-block b { display: block; font-size: 11px; font-family: var(--mono); letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; }
.rp-block p { margin: 0; font-size: 12.5px; line-height: 1.9; color: var(--text-2); }
.rp-flow { display: flex; flex-wrap: wrap; gap: 6px; }
.rp-flow span { font-size: 11px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 5px 9px; }
.rp-flow span + span::before { content: "›"; color: var(--muted); margin-right: 6px; }
.pipe-grid { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.pipe-card { padding: 20px 22px; }
.pipe-title { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--muted); }
.pipe-card b { display: block; font-size: 17px; letter-spacing: -.025em; margin-bottom: 8px; }
.pipe-card p { margin: 0; font-size: 12.2px; line-height: 1.85; color: var(--text-2); }

/* ---------- 团队成员 ---------- */
.member-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.mt-left { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); }
.mt-left b { color: var(--text); }
.mt-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.mt-sep { color: var(--muted); }
.mt-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mt-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 7px 14px; box-shadow: var(--shadow-xs); }
.mt-search svg { width: 14px; height: 14px; color: var(--muted); }
.mt-search input { border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12.5px; width: 168px; font-family: inherit; }
.mt-search input::placeholder { color: var(--muted); }
.mt-sort { display: flex; gap: 4px; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: var(--surface); }
.mt-btn { border: 0; background: transparent; color: var(--muted); font-size: 11.5px; padding: 5px 12px; border-radius: 999px; transition: .2s; }
.mt-btn.active { background: var(--pill-bg); color: var(--pill-text); }
.member-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.member-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 24px 12px 19px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-xs); color: var(--text); text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.member-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, hsl(var(--h) 72% 62% / .85), hsl(calc(var(--h) + 40) 72% 62% / .85)); opacity: 0; transition: opacity .25s; }
.member-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.member-card:hover::before { opacity: 1; }
.mc-badge { position: absolute; top: 10px; right: 10px; font-size: 9.5px; color: var(--ok); background: var(--accent-soft); border-radius: 999px; padding: 2px 8px; }
.mc-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 750; color: #fff; background: linear-gradient(140deg, hsl(var(--h) 65% 58%), hsl(calc(var(--h) + 42) 68% 46%)); box-shadow: 0 6px 16px hsl(var(--h) 60% 50% / .25); margin-bottom: 7px; letter-spacing: -.03em; }
.member-card b { font-size: 13.2px; letter-spacing: -.02em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-card small { font-size: 10.5px; color: var(--accent); }
.mc-idx { position: absolute; bottom: 9px; left: 12px; font-family: var(--mono); font-size: 9.5px; color: var(--muted); opacity: .65; }
.member-card.hide { display: none; }
.mt-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 34px 0; }
.team-foot { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.tf-item { display: flex; flex-direction: column; }
.tf-item b { font-size: 18px; letter-spacing: -.03em; }
.tf-item span { font-size: 10.5px; color: var(--muted); }
.team-foot p { margin-left: auto; font-size: 11.5px; color: var(--muted); }

/* ---------- 加入我们 ---------- */
.join-card { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 0; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.join-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; left: -120px; top: -210px; background: radial-gradient(circle, rgba(120,165,255,.20), transparent 68%); pointer-events: none; }
.jc-inner { position: relative; padding: 46px 44px 44px; text-align: center; }
.jc-eyebrow { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; margin-bottom: 22px; }
.jc-inner h3 { font-size: clamp(21px, 2.5vw, 30px); letter-spacing: -.04em; margin: 0 0 10px; }
.jc-sub { font-size: 13px; color: var(--text-2); margin: 0 0 26px; }
.qq-box { display: inline-flex; align-items: center; gap: 13px; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 14px; padding: 11px 13px 11px 16px; box-shadow: var(--shadow-xs); }
.qq-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 15px; font-weight: 750; flex: none; }
.qq-num { font-family: var(--mono); font-size: 22px; font-weight: 700; letter-spacing: .035em; color: var(--text); }
.copy-btn { border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 11px; border-radius: 999px; padding: 7px 13px; white-space: nowrap; transition: .2s; }
.copy-btn:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface-3); }
.jc-hint { font-size: 11.5px; color: var(--muted); margin: 18px 0 24px; }
.jc-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.join-card .btn-outline { color: var(--text); border-color: var(--border-strong); }
.join-card .btn-outline:hover { background: var(--surface-2); }
.jc-side { border-left: 1px solid var(--border); background: var(--surface-2); padding: 38px 28px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.jc-side-head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 4px; }
.jc-side-head b { font-size: 14px; }
.jc-side-head span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.jc-check { display: flex; align-items: flex-start; gap: 11px; }
.jc-check > span { width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 11px; flex: none; }
.jc-check div { display: flex; flex-direction: column; gap: 2px; }
.jc-check b { font-size: 12.2px; }
.jc-check small { font-size: 10.8px; color: var(--muted); line-height: 1.6; }

/* ---------- footer / 悬浮控件 ---------- */
.footer-grid { grid-template-columns: 1.7fr 1fr 1fr; }
.footer-brand { display: flex; gap: 13px; align-items: flex-start; }
.fb-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--pill-bg); color: var(--pill-text); display: grid; place-items: center; font-size: 16px; flex: none; }
.footer-brand b { font-size: 14px; letter-spacing: .01em; }
.footer-brand p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.footer-col b { font-size: 11.5px; letter-spacing: .06em; color: var(--text); margin-bottom: 3px; }
.footer-bottom { justify-content: space-between; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 42px; height: 42px; margin: 0; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--text); border-color: var(--border-strong); }
.to-top svg { width: 17px; height: 17px; }
.shortcut-modal { display: none; }
.shortcut-modal.open { display: grid; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .member-grid { grid-template-columns: repeat(4, 1fr); }
  .rp-grid { gap: 24px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; padding: 26px; }
  .about-grid, .join-card, .rp-grid { grid-template-columns: 1fr; }
  .rp-side { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; padding-top: 22px; }
  .jc-side { border-left: 0; border-top: 1px solid var(--border); }
  .pipe-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .member-grid { grid-template-columns: repeat(3, 1fr); }
  .team-foot p { margin-left: 0; width: 100%; }
}
@media (max-width: 620px) {
  .wrap { width: min(1180px, calc(100% - 32px)); }
  .section { padding: 68px 0; }
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .main-nav.open { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 16px 16px; box-shadow: var(--shadow-sm); }
  .member-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .member-toolbar { align-items: flex-start; }
  .mt-search input { width: 130px; }
  .panel, .panel-shell > .panel { padding: 18px; }
  .jc-inner { padding: 34px 20px; }
  .qq-box { gap: 9px; padding: 9px; }
  .qq-num { font-size: 18px; }
  .copy-btn { font-size: 10px; padding: 6px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-log { gap: 10px; }
  .hero-log .mono-line { font-size: 9.5px; }
  .cw-row { font-size: 11px; padding: 10px 11px; }
  .float-chip.chip-right { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .console-window, .float-chip { animation: none !important; }
  * { scroll-behavior: auto !important; }
}
