Files
2026-05-25 17:24:36 +08:00

2049 lines
40 KiB
CSS

* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Segoe UI", "PingFang SC", sans-serif;
background: #090909;
color: #f4e7bf;
}
.bg-glow {
position: fixed;
inset: 0;
background:
radial-gradient(circle at 20% 20%, rgba(239, 180, 36, 0.20), transparent 35%),
radial-gradient(circle at 80% 10%, rgba(255, 215, 128, 0.15), transparent 25%),
radial-gradient(circle at 50% 90%, rgba(255, 196, 0, 0.12), transparent 30%);
filter: blur(10px);
z-index: -1;
}
.bg-grid {
position: fixed;
inset: 0;
background:
linear-gradient(rgba(255, 215, 90, 0.06) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 215, 90, 0.06) 1px, transparent 1px);
background-size: 30px 30px;
opacity: 0.35;
z-index: -1;
}
.login-body {
min-height: 100vh;
display: grid;
place-items: center;
}
.login-card {
width: 420px;
padding: 34px;
border-radius: 18px;
background: rgba(15, 15, 15, 0.9);
border: 1px solid rgba(255, 215, 120, 0.45);
box-shadow: 0 0 25px rgba(255, 199, 54, 0.35);
backdrop-filter: blur(8px);
}
.login-card h1 {
margin: 0 0 8px;
font-size: 28px;
}
.sub {
margin: 0 0 20px;
color: #d2bd89;
}
label {
display: block;
margin: 14px 0 8px;
}
input {
width: 100%;
padding: 11px 12px;
border-radius: 8px;
border: 1px solid #5f4f2b;
background: #111;
color: #f2dfab;
}
button, .btn-ghost {
margin-top: 18px;
display: inline-block;
padding: 10px 16px;
background: linear-gradient(135deg, #ffd24a, #cf9a15);
color: #1e1a0f;
font-weight: 700;
border: none;
border-radius: 10px;
cursor: pointer;
text-decoration: none;
}
.error {
color: #ff7f7f;
min-height: 20px;
margin-top: 10px;
}
.topbar {
padding: 22px 26px;
border-bottom: 1px solid rgba(255, 212, 74, 0.35);
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(13, 13, 13, 0.9);
}
.topbar h1 {
margin: 0;
font-size: 24px;
}
.top-right {
display: flex;
gap: 12px;
align-items: center;
}
.layout {
padding: 22px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.panel {
border-radius: 14px;
border: 1px solid rgba(255, 212, 74, 0.35);
background: rgba(14, 14, 14, 0.82);
padding: 16px;
min-height: 240px;
}
.panel.wide {
grid-column: 1 / span 2;
}
.panel h2 {
margin-top: 0;
margin-bottom: 10px;
font-size: 19px;
}
pre {
white-space: pre-wrap;
margin: 0;
color: #f7ebc2;
}
.list {
max-height: 360px;
overflow: auto;
display: flex;
flex-direction: column;
gap: 10px;
}
.item {
padding: 10px;
border-radius: 10px;
border: 1px solid rgba(255, 214, 82, 0.28);
background: rgba(40, 32, 14, 0.22);
}
.time {
color: #cab884;
font-size: 12px;
}
.hint {
color: #b9a66d;
font-size: 13px;
margin: 0 0 12px;
}
.row {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}
.row label {
margin: 0;
}
.row select {
min-width: 120px;
padding: 8px 10px;
border-radius: 8px;
border: 1px solid #5f4f2b;
background: #111;
color: #f2dfab;
}
.row input {
width: 130px;
padding: 8px 10px;
border-radius: 8px;
border: 1px solid #5f4f2b;
background: #111;
color: #f2dfab;
}
/* —— MATRIX / 黑客风云 主题 —— */
.matrix-theme,
.matrix-login {
margin: 0;
min-height: 100vh;
font-family: ui-monospace, "Cascadia Mono", "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
background: #020204;
color: #c8fff0;
position: relative;
overflow-x: hidden;
}
.matrix-scanlines {
pointer-events: none;
position: fixed;
inset: 0;
z-index: 50;
background: repeating-linear-gradient(
0deg,
rgba(0, 255, 200, 0.03),
rgba(0, 255, 200, 0.03) 1px,
transparent 1px,
transparent 3px
);
opacity: 0.35;
mix-blend-mode: screen;
}
.matrix-scanlines-strong {
opacity: 0.5;
}
.matrix-noise {
pointer-events: none;
position: fixed;
inset: 0;
z-index: 40;
opacity: 0.04;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.matrix-grid-bg {
position: fixed;
inset: 0;
z-index: 0;
background:
linear-gradient(rgba(0, 255, 213, 0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 255, 213, 0.04) 1px, transparent 1px);
background-size: 48px 48px;
mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black, transparent);
}
.matrix-header {
position: relative;
z-index: 60;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-end;
gap: 14px 20px;
padding: 20px 0 16px;
border-bottom: 1px solid rgba(0, 255, 213, 0.25);
background: linear-gradient(180deg, rgba(0, 40, 32, 0.5), transparent);
width: 100%;
max-width: min(1760px, 100%);
margin: 0 auto;
box-sizing: border-box;
}
.matrix-brand {
max-width: 70%;
}
.matrix-glitch:not(.matrix-glitch-xl) {
font-size: clamp(1.4rem, 3vw, 2rem);
font-weight: 800;
letter-spacing: 0.08em;
color: #00ffd5;
text-shadow:
0 0 12px rgba(0, 255, 213, 0.75),
2px 0 #ff00aa,
-2px 0 #00aaff;
animation: matrix-glitch-skew 3.5s infinite linear alternate;
position: relative;
}
.matrix-glitch-xl {
position: relative;
font-weight: 800;
}
.matrix-tagline {
margin: 8px 0 0;
font-size: 12px;
color: #5ee0c5;
opacity: 0.85;
}
.matrix-header-actions {
display: flex;
gap: 10px;
align-items: center;
flex-wrap: wrap;
}
.matrix-pill {
font-size: 11px;
padding: 6px 12px;
border: 1px solid rgba(0, 255, 213, 0.45);
border-radius: 2px;
color: #00ffd5;
background: rgba(0, 20, 18, 0.85);
box-shadow: 0 0 14px rgba(0, 255, 213, 0.15);
}
.matrix-pill.dim {
color: #7dffc8;
border-color: rgba(125, 255, 200, 0.25);
}
.matrix-btn {
font-family: inherit;
font-size: 12px;
font-weight: 700;
padding: 8px 16px;
border-radius: 2px;
border: 1px solid #00ffd5;
background: rgba(0, 255, 213, 0.12);
color: #00ffd5;
cursor: pointer;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.06em;
transition: background 0.15s, box-shadow 0.15s;
}
.matrix-btn:hover {
background: rgba(0, 255, 213, 0.22);
box-shadow: 0 0 18px rgba(0, 255, 213, 0.35);
}
.matrix-btn.ghost {
background: transparent;
}
.matrix-btn-full {
width: 100%;
margin-top: 8px;
}
.matrix-main {
position: relative;
z-index: 60;
padding: 20px 0 48px;
display: flex;
flex-direction: column;
gap: 18px;
width: 100%;
max-width: min(1760px, 100%);
margin: 0 auto;
box-sizing: border-box;
}
.matrix-main.matrix-crt-inner {
padding: 8px clamp(10px, 1.8vw, 24px) 28px;
width: 100%;
max-width: min(1760px, 100%);
}
.matrix-panel {
border: 1px solid rgba(0, 255, 213, 0.22);
background: rgba(2, 18, 14, 0.72);
box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.6),
inset 0 0 40px rgba(0, 255, 213, 0.04);
padding: 16px 18px;
position: relative;
}
.matrix-panel-hero {
border-color: rgba(255, 0, 170, 0.35);
box-shadow:
0 0 24px rgba(255, 0, 170, 0.12),
inset 0 0 50px rgba(0, 255, 213, 0.05);
overflow: hidden;
isolation: isolate;
}
.matrix-panel-wide {
width: 100%;
}
.matrix-panel-head h2 {
margin: 0;
font-size: 14px;
letter-spacing: 0.12em;
color: #7dffb3;
text-transform: uppercase;
}
.matrix-hint {
margin: 8px 0 14px;
font-size: 11px;
color: #4db89a;
line-height: 1.5;
}
.matrix-form-row {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}
.matrix-form-row label {
font-size: 10px;
color: #5ee0c5;
margin: 0;
}
.matrix-form-row input {
width: 100px;
padding: 7px 8px;
font-family: inherit;
font-size: 12px;
border-radius: 2px;
border: 1px solid rgba(0, 255, 213, 0.35);
background: #030806;
color: #c8fff0;
}
.matrix-msg {
min-height: 18px;
font-size: 11px;
color: #ff6ec7;
margin-top: 8px;
}
.matrix-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 12px;
}
.matrix-card {
border: 1px solid rgba(0, 255, 213, 0.28);
background: linear-gradient(145deg, rgba(0, 30, 26, 0.95), rgba(4, 8, 12, 0.98));
padding: 12px 14px;
position: relative;
overflow: hidden;
}
.matrix-card::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(120deg, transparent 40%, rgba(0, 255, 213, 0.06) 50%, transparent 60%);
transform: translateX(-100%);
animation: matrix-sheen 4s ease-in-out infinite;
}
.matrix-card.hot {
border-color: rgba(255, 0, 170, 0.55);
box-shadow: 0 0 22px rgba(255, 0, 170, 0.18);
}
.matrix-card-title {
font-size: 15px;
font-weight: 800;
color: #00ffd5;
letter-spacing: 0.06em;
}
.matrix-card-meta {
font-size: 10px;
color: #5ee0c5;
margin-top: 4px;
}
.matrix-bar-wrap {
margin-top: 10px;
height: 6px;
background: rgba(0, 0, 0, 0.55);
border: 1px solid rgba(0, 255, 213, 0.2);
}
.matrix-bar {
height: 100%;
background: linear-gradient(90deg, #00ffd5, #ff00aa);
width: 0%;
transition: width 0.4s ease;
}
.matrix-card-line {
margin-top: 8px;
font-size: 11px;
color: #9dffd9;
line-height: 1.45;
}
.matrix-badge {
display: inline-block;
margin-top: 8px;
font-size: 9px;
padding: 3px 8px;
border: 1px solid #ff00aa;
color: #ff9de6;
letter-spacing: 0.1em;
}
.matrix-badge.push {
border-color: #00ffd5;
color: #00ffd5;
}
.matrix-list {
max-height: 320px;
overflow: auto;
display: flex;
flex-direction: column;
gap: 8px;
}
.matrix-list .item {
padding: 10px 12px;
border-radius: 2px;
border: 1px solid rgba(0, 255, 213, 0.2);
background: rgba(0, 12, 10, 0.6);
font-size: 11px;
}
.matrix-list .time {
color: #3d8f7a;
font-size: 10px;
margin-top: 4px;
}
.matrix-split {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
@media (max-width: 900px) {
.matrix-split {
grid-template-columns: 1fr;
}
}
.matrix-pre {
margin: 0;
max-height: 280px;
overflow: auto;
font-size: 10px;
line-height: 1.35;
color: #7dffc8;
background: #010403;
border: 1px solid rgba(0, 255, 213, 0.15);
padding: 10px;
white-space: pre-wrap;
}
.matrix-login {
display: grid;
place-items: center;
min-height: 100vh;
}
.matrix-login-card {
position: relative;
z-index: 60;
width: min(420px, 92vw);
padding: 32px 28px 28px;
border: 1px solid rgba(0, 255, 213, 0.35);
background: rgba(2, 14, 12, 0.92);
box-shadow:
0 0 40px rgba(0, 255, 213, 0.12),
inset 0 0 30px rgba(255, 0, 170, 0.05);
}
.matrix-login-card-chrome {
overflow: visible;
}
.matrix-login-card-chrome::before {
content: "";
position: absolute;
inset: -2px;
border-radius: 6px;
padding: 2px;
background: linear-gradient(
135deg,
rgba(0, 255, 213, 0.65),
rgba(255, 0, 170, 0.45),
rgba(100, 200, 255, 0.4),
rgba(0, 255, 213, 0.55)
);
background-size: 240% 240%;
animation: matrix-border-flow 6s linear infinite;
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
z-index: -1;
}
.matrix-login-badge {
font-size: 9px;
letter-spacing: 0.25em;
color: #ff6ec7;
margin-bottom: 14px;
text-shadow: 0 0 10px rgba(255, 0, 170, 0.45);
}
.matrix-login-glitch {
font-size: 22px;
font-weight: 800;
color: #00ffd5;
letter-spacing: 0.15em;
text-shadow: 0 0 16px rgba(0, 255, 213, 0.6);
}
.matrix-login-sub {
margin: 10px 0 20px;
font-size: 11px;
color: #4db89a;
line-height: 1.5;
}
.matrix-login-form {
display: flex;
flex-direction: column;
gap: 4px;
}
.matrix-label {
font-size: 10px;
color: #5ee0c5;
margin-top: 10px;
}
.matrix-form-row-tight {
margin-top: 10px;
}
.matrix-form-row-wrap {
align-items: stretch;
}
.matrix-textarea {
width: 100%;
max-width: 100%;
box-sizing: border-box;
min-height: 100px;
resize: vertical;
line-height: 1.45;
margin-top: 8px;
}
.matrix-input {
font-family: inherit;
padding: 10px 12px;
border-radius: 2px;
border: 1px solid rgba(0, 255, 213, 0.35);
background: #020403;
color: #c8fff0;
}
.matrix-error {
margin-top: 14px;
min-height: 18px;
font-size: 11px;
color: #ff4d9a;
}
@keyframes matrix-glitch-skew {
0% {
transform: skewX(0deg);
}
12% {
transform: skewX(-0.6deg);
}
24% {
transform: skewX(0.4deg);
}
100% {
transform: skewX(0deg);
}
}
@keyframes matrix-sheen {
0% {
transform: translateX(-120%);
}
60% {
transform: translateX(120%);
}
100% {
transform: translateX(120%);
}
}
/* —— 炫酷增强:CRT / HUD / 代码雨 / 霓虹框 —— */
.matrix-rain-canvas {
position: fixed;
inset: 0;
z-index: 12;
opacity: 0.22;
pointer-events: none;
}
.matrix-vignette {
position: fixed;
inset: 0;
z-index: 45;
pointer-events: none;
background: radial-gradient(ellipse at 50% 40%, transparent 0%, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
mix-blend-mode: multiply;
}
.matrix-aurora {
position: fixed;
inset: -20%;
z-index: 8;
pointer-events: none;
background:
radial-gradient(ellipse 50% 40% at 20% 30%, rgba(255, 0, 170, 0.12), transparent 55%),
radial-gradient(ellipse 40% 35% at 85% 20%, rgba(0, 255, 213, 0.1), transparent 50%),
radial-gradient(ellipse 60% 50% at 50% 100%, rgba(100, 80, 255, 0.08), transparent 45%);
animation: matrix-aurora-drift 18s ease-in-out infinite alternate;
}
@keyframes matrix-aurora-drift {
0% {
transform: translate(0, 0) rotate(0deg);
}
100% {
transform: translate(-2%, 1%) rotate(2deg);
}
}
.matrix-chrome {
position: relative;
z-index: 60;
width: 100%;
max-width: 100%;
box-sizing: border-box;
padding-left: clamp(12px, 2.5vw, 36px);
padding-right: clamp(12px, 2.5vw, 36px);
}
.matrix-hud {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
gap: 10px 12px;
align-items: stretch;
padding: 12px 0 10px;
margin: 0 auto;
width: 100%;
max-width: min(1760px, 100%);
box-sizing: border-box;
border-bottom: 1px solid rgba(0, 255, 213, 0.15);
background: linear-gradient(180deg, rgba(0, 25, 22, 0.92), rgba(0, 8, 10, 0.75));
}
@media (min-width: 1100px) {
.matrix-hud {
grid-template-columns: minmax(132px, 1.1fr) repeat(4, minmax(104px, 0.9fr)) minmax(220px, 2fr);
}
}
.matrix-hud-block {
display: flex;
flex-direction: column;
gap: 2px;
padding: 8px 12px;
min-width: 0;
min-height: 52px;
border: 1px solid rgba(0, 255, 213, 0.28);
background: linear-gradient(160deg, rgba(0, 40, 36, 0.55), rgba(2, 6, 8, 0.9));
box-shadow:
0 0 20px rgba(0, 255, 213, 0.08),
inset 0 1px 0 rgba(255, 255, 255, 0.04);
position: relative;
overflow: visible;
}
.matrix-hud-block::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 2px;
background: linear-gradient(90deg, transparent, #00ffd5, #ff00aa, transparent);
opacity: 0.5;
animation: matrix-hud-scan 2.8s linear infinite;
}
@keyframes matrix-hud-scan {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
.matrix-hud-wide {
grid-column: 1 / -1;
}
@media (min-width: 1100px) {
.matrix-hud-wide {
grid-column: auto;
}
}
.matrix-hud-live {
flex-direction: row;
align-items: center;
border-color: rgba(0, 255, 170, 0.5);
box-shadow: 0 0 24px rgba(0, 255, 200, 0.12);
}
.matrix-hud-stack {
display: flex;
flex-direction: column;
gap: 2px;
}
.matrix-hud-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #00ff9d;
box-shadow: 0 0 10px #00ff9d;
animation: matrix-hud-blink 1.2s ease-in-out infinite;
margin-right: 8px;
align-self: center;
}
@keyframes matrix-hud-blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.35;
}
}
.matrix-hud-label {
font-size: 9px;
letter-spacing: 0.06em;
text-transform: uppercase;
color: #3d9a88;
white-space: nowrap;
overflow: visible;
}
.matrix-hud-val {
font-size: 12px;
font-weight: 700;
color: #b8fff0;
text-shadow: 0 0 12px rgba(0, 255, 213, 0.35);
min-width: 0;
overflow-wrap: anywhere;
word-break: break-word;
}
.matrix-hud-val.mono {
font-size: 10px;
font-weight: 600;
letter-spacing: 0.04em;
word-break: break-all;
}
.matrix-header-crt {
border-bottom: none;
padding-top: 8px;
background: linear-gradient(180deg, rgba(0, 30, 28, 0.65), transparent);
}
.matrix-section-nav {
position: sticky;
top: 0;
z-index: 85;
margin: 0 auto;
width: 100%;
max-width: min(1760px, 100%);
padding: 0 0 10px;
background: linear-gradient(180deg, rgba(0, 12, 10, 0.97) 70%, rgba(0, 12, 10, 0.85));
border-bottom: 1px solid rgba(0, 255, 213, 0.2);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.matrix-section-nav-inner {
display: flex;
flex-wrap: nowrap;
gap: 8px;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
scrollbar-width: thin;
padding: 4px 2px 6px;
}
.matrix-nav-item {
flex: 0 0 auto;
font-family: inherit;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
padding: 10px 14px;
border-radius: 2px;
border: 1px solid rgba(0, 255, 213, 0.28);
background: rgba(0, 20, 18, 0.75);
color: #7dffc8;
cursor: pointer;
white-space: nowrap;
transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.matrix-nav-item:hover {
border-color: rgba(0, 255, 213, 0.55);
color: #b8fff0;
}
.matrix-nav-item.is-active {
border-color: rgba(255, 0, 170, 0.55);
background: linear-gradient(135deg, rgba(0, 255, 213, 0.18), rgba(255, 0, 170, 0.12));
color: #e8fff9;
box-shadow: 0 0 16px rgba(0, 255, 213, 0.15);
}
.matrix-nav-section {
display: none;
}
.matrix-nav-section.is-nav-active {
display: block;
}
.matrix-panel-body {
margin-top: 4px;
}
.matrix-title-wrap {
position: relative;
}
.matrix-glitch-xl {
font-size: clamp(1.6rem, 4vw, 2.35rem);
letter-spacing: 0.12em;
line-height: 1.15;
min-height: 1.2em;
}
.matrix-glitch-base,
.matrix-glitch-layer {
display: block;
}
.matrix-glitch-base {
position: relative;
z-index: 3;
color: #e8fff9;
text-shadow:
0 0 20px rgba(0, 255, 213, 0.9),
0 0 40px rgba(0, 255, 213, 0.35);
}
.matrix-glitch-layer {
position: absolute;
left: 0;
top: 0;
z-index: 1;
width: 100%;
pointer-events: none;
mix-blend-mode: screen;
}
.matrix-glitch-c {
color: #00fff7;
animation: matrix-glitch-x 2.8s infinite steps(2, end);
clip-path: inset(0 0 0 0);
}
.matrix-glitch-m {
color: #ff2da8;
animation: matrix-glitch-x 3.1s infinite reverse steps(2, end);
transform: translate(2px, -1px);
}
@keyframes matrix-glitch-x {
0% {
clip-path: inset(0 88% 0 0);
opacity: 0.85;
}
20% {
clip-path: inset(0 40% 30% 0);
opacity: 0.9;
}
40% {
clip-path: inset(15% 0 55% 0);
opacity: 0.75;
}
60% {
clip-path: inset(0 55% 10% 0);
opacity: 0.95;
}
100% {
clip-path: inset(0 0 70% 0);
opacity: 0.8;
}
}
.matrix-subdeck {
display: flex;
align-items: baseline;
gap: 6px;
margin-top: 10px;
}
.matrix-deco {
color: #ff00aa;
font-weight: 800;
font-size: 14px;
text-shadow: 0 0 12px rgba(255, 0, 170, 0.6);
}
.matrix-tagline-glow {
animation: matrix-tagline-pulse 4s ease-in-out infinite;
}
@keyframes matrix-tagline-pulse {
0%,
100% {
opacity: 0.75;
text-shadow: 0 0 8px rgba(0, 255, 213, 0.25);
}
50% {
opacity: 1;
text-shadow: 0 0 16px rgba(0, 255, 213, 0.45);
}
}
.matrix-pill-clock {
font-variant-numeric: tabular-nums;
border-color: rgba(255, 0, 170, 0.45);
color: #ffc8ef;
box-shadow: 0 0 16px rgba(255, 0, 170, 0.12);
}
.matrix-crt-inner {
border: 1px solid rgba(0, 255, 213, 0.12);
border-radius: 4px;
margin: 0 auto 24px;
padding: 20px 20px 32px;
background: linear-gradient(180deg, rgba(0, 12, 10, 0.35), rgba(0, 0, 0, 0.25));
box-shadow:
inset 0 0 80px rgba(0, 0, 0, 0.45),
0 0 0 1px rgba(0, 255, 213, 0.08);
}
.matrix-panel-chrome {
position: relative;
border-radius: 4px;
overflow: visible;
}
.matrix-panel-chrome::before {
content: "";
position: absolute;
inset: -1px;
border-radius: 5px;
padding: 1px;
background: linear-gradient(
120deg,
rgba(0, 255, 213, 0.5),
rgba(255, 0, 170, 0.35),
rgba(120, 100, 255, 0.4),
rgba(0, 255, 213, 0.45)
);
background-size: 300% 300%;
animation: matrix-border-flow 8s linear infinite;
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
z-index: 0;
}
.matrix-panel-chrome > *:not(.matrix-hero-radar) {
position: relative;
z-index: 1;
}
.matrix-panel-chrome > .matrix-hero-radar {
z-index: 0;
}
@keyframes matrix-border-flow {
0% {
background-position: 0% 50%;
}
100% {
background-position: 200% 50%;
}
}
.matrix-panel-head-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.matrix-panel-head.matrix-panel-fold-toggle:not(.matrix-panel-head-row) {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.matrix-panel-fold-toggle {
cursor: pointer;
user-select: none;
width: 100%;
}
.matrix-panel-fold-toggle:focus-visible {
outline: 1px solid rgba(0, 255, 213, 0.55);
outline-offset: 2px;
}
.matrix-fold-head-right {
display: inline-flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
}
.matrix-fold-chevron {
display: inline-block;
font-size: 10px;
color: #5ee0c5;
transition: transform 0.2s ease;
line-height: 1;
}
.matrix-panel-fold.is-folded .matrix-fold-chevron {
transform: rotate(-90deg);
}
.matrix-panel-fold.is-folded .matrix-panel-fold-body {
display: none;
}
.matrix-panel-fold.is-folded {
padding-bottom: 12px;
}
.matrix-panel-nested {
padding: 12px 14px;
background: rgba(0, 0, 0, 0.2);
}
.matrix-chip {
font-size: 9px;
letter-spacing: 0.18em;
padding: 4px 10px;
border: 1px solid rgba(0, 255, 213, 0.4);
color: #00ffd5;
}
.matrix-chip-magenta {
border-color: rgba(255, 0, 170, 0.55);
color: #ffb8e8;
box-shadow: 0 0 14px rgba(255, 0, 170, 0.2);
animation: matrix-chip-flicker 3s steps(2) infinite;
}
@keyframes matrix-chip-flicker {
0%,
90% {
opacity: 1;
}
92% {
opacity: 0.5;
}
94% {
opacity: 1;
}
}
.matrix-two-col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
}
@media (max-width: 960px) {
.matrix-two-col {
grid-template-columns: 1fr;
}
}
.matrix-btn-pulse {
animation: matrix-btn-glow 2.5s ease-in-out infinite;
}
@keyframes matrix-btn-glow {
0%,
100% {
box-shadow: 0 0 8px rgba(0, 255, 213, 0.2);
}
50% {
box-shadow: 0 0 22px rgba(0, 255, 213, 0.45);
}
}
.matrix-pre-glow {
box-shadow: inset 0 0 24px rgba(0, 255, 213, 0.04);
}
.matrix-list-logs {
max-height: 280px;
}
.matrix-list-item {
border-left: 3px solid rgba(0, 255, 213, 0.35);
transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.matrix-list-item:hover {
transform: translateX(4px);
border-left-color: #ff00aa;
box-shadow: -6px 0 20px rgba(255, 0, 170, 0.12);
}
/* Key monitor — segmented toggles + compact active rows */
.matrix-seg-group {
display: inline-flex;
flex-shrink: 0;
border: 1px solid rgba(0, 255, 213, 0.28);
border-radius: 2px;
overflow: hidden;
}
.matrix-seg-btn {
border: none;
background: rgba(0, 12, 10, 0.75);
color: #3d8f7a;
font-family: inherit;
font-size: 10px;
letter-spacing: 0.06em;
padding: 8px 10px;
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease;
}
.matrix-seg-btn:not(:last-child) {
border-right: 1px solid rgba(0, 255, 213, 0.2);
}
.matrix-seg-btn:hover {
color: #00ffd5;
background: rgba(0, 255, 213, 0.08);
}
.matrix-seg-btn.is-active {
color: #0a1512;
background: rgba(0, 255, 213, 0.85);
font-weight: 600;
}
.key-monitor-form .key-monitor-field {
min-width: 5.5rem;
flex: 0 1 auto;
}
.key-monitor-form .key-monitor-tp {
min-width: 5rem;
}
.key-monitor-form .key-monitor-check {
flex-shrink: 0;
}
.key-monitor-cols {
align-items: start;
}
.key-monitor-col-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 8px;
min-height: 28px;
}
.key-monitor-col-head-main {
display: flex;
align-items: center;
gap: 8px;
}
.key-monitor-export {
flex-shrink: 0;
text-decoration: none;
font-size: 0.75rem;
padding: 4px 8px;
min-height: auto;
}
.key-monitor-count {
font-size: 10px;
padding: 2px 8px;
min-width: 1.5rem;
text-align: center;
}
.key-monitor-scroll-list {
max-height: calc(8 * 52px + 7 * 8px);
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.key-monitor-scroll-list > .item {
min-height: 52px;
box-sizing: border-box;
}
.key-monitor-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 8px 10px !important;
}
.key-monitor-row-body {
flex: 1;
min-width: 0;
line-height: 1.35;
}
.key-monitor-row .key-monitor-del {
flex-shrink: 0;
margin: 0;
padding: 5px 8px;
font-size: 9px;
letter-spacing: 0.04em;
white-space: nowrap;
min-height: auto;
}
.key-gate-ok {
color: #4cd97f;
}
.key-gate-pending {
color: #8892b0;
}
.matrix-card {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.matrix-card:hover {
transform: translateY(-3px) scale(1.01);
box-shadow:
0 12px 32px rgba(0, 0, 0, 0.45),
0 0 28px rgba(0, 255, 213, 0.15);
}
.matrix-hint-empty {
padding: 28px 16px;
text-align: center;
border: 1px dashed rgba(0, 255, 213, 0.25);
background: rgba(0, 0, 0, 0.25);
}
.matrix-hint-empty code {
color: #ff9de0;
font-size: 11px;
}
.matrix-empty-icon {
display: block;
font-size: 28px;
color: #ff00aa;
text-shadow: 0 0 20px rgba(255, 0, 170, 0.5);
margin-bottom: 8px;
}
.matrix-row-title {
margin-bottom: 4px;
}
.matrix-dim {
color: #4a8f7c;
font-size: 10px;
}
.matrix-log-lvl-error {
color: #ff5c9d;
text-shadow: 0 0 8px rgba(255, 0, 100, 0.4);
}
.matrix-log-lvl-warn {
color: #ffd54a;
}
.matrix-log-lvl-info {
color: #5ee0c5;
}
.matrix-bar {
position: relative;
overflow: hidden;
}
.matrix-bar::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
animation: matrix-bar-shine 2s ease-in-out infinite;
}
@keyframes matrix-bar-shine {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
/* —— 雷达扫描(页头 HUD + 漏斗区背景) —— */
.matrix-radar-header {
flex: 0 0 auto;
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
margin: 0 4px;
}
.matrix-radar-hud {
width: 86px;
height: 86px;
border-radius: 50%;
position: relative;
border: 1px solid rgba(0, 255, 213, 0.5);
box-shadow:
inset 0 0 36px rgba(0, 255, 213, 0.14),
0 0 32px rgba(0, 255, 213, 0.22),
inset 0 0 0 1px rgba(255, 0, 170, 0.15);
background: radial-gradient(circle at 50% 50%, rgba(0, 45, 40, 0.95) 0%, rgba(0, 6, 10, 1) 58%, rgba(0, 25, 22, 0.5) 59%);
overflow: hidden;
}
.matrix-radar-h-graticule {
position: absolute;
inset: 0;
border-radius: 50%;
background: repeating-conic-gradient(
from 0deg at 50% 50%,
transparent 0deg 11.25deg,
rgba(0, 255, 200, 0.09) 11.25deg 11.8deg
);
opacity: 0.85;
}
.matrix-radar-h-cross {
position: absolute;
inset: 0;
border-radius: 50%;
background:
linear-gradient(90deg, transparent calc(50% - 1px), rgba(0, 255, 213, 0.25) 50%, transparent calc(50% + 1px)),
linear-gradient(0deg, transparent calc(50% - 1px), rgba(0, 255, 213, 0.25) 50%, transparent calc(50% + 1px));
opacity: 0.6;
}
.matrix-radar-h-rings {
position: absolute;
inset: 10%;
border-radius: 50%;
border: 1px solid rgba(0, 255, 213, 0.18);
box-shadow:
inset 0 0 0 1px rgba(0, 255, 213, 0.1),
inset 0 0 0 14px rgba(0, 255, 213, 0.06),
inset 0 0 0 15px rgba(0, 0, 0, 0.2),
inset 0 0 0 28px rgba(255, 0, 170, 0.05);
}
.matrix-radar-h-sweep {
position: absolute;
inset: -10%;
border-radius: 50%;
background: conic-gradient(
from 0deg at 50% 50%,
transparent 0deg,
transparent 260deg,
rgba(0, 255, 200, 0.15) 285deg,
rgba(0, 255, 220, 0.55) 305deg,
rgba(0, 255, 200, 0.2) 320deg,
transparent 340deg,
transparent 360deg
);
animation: matrix-radar-spin 3.2s linear infinite;
}
.matrix-radar-h-sweep-ghost {
inset: -5%;
opacity: 0.35;
animation-duration: 3.2s;
animation-direction: reverse;
filter: blur(0.5px);
}
@keyframes matrix-radar-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.matrix-radar-h-blip {
position: absolute;
width: 6px;
height: 6px;
left: 68%;
top: 32%;
border-radius: 50%;
background: #ff2da8;
box-shadow: 0 0 10px #ff2da8, 0 0 20px rgba(255, 0, 170, 0.5);
animation: matrix-radar-blip 2.1s ease-in-out infinite;
}
@keyframes matrix-radar-blip {
0%,
100% {
opacity: 0.35;
transform: scale(0.85);
}
45% {
opacity: 1;
transform: scale(1.15);
}
}
.matrix-radar-h-caption {
font-size: 8px;
letter-spacing: 0.35em;
color: #5ee0c5;
text-shadow: 0 0 8px rgba(0, 255, 213, 0.4);
}
.matrix-hero-radar {
position: absolute;
right: -12%;
top: 50%;
width: min(380px, 55vw);
height: min(380px, 55vw);
transform: translateY(-50%);
pointer-events: none;
z-index: 0;
opacity: 0.22;
}
.matrix-hero-radar-grid {
position: absolute;
inset: 0;
border-radius: 50%;
border: 1px solid rgba(0, 255, 213, 0.25);
background: repeating-conic-gradient(
from 0deg at 50% 50%,
transparent 0deg 7.5deg,
rgba(0, 255, 200, 0.07) 7.5deg 8deg
);
}
.matrix-hero-radar-ring {
position: absolute;
inset: 12%;
border-radius: 50%;
border: 1px solid rgba(255, 0, 170, 0.12);
box-shadow:
inset 0 0 40px rgba(0, 255, 213, 0.06),
inset 0 0 0 1px rgba(0, 255, 213, 0.08);
}
.matrix-hero-radar-sweep {
position: absolute;
inset: -5%;
border-radius: 50%;
background: conic-gradient(
from 0deg at 50% 50%,
transparent 0deg 250deg,
rgba(0, 255, 200, 0.08) 270deg,
rgba(0, 255, 220, 0.35) 298deg,
rgba(255, 0, 170, 0.12) 312deg,
transparent 330deg
);
animation: matrix-radar-spin 5.5s linear infinite;
}
.matrix-hero-radar-sweep-trail {
inset: 0;
opacity: 0.45;
animation-duration: 5.5s;
animation-direction: reverse;
filter: blur(1px);
}
@media (max-width: 720px) {
.matrix-radar-header {
order: 3;
width: 100%;
flex-direction: row;
justify-content: center;
}
.matrix-hero-radar {
opacity: 0.12;
right: -25%;
}
}
/* ── 手机 / 小平板自适应 ── */
html {
-webkit-text-size-adjust: 100%;
}
body.matrix-theme {
overflow-x: hidden;
}
@media (max-width: 640px) {
.matrix-chrome {
padding-left: max(10px, env(safe-area-inset-left, 0px));
padding-right: max(10px, env(safe-area-inset-right, 0px));
}
.matrix-hud {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
padding: 10px 0 8px;
}
.matrix-hud-wide {
grid-column: 1 / -1;
}
.matrix-hud-block {
min-height: 44px;
padding: 6px 8px;
}
.matrix-hud-val {
font-size: 11px;
}
.matrix-hud-val.mono {
font-size: 9px;
}
.matrix-header {
padding: 12px 0 10px;
flex-direction: column;
align-items: stretch;
}
.matrix-brand {
max-width: 100%;
}
.matrix-glitch-xl {
font-size: 1.2rem;
letter-spacing: 0.06em;
}
.matrix-tagline {
font-size: 10px;
line-height: 1.45;
}
.matrix-subdeck {
flex-wrap: wrap;
}
.matrix-header-actions {
width: 100%;
justify-content: space-between;
gap: 8px;
}
.matrix-pill {
font-size: 10px;
padding: 8px 10px;
}
.matrix-section-nav {
top: 0;
padding-bottom: 8px;
}
.matrix-nav-item {
font-size: 10px;
padding: 10px 12px;
min-height: 40px;
}
.matrix-main {
padding: 12px 0 24px;
gap: 14px;
}
.matrix-main.matrix-crt-inner {
padding: 6px 8px max(20px, env(safe-area-inset-bottom, 0px));
margin-bottom: 8px;
}
.matrix-panel {
padding: 12px 10px;
}
.matrix-panel-head h2 {
font-size: 12px;
letter-spacing: 0.08em;
line-height: 1.35;
}
.matrix-panel-head-row,
.matrix-panel-head.matrix-panel-fold-toggle:not(.matrix-panel-head-row) {
gap: 8px;
}
.matrix-panel-fold-toggle {
min-height: 44px;
align-items: center;
}
.matrix-fold-head-right {
flex-wrap: wrap;
justify-content: flex-end;
gap: 6px;
}
.matrix-chip {
font-size: 8px;
padding: 3px 6px;
letter-spacing: 0.08em;
}
.matrix-hint {
font-size: 10px;
}
.matrix-form-row,
.matrix-form-row-wrap {
flex-direction: column;
align-items: stretch;
}
.matrix-form-row input:not([type="checkbox"]),
.matrix-form-row select,
.matrix-form-row textarea,
.matrix-form-row .matrix-input {
width: 100% !important;
min-width: 0 !important;
max-width: 100%;
box-sizing: border-box;
}
.matrix-form-row input[type="checkbox"] {
width: auto;
min-height: 20px;
min-width: 20px;
}
.matrix-form-row label {
width: 100%;
}
.matrix-form-row .matrix-btn,
.matrix-form-row-wrap .matrix-btn {
width: 100%;
text-align: center;
min-height: 44px;
}
.key-monitor-form .matrix-seg-group {
width: fit-content;
align-self: flex-start;
}
.key-monitor-form .matrix-seg-btn {
min-height: 36px;
padding: 8px 12px;
}
.key-monitor-form .key-monitor-add {
width: 100%;
}
.key-monitor-row .key-monitor-del {
padding: 4px 6px;
font-size: 8px;
}
.key-monitor-scroll-list {
max-height: calc(8 * 48px + 7 * 8px);
}
.key-monitor-scroll-list > .item {
min-height: 48px;
}
.matrix-grid {
grid-template-columns: 1fr;
}
.matrix-btn {
min-height: 40px;
padding: 10px 14px;
}
.matrix-two-col {
gap: 12px;
}
.matrix-panel-nested {
padding: 10px 8px;
}
.matrix-pre {
max-height: 220px;
font-size: 9px;
}
.matrix-list-logs {
max-height: 240px;
-webkit-overflow-scrolling: touch;
}
.matrix-list .item {
font-size: 10px;
padding: 10px;
}
.matrix-list-item:hover {
transform: none;
}
.matrix-card:hover {
transform: none;
}
.matrix-rain-canvas {
display: none !important;
}
.matrix-scanlines,
.matrix-noise,
.matrix-aurora {
display: none !important;
}
.matrix-vignette {
opacity: 0.35;
background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}
.matrix-hero-radar,
.matrix-radar-header {
display: none !important;
}
.matrix-panel-chrome::before,
.matrix-hud-block::after,
.matrix-card::before {
display: none !important;
}
.matrix-glitch-c,
.matrix-glitch-m {
display: none !important;
}
.matrix-glitch-base {
text-shadow: 0 0 12px rgba(0, 255, 213, 0.35);
}
.matrix-hud-dot {
animation: none !important;
}
.matrix-tagline-glow,
.matrix-btn-pulse,
.matrix-chip-magenta,
.matrix-card::before,
.matrix-panel-chrome::before,
.matrix-hud-block::after,
.matrix-hero-radar-sweep,
.matrix-radar-h-sweep,
.matrix-bar {
animation: none !important;
}
.matrix-chrome,
.matrix-main,
.matrix-panel {
transform: translateZ(0);
}
.matrix-table {
min-width: 560px;
}
}
@media (max-width: 400px) {
.matrix-hud {
grid-template-columns: 1fr;
}
.matrix-glitch-xl {
font-size: 1.05rem;
}
}
/* 手机轻量模式(head 内联脚本提前打标 + 触控设备) */
html.matrix-lite .matrix-rain-canvas,
html.matrix-lite .matrix-scanlines,
html.matrix-lite .matrix-noise,
html.matrix-lite .matrix-aurora {
display: none !important;
}
html.matrix-lite .matrix-hero-radar,
html.matrix-lite .matrix-radar-header,
html.matrix-lite .matrix-panel-chrome::before,
html.matrix-lite .matrix-hud-block::after,
html.matrix-lite .matrix-card::before,
html.matrix-lite .matrix-glitch-c,
html.matrix-lite .matrix-glitch-m {
display: none !important;
}
html.matrix-lite .matrix-glitch-base {
text-shadow: 0 0 12px rgba(0, 255, 213, 0.35);
}
html.matrix-lite .matrix-hud-dot,
html.matrix-lite .matrix-tagline-glow,
html.matrix-lite .matrix-btn-pulse,
html.matrix-lite .matrix-chip-magenta,
html.matrix-lite .matrix-hero-radar-sweep,
html.matrix-lite .matrix-radar-h-sweep,
html.matrix-lite .matrix-bar,
html.matrix-lite .matrix-glitch-c,
html.matrix-lite .matrix-glitch-m {
animation: none !important;
}
html.matrix-lite body.matrix-theme {
background: #020806;
}
@media (prefers-reduced-motion: reduce) {
.matrix-rain-canvas {
display: none !important;
}
.matrix-scanlines,
.matrix-noise,
.matrix-aurora {
display: none !important;
}
.matrix-glitch-c,
.matrix-glitch-m,
.matrix-tagline-glow,
.matrix-btn-pulse,
.matrix-chip-magenta,
.matrix-hud-dot,
.matrix-panel-chrome::before,
.matrix-hud-block::after,
.matrix-card::before,
.matrix-hero-radar-sweep,
.matrix-radar-h-sweep {
animation: none !important;
}
}
.matrix-table-wrap {
width: 100%;
overflow-x: auto;
margin-bottom: 10px;
}
.matrix-table {
width: 100%;
border-collapse: collapse;
min-width: 700px;
}
.matrix-table th,
.matrix-table td {
border: 1px solid rgba(0, 255, 200, 0.2);
padding: 6px 8px;
text-align: left;
}
.matrix-table th {
color: #8ef7dc;
font-weight: 700;
}
.matrix-table td input[type="text"],
.matrix-table td input[type="number"] {
width: 100%;
margin: 0;
padding: 6px 8px;
}
.matrix-table td input[type="checkbox"] {
width: auto;
margin: 0;
}