799 lines
14 KiB
CSS
799 lines
14 KiB
CSS
/* ============ 深色 AI 实验室 ============ */
|
|
:root {
|
|
color-scheme: dark;
|
|
--bg: #070b14;
|
|
--bg-soft: #0b1120;
|
|
--ink: #e6edf7;
|
|
--ink-dim: #8b97ad;
|
|
--ink-faint: #4d586e;
|
|
--cyan: #22d3ee;
|
|
--violet: #a78bfa;
|
|
--amber: #fbbf24;
|
|
--line: rgba(139, 151, 173, 0.16);
|
|
--mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;
|
|
--sans: "Inter", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: auto;
|
|
}
|
|
|
|
body {
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
font-family: var(--sans);
|
|
font-size: 16px;
|
|
line-height: 1.7;
|
|
overflow-x: hidden;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
::selection {
|
|
background: rgba(34, 211, 238, 0.35);
|
|
}
|
|
|
|
a {
|
|
color: var(--cyan);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.entity-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--ink);
|
|
transition: color 0.18s ease;
|
|
}
|
|
|
|
.entity-link::after {
|
|
content: "↗";
|
|
font-family: var(--mono);
|
|
font-size: 10px;
|
|
color: var(--cyan);
|
|
opacity: 0.72;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.entity-link:hover {
|
|
color: var(--cyan);
|
|
}
|
|
|
|
/* ============ 底层画布与氛围 ============ */
|
|
#mind-canvas {
|
|
position: fixed;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.grid-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
background-image: radial-gradient(rgba(139, 151, 173, 0.13) 1px, transparent 1px);
|
|
background-size: 34px 34px;
|
|
mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 30%, transparent 100%);
|
|
-webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 30%, transparent 100%);
|
|
}
|
|
|
|
/* ============ HUD ============ */
|
|
.hud {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 30;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 18px 28px;
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
letter-spacing: 0.14em;
|
|
background: linear-gradient(to bottom, rgba(7, 11, 20, 0.85), transparent);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hud-id {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.hud-name {
|
|
color: var(--ink);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hud-sub {
|
|
color: var(--ink-faint);
|
|
font-size: 10px;
|
|
}
|
|
|
|
.hud-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--cyan);
|
|
}
|
|
|
|
.status-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: var(--cyan);
|
|
box-shadow: 0 0 10px var(--cyan);
|
|
animation: pulse 2.2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.35; }
|
|
}
|
|
|
|
/* ============ 会话进度轨 ============ */
|
|
#session-rail {
|
|
position: fixed;
|
|
right: 22px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
z-index: 30;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.rail-node {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-direction: row-reverse;
|
|
background: none;
|
|
border: 0;
|
|
padding: 6px 0;
|
|
cursor: pointer;
|
|
font-family: var(--mono);
|
|
font-size: 9px;
|
|
letter-spacing: 0.18em;
|
|
color: var(--ink-faint);
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.rail-node::after {
|
|
content: "";
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--ink-faint);
|
|
transition: all 0.3s;
|
|
flex: none;
|
|
}
|
|
|
|
.rail-node .rail-label {
|
|
opacity: 0;
|
|
transform: translateX(6px);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.rail-node:hover .rail-label {
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
|
|
.rail-node.active {
|
|
color: var(--cyan);
|
|
}
|
|
|
|
.rail-node.active::after {
|
|
background: var(--cyan);
|
|
border-color: var(--cyan);
|
|
box-shadow: 0 0 12px var(--cyan);
|
|
}
|
|
|
|
.rail-node.active .rail-label {
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
|
|
/* ============ 对话轮次 ============ */
|
|
main {
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
|
|
.round {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 72px 7vw;
|
|
}
|
|
|
|
.round-inner {
|
|
width: min(640px, 100%);
|
|
position: relative;
|
|
}
|
|
|
|
.round[data-side="-1"] .round-inner { margin-left: auto; }
|
|
.round[data-side="1"] .round-inner { margin-right: auto; }
|
|
.round[data-side="0"] .round-inner { margin: 0 auto; }
|
|
|
|
/* 提问气泡(访客) */
|
|
.q-bubble {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
margin-left: auto;
|
|
margin-bottom: 24px;
|
|
padding: 12px 20px;
|
|
border: 1px solid rgba(34, 211, 238, 0.45);
|
|
border-radius: 18px 18px 4px 18px;
|
|
font-family: var(--mono);
|
|
font-size: 15px;
|
|
color: var(--cyan);
|
|
background: rgba(34, 211, 238, 0.05);
|
|
min-height: 46px;
|
|
min-width: 60px;
|
|
}
|
|
|
|
.q-row {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.q-caret {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 1.1em;
|
|
margin-left: 4px;
|
|
background: var(--cyan);
|
|
transform: translateY(2px);
|
|
animation: blink 0.9s steps(1) infinite;
|
|
}
|
|
|
|
@keyframes blink {
|
|
50% { opacity: 0; }
|
|
}
|
|
|
|
/* 思考态 */
|
|
.thinking {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 22px;
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
letter-spacing: 0.2em;
|
|
color: var(--violet);
|
|
opacity: 0;
|
|
}
|
|
|
|
.thinking .dots {
|
|
display: inline-flex;
|
|
gap: 5px;
|
|
}
|
|
|
|
.thinking .dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--violet);
|
|
animation: think 1.1s ease-in-out infinite;
|
|
}
|
|
|
|
.thinking .dot:nth-child(2) { animation-delay: 0.18s; }
|
|
.thinking .dot:nth-child(3) { animation-delay: 0.36s; }
|
|
|
|
@keyframes think {
|
|
0%, 100% { transform: translateY(0); opacity: 0.4; }
|
|
50% { transform: translateY(-5px); opacity: 1; }
|
|
}
|
|
|
|
/* 回答块 */
|
|
.answer {
|
|
position: relative;
|
|
padding-left: 26px;
|
|
opacity: 0;
|
|
}
|
|
|
|
.answer::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 4px;
|
|
bottom: 4px;
|
|
width: 2px;
|
|
border-radius: 2px;
|
|
background: linear-gradient(to bottom, var(--cyan), var(--violet));
|
|
box-shadow: 0 0 14px rgba(167, 139, 250, 0.5);
|
|
}
|
|
|
|
.a-caret {
|
|
display: inline-block;
|
|
margin-top: 14px;
|
|
color: var(--violet);
|
|
font-family: var(--mono);
|
|
animation: blink 1s steps(1) infinite;
|
|
}
|
|
|
|
.a-title {
|
|
font-family: var(--mono);
|
|
font-size: 13px;
|
|
letter-spacing: 0.22em;
|
|
color: var(--violet);
|
|
margin-bottom: 18px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* ============ Round 0: BOOT ============ */
|
|
#r-boot .round-inner {
|
|
width: min(760px, 100%);
|
|
}
|
|
|
|
.boot-greeting {
|
|
font-size: clamp(34px, 5.4vw, 58px);
|
|
font-weight: 700;
|
|
line-height: 1.18;
|
|
letter-spacing: -0.01em;
|
|
min-height: 1.2em;
|
|
}
|
|
|
|
.boot-greeting .grad {
|
|
background: linear-gradient(100deg, var(--cyan), var(--violet));
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
}
|
|
|
|
.boot-identity {
|
|
margin-top: 20px;
|
|
font-family: var(--mono);
|
|
font-size: 14px;
|
|
color: var(--ink-dim);
|
|
}
|
|
|
|
.boot-identity em {
|
|
font-style: normal;
|
|
color: var(--cyan);
|
|
}
|
|
|
|
.metric-stream {
|
|
margin-top: 44px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.metric-token {
|
|
font-family: var(--mono);
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
padding: 10px 16px;
|
|
background: rgba(11, 17, 32, 0.7);
|
|
backdrop-filter: blur(6px);
|
|
}
|
|
|
|
.metric-token .v {
|
|
color: var(--amber);
|
|
font-weight: 700;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.metric-token .l {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--ink-dim);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.boot-hint {
|
|
margin-top: 56px;
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
letter-spacing: 0.24em;
|
|
color: var(--ink-faint);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.boot-hint::after {
|
|
content: "↓";
|
|
animation: bob 1.6s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes bob {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(6px); }
|
|
}
|
|
|
|
/* ============ Round 1: 概述 ============ */
|
|
.signal-line {
|
|
display: flex;
|
|
gap: 14px;
|
|
margin-bottom: 18px;
|
|
font-size: 16px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.signal-line .idx {
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
color: var(--ink-faint);
|
|
padding-top: 5px;
|
|
flex: none;
|
|
}
|
|
|
|
/* ============ Round 2: 焦点卡 ============ */
|
|
.focus-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 14px;
|
|
}
|
|
|
|
.focus-card {
|
|
border: 1px solid var(--line);
|
|
border-radius: 14px;
|
|
padding: 20px;
|
|
background: rgba(11, 17, 32, 0.72);
|
|
backdrop-filter: blur(8px);
|
|
transition: border-color 0.3s;
|
|
}
|
|
|
|
.focus-card:hover {
|
|
border-color: rgba(34, 211, 238, 0.4);
|
|
}
|
|
|
|
.focus-card h3 {
|
|
font-size: 16px;
|
|
margin-bottom: 8px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.focus-card p {
|
|
font-size: 13px;
|
|
color: var(--ink-dim);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.tag-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.tag {
|
|
font-family: var(--mono);
|
|
font-size: 10.5px;
|
|
padding: 3px 9px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(167, 139, 250, 0.35);
|
|
color: var(--violet);
|
|
}
|
|
|
|
/* ============ Round 3: 项目 ============ */
|
|
.project-block {
|
|
border: 1px solid var(--line);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
margin-bottom: 18px;
|
|
background: rgba(11, 17, 32, 0.78);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.project-head {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 14px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.project-head img {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 10px;
|
|
object-fit: cover;
|
|
background: var(--bg-soft);
|
|
}
|
|
|
|
.project-head .name {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.project-meta {
|
|
min-width: 0;
|
|
flex: 1 1 220px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.project-links {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.mini-link {
|
|
font-family: var(--mono);
|
|
font-size: 10px;
|
|
line-height: 1.4;
|
|
padding: 2px 7px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(34, 211, 238, 0.28);
|
|
color: var(--cyan);
|
|
background: rgba(34, 211, 238, 0.06);
|
|
transition: border-color 0.18s ease, background 0.18s ease;
|
|
}
|
|
|
|
.mini-link:hover {
|
|
border-color: rgba(34, 211, 238, 0.62);
|
|
background: rgba(34, 211, 238, 0.12);
|
|
}
|
|
|
|
.project-head .period {
|
|
margin-left: auto;
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
color: var(--ink-faint);
|
|
}
|
|
|
|
.project-sub {
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
color: var(--cyan);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.project-summary {
|
|
font-size: 13.5px;
|
|
color: var(--ink-dim);
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.project-modules {
|
|
list-style: none;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.project-modules li {
|
|
position: relative;
|
|
padding-left: 18px;
|
|
font-size: 13px;
|
|
color: var(--ink);
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
.project-modules li::before {
|
|
content: "▸";
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--violet);
|
|
}
|
|
|
|
/* ============ Round 4: 技能 ============ */
|
|
.skill-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.skill-group .g-name {
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
letter-spacing: 0.2em;
|
|
color: var(--ink-faint);
|
|
margin-bottom: 8px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.skill-token {
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
padding: 6px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--line);
|
|
background: rgba(11, 17, 32, 0.7);
|
|
color: var(--ink);
|
|
display: inline-block;
|
|
}
|
|
|
|
.skill-token.hot {
|
|
border-color: rgba(34, 211, 238, 0.5);
|
|
color: var(--cyan);
|
|
}
|
|
|
|
/* ============ Round 5: 经历 ============ */
|
|
.exp-item {
|
|
position: relative;
|
|
padding: 0 0 30px 30px;
|
|
}
|
|
|
|
.exp-item::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 6px;
|
|
top: 8px;
|
|
bottom: -4px;
|
|
width: 1px;
|
|
background: var(--line);
|
|
}
|
|
|
|
.exp-item:last-child::before { bottom: auto; height: calc(100% - 8px); }
|
|
|
|
.exp-item::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 2px;
|
|
top: 8px;
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 50%;
|
|
background: var(--bg);
|
|
border: 2px solid var(--cyan);
|
|
box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
|
|
}
|
|
|
|
.exp-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.exp-head img {
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 7px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.exp-head .co {
|
|
font-weight: 600;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.exp-head .period {
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
color: var(--ink-faint);
|
|
}
|
|
|
|
.exp-role {
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
color: var(--violet);
|
|
margin: 4px 0 8px;
|
|
}
|
|
|
|
.exp-points {
|
|
list-style: none;
|
|
}
|
|
|
|
.exp-points li {
|
|
font-size: 13px;
|
|
color: var(--ink-dim);
|
|
margin-bottom: 5px;
|
|
padding-left: 16px;
|
|
position: relative;
|
|
}
|
|
|
|
.exp-points li::before {
|
|
content: "—";
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--ink-faint);
|
|
}
|
|
|
|
/* ============ Round 6: 联系 ============ */
|
|
.contact-lead {
|
|
font-size: clamp(24px, 3.4vw, 36px);
|
|
font-weight: 700;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.contact-id {
|
|
font-family: var(--mono);
|
|
font-size: 12.5px;
|
|
color: var(--ink-dim);
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.contact-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-bottom: 36px;
|
|
}
|
|
|
|
.contact-btn {
|
|
font-family: var(--mono);
|
|
font-size: 13px;
|
|
padding: 12px 22px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--line);
|
|
color: var(--ink);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.contact-btn.primary {
|
|
border-color: var(--cyan);
|
|
color: #06222b;
|
|
background: var(--cyan);
|
|
box-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
|
|
}
|
|
|
|
.contact-btn:not(.primary):hover {
|
|
border-color: var(--violet);
|
|
color: var(--violet);
|
|
}
|
|
|
|
.session-end {
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
letter-spacing: 0.24em;
|
|
color: var(--ink-faint);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.session-end::before,
|
|
.session-end::after {
|
|
content: "";
|
|
height: 1px;
|
|
flex: 1;
|
|
background: var(--line);
|
|
}
|
|
|
|
/* ============ 响应式 ============ */
|
|
@media (max-width: 880px) {
|
|
.round {
|
|
padding: 80px 6vw;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.round-inner {
|
|
width: 100%;
|
|
}
|
|
|
|
.focus-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
#session-rail {
|
|
right: auto;
|
|
top: 54px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
flex-direction: row;
|
|
gap: 14px;
|
|
}
|
|
|
|
.rail-node .rail-label { display: none; }
|
|
|
|
.hud { padding: 14px 18px; }
|
|
|
|
.project-head .period {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
/* ============ 降级 ============ */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.q-caret, .a-caret, .status-dot, .thinking .dot, .boot-hint::after {
|
|
animation: none;
|
|
}
|
|
|
|
.thinking { display: none; }
|
|
.answer { opacity: 1; }
|
|
}
|