| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506 |
- // VOC 报告 CSS 样式(海报级 · Linear/Stripe 风)
- module.exports = `<style>
- :root {
- --bg-0: #0A0A0A;
- --bg-1: #111111;
- --bg-2: #1A1A1A;
- --bg-3: #252525;
- --border: rgba(255,255,255,0.08);
- --border-strong: rgba(255,255,255,0.16);
- --text-1: #F5F5F5;
- --text-2: #A8A8A8;
- --text-3: #6B6B6B;
- --amber: #F5A623;
- --amber-glow: rgba(245,166,35,0.15);
- --green: #00DC82;
- --purple: #8B5CF6;
- --rose: #FF4D8D;
- --blue: #3B82F6;
- --red: #EF4444;
- --font-head: 'Inter','Noto Sans SC','PingFang SC','Hiragino Sans GB','Microsoft YaHei','微软雅黑','Source Han Sans CN',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
- --font-body: 'Noto Sans SC','Inter','PingFang SC','Hiragino Sans GB','Microsoft YaHei','微软雅黑','Source Han Sans CN',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
- --font-mono: 'JetBrains Mono','SF Mono','Fira Code','Cascadia Code',Consolas,'Courier New',monospace;
- --max-w: 1280px;
- --radius-sm: 8px;
- --radius-md: 12px;
- --radius-lg: 20px;
- }
- * { margin: 0; padding: 0; box-sizing: border-box; }
- html {
- scroll-behavior: smooth;
- font-size: 16px;
- /* 轻 snap:不打断流式浏览,但在接近 slide 时会贴合 */
- scroll-snap-type: y proximity;
- }
- @media (prefers-reduced-motion: reduce) {
- html { scroll-snap-type: none; scroll-behavior: auto; }
- }
- body {
- font-family: var(--font-body);
- background: var(--bg-0);
- color: var(--text-1);
- line-height: 1.65;
- -webkit-font-smoothing: antialiased;
- overflow-x: hidden;
- position: relative;
- }
- /* 全局 ambient 光晕 —— 伴随 slide 切换缓慢漂移 */
- body::before {
- content: '';
- position: fixed; inset: 0; pointer-events: none; z-index: 0;
- background:
- radial-gradient(ellipse 900px 700px at var(--amb-x, 20%) var(--amb-y, 25%), rgba(245,166,35,0.10), transparent 60%),
- radial-gradient(ellipse 800px 600px at calc(100% - var(--amb-x, 20%)) calc(100% - var(--amb-y, 25%)), rgba(139,92,246,0.07), transparent 60%);
- transition: background 1.4s cubic-bezier(.2,.7,.2,1);
- }
- body::after {
- content: '';
- position: fixed; inset: 0; pointer-events: none; z-index: 0;
- background-image:
- linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
- linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
- background-size: 80px 80px;
- mask-image: radial-gradient(ellipse 90% 95% at 50% 50%, black 0%, transparent 85%);
- -webkit-mask-image: radial-gradient(ellipse 90% 95% at 50% 50%, black 0%, transparent 85%);
- }
- main.deck { position: relative; z-index: 1; }
- ::selection { background: var(--amber); color: #000; }
- a { color: inherit; text-decoration: none; }
- img { max-width: 100%; display: block; }
- .text-hero { font-family: var(--font-head); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; font-size: clamp(4rem, 12vw, 10rem); }
- .text-poster { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(2.5rem, 6vw, 5rem); }
- .text-h1 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(2rem, 4vw, 3.5rem); }
- .text-h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; font-size: clamp(1.4rem, 2.5vw, 2rem); }
- .text-h3 { font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -0.01em; }
- .text-body { font-size: clamp(0.92rem, 1.1vw, 1rem); line-height: 1.75; color: var(--text-2); }
- .text-sm { font-size: 0.85rem; color: var(--text-2); }
- .text-xs { font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.02em; }
- .text-mono { font-family: var(--font-mono); }
- .text-amber { color: var(--amber); }
- .text-green { color: var(--green); }
- .text-purple { color: var(--purple); }
- .text-rose { color: var(--rose); }
- .text-blue { color: var(--blue); }
- .text-red { color: var(--red); }
- section.report-section {
- min-height: 100vh;
- padding: clamp(60px, 10vh, 120px) clamp(24px, 6vw, 80px);
- position: relative;
- border-bottom: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- justify-content: center;
- scroll-snap-align: start;
- scroll-snap-stop: always;
- overflow: hidden;
- isolation: isolate;
- }
- /* 每一张 slide 的角标:大号数字 */
- section.report-section::before {
- content: attr(data-slide-num);
- position: absolute;
- top: clamp(20px, 3vh, 36px); right: clamp(24px, 4vw, 60px);
- font-family: var(--font-mono); font-weight: 600;
- font-size: clamp(0.68rem, 0.75vw, 0.78rem);
- letter-spacing: 0.25em; color: var(--text-3);
- z-index: 4; pointer-events: none;
- }
- /* slide 专属渐变层(通过 CSS 变量驱动色调) */
- section.report-section::after {
- content: '';
- position: absolute; inset: 0; pointer-events: none; z-index: -1;
- background:
- radial-gradient(ellipse 70% 60% at 85% 15%, var(--slide-glow-1, rgba(245,166,35,0.06)), transparent 55%),
- radial-gradient(ellipse 60% 50% at 15% 85%, var(--slide-glow-2, rgba(139,92,246,0.04)), transparent 55%);
- opacity: 0; transition: opacity 1s cubic-bezier(.2,.7,.2,1);
- }
- section.report-section.in-view::after { opacity: 1; }
- section.report-section[data-tone="amber"] { --slide-glow-1: rgba(245,166,35,0.10); --slide-glow-2: rgba(245,166,35,0.04); }
- section.report-section[data-tone="rose"] { --slide-glow-1: rgba(255,77,141,0.09); --slide-glow-2: rgba(255,77,141,0.04); }
- section.report-section[data-tone="green"] { --slide-glow-1: rgba(0,220,130,0.08); --slide-glow-2: rgba(0,220,130,0.03); }
- section.report-section[data-tone="purple"]{ --slide-glow-1: rgba(139,92,246,0.10); --slide-glow-2: rgba(139,92,246,0.04); }
- section.report-section[data-tone="blue"] { --slide-glow-1: rgba(59,130,246,0.08); --slide-glow-2: rgba(59,130,246,0.03); }
- section.report-section[data-tone="orange"]{ --slide-glow-1: rgba(255,140,66,0.10); --slide-glow-2: rgba(255,140,66,0.04); }
- .section-inner { width: 100%; max-width: var(--max-w); margin: 0 auto; position: relative; }
- .section-head { margin-bottom: clamp(32px, 5vh, 64px); }
- .section-eyebrow {
- display: inline-flex; align-items: center; gap: 10px;
- font-family: var(--font-mono); font-size: 0.72rem;
- letter-spacing: 0.18em; text-transform: uppercase;
- color: var(--amber); font-weight: 500; margin-bottom: 18px;
- }
- .section-eyebrow::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--amber); }
- .section-sub { color: var(--text-2); font-size: 1.05rem; max-width: 720px; margin-top: 14px; line-height: 1.8; }
- .grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
- .grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
- .grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
- .grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
- .card {
- background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.008) 100%), var(--bg-1);
- border: 1px solid var(--border);
- border-radius: var(--radius-md);
- padding: clamp(20px, 2.2vw, 32px);
- position: relative;
- backdrop-filter: blur(8px);
- -webkit-backdrop-filter: blur(8px);
- transition: transform 0.4s cubic-bezier(.2,.7,.2,1), border-color 0.3s ease, box-shadow 0.4s ease;
- }
- .card:hover {
- border-color: var(--border-strong);
- transform: translateY(-3px);
- box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(245,166,35,0.08);
- }
- .card.card-glow { box-shadow: 0 0 40px rgba(245,166,35,0.06); }
- .card-accent {
- border-left: 3px solid var(--amber);
- border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
- }
- .metric {
- background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
- padding: clamp(24px, 2.5vw, 36px); position: relative; overflow: hidden;
- }
- .metric::before {
- content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
- background: linear-gradient(90deg, var(--amber), transparent); opacity: 0.6;
- }
- .metric .metric-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
- .metric .metric-value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -0.03em; line-height: 1; color: var(--text-1); margin-bottom: 8px; }
- .metric .metric-unit { font-family: var(--font-mono); font-size: 0.85rem; color: var(--amber); font-weight: 500; }
- .metric .metric-sub { margin-top: 14px; font-size: 0.82rem; color: var(--text-2); line-height: 1.5; }
- .tag {
- display: inline-flex; align-items: center; gap: 6px;
- padding: 4px 10px; border-radius: 4px; font-size: 0.72rem; font-weight: 500;
- letter-spacing: 0.02em; font-family: var(--font-head);
- background: rgba(245,166,35,0.1); color: var(--amber); border: 1px solid rgba(245,166,35,0.22);
- }
- .tag.green { background: rgba(0,220,130,0.08); color: var(--green); border-color: rgba(0,220,130,0.2); }
- .tag.purple { background: rgba(139,92,246,0.08); color: var(--purple); border-color: rgba(139,92,246,0.2); }
- .tag.rose { background: rgba(255,77,141,0.08); color: var(--rose); border-color: rgba(255,77,141,0.2); }
- .tag.gray { background: rgba(255,255,255,0.04); color: var(--text-2); border-color: var(--border); }
- .cover-hero {
- position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
- padding: clamp(40px, 8vh, 100px) clamp(24px, 6vw, 80px);
- background:
- radial-gradient(ellipse 60% 80% at 30% 30%, rgba(245,166,35,0.08) 0%, transparent 70%),
- radial-gradient(ellipse 40% 60% at 80% 70%, rgba(139,92,246,0.05) 0%, transparent 70%),
- var(--bg-0);
- }
- .cover-grid-bg {
- position: absolute; inset: 0;
- background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
- linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
- background-size: 64px 64px; pointer-events: none;
- mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 0%, transparent 80%);
- -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 0%, transparent 80%);
- }
- .cover-content { position: relative; z-index: 2; max-width: var(--max-w); }
- .cover-meta {
- display: flex; align-items: center; gap: 16px;
- font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-3);
- letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 32px;
- }
- .cover-meta::before { content: ''; width: 32px; height: 2px; background: var(--amber); }
- .cover-title-stack { display: flex; flex-direction: column; gap: 4px; }
- .cover-title {
- font-family: var(--font-head); font-weight: 900; letter-spacing: -0.04em;
- line-height: 0.92; font-size: clamp(3.5rem, 11vw, 9rem);
- color: #fff; /* 兜底纯色:若渐变裁剪失效,至少显示白色粗体 */
- background: linear-gradient(135deg, #fff 30%, rgba(245,166,35,0.9) 100%);
- -webkit-background-clip: text; background-clip: text;
- -webkit-text-fill-color: transparent; /* 代替 color: transparent,不支持时自动退回 color */
- }
- .cover-sub { font-size: clamp(1rem, 1.6vw, 1.4rem); color: var(--text-2); max-width: 780px; margin-top: 32px; line-height: 1.7; }
- .cover-stats {
- display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 28px);
- margin-top: clamp(48px, 8vh, 96px); padding-top: clamp(24px, 4vh, 48px);
- border-top: 1px solid var(--border); max-width: 900px;
- }
- .cover-stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -0.02em; color: var(--amber); }
- .cover-stat .lbl { font-size: 0.78rem; color: var(--text-3); margin-top: 4px; font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }
- @media (max-width: 720px) { .cover-stats { grid-template-columns: repeat(2, 1fr); } }
- .nav-rail {
- position: fixed; left: clamp(16px, 2vw, 32px); top: 50%; transform: translateY(-50%);
- z-index: 100; display: flex; flex-direction: column; gap: 12px;
- }
- .nav-dot {
- width: 32px; height: 3px; border-radius: 2px;
- background: rgba(255,255,255,0.14); cursor: pointer;
- transition: all 0.5s cubic-bezier(.2,.7,.2,1); position: relative;
- display: flex; align-items: center;
- }
- .nav-dot.active { background: var(--amber); width: 48px; box-shadow: 0 0 12px rgba(245,166,35,0.4); }
- .nav-dot:hover { background: rgba(255,255,255,0.3); }
- .nav-dot::after {
- content: attr(data-tip); position: absolute; left: calc(100% + 16px); top: 50%;
- transform: translateY(-50%) translateX(-6px);
- background: rgba(20,20,20,0.92); backdrop-filter: blur(8px);
- border: 1px solid var(--border); padding: 6px 12px; border-radius: 6px;
- font-size: 0.72rem; color: var(--text-1);
- white-space: nowrap; opacity: 0; pointer-events: none;
- transition: opacity 0.25s ease, transform 0.25s ease;
- font-family: var(--font-mono); letter-spacing: 0.04em;
- }
- .nav-dot:hover::after, .nav-dot.active::after { opacity: 1; transform: translateY(-50%) translateX(0); }
- .top-bar {
- position: fixed; top: 0; left: 0; right: 0;
- display: flex; justify-content: space-between; align-items: center;
- padding: 18px clamp(24px, 4vw, 48px); z-index: 99; pointer-events: none;
- background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, transparent 100%);
- }
- .brand-logo { font-family: var(--font-head); font-weight: 900; font-size: 0.88rem; letter-spacing: 0.2em; }
- .brand-logo .dot { color: var(--amber); }
- .progress-line {
- position: fixed; top: 0; left: 0; height: 2px;
- background: linear-gradient(90deg, var(--amber), var(--rose));
- z-index: 1000; width: 0%; transition: width 0.3s ease;
- }
- .chart-container {
- width: 100%; min-height: 340px;
- background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px;
- }
- .voice-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
- .voice-card {
- background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
- padding: 24px; position: relative; transition: all 0.3s ease;
- }
- .voice-card::before {
- content: '"'; position: absolute; top: 8px; left: 12px;
- font-family: Georgia, serif; font-size: 60px; color: var(--amber);
- opacity: 0.3; line-height: 1; pointer-events: none;
- }
- .voice-card .voice-content { font-size: 0.96rem; line-height: 1.7; color: var(--text-1); margin: 20px 0 16px 24px; font-weight: 400; }
- .voice-card .voice-meta {
- display: flex; justify-content: space-between; align-items: center;
- padding-top: 12px; border-top: 1px solid var(--border);
- font-size: 0.75rem; color: var(--text-3);
- }
- .voice-card .voice-likes { color: var(--amber); font-weight: 600; font-family: var(--font-mono); }
- .voice-card.hot { border-color: rgba(245,166,35,0.3); }
- .voice-card.hot::before { opacity: 0.5; }
- .voice-card:hover { border-color: var(--amber); transform: translateY(-3px); }
- .note-card {
- background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
- padding: 20px; display: flex; flex-direction: column; gap: 12px;
- transition: all 0.3s ease;
- }
- .note-card:hover { border-color: var(--amber); transform: translateY(-3px); }
- .note-rank { font-family: var(--font-mono); font-weight: 700; font-size: 0.75rem; color: var(--amber); letter-spacing: 0.15em; }
- .note-title {
- font-size: 1rem; line-height: 1.45; font-weight: 600; color: var(--text-1);
- overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
- }
- .note-stats {
- display: flex; gap: 16px; padding-top: 12px; border-top: 1px solid var(--border);
- font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-2);
- }
- .note-stats .st { display: flex; flex-direction: column; gap: 2px; }
- .note-stats .st .n { color: var(--text-1); font-weight: 600; font-size: 1rem; }
- .note-stats .st .l { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
- .theme-poster {
- background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
- padding: 28px; position: relative; overflow: hidden;
- }
- .theme-poster.pain { border-top: 3px solid var(--rose); }
- .theme-poster.bright { border-top: 3px solid var(--green); }
- .theme-poster.scene { border-top: 3px solid var(--blue); }
- .theme-poster h4 { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 8px; }
- .theme-poster .count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-3); margin-bottom: 16px; }
- .theme-poster .count .num { font-size: 1.4rem; font-weight: 700; color: var(--text-1); margin-right: 4px; }
- .theme-poster .examples { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
- .theme-poster .examples li {
- padding: 10px 14px; background: var(--bg-2); border-left: 2px solid var(--border-strong);
- border-radius: 4px; font-size: 0.85rem; line-height: 1.55; color: var(--text-2);
- }
- .theme-poster.pain .examples li { border-left-color: var(--rose); }
- .theme-poster.bright .examples li { border-left-color: var(--green); }
- .theme-poster.scene .examples li { border-left-color: var(--blue); }
- .insight-banner {
- min-height: 260px; background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
- padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column;
- justify-content: space-between; gap: 32px; position: relative; overflow: hidden;
- }
- .insight-banner::before {
- content: attr(data-num); position: absolute; top: 16px; right: 24px;
- font-family: var(--font-head); font-weight: 900; font-size: clamp(4rem, 9vw, 7rem);
- line-height: 1; color: var(--bg-3); letter-spacing: -0.05em; pointer-events: none;
- }
- .insight-banner h3 {
- font-family: var(--font-head); font-weight: 800;
- font-size: clamp(1.5rem, 2.8vw, 2.2rem); letter-spacing: -0.02em;
- line-height: 1.25; color: var(--text-1); max-width: 85%;
- }
- .insight-banner h3 strong { color: var(--amber); font-weight: 900; }
- .insight-banner .insight-body { color: var(--text-2); font-size: 1rem; line-height: 1.75; max-width: 85%; }
- .insight-banner .insight-data {
- display: flex; gap: 24px; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--border);
- }
- .insight-banner .insight-data .dp { display: flex; flex-direction: column; gap: 2px; }
- .insight-banner .insight-data .dp .num { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; color: var(--amber); }
- .insight-banner .insight-data .dp .lbl { font-size: 0.72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
- .kol-card { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
- .kol-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-3); flex-shrink: 0; object-fit: cover; border: 1px solid var(--border); }
- .kol-info { flex: 1; overflow: hidden; }
- .kol-name { font-weight: 700; font-size: 0.98rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
- .kol-desc { font-size: 0.82rem; color: var(--text-3); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
- .kol-stats { display: flex; gap: 14px; margin-top: 10px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-2); }
- .kol-stats .amber { color: var(--amber); font-weight: 600; }
- .table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
- .data-tbl { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
- .data-tbl thead th {
- text-align: left; padding: 14px 16px; background: var(--bg-1); border-bottom: 1px solid var(--border);
- font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem;
- letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
- }
- .data-tbl tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-1); vertical-align: middle; }
- .data-tbl tbody tr:last-child td { border-bottom: none; }
- .data-tbl tbody tr:hover { background: rgba(255,255,255,0.02); }
- .data-tbl .tb-num { font-family: var(--font-mono); font-weight: 600; color: var(--amber); }
- .matrix-2x2 {
- display: grid; grid-template-columns: 60px 1fr 1fr; grid-template-rows: 1fr 1fr 60px;
- gap: 12px; min-height: 520px; font-family: var(--font-head);
- }
- .matrix-2x2 .axis-y {
- grid-column: 1; grid-row: 1 / 3;
- display: flex; align-items: center; justify-content: center;
- writing-mode: vertical-rl; transform: rotate(180deg);
- font-family: var(--font-mono); font-size: 0.72rem;
- letter-spacing: 0.15em; color: var(--text-3); text-transform: uppercase;
- }
- .matrix-2x2 .axis-x {
- grid-column: 2 / 4; grid-row: 3;
- display: flex; justify-content: center; align-items: center;
- font-family: var(--font-mono); font-size: 0.72rem;
- letter-spacing: 0.15em; color: var(--text-3); text-transform: uppercase;
- }
- .matrix-cell {
- background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-md);
- padding: 20px; position: relative; display: flex; flex-direction: column;
- }
- .matrix-cell .cell-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--text-3); margin-bottom: 10px; text-transform: uppercase; }
- .matrix-cell h5 { font-weight: 700; font-size: 1rem; margin-bottom: 6px; color: var(--text-1); }
- .matrix-cell p { font-size: 0.85rem; color: var(--text-2); line-height: 1.55; }
- .matrix-cell.q1 { border-top: 2px solid var(--amber); }
- .matrix-cell.q2 { border-top: 2px solid var(--green); }
- .matrix-cell.q3 { border-top: 2px solid var(--rose); }
- .matrix-cell.q4 { border-top: 2px solid var(--purple); }
- .tl { position: relative; padding-left: 32px; }
- .tl::before {
- content: ''; position: absolute; left: 8px; top: 10px; bottom: 10px;
- width: 1px; background: linear-gradient(180deg, var(--amber), var(--purple), transparent);
- }
- .tl-item { position: relative; margin-bottom: 28px; padding-left: 20px; }
- .tl-item::before {
- content: ''; position: absolute; left: -30px; top: 6px;
- width: 10px; height: 10px; border-radius: 50%; background: var(--amber);
- border: 2px solid var(--bg-0); box-shadow: 0 0 0 2px var(--amber);
- }
- .tl-item .tl-time { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--amber); text-transform: uppercase; margin-bottom: 4px; }
- .tl-item h5 { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
- .tl-item p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; }
- /* === 渐显:默认可见,只有 js 已就绪时才先隐藏 === */
- .fade-up { opacity: 1; transform: none; transition: opacity 0.9s cubic-bezier(.16,.84,.33,1), transform 0.9s cubic-bezier(.16,.84,.33,1); }
- html.js .fade-up { opacity: 0; transform: translateY(32px); will-change: opacity, transform; }
- html.js .fade-up.is-visible { opacity: 1; transform: translateY(0); }
- /* 深度入场:从下方滑入 + 微缩放(用于 section-head) */
- .rise-in { opacity: 1; transform: none; transition: opacity 1.1s cubic-bezier(.16,.84,.33,1), transform 1.1s cubic-bezier(.16,.84,.33,1); }
- html.js .rise-in { opacity: 0; transform: translateY(48px) scale(0.97); will-change: opacity, transform; }
- html.js .rise-in.is-visible { opacity: 1; transform: translateY(0) scale(1); }
- /* 逐字标题:每个 .char 独立控制 */
- .headline-anim { display: inline-block; }
- .headline-anim .char { display: inline-block; opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(.16,.84,.33,1), transform 0.7s cubic-bezier(.16,.84,.33,1); }
- html.js .headline-anim .char { opacity: 0; transform: translateY(0.6em) rotate(6deg); will-change: opacity, transform; }
- html.js .headline-anim.is-visible .char { opacity: 1; transform: translateY(0) rotate(0); }
- /* 键盘提示 pill —— 右下角,首次滚动 5s 后自动淡出 */
- .kbd-hint {
- position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vh, 28px);
- z-index: 100; display: flex; align-items: center; gap: 10px;
- padding: 10px 16px; border-radius: 999px;
- background: rgba(20,20,20,0.85); backdrop-filter: blur(16px);
- border: 1px solid var(--border-strong);
- font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-2);
- letter-spacing: 0.04em;
- transition: opacity 0.6s ease, transform 0.6s ease;
- }
- .kbd-hint.fade { opacity: 0; transform: translateY(12px); pointer-events: none; }
- .kbd-hint kbd {
- display: inline-flex; align-items: center; justify-content: center;
- min-width: 22px; height: 22px; padding: 0 6px;
- background: var(--bg-3); border: 1px solid var(--border-strong);
- border-radius: 4px; font-size: 0.7rem; font-family: var(--font-mono);
- color: var(--text-1); box-shadow: 0 1px 0 rgba(0,0,0,0.4);
- }
- /* slide counter pill —— 左下角 */
- .slide-counter {
- position: fixed; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vh, 28px);
- z-index: 100; display: flex; align-items: center; gap: 8px;
- padding: 8px 14px; border-radius: 999px;
- background: rgba(20,20,20,0.85); backdrop-filter: blur(16px);
- border: 1px solid var(--border-strong);
- font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em;
- color: var(--text-2);
- }
- .slide-counter .now { color: var(--amber); font-weight: 700; }
- .slide-counter .bar { width: 60px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
- .slide-counter .bar::after {
- content: ''; display: block; height: 100%; width: var(--pct, 0%);
- background: linear-gradient(90deg, var(--amber), var(--rose));
- transition: width 0.6s cubic-bezier(.2,.7,.2,1);
- }
- /* 海报式 hero 点缀:流动的光弧 */
- .cover-hero .aurora {
- position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1;
- }
- .cover-hero .aurora span {
- position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
- }
- .cover-hero .aurora span:nth-child(1) { width: 500px; height: 500px; background: rgba(245,166,35,0.35); top: -10%; left: 10%; animation: aurora-drift-1 18s ease-in-out infinite alternate; }
- .cover-hero .aurora span:nth-child(2) { width: 420px; height: 420px; background: rgba(139,92,246,0.30); bottom: -8%; right: 10%; animation: aurora-drift-2 22s ease-in-out infinite alternate; }
- .cover-hero .aurora span:nth-child(3) { width: 300px; height: 300px; background: rgba(0,220,130,0.22); top: 40%; left: 55%; animation: aurora-drift-3 26s ease-in-out infinite alternate; }
- @keyframes aurora-drift-1 { from { transform: translate(0,0) scale(1); } to { transform: translate(60px,80px) scale(1.2); } }
- @keyframes aurora-drift-2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-80px,-60px) scale(1.15); } }
- @keyframes aurora-drift-3 { from { transform: translate(0,0) scale(1); } to { transform: translate(-100px,40px) scale(1.3); } }
- @media (prefers-reduced-motion: reduce) { .cover-hero .aurora span { animation: none; } }
- footer.report-footer {
- padding: 48px clamp(24px, 6vw, 80px); text-align: center;
- border-top: 1px solid var(--border); color: var(--text-3); font-size: 0.8rem;
- background: var(--bg-0);
- }
- footer.report-footer .meta { font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 8px; font-size: 0.7rem; }
- @media (max-width: 900px) {
- .matrix-2x2 { grid-template-columns: 40px 1fr; grid-template-rows: auto; }
- .matrix-2x2 .axis-x, .matrix-2x2 .axis-y { display: none; }
- .matrix-cell { grid-column: 2; }
- }
- @media (max-width: 600px) {
- .nav-rail { display: none; }
- .top-bar { padding: 14px 18px; font-size: 0.72rem; }
- }
- </style>`;
|