feat: 首页增加工具箱功能区、剧本评测可视化展示;重构剧本评分页面UI

- 首页新增工具箱功能区(ToolboxSection),展示四大AI工具卡片
- 首页剧本功能区替换为六维柱状图可视化(ScriptReviewVisual)
- 剧本评分页面(ScriptTokensPage)全面重构为新版UI布局
- 左侧面板:上传区、AI识别信息、历史评测(持久化)、操作按钮
- 右侧:剧本输入区、评测结果Hero、六维柱状图、亮点/扣分点、优化建议表格
- 历史评测支持localStorage持久化,按时间倒序排列
This commit is contained in:
OmniAI Developer
2026-06-02 18:58:13 +08:00
parent c13bf800cc
commit 05e4f5b4b3
17 changed files with 3510 additions and 504 deletions
+1
View File
@@ -572,6 +572,7 @@
transform-origin: center;
}
.omni-home__feature-stats {
position: absolute;
right: clamp(22px, 7vw, 92px);
+264
View File
@@ -0,0 +1,264 @@
/* ===== 剧本评测展示 ===== */
.omni-script-review-visual {
display: flex;
flex-direction: column;
gap: 16px;
width: 100%;
height: 100%;
padding: clamp(14px, 2vw, 24px);
justify-content: center;
}
/* Hero */
.omni-script-review-hero {
display: flex;
flex-direction: column;
gap: 6px;
}
.omni-script-review-score-row {
display: flex;
align-items: flex-end;
gap: 4px;
}
.omni-script-review-num {
font-size: clamp(36px, 5vw, 56px);
font-weight: 800;
color: var(--accent);
line-height: 1;
letter-spacing: -2px;
}
.omni-script-review-total {
font-size: 14px;
color: rgb(255 255 255 / 30%);
font-weight: 400;
margin-bottom: 6px;
}
.omni-script-review-grade {
display: inline-flex;
align-items: center;
gap: 5px;
margin-left: 12px;
margin-bottom: 8px;
padding: 2px 10px;
border-radius: 4px;
background: rgba(0, 255, 136, 0.08);
border: 1px solid rgba(0, 255, 136, 0.2);
font-size: 12px;
font-weight: 600;
color: var(--accent);
}
.omni-script-review-grade-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--accent);
animation: omni-sr-pulse 2s ease infinite;
}
@keyframes omni-sr-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
.omni-script-review-bar {
width: 100%;
max-width: 320px;
height: 3px;
border-radius: 2px;
background: rgba(255, 255, 255, 0.08);
overflow: hidden;
}
.omni-script-review-bar-fill {
height: 100%;
border-radius: 2px;
background: var(--accent);
transition: width 1.4s ease;
}
.omni-script-review-beat {
font-size: 11px;
color: rgb(255 255 255 / 30%);
}
.omni-script-review-beat b {
color: var(--accent);
font-weight: 600;
}
/* Chart */
.omni-script-review-chart {
display: flex;
flex-direction: column;
gap: 10px;
flex: 1;
min-height: 0;
}
.omni-script-review-chart-bars {
display: flex;
gap: 10px;
flex: 1;
align-items: flex-end;
min-height: 0;
}
.omni-script-review-bcol {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
cursor: pointer;
min-height: 0;
}
.omni-script-review-bbar-area {
flex: 1;
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
min-height: 0;
position: relative;
}
.omni-script-review-bseg {
width: 70%;
min-height: 0;
transition: height 1s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s, opacity 0.25s;
}
.omni-script-review-bseg.is-score {
background: linear-gradient(180deg, #33ffaa, var(--accent) 40%, #00cc6a);
border-radius: 5px 5px 2px 2px;
position: relative;
overflow: hidden;
}
.omni-script-review-bseg.is-score::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 50%;
bottom: 0;
background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
border-radius: 5px 0 0 0;
pointer-events: none;
}
.omni-script-review-bseg.is-perfect {
border-radius: 5px;
}
.omni-script-review-bseg.is-loss {
background: rgba(255, 255, 255, 0.04);
border: 1px dashed rgba(255, 255, 255, 0.1);
border-bottom: none;
border-radius: 2px 2px 0 0;
}
.omni-script-review-bcol:hover .omni-script-review-bseg.is-score {
filter: brightness(1.15);
box-shadow: 0 0 10px rgba(0, 255, 136, 0.15);
}
.omni-script-review-bcol.is-active .omni-script-review-bseg.is-score {
filter: brightness(1.25);
box-shadow: 0 0 14px rgba(0, 255, 136, 0.25);
}
.omni-script-review-bcol.is-dimmed .omni-script-review-bseg {
opacity: 0.2;
}
.omni-script-review-blabel {
text-align: center;
}
.omni-script-review-blabel span {
font-size: clamp(8px, 0.9vw, 10px);
font-weight: 600;
color: rgb(255 255 255 / 55%);
white-space: nowrap;
}
.omni-script-review-bcol:hover .omni-script-review-blabel span,
.omni-script-review-bcol.is-active .omni-script-review-blabel span {
color: var(--accent);
}
.omni-script-review-diminfo {
display: flex;
align-items: center;
gap: 8px;
padding: 4px 0;
animation: omni-sr-fadeUp 0.25s ease;
}
@keyframes omni-sr-fadeUp {
from { opacity: 0; transform: translateY(4px); }
to { opacity: 1; transform: translateY(0); }
}
.omni-script-review-diminfo-name {
font-size: 12px;
font-weight: 700;
color: #fff;
}
.omni-script-review-diminfo-score {
font-size: 22px;
font-weight: 800;
color: var(--accent);
line-height: 1;
}
.omni-script-review-diminfo-score small {
font-size: 12px;
color: rgb(255 255 255 / 30%);
font-weight: 400;
}
.omni-script-review-legend {
display: flex;
gap: 14px;
justify-content: flex-end;
font-size: 9px;
color: rgb(255 255 255 / 30%);
}
.omni-script-review-legend-dot {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 2px;
vertical-align: middle;
margin-right: 2px;
}
.omni-script-review-legend-dot.is-score {
background: var(--accent);
}
.omni-script-review-legend-dot.is-loss {
background: rgba(255, 255, 255, 0.04);
border: 1px dashed rgba(255, 255, 255, 0.15);
}
@media (max-width: 560px) {
.omni-script-review-chart-bars {
gap: 6px;
}
.omni-script-review-bseg {
width: 80%;
}
}
File diff suppressed because it is too large Load Diff
+884
View File
@@ -0,0 +1,884 @@
/* ===== 工具箱功能页 ===== */
.omni-home__toolbox-page {
--toolbox-green: #00ff88;
--toolbox-blue: #4fc3f7;
--toolbox-purple: #a855f7;
--toolbox-surface: rgba(14, 16, 38, 0.75);
--toolbox-elevated: rgba(20, 22, 52, 0.85);
--toolbox-highlight: rgba(28, 31, 68, 0.9);
--toolbox-border-subtle: rgba(0, 255, 136, 0.08);
--toolbox-border-default: rgba(0, 255, 136, 0.14);
--toolbox-border-hover: rgba(0, 255, 136, 0.28);
--toolbox-text-primary: #f0f0f5;
--toolbox-text-secondary: rgba(240, 240, 245, 0.6);
--toolbox-text-tertiary: rgba(240, 240, 245, 0.4);
position: relative;
isolation: isolate;
min-height: var(--home-section-min-height);
border-top: 1px solid rgb(255 255 255 / 8%);
background:
linear-gradient(180deg, #070b10 0%, #05080d 100%),
radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 255, 136, 0.04) 0%, transparent 70%),
radial-gradient(ellipse 60% 50% at 80% 70%, rgba(79, 195, 247, 0.03) 0%, transparent 60%),
radial-gradient(ellipse 50% 40% at 20% 80%, rgba(168, 85, 247, 0.03) 0%, transparent 60%);
scroll-snap-align: start;
scroll-snap-stop: normal;
}
.omni-home__toolbox-shell {
position: relative;
z-index: 2;
display: flex;
gap: clamp(20px, 3vw, 40px);
padding: clamp(42px, 6vw, 82px) clamp(22px, 7vw, 92px);
min-height: var(--home-section-min-height);
align-items: center;
}
/* ===== Left Panel ===== */
.omni-home__toolbox-left {
width: clamp(340px, 30vw, 440px);
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 16px;
justify-content: flex-start;
padding-top: clamp(40px, 8vh, 100px);
}
.omni-home__toolbox-brand {
display: flex;
align-items: center;
gap: 12px;
}
.omni-home__toolbox-brand-icon {
width: 52px;
height: 52px;
background: var(--toolbox-green);
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
color: #0a0b12;
font-size: 26px;
}
.omni-home__toolbox-brand-icon .anticon {
font-size: 28px;
}
.omni-home__toolbox-brand-text {
font-weight: 900;
font-size: 30px;
color: #fff;
letter-spacing: -0.5px;
}
.omni-home__toolbox-title {
font-weight: 900;
font-size: clamp(34px, 3.6vw, 46px);
line-height: 1.15;
background: linear-gradient(135deg, var(--toolbox-green), var(--toolbox-blue));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.omni-home__toolbox-subtitle {
font-size: 17px;
line-height: 1.6;
color: var(--toolbox-text-secondary);
}
.omni-home__toolbox-list {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 8px;
}
.omni-home__toolbox-item {
display: flex;
align-items: flex-start;
gap: 16px;
padding: 18px 22px;
border-radius: 16px;
background: var(--toolbox-surface);
border: 1px solid var(--toolbox-border-subtle);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
animation: omni-toolbox-fadeSlideIn 0.6s ease both;
}
.omni-home__toolbox-item:nth-child(1) { animation-delay: 0.1s; }
.omni-home__toolbox-item:nth-child(2) { animation-delay: 0.2s; }
.omni-home__toolbox-item:nth-child(3) { animation-delay: 0.3s; }
.omni-home__toolbox-item:nth-child(4) { animation-delay: 0.4s; }
.omni-home__toolbox-item:hover {
border-color: var(--toolbox-border-hover);
transform: translateX(4px);
background: var(--toolbox-elevated);
}
.omni-home__toolbox-item-icon {
font-size: 28px;
flex-shrink: 0;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
background: rgba(0, 255, 136, 0.08);
}
.omni-home__toolbox-item-info {
display: flex;
flex-direction: column;
gap: 5px;
}
.omni-home__toolbox-item-name {
font-weight: 700;
font-size: 17px;
color: var(--toolbox-text-primary);
}
.omni-home__toolbox-item-desc {
font-size: 14px;
color: var(--toolbox-text-tertiary);
line-height: 1.5;
}
@keyframes omni-toolbox-fadeSlideIn {
from { opacity: 0; transform: translateX(-12px); }
to { opacity: 1; transform: translateX(0); }
}
.omni-home__toolbox-workflow {
margin-top: auto;
padding: 20px 24px;
border-radius: 16px;
background: var(--toolbox-surface);
border: 1px solid var(--toolbox-border-subtle);
}
.omni-home__toolbox-workflow-label {
font-size: 14px;
font-weight: 700;
color: var(--toolbox-green);
margin-bottom: 12px;
letter-spacing: 0.5px;
text-transform: uppercase;
}
.omni-home__toolbox-workflow-steps {
display: flex;
align-items: center;
gap: 10px;
font-size: 14px;
color: var(--toolbox-text-tertiary);
}
.omni-home__toolbox-workflow-step {
color: var(--toolbox-text-secondary);
}
.omni-home__toolbox-workflow-arrow {
color: var(--toolbox-green);
font-size: 14px;
}
/* ===== Grid Area ===== */
.omni-home__toolbox-grid {
flex: 1;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
gap: 16px;
min-height: clamp(360px, 40vw, 520px);
}
/* ===== Tool Cards ===== */
.omni-home__toolbox-card {
position: relative;
border-radius: 18px;
background: var(--toolbox-elevated);
border: 1px solid var(--toolbox-border-default);
backdrop-filter: blur(20px);
overflow: hidden;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
flex-direction: column;
cursor: pointer;
animation: omni-toolbox-cardIn 0.7s ease both;
}
.omni-home__toolbox-card:nth-child(1) { animation-delay: 0.15s; }
.omni-home__toolbox-card:nth-child(2) { animation-delay: 0.25s; }
.omni-home__toolbox-card:nth-child(3) { animation-delay: 0.35s; }
.omni-home__toolbox-card:nth-child(4) { animation-delay: 0.45s; }
.omni-home__toolbox-card:hover {
transform: translateY(-6px) scale(1.01);
border-color: var(--toolbox-border-hover);
box-shadow:
0 12px 40px rgba(0, 255, 136, 0.08),
0 0 60px rgba(0, 255, 136, 0.04);
}
@keyframes omni-toolbox-cardIn {
from { opacity: 0; transform: translateY(20px) scale(0.97); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.omni-home__toolbox-card-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px 0;
}
.omni-home__toolbox-card-header-left {
display: flex;
align-items: center;
gap: 10px;
}
.omni-home__toolbox-card-icon {
width: 32px;
height: 32px;
border-radius: 9px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
background: rgba(0, 255, 136, 0.1);
border: 1px solid rgba(0, 255, 136, 0.12);
}
.omni-home__toolbox-card-title {
font-weight: 900;
font-size: 14px;
color: var(--toolbox-text-primary);
}
.omni-home__toolbox-card-tag {
padding: 3px 10px;
border-radius: 20px;
font-size: 10px;
font-weight: 700;
color: var(--toolbox-green);
background: rgba(0, 255, 136, 0.1);
border: 1px solid rgba(0, 255, 136, 0.2);
letter-spacing: 0.3px;
}
.omni-home__toolbox-card-content {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 10px 18px;
}
.omni-home__toolbox-card-footer {
padding: 8px 18px 12px;
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.omni-home__toolbox-card-feat {
padding: 2px 8px;
border-radius: 4px;
font-size: 10px;
color: var(--toolbox-text-tertiary);
background: rgba(255, 255, 255, 0.04);
}
.omni-home__toolbox-card-feat-sep {
color: rgba(0, 255, 136, 0.2);
font-size: 10px;
}
/* === Card 1: 图片工作室 === */
.toolbox-card1-content {
width: 100%;
height: 100%;
display: flex;
gap: 0;
position: relative;
}
.toolbox-card1-side {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 10px;
position: relative;
overflow: hidden;
padding: 6px;
}
.toolbox-card1-left {
background: rgba(255, 255, 255, 0.02);
margin-right: 1px;
}
.toolbox-card1-right {
background: rgba(0, 255, 136, 0.02);
margin-left: 1px;
}
.toolbox-card1-img {
width: 100%;
flex: 1;
border-radius: 8px;
position: relative;
overflow: hidden;
}
.toolbox-card1-img img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
border-radius: 8px;
}
.toolbox-card1-left .toolbox-card1-img {
box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}
.toolbox-card1-right .toolbox-card1-img {
box-shadow: 0 0 12px rgba(0, 255, 136, 0.06);
}
.toolbox-card1-label {
font-size: 10px;
color: var(--toolbox-text-tertiary);
margin-top: 6px;
font-weight: 700;
letter-spacing: 0.5px;
}
.toolbox-card1-left .toolbox-card1-label {
color: rgba(255, 255, 255, 0.35);
}
.toolbox-card1-right .toolbox-card1-label {
color: rgba(0, 255, 136, 0.5);
}
.toolbox-card1-divider {
width: 1px;
background: linear-gradient(to bottom, transparent, rgba(0, 255, 136, 0.3), transparent);
position: absolute;
left: 50%;
top: 8%;
height: 84%;
}
/* === Card 2: 镜头实验室 === */
.toolbox-card2-content {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 0 4px;
}
.toolbox-card2-frame {
flex: 1;
height: 85%;
border-radius: 8px;
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
background: linear-gradient(180deg, #1a1d42 0%, #141230 100%);
border: 1px solid rgba(0, 255, 136, 0.06);
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.toolbox-card2-frame:hover {
border-color: rgba(0, 255, 136, 0.2);
box-shadow: 0 0 16px rgba(0, 255, 136, 0.08);
transform: scale(1.04);
}
.toolbox-card2-product {
position: absolute;
top: 14%;
left: 50%;
transform: translateX(-50%);
width: 55%;
height: 50%;
border-radius: 6px;
transition: all 0.3s;
}
.toolbox-card2-frame:nth-child(1) .toolbox-card2-product {
background: repeating-linear-gradient(0deg, #6b9b7a 0px, #6b9b7a 2px, #d4dfc8 2px, #d4dfc8 4px);
}
.toolbox-card2-frame:nth-child(2) .toolbox-card2-product {
background: repeating-linear-gradient(0deg, #6b9b7a 0px, #6b9b7a 2px, #d4dfc8 2px, #d4dfc8 4px);
transform: translateX(-50%) perspective(200px) rotateY(25deg);
width: 48%;
}
.toolbox-card2-frame:nth-child(3) .toolbox-card2-product {
background: repeating-linear-gradient(90deg, #6b9b7a 0px, #6b9b7a 2px, #d4dfc8 2px, #d4dfc8 4px);
width: 50%;
height: 40%;
border-radius: 50%;
}
.toolbox-card2-frame:nth-child(4) .toolbox-card2-product {
background: repeating-linear-gradient(0deg, #6b9b7a 0px, #6b9b7a 2px, #d4dfc8 2px, #d4dfc8 4px);
width: 58%;
transform: translateX(-50%) perspective(200px) rotateX(-15deg);
}
.toolbox-card2-frame:nth-child(5) .toolbox-card2-product {
background: repeating-linear-gradient(0deg, #5a7a4e 0px, #5a7a4e 2px, #b8c8a8 2px, #b8c8a8 4px);
width: 50%;
opacity: 0.8;
}
.toolbox-card2-shadow {
position: absolute;
top: 66%;
left: 50%;
transform: translateX(-50%);
width: 40%;
height: 4px;
border-radius: 50%;
background: rgba(0, 255, 136, 0.06);
filter: blur(3px);
}
.toolbox-card2-angle-label {
position: relative;
z-index: 1;
font-size: 9px;
font-weight: 700;
color: var(--toolbox-text-tertiary);
margin-bottom: 10%;
letter-spacing: 0.5px;
padding: 2px 8px;
border-radius: 4px;
background: rgba(0, 255, 136, 0.06);
border: 1px solid rgba(0, 255, 136, 0.08);
}
.toolbox-card2-frame:nth-child(1) .toolbox-card2-angle-label {
color: var(--toolbox-green);
background: rgba(0, 255, 136, 0.1);
border-color: rgba(0, 255, 136, 0.2);
}
/* === Card 3: 一键数字人 === */
.toolbox-card3-content {
width: 100%;
height: 100%;
display: flex;
gap: 0;
position: relative;
}
.toolbox-card3-side {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 10px;
position: relative;
overflow: hidden;
}
.toolbox-card3-left {
background: rgba(255, 255, 255, 0.02);
margin-right: 1px;
}
.toolbox-card3-right {
background: rgba(0, 255, 136, 0.02);
margin-left: 1px;
}
.toolbox-card3-portrait {
width: 70%;
aspect-ratio: 3/4;
border-radius: 10px;
position: relative;
overflow: hidden;
}
.toolbox-card3-left .toolbox-card3-portrait {
background: linear-gradient(180deg, #2a2d5e, #1e2050);
box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}
.toolbox-card3-left .toolbox-card3-portrait::before {
content: '';
position: absolute;
top: 14%;
left: 50%;
transform: translateX(-50%);
width: 32%;
aspect-ratio: 1;
border-radius: 50%;
background: rgba(200, 190, 220, 0.1);
}
.toolbox-card3-left .toolbox-card3-portrait::after {
content: '';
position: absolute;
top: 42%;
left: 50%;
transform: translateX(-50%);
width: 50%;
height: 40%;
border-radius: 20% 20% 5% 5%;
background: rgba(200, 190, 220, 0.06);
}
.toolbox-card3-portrait-mark {
position: absolute;
bottom: 8px;
left: 8px;
font-size: 8px;
font-weight: 700;
color: rgba(255, 255, 255, 0.25);
background: rgba(0, 0, 0, 0.4);
padding: 2px 6px;
border-radius: 3px;
letter-spacing: 1px;
}
.toolbox-card3-right .toolbox-card3-portrait {
background: linear-gradient(180deg, #1a3a2e, #0d2a20);
border: 1px solid rgba(0, 255, 136, 0.12);
box-shadow:
0 0 30px rgba(0, 255, 136, 0.08),
inset 0 0 20px rgba(0, 255, 136, 0.04);
}
.toolbox-card3-right .toolbox-card3-portrait::before {
content: '';
position: absolute;
top: 14%;
left: 50%;
transform: translateX(-50%);
width: 32%;
aspect-ratio: 1;
border-radius: 50%;
background: rgba(0, 255, 136, 0.1);
box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}
.toolbox-card3-right .toolbox-card3-portrait::after {
content: '';
position: absolute;
top: 42%;
left: 50%;
transform: translateX(-50%);
width: 50%;
height: 40%;
border-radius: 20% 20% 5% 5%;
background: rgba(0, 255, 136, 0.06);
box-shadow: 0 0 15px rgba(0, 255, 136, 0.08);
}
.toolbox-card3-glow-ring {
position: absolute;
inset: -4px;
border-radius: 14px;
border: 1.5px solid rgba(0, 255, 136, 0.2);
animation: omni-toolbox-glowPulse 2.5s ease-in-out infinite;
}
@keyframes omni-toolbox-glowPulse {
0%, 100% { opacity: 0.3; box-shadow: 0 0 10px rgba(0, 255, 136, 0.05); }
50% { opacity: 1; box-shadow: 0 0 25px rgba(0, 255, 136, 0.15); }
}
.toolbox-card3-lipsync {
position: absolute;
top: 32%;
left: 62%;
display: flex;
align-items: center;
gap: 1.5px;
}
.toolbox-card3-lipsync span {
width: 2px;
border-radius: 1px;
background: var(--toolbox-green);
animation: omni-toolbox-lipsync 0.8s ease-in-out infinite;
}
.toolbox-card3-lipsync span:nth-child(1) { height: 4px; animation-delay: 0s; }
.toolbox-card3-lipsync span:nth-child(2) { height: 8px; animation-delay: 0.1s; }
.toolbox-card3-lipsync span:nth-child(3) { height: 5px; animation-delay: 0.2s; }
.toolbox-card3-lipsync span:nth-child(4) { height: 10px; animation-delay: 0.3s; }
.toolbox-card3-lipsync span:nth-child(5) { height: 4px; animation-delay: 0.4s; }
@keyframes omni-toolbox-lipsync {
0%, 100% { transform: scaleY(1); opacity: 0.6; }
50% { transform: scaleY(0.3); opacity: 1; }
}
.toolbox-card3-gesture {
position: absolute;
top: 55%;
left: 20%;
width: 24px;
height: 2px;
border-radius: 1px;
opacity: 0.5;
}
.toolbox-card3-gesture::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), transparent);
animation: omni-toolbox-gestureMove 2s ease-in-out infinite;
}
.toolbox-card3-gesture::after {
content: '';
position: absolute;
top: -6px;
right: -4px;
width: 8px;
height: 8px;
border-radius: 50%;
border: 1.5px solid rgba(0, 255, 136, 0.3);
animation: omni-toolbox-gestureMove 2s ease-in-out infinite;
}
@keyframes omni-toolbox-gestureMove {
0%, 100% { opacity: 0.2; transform: translateX(0); }
50% { opacity: 0.8; transform: translateX(6px); }
}
.toolbox-card3-live {
position: absolute;
top: 8px;
right: 8px;
font-size: 8px;
font-weight: 900;
color: #0a0b12;
background: var(--toolbox-green);
padding: 2px 7px;
border-radius: 4px;
letter-spacing: 1px;
animation: omni-toolbox-livePulse 1.5s ease-in-out infinite;
}
@keyframes omni-toolbox-livePulse {
0%, 100% { box-shadow: 0 0 6px rgba(0, 255, 136, 0.3); }
50% { box-shadow: 0 0 16px rgba(0, 255, 136, 0.6); }
}
.toolbox-card3-transform {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
z-index: 2;
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--toolbox-green);
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
color: #0a0b12;
box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
animation: omni-toolbox-transformSpin 3s ease-in-out infinite;
}
@keyframes omni-toolbox-transformSpin {
0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
50% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.5); }
}
.toolbox-card3-label {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.5px;
margin-top: 8px;
}
.toolbox-card3-left .toolbox-card3-label {
color: rgba(255, 255, 255, 0.3);
}
.toolbox-card3-right .toolbox-card3-label {
color: rgba(0, 255, 136, 0.5);
}
.toolbox-card3-divider {
width: 1px;
background: linear-gradient(to bottom, transparent, rgba(0, 255, 136, 0.25), transparent);
position: absolute;
left: 50%;
top: 8%;
height: 84%;
}
/* === Card 4: 去除水印 === */
.toolbox-card4-content {
width: 100%;
height: 100%;
display: flex;
gap: 0;
position: relative;
}
.toolbox-card4-side {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 10px;
position: relative;
overflow: hidden;
}
.toolbox-card4-left {
background: rgba(255, 255, 255, 0.02);
margin-right: 1px;
}
.toolbox-card4-right {
background: rgba(0, 255, 136, 0.02);
margin-left: 1px;
}
.toolbox-card4-img {
width: 100%;
flex: 1;
border-radius: 8px;
position: relative;
overflow: hidden;
}
.toolbox-card4-img img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
border-radius: 8px;
}
.toolbox-card4-left .toolbox-card4-img {
box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}
.toolbox-card4-right .toolbox-card4-img {
box-shadow: 0 0 12px rgba(0, 255, 136, 0.06);
}
.toolbox-card4-label {
font-size: 10px;
color: var(--toolbox-text-tertiary);
margin-top: 8px;
font-weight: 700;
letter-spacing: 0.5px;
}
.toolbox-card4-left .toolbox-card4-label {
color: rgba(255, 200, 200, 0.5);
}
.toolbox-card4-right .toolbox-card4-label {
color: rgba(0, 255, 136, 0.5);
}
.toolbox-card4-divider {
width: 1px;
background: linear-gradient(to bottom, transparent, rgba(0, 255, 136, 0.3), transparent);
position: absolute;
left: 50%;
top: 8%;
height: 84%;
}
/* ===== Responsive ===== */
@media (max-width: 980px) {
.omni-home__toolbox-shell {
flex-direction: column;
padding: 48px 22px 64px;
}
.omni-home__toolbox-left {
width: 100%;
flex-shrink: unset;
}
.omni-home__toolbox-grid {
width: 100%;
min-height: clamp(480px, 70vw, 700px);
}
.omni-home__toolbox-workflow {
margin-top: 0;
}
}
@media (max-width: 560px) {
.omni-home__toolbox-shell {
padding: 36px 18px 48px;
}
.omni-home__toolbox-title {
font-size: 20px;
}
.omni-home__toolbox-grid {
grid-template-columns: 1fr;
grid-template-rows: auto;
min-height: auto;
}
.omni-home__toolbox-card {
min-height: 200px;
}
}
@media (prefers-reduced-motion: reduce) {
.omni-home__toolbox-item,
.omni-home__toolbox-card {
animation: none;
}
.toolbox-card3-glow-ring,
.toolbox-card3-lipsync span,
.toolbox-card3-gesture::before,
.toolbox-card3-gesture::after,
.toolbox-card3-live,
.toolbox-card3-transform {
animation: none;
}
}