:root {
--glass-bg: rgba(255, 255, 255, .07);
--glass-border: rgba(255, 255, 255, .13);
--glass-hover: rgba(255, 255, 255, .16);
--shadow: 0 1px 8px rgba(0,0,0,.7);
--shadow-sm: 0 1px 6px rgba(0, 0, 0, .5);
--shadow-md: 0 4px 24px rgba(0, 0, 0, .55);
--shadow-lg: 0 12px 48px rgba(0, 0, 0, .6);
--radius-sm: 10px;
--radius-md: 14px;
--radius-lg: 20px;
--transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
--transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--font-mono: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-text-stroke-color: #000 !important;
}
body {
background: #000;
color: #fff;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
text-align: center;
overflow-x: hidden;
min-height: 100vh;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
user-select: none;
-webkit-user-select: none;
-webkit-tap-highlight-color: transparent;
}
.bg {
position: fixed;
inset: 0;
background: url('../数据/图片/背景桌面端.jpg') center/cover no-repeat;
z-index: 0;
filter: brightness(0.55) saturate(1.1);
/* 这里原本挂着一条 filter 1.5s 过渡：滤镜一变就要整屏重绘，白白拖慢首屏 */
}
.bg::after {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(ellipse at 50% 35%, transparent 40%, rgba(0, 0, 0, .55) 100%);
pointer-events: none;
}
.particle {
position: fixed;
pointer-events: none;
z-index: 1;
border-radius: 50%;
animation: floatUp var(--dur) ease-in forwards;
opacity: 0;
}
@keyframes floatUp {
0% { opacity: 0; transform: translateY(0) scale(0.4); }
15% { opacity: var(--op); }
70% { opacity: var(--op); }
100% { opacity: 0; transform: translateY(-110vh) scale(1.6); }
}
.snowflake {
position: fixed;
top: -44px;
pointer-events: none;
z-index: 3;
animation: snowfall var(--fall-dur) linear forwards;
/* 去掉了 drop-shadow：每片雪花每帧都要重算一次模糊，是页面卡顿的大头。
   改成 will-change 让每片各自占一个合成层，位移只走 GPU。 */
will-change: transform;
}
@keyframes snowfall {
0% { transform: translateY(0) rotate(0deg); }
100% { transform: translateY(112vh) rotate(760deg); }
}
.hero {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 5;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
width: 100%;
padding: 0 1.5rem;
pointer-events: none;
}
.hero>* {
pointer-events: auto;
}
.hero-row {
position: relative;
display: block;
margin-bottom: .3rem;
}
.hero h1 {
font-size: clamp(1.6rem, 4vw, 2.5rem);
font-weight: 800;
letter-spacing: .04em;
-webkit-text-stroke: 3px #000;
paint-order: stroke fill;
text-shadow: var(--shadow-md), 0 0 60px rgba(255, 255, 255, .25), 0 0 140px rgba(180, 200, 255, .2);
margin: 0;
display: inline-block;
position: relative;
}
.hero-subtle {
width: var(--base-w, 50px);
height: 2px;
background: rgba(255, 255, 255, .45);
border-radius: 1px;
margin: 0 auto 1.4rem;
animation: pulseLine 2.5s ease-in-out infinite;
transform-origin: center;
will-change: transform, opacity;
}
/* 原来这条动画动的是 width —— 每帧都要重新排版一次；改成 scaleX，只走合成层 */
@keyframes pulseLine {
0%, 100% { transform: scaleX(.5); opacity: .45; }
50% { transform: scaleX(1); opacity: .75; }
}
.tips-wrap {
margin-bottom: 1.8rem;
display: flex;
align-items: center;
justify-content: center;
}
.tips-box {
display: inline-flex;
align-items: center;
gap: .55rem;
padding: .4rem 1.1rem;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 24px;
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
max-width: 88vw;
box-shadow: var(--shadow-sm);
transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.tips-box:hover {
border-color: rgba(255, 255, 255, .25);
box-shadow: var(--shadow-md);
}
.tips-text {
font-size: .85rem;
color: rgba(255, 255, 255, .85);
-webkit-text-stroke: 1px #000;
paint-order: stroke fill;
text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 60vw;
transition: opacity .35s ease;
}
.tips-label {
font-size: .65rem;
color: rgba(255, 255, 255, .5);
-webkit-text-stroke: .5px #000;
paint-order: stroke fill;
text-transform: uppercase;
letter-spacing: .08em;
flex-shrink: 0;
}
.tips-divider {
width: 1px;
height: 14px;
background: rgba(255, 255, 255, .2);
flex-shrink: 0;
}
.btn-group {
display: flex;
gap: .75rem;
margin-bottom: 2.5rem;
flex-wrap: wrap;
justify-content: center;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: .85rem 2.2rem;
background: rgba(255, 255, 255, .15);
border: 1px solid rgba(255, 255, 255, .3);
color: #fff;
border-radius: 10px;
text-decoration: none;
font-weight: 600;
cursor: pointer;
-webkit-text-stroke: 2.5px #000;
paint-order: stroke fill;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
font-size: 1.05rem;
letter-spacing: .02em;
transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
box-shadow: var(--shadow-sm);
position: relative;
overflow: hidden;
}
.btn::after {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .18) 0%, transparent 70%);
opacity: 0;
transition: opacity var(--transition-fast);
}
.btn:hover {
background: rgba(255, 255, 255, .25);
transform: translateY(-2px);
box-shadow: var(--shadow-md);
border-color: rgba(255, 255, 255, .4);
}
.btn:hover::after { opacity: 1; }
.btn:active {
transform: scale(.95);
box-shadow: var(--shadow-sm);
transition: transform .08s ease, box-shadow .08s ease;
}
.dropdown-wrap {
position: relative;
display: inline-block;
isolation: isolate;
}
.dropdown-panel {
visibility: hidden;
opacity: 0;
pointer-events: none;
position: absolute;
top: calc(100% + 8px);
left: 50%;
transform: translateX(-50%) translateY(6px);
min-width: 240px;
background: rgba(26, 26, 26, 0.7);
border: 1px solid rgba(255, 255, 255, .15);
border-radius: 12px;
padding: .5rem;
z-index: 50;
box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
transition: opacity .15s ease, visibility .15s ease, transform .2s cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown-panel.open {
visibility: visible;
opacity: 1;
pointer-events: auto;
transform: translateX(-50%) translateY(0);
}
.dropdown-option {
display: block;
padding: .7rem 1rem;
background: rgba(255, 255, 255, .08);
border: 1px solid rgba(255, 255, 255, .12);
border-radius: 8px;
color: #2563EB;
text-decoration: none;
-webkit-text-stroke: 1.5px #000;
paint-order: stroke fill;
font-size: .95rem;
text-align: left;
margin-bottom: .35rem;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
cursor: pointer;
letter-spacing: .01em;
}
.dropdown-option:last-child { margin-bottom: 0; }
.dropdown-option:hover {
background: rgba(255, 255, 255, .16);
border-color: rgba(255, 255, 255, .25);
transform: translateX(3px);
}
/* 双链接选项容器 */
.dual-link-option {
display: flex;
gap: 0.4rem;
padding: 0;
background: transparent;
border: none;
border-radius: 8px;
margin-bottom: .35rem;
}
.dual-link-option a {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: .5rem 0.4rem;
background: rgba(255, 255, 255, .08);
border: 1px solid rgba(255, 255, 255, .12);
border-radius: 8px;
text-decoration: none;
-webkit-text-stroke: 1.5px #000;
paint-order: stroke fill;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.dual-link-option a:hover {
background: rgba(255, 255, 255, .16);
border-color: rgba(255, 255, 255, .25);
transform: translateY(-1px);
}
.dual-link-option .group-name {
color: #2563EB;
font-size: .9rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.dual-link-option .group-id {
color: #fff;
font-size: .8rem;
white-space: nowrap;
-webkit-text-stroke: 1px #000;
}
.doc-panel {
min-width: 420px;
padding: 1rem;
}
.doc-grid {
display: flex;
gap: 1.2rem;
}
.doc-col {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: .45rem;
}
.doc-item {
display: block;
padding: .55rem .75rem;
background: rgba(255, 255, 255, .06);
border: 1px solid rgba(255, 255, 255, .08);
border-radius: 8px;
color: #fff;
text-decoration: none;
-webkit-text-stroke: 1.5px #000;
paint-order: stroke fill;
font-size: .85rem;
text-align: left;
cursor: pointer;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
letter-spacing: .01em;
}
.doc-item:hover {
background: rgba(255, 255, 255, .15);
border-color: rgba(255, 255, 255, .25);
transform: translateX(3px);
}
.more-btn {
position: fixed;
top: 1.5rem;
right: 1.5rem;
background: rgba(255, 255, 255, .15);
border: 1px solid rgba(255, 255, 255, .3);
color: #fff;
font-size: 1.05rem;
padding: 0 1rem;
height: 42px;
border-radius: 10px;
cursor: pointer;
z-index: 10;
-webkit-text-stroke: 2.5px #000;
paint-order: stroke fill;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
text-decoration: none;
box-shadow: var(--shadow-sm);
font-weight: 600;
letter-spacing: .02em;
}
.more-btn:hover {
background: rgba(255, 255, 255, .25);
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.more-btn:active { transform: scale(.95); }
.modal-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, .6);
z-index: 100;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
align-items: center;
justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
background: rgba(26, 26, 26, 0.8);
border: 1px solid rgba(255, 255, 255, .15);
border-radius: 16px;
padding: 2rem;
min-width: 300px;
max-width: 90vw;
position: relative;
z-index: 101;
box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
animation: modalIn .22s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalIn {
from { opacity: 0; transform: scale(.93) translateY(14px); }
to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
position: absolute;
top: 1rem;
right: 1rem;
background: none;
border: none;
color: #999;
font-size: 1.5rem;
cursor: pointer;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
transition: color .15s, background .15s;
}
.modal-close:hover {
color: #fff;
background: rgba(255, 255, 255, .1);
}
.modal h2 {
color: #fff;
font-size: 1.3rem;
margin-bottom: 1.5rem;
-webkit-text-stroke: 2px #000;
paint-order: stroke fill;
font-weight: 700;
letter-spacing: .03em;
}
.modal-options {
display: flex;
flex-direction: column;
gap: .75rem;
}
.modal-option {
display: block;
padding: .9rem 1.2rem;
background: rgba(255, 255, 255, .08);
border: 1px solid rgba(255, 255, 255, .12);
border-radius: 10px;
color: #fff;
text-decoration: none;
-webkit-text-stroke: 1.5px #000;
paint-order: stroke fill;
font-size: 1rem;
text-align: left;
cursor: pointer;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
transition: background .15s, border-color .15s, transform .15s;
letter-spacing: .02em;
}
.modal-option:hover {
background: rgba(255, 255, 255, .16);
border-color: rgba(255, 255, 255, .25);
transform: translateX(4px);
}
.doc-viewer {
display: none;
position: fixed;
inset: 0;
background: rgba(30, 30, 30, .97);
z-index: 150;
flex-direction: column;
overflow-y: auto;
animation: viewerIn .22s ease;
}
@keyframes viewerIn {
from { opacity: 0; }
to { opacity: 1; }
}
.doc-viewer.active { display: flex; }
.doc-viewer-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 1.5rem;
border-bottom: 1px solid rgba(255, 255, 255, .1);
flex-shrink: 0;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
position: sticky;
top: 0;
z-index: 2;
background: rgba(30, 30, 30, .8);
}
.doc-viewer-title {
color: #fff;
font-size: 1.1rem;
font-weight: 600;
-webkit-text-stroke: 2px #000;
paint-order: stroke fill;
letter-spacing: .02em;
}
.doc-viewer-close {
background: none;
border: none;
color: #999;
font-size: 1.5rem;
cursor: pointer;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
transition: color .15s, background .15s;
}
.doc-viewer-close:hover {
color: #fff;
background: rgba(255, 255, 255, .1);
}
.doc-viewer-body {
flex: 1;
padding: 2rem;
color: #fff;
font-size: .95rem;
line-height: 1.8;
-webkit-text-stroke: 1.5px #000;
paint-order: stroke fill;
white-space: pre-wrap;
word-wrap: break-word;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
width: 100%;
user-select: text;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
}
.doc-viewer-body a {
color: #5b9cf5;
text-decoration: underline;
text-underline-offset: 3px;
transition: color .15s;
}
.doc-viewer-body a:hover { color: #8bb8ff; }
.toast {
position: fixed;
bottom: 1.5rem;
left: 1.5rem;
background: #2a2a2a;
color: #fff;
padding: .6rem 1.2rem;
border-radius: 10px;
font-size: .85rem;
z-index: 300;
box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
border: 1px solid rgba(255, 255, 255, .1);
display: none;
align-items: center;
gap: .6rem;
opacity: 0;
transform: translateY(8px);
transition: opacity .2s, transform .2s;
}
.toast.show {
opacity: 1;
transform: translateY(0);
}
.toast-close {
background: none;
border: none;
color: #888;
cursor: pointer;
font-size: 1rem;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
transition: color .15s, background .15s;
}
.toast-close:hover {
color: #fff;
background: rgba(255, 255, 255, .1);
}
.counter {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: .6rem 1rem;
z-index: 8;
pointer-events: none;
background: linear-gradient(to top, rgba(0, 0, 0, .45) 0%, transparent 100%);
}
.counter-label {
font-size: 1rem;
color: #fff;
margin-bottom: .3rem;
-webkit-text-stroke: 2px #000;
paint-order: stroke fill;
text-shadow: var(--shadow);
white-space: nowrap;
}
.counter-time {
font-size: 1.3rem;
font-weight: 700;
color: #fff;
-webkit-text-stroke: 2px #000;
paint-order: stroke fill;
text-shadow: var(--shadow);
white-space: nowrap;
font-family: var(--font-mono);
}
.counter-sec {
font-size: .85rem;
color: #fff;
margin-top: .2rem;
-webkit-text-stroke: 2px #000;
paint-order: stroke fill;
text-shadow: var(--shadow);
font-family: var(--font-mono);
}
footer {
color: #fff;
font-size: .65rem;
margin-top: .3rem;
-webkit-text-stroke: 1px #000;
paint-order: stroke fill;
text-shadow: var(--shadow);
opacity: .6;
}
.version {
font-size: .7rem;
color: #fff;
-webkit-text-stroke: .5px #000;
paint-order: stroke fill;
opacity: .3;
}
/* 左上角：回主页按钮 + 动图，竖排一列 */
.corner-tl {
position: fixed;
top: 1rem;
left: 1rem;
z-index: 10;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: .6rem;
}
.corner-tl .more-btn,
.corner-tl .corner-gif { position: static; }
/* 版本号：右下角 */
.corner-version {
position: fixed;
right: 1rem;
bottom: .6rem;
z-index: 9;
pointer-events: none;
}
.corner-gif {
position: fixed;
top: 1rem;
left: 1rem;
z-index: 10;
pointer-events: none;
}
.corner-gif img {
width: 100px;
height: auto;
border-radius: 4px;
}
#tooltip {
position: fixed;
left: 0;
top: 0;
pointer-events: none;
background: rgba(20, 20, 20, .92);
color: #fff;
padding: .45rem .75rem;
border-radius: 8px;
font-size: .8rem;
white-space: nowrap;
border: 1px solid rgba(255, 255, 255, .12);
/* 气泡本来就不透明，毛玻璃看不出效果，但它跟着鼠标动 = 每帧重算一次模糊，去掉 */
opacity: 0;
transition: opacity .15s;
z-index: 200;
}
#tooltip.show { opacity: 1; }
@media (max-width: 600px) {
body { padding: 1.5rem; }
h1 { font-size: 2rem; }
.counter-label { font-size: .85rem; }
.counter-time { font-size: 1.1rem; }
.counter-sec { font-size: .75rem; }
.more-btn { top: 1rem; right: 1rem; font-size: .9rem; height: 38px; padding: 0 .8rem; }
.btn-group { gap: .4rem; flex-wrap: wrap; justify-content: center; }
.btn { padding: .5rem .9rem; font-size: .9rem; }
.corner-gif img { width: 70px; }
.modal { min-width: 260px; padding: 1.5rem; }
.doc-panel { min-width: auto !important; max-width: 85vw; padding: .5rem; }
.doc-grid { display: block; }
.doc-col { display: block; }
.doc-item { padding: .55rem .8rem; font-size: .85rem; margin-bottom: .2rem; white-space: nowrap; }
.toast { bottom: 1rem; left: 1rem; }
#tooltip { display: none !important; }
.tips-text { max-width: 55vw; font-size: .78rem; }
.doc-viewer-body {
max-width: none;
margin: 0;
padding: 1.2rem;
width: 100%;
}
.hero-refresh-btn {
right: -38px;
top: 50%;
transform: translateY(-50%);
margin-top: 0;
}
.bg {
background: url('../数据/图片/背景移动端.jpg') center/cover no-repeat;
}
}
@media (prefers-color-scheme: dark) {
* { -webkit-text-stroke-color: #000 !important; }
}