merge: resolve conflicts between feat/responsive-layout and master

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-05 15:14:17 +08:00
132 changed files with 27426 additions and 4252 deletions
@@ -48,6 +48,7 @@
background: var(--surface-elevated);
box-shadow: var(--shadow-elevated);
backdrop-filter: none;
transform-origin: top right;
}
.profile-popover__head {
+107
View File
@@ -34,11 +34,118 @@
}
}
/* 260ms variant for carousel labels */
.slide-up-in-260 {
animation: slide-up-in 260ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
@keyframes backdrop-in {
from { opacity: 0; }
to { opacity: 1; }
}
/* Popover / panel entrance utilities */
.panel-enter {
animation: scale-in 150ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both,
slide-up-in 150ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
.backdrop-enter {
animation: backdrop-in 140ms ease both;
}
/* Heart toggle spring animation */
@keyframes heart-pop {
0% { transform: scale(1); }
40% { transform: scale(1.3); }
70% { transform: scale(0.9); }
100% { transform: scale(1); }
}
.heart-animate {
animation: heart-pop 420ms var(--ease-spring, cubic-bezier(0.34, 1.2, 0.64, 1)) both;
}
/* Result reveal stagger for generation output grids */
.result-reveal > * {
opacity: 0;
animation: slide-up-in 320ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
.result-reveal > *:nth-child(1) { animation-delay: 0ms; }
.result-reveal > *:nth-child(2) { animation-delay: 80ms; }
.result-reveal > *:nth-child(3) { animation-delay: 160ms; }
.result-reveal > *:nth-child(4) { animation-delay: 240ms; }
.result-reveal > *:nth-child(5) { animation-delay: 320ms; }
.result-reveal > *:nth-child(n+6) { animation-delay: 400ms; }
/* Scroll-triggered entrance: hidden until revealed by IntersectionObserver */
.scroll-entrance {
opacity: 0;
transform: translateY(16px);
transition: opacity 480ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
transform 480ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
.scroll-entrance.is-visible {
opacity: 1;
transform: translateY(0);
}
.scroll-entrance.is-visible > * {
animation: slide-up-in 380ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
.scroll-entrance.is-visible > *:nth-child(1) { animation-delay: 60ms; }
.scroll-entrance.is-visible > *:nth-child(2) { animation-delay: 140ms; }
.scroll-entrance.is-visible > *:nth-child(3) { animation-delay: 220ms; }
/* Chat message entrance animation */
@keyframes chat-message-in {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.chat-message-enter {
animation: chat-message-in 220ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
/* AnimatedPanel: CSS transition-based enter/exit for popovers */
.animated-panel {
opacity: 0;
transform: scale(0.95) translateY(8px);
transition:
opacity 140ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
transform 140ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
pointer-events: none;
}
.animated-panel.is-visible {
opacity: 1;
transform: scale(1) translateY(0);
pointer-events: auto;
}
/* Ecommerce tool panel crossfade on tool switch */
@keyframes tool-panel-fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.tool-panel-enter {
animation: tool-panel-fade-in 180ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
/* Stagger utility: apply to parent, children get delayed entrance */
.motion-stagger > * {
animation: list-item-in 280ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
+39
View File
@@ -15,3 +15,42 @@
transform: translateY(0);
}
}
/* Exit: fade + directional slide */
.page-motion--exit {
animation: page-out 180ms ease forwards;
pointer-events: none;
}
.page-motion--exit.is-forward {
animation: page-slide-out-forward 180ms ease forwards;
pointer-events: none;
}
.page-motion--exit.is-backward {
animation: page-slide-out-backward 180ms ease forwards;
pointer-events: none;
}
/* Cancel child's own entrance animation during exit */
.page-motion--exit .page-motion {
animation: none !important;
}
@keyframes page-out {
to { opacity: 0; transform: translateY(-6px); }
}
@keyframes page-slide-out-forward {
to {
opacity: 0;
transform: translateX(-16px);
}
}
@keyframes page-slide-out-backward {
to {
opacity: 0;
transform: translateX(16px);
}
}
+12 -18
View File
@@ -29,7 +29,8 @@
width: 40%;
height: 24px;
border-radius: 8px;
background: var(--surface-elevated, #222);
background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.1), rgba(255,255,255,0.04));
background-size: 220% 100%;
animation: skeleton-shimmer 1.4s ease infinite;
}
@@ -42,7 +43,8 @@
flex: 1;
height: 140px;
border-radius: 14px;
background: var(--surface-elevated, #222);
background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.1), rgba(255,255,255,0.04));
background-size: 220% 100%;
animation: skeleton-shimmer 1.4s ease infinite;
animation-delay: 0.15s;
}
@@ -51,34 +53,26 @@
width: 100%;
height: 200px;
border-radius: 14px;
background: var(--surface-elevated, #222);
background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.1), rgba(255,255,255,0.04));
background-size: 220% 100%;
animation: skeleton-shimmer 1.4s ease infinite;
animation-delay: 0.3s;
}
@keyframes skeleton-shimmer {
0%, 100% { opacity: 0.4; }
50% { opacity: 0.7; }
}
.page-transition-wrap {
width: 100%;
height: 100%;
min-height: 0;
}
.page-motion--exit {
animation: page-out 180ms ease both;
pointer-events: none;
/* Collapse when empty (e.g. KeepAlive pages rendered outside PageTransition) */
.page-transition-wrap:empty {
height: 0;
min-height: 0;
overflow: hidden;
}
.page-motion--exit .page-motion {
animation: none;
}
@keyframes page-out {
to { opacity: 0; transform: translateY(-6px); }
}
/* page-motion--exit moved to page-transition.css */
.page-loading-center {
display: flex;
+102
View File
@@ -365,11 +365,113 @@
line-height: 1.55;
}
.recharge-modal__checkout {
display: grid;
gap: 14px;
border: 1px solid rgba(var(--accent-rgb), 0.26);
border-radius: 14px;
background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0.05));
padding: 18px;
}
.recharge-modal__checkout-eyebrow {
color: var(--accent, #34d399);
font-size: 12px;
font-weight: 900;
}
.recharge-modal__checkout h3,
.recharge-modal__checkout p {
margin: 0;
}
.recharge-modal__checkout h3 {
margin-top: 4px;
color: var(--fg-body, #edf2f7);
font-size: 18px;
}
.recharge-modal__checkout p {
color: var(--fg-muted, #9ba7b7);
font-size: 13px;
line-height: 1.6;
}
.recharge-modal__payment-methods {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.recharge-modal__payment-methods button {
display: grid;
gap: 5px;
min-height: 68px;
padding: 12px;
border: 1px solid var(--border-subtle, rgb(255 255 255 / 10%));
border-radius: 12px;
background: var(--bg-inset, rgb(0 0 0 / 18%));
color: var(--fg-body, #edf2f7);
cursor: pointer;
text-align: left;
}
.recharge-modal__payment-methods button.is-active {
border-color: rgba(var(--accent-rgb), 0.56);
background: rgba(var(--accent-rgb), 0.14);
}
.recharge-modal__payment-methods span {
color: var(--fg-muted, #9ba7b7);
font-size: 12px;
}
.recharge-modal__pay {
min-height: 42px;
border: 0;
border-radius: 12px;
background: var(--accent, #34d399);
color: #07110d;
cursor: pointer;
font-weight: 950;
}
.recharge-modal__pay:disabled {
cursor: wait;
opacity: 0.7;
}
.recharge-modal__order {
display: grid;
gap: 8px;
padding: 12px;
border: 1px solid var(--border-subtle, rgb(255 255 255 / 10%));
border-radius: 12px;
background: var(--bg-inset, rgb(0 0 0 / 18%));
color: var(--fg-muted, #9ba7b7);
font-size: 13px;
}
.recharge-modal__order strong,
.recharge-modal__order a {
color: var(--accent, #34d399);
}
.recharge-modal__order img {
width: 160px;
max-width: 100%;
border-radius: 10px;
}
@media (max-width: 980px) {
.recharge-modal__grid[data-audience="personal"],
.recharge-modal__grid[data-audience="enterprise"] {
grid-template-columns: 1fr;
}
.recharge-modal__payment-methods {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
+7
View File
@@ -5,6 +5,10 @@
@import "./components/legacy-components.css";
@import "./pages/home.css";
@import "./pages/welcome-splash.css";
@import "./pages/toolbox.css";
@import "./pages/script-review-visual.css";
@import "./pages/script-review-showcase.css";
@import "./pages/model-generation-showcase.css";
@import "./pages/workbench.css";
@import "./pages/ecommerce.css";
@import "./pages/ecommerce-video.css";
@@ -16,7 +20,9 @@
@import "./pages/studio-layout.css";
@import "./pages/image-workbench.css";
@import "./pages/subtitle-removal.css";
@import "./pages/dialog-generator.css";
@import "./pages/size-template.css";
@import "./pages/script-tokens-v5.css";
@import "./pages/script-tokens.css";
@import "./pages/profile.css";
@import "./pages/canvas.css";
@@ -24,6 +30,7 @@
@import "./pages/compliance.css";
@import "./pages/provider-health.css";
@import "./pages/legacy-pages.css";
@import "./pages/not-found.css";
@import "./components/recharge-modal.css";
@import "./components/dropzone.css";
@import "./components/skeleton.css";
+34
View File
@@ -189,6 +189,40 @@
cursor: zoom-in;
}
.asset-card-wrapper {
position: relative;
display: inline-block;
}
.asset-card__delete {
position: absolute;
top: 6px;
right: 6px;
z-index: 2;
display: none;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border: 0;
border-radius: 6px;
background: var(--bg-panel);
color: var(--fg-muted);
cursor: pointer;
font-size: 14px;
opacity: 0.85;
transition: opacity 150ms, color 150ms;
}
.asset-card-wrapper:hover .asset-card__delete {
display: flex;
}
.asset-card__delete:hover {
opacity: 1;
color: var(--fg-danger);
}
@media (max-width: 720px) {
.asset-preview-modal {
padding: 14px;
+201 -2
View File
@@ -592,6 +592,19 @@
transform: translateY(-1px);
}
.studio-canvas-loading-spinner {
width: 36px;
height: 36px;
border: 3px solid rgba(var(--accent-rgb), 0.18);
border-top-color: var(--accent);
border-radius: 50%;
animation: canvas-spin 0.8s linear infinite;
}
@keyframes canvas-spin {
to { transform: rotate(360deg); }
}
@media (max-width: 640px) {
.studio-canvas-project-bar {
right: 10px;
@@ -710,12 +723,199 @@
height: 1px;
}
/* Tool Modal Overlay */
.studio-canvas-tool-modal-overlay {
position: fixed;
inset: 0;
z-index: 9000;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.55);
backdrop-filter: blur(4px);
}
.studio-canvas-tool-modal {
position: relative;
width: 90vw;
max-width: 720px;
max-height: 80vh;
overflow-y: auto;
border-radius: 16px;
background: var(--bg-panel);
border: 1px solid var(--border-subtle);
box-shadow: var(--shadow-heavy, 0 12px 40px rgba(0,0,0,0.4));
padding: 24px;
}
.studio-canvas-tool-modal__header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.studio-canvas-tool-modal__title {
font-size: 16px;
font-weight: 600;
color: var(--fg-default);
}
.studio-canvas-tool-modal__close {
width: 32px;
height: 32px;
border-radius: 8px;
border: none;
background: var(--bg-subtle);
color: var(--fg-muted);
cursor: pointer;
font-size: 18px;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.15s;
}
.studio-canvas-tool-modal__close:hover {
background: var(--bg-hover);
}
/* Tool Panel Components */
.studio-canvas-tool-panel {
display: flex;
gap: 20px;
min-height: 280px;
}
.studio-canvas-tool-panel--inpaint {
flex-direction: column;
}
.studio-canvas-tool-panel__preview {
flex: 0 0 260px;
border-radius: 10px;
overflow: hidden;
background: var(--bg-subtle);
display: flex;
align-items: center;
justify-content: center;
}
.studio-canvas-tool-panel__preview img {
width: 100%;
height: 100%;
object-fit: contain;
}
.studio-canvas-tool-panel__controls {
flex: 1;
display: flex;
flex-direction: column;
gap: 12px;
}
.studio-canvas-tool-panel__label {
font-size: 13px;
font-weight: 500;
color: var(--fg-muted);
}
.studio-canvas-tool-panel__options {
display: flex;
gap: 8px;
}
.studio-canvas-tool-panel__options button {
padding: 6px 16px;
border-radius: 8px;
border: 1px solid var(--border-subtle);
background: var(--bg-subtle);
color: var(--fg-default);
cursor: pointer;
font-size: 13px;
transition: all 0.15s;
}
.studio-canvas-tool-panel__options button.is-active {
background: var(--accent);
border-color: var(--accent);
color: #fff;
}
.studio-canvas-tool-panel__textarea {
width: 100%;
min-height: 60px;
padding: 10px;
border-radius: 8px;
border: 1px solid var(--border-subtle);
background: var(--bg-subtle);
color: var(--fg-default);
font-size: 13px;
resize: vertical;
}
.studio-canvas-tool-panel__submit {
margin-top: auto;
padding: 10px 20px;
border-radius: 8px;
border: none;
background: var(--accent);
color: #fff;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: opacity 0.15s;
}
.studio-canvas-tool-panel__submit:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.studio-canvas-tool-panel__actions {
display: flex;
gap: 10px;
margin-top: auto;
}
.studio-canvas-tool-panel__reset {
padding: 10px 16px;
border-radius: 8px;
border: 1px solid var(--border-subtle);
background: var(--bg-subtle);
color: var(--fg-default);
font-size: 13px;
cursor: pointer;
}
.studio-canvas-tool-panel__canvas-wrap {
position: relative;
width: 100%;
max-height: 320px;
border-radius: 10px;
overflow: hidden;
background: var(--bg-subtle);
}
.studio-canvas-tool-panel__canvas-bg {
width: 100%;
height: auto;
display: block;
}
.studio-canvas-tool-panel__canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
cursor: crosshair;
}
/* ═══════════════════════════════════════════════════════
Responsive: Canvas
Breakpoints: 900px / 560px
═══════════════════════════════════════════════════════ */
/* ── 900px: Tablet — compact toolbar ── */
@media (max-width: 900px) {
.studio-canvas-page {
flex-direction: column;
@@ -756,7 +956,6 @@
}
}
/* ── 560px: Phone — fullscreen canvas ── */
@media (max-width: 560px) {
.studio-canvas-page {
flex-direction: column;
+107 -1
View File
@@ -725,9 +725,110 @@
font-size: 42px;
}
.compliance-page {
min-height: 100%;
background: #0d0d0f;
color: var(--fg-body);
}
.compliance-page__inner {
width: min(940px, calc(100% - 48px));
margin: 0 auto;
padding: 40px 0 56px;
}
.compliance-hero {
display: flex;
align-items: flex-start;
gap: 16px;
margin-bottom: 18px;
}
.compliance-hero__icon {
display: grid;
place-items: center;
flex: 0 0 54px;
width: 54px;
height: 54px;
border: 1px solid rgba(var(--accent-rgb), 0.28);
border-radius: 16px;
background: rgba(var(--accent-rgb), 0.12);
color: var(--accent);
font-size: 24px;
}
.compliance-hero__eyebrow {
color: var(--accent);
font-size: 12px;
font-weight: 900;
}
.compliance-hero h1 {
margin: 4px 0 8px;
font-size: clamp(26px, 4vw, 38px);
}
.compliance-hero p,
.compliance-section p,
.compliance-contact span {
color: var(--fg-muted);
line-height: 1.7;
}
.compliance-card,
.compliance-contact {
border: 1px solid var(--border-subtle);
border-radius: 18px;
background: var(--bg-panel);
box-shadow: var(--shadow-tight);
}
.compliance-card {
display: grid;
overflow: hidden;
}
.compliance-section {
display: grid;
grid-template-columns: 52px minmax(0, 1fr);
gap: 16px;
padding: 22px;
border-bottom: 1px solid var(--border-weak);
}
.compliance-section:last-child {
border-bottom: 0;
}
.compliance-section > span {
color: var(--accent);
font-size: 13px;
font-weight: 950;
}
.compliance-section h2,
.compliance-section p {
margin: 0;
}
.compliance-section h2 {
margin-bottom: 8px;
font-size: 18px;
}
.compliance-contact {
display: flex;
flex-wrap: wrap;
gap: 10px 16px;
margin-top: 16px;
padding: 16px 18px;
font-size: 13px;
}
@media (max-width: 900px) {
.community-review-page__inner,
.report-page__inner {
.report-page__inner,
.compliance-page__inner {
width: min(100% - 28px, 720px);
padding-top: 24px;
}
@@ -786,4 +887,9 @@
display: grid;
grid-template-columns: 1fr 1fr;
}
.compliance-hero,
.compliance-section {
grid-template-columns: 1fr;
}
}
+580
View File
@@ -0,0 +1,580 @@
.dialog-generator-page {
min-height: 100%;
overflow: auto;
background:
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(42, 159, 212, 0.03) 0%, transparent 60%),
linear-gradient(180deg, #070b10 0%, #05080d 100%);
color: #e8eaef;
}
.dialog-generator-shell {
display: grid;
grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
gap: clamp(18px, 2.8vw, 34px);
min-height: var(--shell-content-height, 100vh);
padding: clamp(24px, 4vw, 52px);
}
.dialog-generator-panel,
.dialog-generator-preview-card {
border: 1px solid rgba(0, 255, 136, 0.12);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
box-shadow:
0 24px 72px rgba(0, 0, 0, 0.28),
inset 0 1px 0 rgba(255, 255, 255, 0.04);
backdrop-filter: blur(18px);
}
.dialog-generator-panel {
display: grid;
align-content: start;
gap: 24px;
padding: clamp(22px, 2.6vw, 34px);
}
.dialog-generator-heading {
display: grid;
gap: 12px;
}
.dialog-generator-kicker {
color: #00ff88;
font-size: 12px;
font-weight: 900;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.dialog-generator-heading h1 {
margin: 0;
background: linear-gradient(135deg, #00ff88, #22f0c0, #4fc3f7);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
font-size: clamp(32px, 3.6vw, 56px);
font-weight: 950;
letter-spacing: 0;
line-height: 1.1;
}
.dialog-generator-heading p,
.dialog-generator-hint,
.dialog-generator-preview-head p {
margin: 0;
color: #9aa1b8;
font-size: 15px;
font-weight: 650;
line-height: 1.7;
}
.dialog-generator-section {
display: grid;
gap: 12px;
}
.dialog-generator-section h2 {
margin: 0;
color: #f6f8fb;
font-size: 18px;
font-weight: 900;
}
.dialog-generator-drop {
display: grid;
justify-items: center;
gap: 8px;
min-height: 168px;
border: 1px dashed rgba(0, 255, 136, 0.28);
border-radius: 8px;
background: rgba(0, 255, 136, 0.035);
color: #e8eaef;
padding: 24px;
cursor: pointer;
transition:
border-color 180ms ease,
background 180ms ease,
transform 180ms ease;
}
.dialog-generator-drop:hover {
border-color: rgba(0, 255, 136, 0.5);
background: rgba(0, 255, 136, 0.06);
transform: translateY(-1px);
}
.dialog-generator-drop-icon {
font-size: 42px;
}
.dialog-generator-drop strong {
font-size: 16px;
font-weight: 900;
}
.dialog-generator-drop small,
.dialog-generator-style small {
color: #62697f;
font-size: 13px;
font-weight: 700;
}
.dialog-generator-style-list {
display: grid;
gap: 10px;
}
.dialog-generator-color-picker {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.dialog-generator-color {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 38px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
color: #dce3ed;
cursor: pointer;
font-size: 13px;
font-weight: 850;
transition:
border-color 180ms ease,
background 180ms ease,
transform 180ms ease;
}
.dialog-generator-color:hover,
.dialog-generator-color.is-active {
border-color: var(--text-color);
background: rgba(255, 255, 255, 0.08);
transform: translateY(-1px);
}
.dialog-generator-color span {
width: 14px;
height: 14px;
border: 1px solid rgba(255, 255, 255, 0.38);
border-radius: 50%;
background: var(--text-color);
box-shadow: 0 0 12px color-mix(in srgb, var(--text-color) 42%, transparent);
}
.dialog-generator-color strong {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dialog-generator-style {
display: grid;
grid-template-columns: 18px minmax(0, 1fr);
align-items: center;
gap: 14px;
border: 1px solid rgba(0, 255, 136, 0.08);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
color: #e8eaef;
padding: 15px 18px;
text-align: left;
cursor: pointer;
transition:
border-color 180ms ease,
background 180ms ease,
transform 180ms ease;
}
.dialog-generator-style:hover {
border-color: rgba(0, 255, 136, 0.28);
background: rgba(255, 255, 255, 0.06);
transform: translateX(3px);
}
.dialog-generator-style span:last-child {
display: grid;
gap: 4px;
min-width: 0;
}
.dialog-generator-style strong {
color: #f7fafc;
font-size: 16px;
font-weight: 900;
}
.dialog-generator-swatch {
width: 14px;
height: 14px;
border-radius: 4px;
}
.dialog-generator-swatch.is-white {
border: 1px solid #cbd5e1;
background: #ffffff;
}
.dialog-generator-swatch.is-blue {
background: #165dff;
}
.dialog-generator-swatch.is-amber {
background: #f59e0b;
}
.dialog-generator-swatch.is-gray {
background: #6b7280;
}
.dialog-generator-clear {
min-height: 48px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
background: rgba(255, 255, 255, 0.08);
color: #e8eaef;
cursor: pointer;
font-size: 15px;
font-weight: 900;
transition:
border-color 180ms ease,
background 180ms ease;
}
.dialog-generator-clear:hover {
border-color: rgba(255, 77, 103, 0.32);
background: rgba(255, 77, 103, 0.1);
}
.dialog-generator-preview-card {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: 16px;
min-width: 0;
min-height: 0;
padding: clamp(22px, 2.6vw, 34px);
}
.dialog-generator-preview-head {
display: flex;
align-items: end;
justify-content: space-between;
gap: 20px;
}
.dialog-generator-preview-head span {
color: #00ff88;
font-size: 12px;
font-weight: 900;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.dialog-generator-preview-head h2 {
margin: 4px 0 0;
color: #ffffff;
font-size: clamp(24px, 2vw, 34px);
font-weight: 950;
}
.dialog-generator-preview-head p {
max-width: 440px;
text-align: right;
}
.dialog-generator-preview {
position: relative;
min-height: 520px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
background:
linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
rgba(5, 8, 13, 0.72);
background-size: 32px 32px, 32px 32px, auto;
touch-action: none;
}
.dialog-generator-image {
position: absolute;
inset: 0;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
.dialog-generator-empty {
position: absolute;
inset: 0;
display: grid;
place-content: center;
gap: 12px;
color: #62697f;
text-align: center;
pointer-events: none;
}
.dialog-generator-empty span {
font-size: 52px;
}
.dialog-generator-empty p {
margin: 0;
font-size: 16px;
font-weight: 800;
}
.dialog-generator-bubble {
position: absolute;
z-index: 10;
min-width: 140px;
max-width: 280px;
border-radius: 12px;
padding: 12px 14px;
user-select: none;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
transition: box-shadow 0.2s;
}
.dialog-generator-bubble.is-confirmed {
min-width: 0;
max-width: min(420px, 80%);
border: 0;
border-radius: 0;
background: transparent;
padding: 0;
box-shadow: none;
cursor: move;
}
.dialog-generator-bubble:hover {
box-shadow: 0 6px 32px rgba(0, 0, 0, 0.18);
}
.dialog-generator-bubble.is-confirmed:hover {
box-shadow: none;
}
.dialog-generator-bubble.is-dragging {
z-index: 20;
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
}
.dialog-generator-bubble.is-confirmed.is-dragging {
box-shadow: none;
}
.dialog-generator-bubble.style1 {
border: 2px solid #cbd5e1;
background: rgba(255, 255, 255, 0.97);
}
.dialog-generator-bubble.style2 {
border: 2px solid #4f8aff;
border-radius: 16px 16px 4px 16px;
background: rgba(22, 93, 255, 0.95);
}
.dialog-generator-bubble.style3 {
border: 2px solid #f59e0b;
background: rgba(255, 247, 237, 0.97);
}
.dialog-generator-bubble.style4 {
border: 2px solid #6b7280;
border-radius: 4px;
background: rgba(248, 250, 252, 0.97);
}
.dialog-generator-bubble.is-confirmed.style1,
.dialog-generator-bubble.is-confirmed.style2,
.dialog-generator-bubble.is-confirmed.style3,
.dialog-generator-bubble.is-confirmed.style4 {
border: 0;
background: transparent;
}
.dialog-generator-delete {
position: absolute;
top: -8px;
right: -8px;
display: flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
border: 2px solid #fff;
border-radius: 50%;
background: #ef4444;
color: #fff;
cursor: pointer;
font-size: 13px;
line-height: 1;
opacity: 0;
transition: opacity 0.15s;
z-index: 5;
}
.dialog-generator-bubble:hover .dialog-generator-delete {
opacity: 1;
}
.dialog-generator-text,
.dialog-generator-text-display {
width: 100%;
border: 0;
outline: none;
background: transparent;
color: var(--dialog-text-color, #1e293b);
padding: 0;
resize: none;
font-family: inherit;
font-size: 14px;
line-height: 1.6;
white-space: pre-wrap;
}
.dialog-generator-text-display {
width: max-content;
max-width: min(420px, 80vw);
color: var(--dialog-text-color, #ffffff);
font-size: clamp(18px, 2.2vw, 30px);
font-weight: 900;
line-height: 1.35;
letter-spacing: 0;
overflow-wrap: anywhere;
text-shadow:
0 2px 8px rgba(0, 0, 0, 0.72),
0 0 1px rgba(0, 0, 0, 0.9);
}
.dialog-generator-text::placeholder {
color: rgba(0, 0, 0, 0.3);
}
.dialog-generator-bubble.style2 .dialog-generator-text,
.dialog-generator-bubble.style2 .dialog-generator-text-display {
color: var(--dialog-text-color, #fff);
}
.dialog-generator-bubble.is-confirmed.style2 .dialog-generator-text-display {
color: var(--dialog-text-color, #7fb4ff);
}
.dialog-generator-bubble.style2 .dialog-generator-text::placeholder {
color: rgba(255, 255, 255, 0.62);
}
.dialog-generator-bubble.style3 .dialog-generator-text,
.dialog-generator-bubble.style3 .dialog-generator-text-display {
color: var(--dialog-text-color, #92400e);
}
.dialog-generator-bubble.is-confirmed.style3 .dialog-generator-text-display {
color: var(--dialog-text-color, #ffd76a);
}
.dialog-generator-bubble.style3 .dialog-generator-text::placeholder {
color: rgba(146, 64, 14, 0.4);
}
.dialog-generator-bubble.style4 .dialog-generator-text,
.dialog-generator-bubble.style4 .dialog-generator-text-display {
color: var(--dialog-text-color, #1f2937);
}
.dialog-generator-bubble.is-confirmed.style4 .dialog-generator-text-display {
color: var(--dialog-text-color, #111827);
text-shadow:
0 1px 0 rgba(255, 255, 255, 0.72),
0 0 8px rgba(255, 255, 255, 0.58);
}
.dialog-generator-bubble-bottom {
display: flex;
align-items: center;
justify-content: flex-end;
margin-top: 6px;
}
.dialog-generator-confirm {
display: inline-flex;
align-items: center;
gap: 4px;
border: 0;
border-radius: 6px;
background: #165dff;
color: #fff;
cursor: pointer;
padding: 4px 12px;
font-size: 12px;
font-weight: 700;
transition:
filter 0.15s,
transform 0.15s;
}
.dialog-generator-confirm:hover {
filter: brightness(1.1);
transform: translateY(-1px);
}
.dialog-generator-bubble.style2 .dialog-generator-confirm {
background: #fff;
color: #165dff;
}
.dialog-generator-bubble.style3 .dialog-generator-confirm {
background: #f59e0b;
}
.dialog-generator-bubble.style4 .dialog-generator-confirm {
background: #6b7280;
}
.dialog-generator-edit-hint {
display: none;
color: rgba(0, 0, 0, 0.36);
font-size: 10px;
font-weight: 700;
}
.dialog-generator-bubble.is-confirmed .dialog-generator-confirm {
display: none;
}
.dialog-generator-bubble.is-confirmed .dialog-generator-edit-hint {
display: inline-block;
}
@media (max-width: 980px) {
.dialog-generator-shell {
grid-template-columns: 1fr;
}
.dialog-generator-preview-head {
align-items: start;
flex-direction: column;
}
.dialog-generator-preview-head p {
max-width: none;
text-align: left;
}
}
@media (max-width: 560px) {
.dialog-generator-shell {
padding: 18px;
}
.dialog-generator-preview {
min-height: 420px;
}
}
+910 -7
View File
@@ -50,7 +50,7 @@
}
.ecom-video-flowbar__pulse.is-active {
background: #34d399;
background: #00ff88;
}
.ecom-video-flowbar__wave {
@@ -97,7 +97,7 @@
}
.ecom-video-step-dot.is-done {
background: #34d399;
background: #00ff88;
}
.ecom-video-step-dot.is-active {
@@ -122,6 +122,16 @@
white-space: nowrap;
}
.ecom-video-flowbar__stage-label {
display: inline-flex;
align-items: center;
gap: 6px;
color: #53e5ff;
font-size: 12px;
font-weight: 800;
animation: ecom-video-node-breathe 1.6s ease-in-out infinite;
}
.ecom-video-flow-action {
display: inline-grid;
width: 38px;
@@ -129,7 +139,7 @@
place-items: center;
border: 1px solid #1c4d3a;
border-radius: 8px;
background: #34d399;
background: #00ff88;
color: #06110e;
padding: 0;
font-size: 17px;
@@ -169,7 +179,10 @@
min-height: 0;
overflow: auto;
background: #101318;
padding: 26px;
padding: 32px 40px;
display: flex;
align-items: stretch;
justify-content: center;
}
.ecom-video-flow-map {
@@ -203,7 +216,7 @@
}
.ecom-video-flow-lines path.is-active {
stroke: #34d399;
stroke: #00ff88;
animation: ecom-video-path-dash 1.8s linear infinite;
}
@@ -309,7 +322,7 @@
.ecom-video-flow-node.is-ready .ecom-video-flow-node__status-orb,
.ecom-video-flow-node.is-completed .ecom-video-flow-node__status-orb {
background: #34d399;
background: #00ff88;
}
.ecom-video-flow-node.is-running .ecom-video-flow-node__status-orb,
@@ -380,7 +393,7 @@
position: absolute;
inset: 0;
transform: translateX(-100%);
background: #34d399;
background: #00ff88;
}
.ecom-video-flow-connector.is-active i,
@@ -484,6 +497,198 @@
}
}
/* ── Empty state ─────────────────────────────── */
.ecom-video-empty {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
color: #697486;
font-size: 13px;
}
/* ── Flow map vertical stacking ────────────────── */
.ecom-video-flow-map {
flex-wrap: wrap;
justify-content: center;
padding: 20px 0 40px;
}
/* ── Text nodes (plan steps) ──────────────────── */
.ecom-video-flow-node--text {
display: grid;
place-items: center;
gap: 6px;
width: clamp(64px, 7vw, 90px);
min-height: 74px;
padding: 12px 8px;
border-color: #2a3d30;
background: #131d1a;
text-align: center;
}
.ecom-video-flow-node--text.is-completed {
border-color: #1c4d3a;
background: #162820;
}
.ecom-video-flow-node--text.is-pulsing {
border-color: #53e5ff;
animation: ecom-video-node-breathe 1.2s ease-in-out infinite;
}
.ecom-video-flow-node__text-icon {
display: grid;
width: 24px;
height: 24px;
place-items: center;
border-radius: 999px;
background: #1c4d3a;
color: #00ff88;
font-size: 12px;
font-weight: 900;
}
.ecom-video-flow-node--text.is-pulsing .ecom-video-flow-node__text-icon {
background: #1a4d4d;
color: #53e5ff;
}
/* ── Node labels ──────────────────────────────── */
.ecom-video-flow-node__label {
display: block;
max-width: 100%;
overflow: hidden;
color: #9fadb8;
font-size: 11px;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.ecom-video-flow-node--source .ecom-video-flow-node__label,
.ecom-video-flow-node--text .ecom-video-flow-node__label {
margin-top: 2px;
}
/* ── Image nodes (storyboard images) ───────────── */
.ecom-video-flow-node--image {
width: clamp(88px, 9vw, 128px);
aspect-ratio: 9 / 13;
}
.ecom-video-flow-node--image .ecom-video-flow-node__media {
position: relative;
width: 100%;
height: 100%;
}
.ecom-video-flow-node--image .ecom-video-flow-node__label {
position: absolute;
left: 0;
right: 0;
bottom: 6px;
text-align: center;
}
.ecom-video-flow-node--image .ecom-video-flow-node__progress {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: auto;
height: auto;
background: none;
color: #53e5ff;
font-size: 15px;
font-weight: 1000;
}
.ecom-video-flow-node--image .ecom-video-flow-node__placeholder {
position: absolute;
inset: 0;
display: grid;
place-items: center;
background: #18231f;
color: #7eeecf;
font-size: 24px;
}
/* ── Video nodes ──────────────────────────────── */
.ecom-video-flow-node--video {
width: clamp(88px, 9vw, 128px);
aspect-ratio: 9 / 16;
}
.ecom-video-flow-node--video .ecom-video-flow-node__label {
position: absolute;
left: 0;
right: 0;
bottom: 6px;
text-align: center;
}
.ecom-video-flow-node--video .ecom-video-flow-node__progress {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: auto;
height: auto;
background: none;
color: #53e5ff;
font-size: 15px;
font-weight: 1000;
}
.ecom-video-flow-node--video .ecom-video-flow-node__placeholder {
position: absolute;
inset: 0;
display: grid;
place-items: center;
background: #18231f;
color: #7eeecf;
font-size: 24px;
}
.ecom-video-flow-node--video .ecom-video-flow-node__media video {
width: 100%;
height: 100%;
object-fit: cover;
}
/* ── Error label ──────────────────────────────── */
.ecom-video-flow-node__error {
position: absolute;
left: 0;
right: 0;
bottom: 24px;
overflow: hidden;
color: #ff9f9f;
font-size: 10px;
font-weight: 800;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
}
/* ── Scene strip overflow ─────────────────────── */
.ecom-video-scene-strip--text {
overflow-x: auto;
scrollbar-width: thin;
scrollbar-color: #414958 transparent;
}
.ecom-video-scene-strip--text::-webkit-scrollbar {
height: 3px;
}
.ecom-video-scene-strip--text::-webkit-scrollbar-thumb {
background: #414958;
border-radius: 999px;
}
@media (max-width: 900px) {
.ecom-video-flowbar {
grid-template-columns: auto 1fr;
@@ -507,4 +712,702 @@
.ecom-video-flow-node--scene {
width: 118px;
}
.ecom-video-tree {
flex-direction: column;
align-items: center;
}
.ecom-video-tree__trunk {
display: none;
}
.ecom-video-tree__row {
flex-wrap: wrap;
justify-content: center;
}
}
/* ═══════════════════════════════════════════════════
Tree Layout — 分支树状流程图 (参考图风格)
原图 → 分支连接线 → [分镜文本 → 分镜图 → 分镜视频] × N
═══════════════════════════════════════════════════ */
.ecom-video-tree {
display: flex;
align-items: stretch;
gap: 0;
width: 100%;
min-height: 100%;
}
/* ── Source node ── */
.ecom-video-tree__source {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
flex-shrink: 0;
}
.ecom-video-tree-node {
position: relative;
overflow: hidden;
border: 1.5px solid #2c3038;
border-radius: 10px;
background: #171c22;
transition: border-color 280ms ease, box-shadow 280ms ease, transform 280ms ease;
animation: ecom-tree-node-in 420ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
.ecom-video-tree-node--source {
width: 180px;
height: 230px;
flex-shrink: 0;
border-color: #1c4d3a;
background: #162820;
}
.ecom-video-tree-node--source img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.ecom-video-tree-node__label {
color: #a0b0aa;
font-size: 12px;
font-weight: 700;
text-align: center;
}
/* ── Text node (分镜文本) ── */
.ecom-video-tree-node--text {
min-width: 140px;
max-width: 170px;
padding: 16px 14px;
cursor: default;
border-color: #2a3d30;
background: #131d1a;
}
.ecom-video-tree-node--text.is-completed {
border-color: #1c4d3a;
background: #162820;
}
.ecom-video-tree-node--text.is-active {
border-color: #1a4d4d;
animation: ecom-tree-breathe 1.8s ease-in-out infinite;
}
.ecom-video-tree-node__inner {
display: flex;
flex-direction: column;
gap: 5px;
}
.ecom-video-tree-node__title {
color: #e2eaf4;
font-size: 13px;
font-weight: 800;
}
.ecom-video-tree-node__desc {
color: #6b7a8a;
font-size: 11px;
line-height: 1.4;
}
/* ── Image node (分镜图) ── */
.ecom-video-tree-node--image,
.ecom-video-tree-node--video {
width: 170px;
height: 136px;
flex-shrink: 0;
}
.ecom-video-tree-node--image img,
.ecom-video-tree-node--image video,
.ecom-video-tree-node--video img,
.ecom-video-tree-node--video video {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.ecom-video-tree-node--image.is-completed,
.ecom-video-tree-node--video.is-completed {
border-color: #1c4d3a;
background: #162820;
}
.ecom-video-tree-node--image.is-active,
.ecom-video-tree-node--video.is-active {
border-color: #1a4d4d;
animation: ecom-tree-breathe 1.8s ease-in-out infinite;
}
.ecom-video-tree-node--video.is-failed {
border-color: #4d1a1a;
background: #2a1b1d;
}
.ecom-video-tree-node__placeholder {
display: grid;
width: 100%;
height: 100%;
place-items: center;
background: linear-gradient(135deg, #171c22 0%, #12161b 100%);
color: #5a6a78;
font-size: 24px;
}
.ecom-video-tree-node__placeholder span {
font-size: 12px;
font-weight: 600;
}
.ecom-video-tree-node__tag {
position: absolute;
left: 8px;
top: 8px;
max-width: calc(100% - 16px);
overflow: hidden;
border: 1px solid #303540;
border-radius: 999px;
background: rgba(18, 20, 26, 0.9);
backdrop-filter: blur(6px);
color: #c8d4e0;
padding: 3px 9px;
font-size: 10px;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.ecom-video-tree-node__progress {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
color: #53e5ff;
font-size: 14px;
font-weight: 900;
}
.ecom-video-tree-node__retry {
position: absolute;
right: 8px;
top: 8px;
z-index: 5;
display: grid;
width: 28px;
height: 28px;
place-items: center;
border: 1px solid #4d1a1a;
border-radius: 999px;
background: #241417;
color: #ffb1b1;
font-size: 12px;
cursor: pointer;
}
/* ── Trunk connector (分支连接线) ── */
.ecom-video-tree__trunk {
position: relative;
width: 56px;
flex-shrink: 0;
align-self: stretch;
}
.ecom-video-tree__trunk-line {
position: absolute;
left: 0;
top: 50%;
width: 28px;
height: 2px;
background: #3a4550;
transform: translateY(-50%);
}
.ecom-video-tree__trunk-line::after {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, #00ff88, transparent);
animation: ecom-tree-trunk-flow 2.4s ease-in-out infinite;
border-radius: 2px;
}
.ecom-video-tree__branches-line {
position: absolute;
left: 28px;
top: 0;
bottom: 0;
width: 28px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: stretch;
padding: 0;
}
.ecom-video-tree__branches-line::before {
content: "";
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 2px;
background: #3a4550;
}
.ecom-video-tree__branch-tap {
position: relative;
flex: 1;
display: flex;
align-items: center;
}
.ecom-video-tree__branch-tap::before {
content: "";
display: block;
width: 100%;
height: 2px;
background: #3a4550;
}
.ecom-video-tree__branch-tap::after {
content: "";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, #00ff88, transparent);
animation: ecom-tree-branch-flow 2.4s ease-in-out infinite;
}
.ecom-video-tree__branch-tap:nth-child(2)::after { animation-delay: 0.3s; }
.ecom-video-tree__branch-tap:nth-child(3)::after { animation-delay: 0.6s; }
/* ── Arrow between nodes ── */
.ecom-video-tree__arrow {
flex-shrink: 0;
width: 36px;
height: 20px;
color: #4a5565;
transition: color 280ms ease;
}
.ecom-video-tree__arrow svg {
width: 100%;
height: 100%;
}
.ecom-video-tree__arrow svg path {
transition: stroke 280ms ease;
}
.ecom-video-tree__row:hover .ecom-video-tree__arrow {
color: #00ff88;
}
/* ── Rows container ── */
.ecom-video-tree__rows {
display: flex;
flex-direction: column;
gap: 0;
flex: 1;
min-width: 0;
align-self: stretch;
padding: 0;
}
.ecom-video-tree__row {
display: flex;
align-items: center;
justify-content: flex-start;
flex: 1;
gap: 12px;
animation: ecom-tree-row-in 480ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
.ecom-video-tree__row--empty {
opacity: 0.5;
transition: opacity 320ms ease;
}
.ecom-video-tree__row--empty.is-planning {
opacity: 0.75;
}
.ecom-video-tree__row--empty.is-planning .ecom-video-tree-node {
border-color: rgba(var(--accent-rgb, 0, 255, 136), 0.15);
}
/* ── Animations ── */
@keyframes ecom-tree-node-in {
from {
opacity: 0;
transform: translateY(8px) scale(0.96);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
@keyframes ecom-tree-row-in {
from {
opacity: 0;
transform: translateX(-16px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes ecom-tree-breathe {
0%, 100% {
border-color: #1a4d4d;
box-shadow: 0 0 0 0 rgba(83, 229, 255, 0);
}
50% {
border-color: #53e5ff;
box-shadow: 0 0 16px 2px rgba(83, 229, 255, 0.12);
}
}
@keyframes ecom-tree-trunk-flow {
0% { opacity: 0; transform: translateX(-100%); }
30% { opacity: 0.6; }
70% { opacity: 0.6; }
100% { opacity: 0; transform: translateX(100%); }
}
@keyframes ecom-tree-branch-flow {
0% { opacity: 0; transform: translateX(-100%); }
30% { opacity: 0.5; }
70% { opacity: 0.5; }
100% { opacity: 0; transform: translateX(100%); }
}
/* ── Preview lightbox overlay ────────────────────── */
.ecom-video-preview-overlay {
position: fixed;
inset: 0;
z-index: 9999;
display: grid;
place-items: center;
background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(8px);
cursor: zoom-out;
animation: ecom-preview-fade-in 200ms ease;
}
.ecom-video-preview-overlay__close {
position: absolute;
top: 24px;
right: 24px;
z-index: 10;
display: grid;
width: 40px;
height: 40px;
place-items: center;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 999px;
background: rgba(0, 0, 0, 0.6);
color: #fff;
font-size: 18px;
cursor: pointer;
}
.ecom-video-preview-overlay img,
.ecom-video-preview-overlay video {
max-width: 90vw;
max-height: 85vh;
border-radius: 8px;
object-fit: contain;
cursor: default;
}
@keyframes ecom-preview-fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
/* ── History panel ──────────────────────────────── */
.ecom-video-history-panel {
position: fixed;
top: 0;
right: 0;
z-index: 9000;
display: flex;
flex-direction: column;
width: 420px;
max-width: 90vw;
height: 100vh;
background: #1a1d24;
box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
animation: ecom-history-slide-in 0.25s ease-out;
}
@keyframes ecom-history-slide-in {
from { transform: translateX(100%); }
to { transform: translateX(0); }
}
.ecom-video-history-panel__header {
display: flex;
align-items: center;
gap: 8px;
padding: 16px 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
color: #fff;
font-size: 15px;
font-weight: 500;
}
.ecom-video-history-panel__close {
margin-left: auto;
display: grid;
width: 28px;
height: 28px;
place-items: center;
border: none;
border-radius: 6px;
background: transparent;
color: rgba(255, 255, 255, 0.6);
font-size: 14px;
cursor: pointer;
}
.ecom-video-history-panel__close:hover {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.ecom-video-history-panel__body {
flex: 1;
overflow-y: auto;
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
}
.ecom-video-history-panel__empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
padding: 60px 20px;
color: rgba(255, 255, 255, 0.4);
font-size: 14px;
}
.ecom-video-history-card {
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
background: rgba(255, 255, 255, 0.03);
padding: 14px;
}
.ecom-video-history-card__header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 10px;
}
.ecom-video-history-card__title {
color: #fff;
font-size: 13px;
font-weight: 500;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ecom-video-history-card__date {
color: rgba(255, 255, 255, 0.4);
font-size: 11px;
white-space: nowrap;
}
.ecom-video-history-card__delete {
display: grid;
width: 24px;
height: 24px;
place-items: center;
border: none;
border-radius: 4px;
background: transparent;
color: rgba(255, 255, 255, 0.35);
font-size: 12px;
cursor: pointer;
}
.ecom-video-history-card__delete:hover {
background: rgba(255, 80, 80, 0.15);
color: #ff5050;
}
.ecom-video-history-card__scenes {
display: flex;
gap: 8px;
overflow-x: auto;
padding-bottom: 4px;
}
.ecom-video-history-card__scene {
position: relative;
flex-shrink: 0;
width: 80px;
height: 60px;
border-radius: 6px;
overflow: hidden;
background: rgba(255, 255, 255, 0.05);
}
.ecom-video-history-card__scene img {
width: 100%;
height: 100%;
object-fit: cover;
cursor: pointer;
transition: opacity 0.15s;
}
.ecom-video-history-card__scene img:hover {
opacity: 0.8;
}
.ecom-video-history-card__video-thumb {
position: absolute;
inset: 0;
display: grid;
place-items: center;
background: rgba(0, 0, 0, 0.4);
color: #fff;
font-size: 20px;
cursor: pointer;
transition: background 0.15s;
}
.ecom-video-history-card__video-thumb:hover {
background: rgba(0, 0, 0, 0.2);
}
.ecom-video-history-panel__pager {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 12px 20px;
border-top: 1px solid rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.6);
font-size: 12px;
}
.ecom-video-history-panel__pager button {
padding: 4px 10px;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 4px;
background: transparent;
color: rgba(255, 255, 255, 0.7);
font-size: 12px;
cursor: pointer;
}
.ecom-video-history-panel__pager button:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.ecom-video-history-panel__pager button:disabled {
opacity: 0.3;
cursor: not-allowed;
}
/* ── Delete confirmation dialog ─────────────────── */
.ecom-video-confirm-dialog-backdrop {
position: fixed;
inset: 0;
z-index: 9999;
display: grid;
place-items: center;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(4px);
}
.ecom-video-confirm-dialog {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
padding: 28px 32px;
border-radius: 12px;
background: #1e2128;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
max-width: 340px;
text-align: center;
}
.ecom-video-confirm-dialog__icon {
font-size: 36px;
color: #faad14;
}
.ecom-video-confirm-dialog__text {
margin: 0;
font-size: 14px;
line-height: 1.6;
color: rgba(255, 255, 255, 0.85);
}
.ecom-video-confirm-dialog__actions {
display: flex;
gap: 12px;
margin-top: 4px;
}
.ecom-video-confirm-dialog__actions button {
padding: 6px 20px;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 6px;
background: transparent;
color: rgba(255, 255, 255, 0.8);
font-size: 13px;
cursor: pointer;
transition: background 0.15s, border-color 0.15s;
}
.ecom-video-confirm-dialog__actions button:hover {
background: rgba(255, 255, 255, 0.08);
}
.ecom-video-confirm-dialog__actions button.is-danger {
background: #ff4d4f;
border-color: #ff4d4f;
color: #fff;
}
.ecom-video-confirm-dialog__actions button.is-danger:hover {
background: #ff7875;
border-color: #ff7875;
}
File diff suppressed because it is too large Load Diff
+1607 -13
View File
File diff suppressed because it is too large Load Diff
+145 -58
View File
@@ -563,7 +563,10 @@ textarea.image-workbench-prompt {
align-items: center;
justify-content: center;
overflow: hidden;
background: var(--bg-inset);
background:
radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 1px, transparent 1.4px),
var(--bg-inset);
background-size: 22px 22px;
}
.image-workbench-canvas img {
@@ -592,14 +595,28 @@ textarea.image-workbench-prompt {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
color: var(--fg-dim);
justify-content: center;
gap: 12px;
width: 100%;
height: 100%;
color: var(--fg-muted);
font-size: 14px;
}
.image-workbench-empty .anticon {
font-size: 32px;
opacity: 0.5;
font-size: 40px;
opacity: 0.35;
}
.image-workbench-empty strong {
font-size: 18px;
color: var(--fg-body, #eee);
}
.image-workbench-empty span {
max-width: 320px;
text-align: center;
line-height: 1.5;
}
.image-workbench-empty--button {
@@ -625,16 +642,24 @@ textarea.image-workbench-prompt {
height: 100%;
}
.image-workbench-camera-stage {
flex-direction: column;
gap: 16px;
}
.image-workbench-inpaint-stage img,
.image-workbench-camera-stage img {
max-width: 90%;
max-height: 90%;
max-width: 95%;
max-height: 95%;
border-radius: 8px;
object-fit: contain;
}
.image-workbench-inpaint-stage > span,
.image-workbench-camera-stage > span {
.image-workbench-camera-stage img {
max-height: 68%;
}
.image-workbench-inpaint-stage > span {
position: absolute;
bottom: 12px;
left: 50%;
@@ -647,6 +672,15 @@ textarea.image-workbench-prompt {
white-space: nowrap;
}
.image-workbench-camera-stage > span {
padding: 4px 12px;
border-radius: var(--radius-xs);
background: rgba(0, 0, 0, 0.6);
color: #fff;
font-size: 13px;
white-space: nowrap;
}
/* Inpaint mask canvas */
.image-workbench-inpaint-canvas {
display: block;
@@ -689,16 +723,8 @@ textarea.image-workbench-prompt {
color: #fff;
}
.image-workbench-camera-stage > span {
bottom: 64px;
}
.image-workbench-camera-stage > .image-workbench-result-actions {
position: absolute;
bottom: 16px;
left: 50%;
width: min(360px, calc(100% - 32px));
transform: translateX(-50%);
}
.image-workbench-inpaint-tool.is-active {
@@ -809,24 +835,26 @@ textarea.image-workbench-prompt {
text-align: center;
}
.image-workbench-result-grid {
.image-workbench-panel--right .image-workbench-result-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
gap: 8px;
margin-top: 8px;
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
gap: 10px;
margin-top: 10px;
}
.image-workbench-result-thumb {
display: block;
overflow: hidden;
border-radius: 6px;
border-radius: 8px;
border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
aspect-ratio: 1;
transition: border-color 0.15s;
transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.image-workbench-result-thumb:hover {
border-color: var(--accent, #2dd4bf);
transform: scale(1.04);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.image-workbench-result-thumb img {
@@ -1467,6 +1495,27 @@ textarea.image-workbench-prompt {
margin: 0;
}
.watermark-removal-actions {
flex-direction: column;
gap: 10px;
padding: 12px 0 0;
}
.watermark-removal-actions .image-workbench-primary {
width: 100%;
min-height: 48px;
justify-content: center;
font-size: 14px;
font-weight: 750;
}
.watermark-removal-actions .image-workbench-cancel {
width: 100%;
min-height: 42px;
justify-content: center;
font-size: 13px;
}
.watermark-removal-compare {
display: grid;
grid-template-columns: 1fr 1fr;
@@ -1519,34 +1568,42 @@ textarea.image-workbench-prompt {
.watermark-removal-compare__actions {
position: absolute;
bottom: 10px;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 8px;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
width: min(480px, calc(100% - 32px));
}
.watermark-removal-compare__actions button {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 5px 12px;
border: none;
justify-content: center;
gap: 10px;
min-height: 64px;
padding: 0 24px;
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xs);
background: rgba(0, 0, 0, 0.6);
color: #fff;
font-size: 12px;
background: var(--bg-inset);
color: var(--fg-body);
font: inherit;
font-size: 18px;
font-weight: 750;
cursor: pointer;
backdrop-filter: blur(4px);
transition: background 0.15s;
backdrop-filter: none;
transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.watermark-removal-compare__actions button:hover:not(:disabled) {
background: rgba(0, 0, 0, 0.8);
border-color: rgba(var(--accent-rgb), 0.42);
background: rgba(var(--accent-rgb), 0.11);
color: var(--accent);
}
.watermark-removal-compare__actions button:disabled {
opacity: 0.5;
opacity: 0.56;
cursor: not-allowed;
}
@@ -1556,40 +1613,40 @@ textarea.image-workbench-prompt {
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
gap: 14px;
width: 100%;
height: 100%;
color: var(--fg-muted);
}
.image-workbench-generating strong {
font-size: 15px;
font-size: 22px;
color: var(--fg-default);
}
.image-workbench-progress-bar {
width: 200px;
height: 6px;
border-radius: 3px;
width: min(420px, 80%);
height: 10px;
border-radius: 5px;
background: var(--bg-inset);
overflow: hidden;
}
.image-workbench-progress-fill {
height: 100%;
border-radius: 3px;
background: var(--accent);
transition: width 0.3s ease;
border-radius: 5px;
background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, white));
transition: width 0.35s ease;
}
.image-workbench-cancel {
margin-top: 8px;
padding: 6px 16px;
margin-top: 12px;
padding: 8px 24px;
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xs);
background: transparent;
color: var(--fg-muted);
font-size: 13px;
font-size: 15px;
cursor: pointer;
transition: background 0.15s, color 0.15s;
}
@@ -1602,25 +1659,28 @@ textarea.image-workbench-prompt {
.image-workbench-result-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 12px;
align-content: center;
justify-items: center;
width: 100%;
height: 100%;
padding: 16px;
margin: 0;
padding: 32px;
overflow-y: auto;
align-content: start;
gap: 20px;
}
.image-workbench-result-item {
display: block;
border-radius: var(--radius-sm);
border-radius: var(--radius-md, 12px);
overflow: hidden;
border: 1px solid var(--border-weak);
transition: border-color 0.15s, box-shadow 0.15s;
transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.image-workbench-result-item:hover {
border-color: var(--accent);
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(var(--accent-rgb, 45, 212, 191), 0.1);
transform: translateY(-2px);
}
.image-workbench-result-item img {
@@ -1629,34 +1689,41 @@ textarea.image-workbench-prompt {
height: auto;
object-fit: contain;
background: var(--bg-inset);
transition: transform 300ms ease;
}
.image-workbench-result-item:hover img {
transform: scale(1.02);
}
.image-workbench-result-card {
display: grid;
min-width: 0;
width: 100%;
max-width: 560px;
align-content: start;
gap: 8px;
gap: 14px;
}
.image-workbench-result-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
gap: 10px;
}
.image-workbench-result-actions button {
display: inline-flex;
min-width: 0;
min-height: 34px;
min-height: 48px;
align-items: center;
justify-content: center;
gap: 5px;
gap: 8px;
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xs);
background: var(--bg-inset);
color: var(--fg-body);
font: inherit;
font-size: 12px;
font-size: 14px;
font-weight: 750;
cursor: pointer;
transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
@@ -1690,6 +1757,26 @@ textarea.image-workbench-prompt {
cursor: not-allowed;
}
/* Result card entrance animation */
@keyframes image-workbench-result-enter {
from {
opacity: 0;
transform: translateY(12px) scale(0.97);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.image-workbench-result-card {
animation: image-workbench-result-enter 0.4s ease-out both;
}
.image-workbench-result-card:nth-child(2) { animation-delay: 0.08s; }
.image-workbench-result-card:nth-child(3) { animation-delay: 0.16s; }
.image-workbench-result-card:nth-child(4) { animation-delay: 0.24s; }
@media (max-width: 900px) {
.image-workbench-page {
padding: 12px;
-13
View File
@@ -14271,19 +14271,6 @@
}
/* ─── Page Motion Animation ─── */
.page-motion {
animation: pixel-page-enter 0.3s ease-out;
}
@keyframes pixel-page-enter {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* ─── Workbench Page Layout Overrides ─── */
.ai-workbench-page.is-active .ai-workbench-shell {
grid-template-columns: 1fr auto;
File diff suppressed because it is too large Load Diff
+56
View File
@@ -0,0 +1,56 @@
.not-found-page {
display: flex;
align-items: center;
justify-content: center;
min-height: calc(100vh - 60px);
padding: 48px 24px;
background: var(--app-bg, #0b0b0f);
}
.not-found-page__content {
text-align: center;
max-width: 420px;
}
.not-found-page__code {
font-size: 96px;
font-weight: 800;
line-height: 1;
letter-spacing: -0.03em;
color: var(--accent-teal, #2dd4bf);
margin-bottom: 12px;
}
.not-found-page h1 {
font-size: 22px;
font-weight: 600;
color: var(--text-primary, #f1f5f9);
margin: 0 0 8px;
}
.not-found-page p {
font-size: 14px;
color: var(--text-secondary, #94a3b8);
margin: 0 0 28px;
line-height: 1.6;
}
.not-found-page__button {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 24px;
border: 1px solid var(--border-default, #334155);
border-radius: 8px;
background: var(--surface-elevated, #1e293b);
color: var(--text-primary, #f1f5f9);
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s, border-color 0.2s;
}
.not-found-page__button:hover {
background: var(--surface-hover, #334155);
border-color: var(--accent-teal, #2dd4bf);
}
+16
View File
@@ -1,5 +1,21 @@
/* Profile page rules move here as they are retired from legacy-pages.css. */
/* ── 代表作滚动容器:固定3列,刚好显示9个(3行),超出可滚动,隐藏滚动条 ── */
.profile-page__works-scroll {
max-height: 390px;
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;
}
.profile-page__works-scroll::-webkit-scrollbar {
display: none;
}
.profile-page__works-scroll .profile-page__list-grid {
grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
.profile-page,
.auth-page,
+772
View File
@@ -0,0 +1,772 @@
/* ===== Script Review Showcase ===== */
.omni-script-review-showcase {
--srs-green: #00ff88;
--srs-mint: #22f0c0;
--srs-cyan: #4fc3f7;
--srs-red: #ff4d67;
--srs-amber: #d49319;
--srs-bg: #05070d;
--srs-panel: rgba(255, 255, 255, 0.04);
--srs-panel-strong: rgba(255, 255, 255, 0.06);
--srs-border: rgba(0, 255, 136, 0.08);
--srs-border-soft: rgba(0, 255, 136, 0.08);
--srs-text: #e8eaef;
--srs-muted: #9aa1b8;
--srs-dim: #62697f;
position: relative;
isolation: isolate;
container-type: inline-size;
display: grid;
grid-template-columns: minmax(300px, 0.72fr) minmax(0, 2.28fr);
gap: clamp(26px, 3.1cqw, 56px);
width: 100%;
height: 100%;
min-height: 0;
overflow: hidden;
border-radius: inherit;
background:
radial-gradient(ellipse 78% 58% at 50% 40%, rgba(0, 255, 136, 0.026) 0%, transparent 70%),
radial-gradient(ellipse 58% 46% at 80% 70%, rgba(42, 159, 212, 0.02) 0%, transparent 62%),
linear-gradient(180deg, #070b10 0%, #05080d 100%);
color: var(--srs-text);
font-family: "Inter", "Noto Sans SC", sans-serif;
padding: clamp(28px, 3.7cqw, 70px);
}
.omni-script-review-showcase::before,
.omni-script-review-showcase::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
}
.omni-script-review-showcase::before {
z-index: -2;
background: linear-gradient(180deg, rgba(0, 255, 136, 0.05), transparent 18%);
opacity: 0.22;
}
.omni-script-review-showcase::after {
z-index: -1;
opacity: 0.26;
background:
radial-gradient(circle at 14% 42%, rgba(255, 255, 255, 0.34) 0 1px, transparent 2px),
radial-gradient(circle at 72% 8%, rgba(79, 195, 247, 0.35) 0 1px, transparent 2px),
radial-gradient(circle at 98% 28%, rgba(255, 255, 255, 0.32) 0 1px, transparent 2px),
radial-gradient(circle at 34% 96%, rgba(0, 255, 136, 0.32) 0 1px, transparent 2px);
}
.srs-left-panel,
.srs-results-panel {
position: relative;
z-index: 1;
min-width: 0;
}
.srs-left-panel {
display: grid;
grid-template-rows: auto 1fr auto;
gap: clamp(22px, 2.4cqw, 44px);
min-height: 0;
padding-block: clamp(8px, 1.4cqw, 24px);
}
.srs-brand-section {
display: grid;
gap: clamp(22px, 2.3cqw, 38px);
}
.srs-brand-section h1 {
max-width: 8em;
margin: 0;
background: linear-gradient(135deg, var(--srs-green), var(--srs-mint), var(--srs-cyan));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
font-size: clamp(38px, 3.7cqw, 72px);
font-weight: 950;
letter-spacing: 0;
line-height: 1.12;
}
.srs-brand-section p {
max-width: 430px;
margin: 0;
color: var(--srs-muted);
font-size: clamp(16px, 1.12cqw, 22px);
font-weight: 760;
letter-spacing: 0;
line-height: 1.9;
}
.srs-point-list {
display: grid;
align-content: center;
gap: clamp(12px, 1.1cqw, 20px);
min-height: 0;
}
.srs-point-card {
display: grid;
grid-template-columns: clamp(42px, 3cqw, 58px) minmax(0, 1fr);
align-items: center;
gap: clamp(14px, 1.1cqw, 20px);
min-height: clamp(78px, 5.4cqw, 108px);
border: 1px solid var(--srs-border);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
box-shadow:
0 2px 8px rgba(0, 0, 0, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.03);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
padding: clamp(14px, 1.2cqw, 22px);
}
.srs-point-icon {
display: grid;
width: clamp(42px, 3cqw, 58px);
height: clamp(42px, 3cqw, 58px);
place-items: center;
border: 1px solid var(--srs-border);
border-radius: 8px;
background: rgba(0, 255, 136, 0.08);
color: var(--srs-green);
font-size: clamp(16px, 1.2cqw, 24px);
font-weight: 900;
}
.srs-point-card h3 {
margin: 0 0 4px;
color: var(--srs-text);
font-size: clamp(16px, 1.18cqw, 22px);
font-weight: 900;
letter-spacing: 0;
line-height: 1.22;
}
.srs-point-card p {
margin: 0;
color: var(--srs-dim);
font-size: clamp(12px, 0.88cqw, 16px);
font-weight: 650;
letter-spacing: 0;
line-height: 1.5;
}
.srs-flow-card {
display: grid;
grid-template-columns: repeat(7, auto);
align-items: center;
justify-content: space-between;
gap: clamp(6px, 0.7cqw, 14px);
min-height: clamp(86px, 6.4cqw, 116px);
border: 1px solid var(--srs-border);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
color: var(--srs-muted);
padding: clamp(14px, 1.3cqw, 22px);
}
.srs-flow-card span {
display: grid;
justify-items: center;
gap: 4px;
color: var(--srs-text);
font-size: clamp(12px, 0.9cqw, 16px);
font-weight: 840;
letter-spacing: 0;
text-align: center;
white-space: nowrap;
}
.srs-flow-card span::after {
content: "Process";
color: var(--srs-dim);
font-size: clamp(10px, 0.72cqw, 13px);
font-weight: 650;
}
.srs-flow-card b {
color: var(--srs-green);
font-size: clamp(12px, 0.9cqw, 16px);
font-weight: 900;
}
.srs-results-panel {
display: grid;
grid-template-rows: minmax(96px, auto) minmax(320px, 1fr) minmax(180px, 0.86fr);
gap: clamp(14px, 1.25cqw, 24px);
min-height: 0;
}
/* Score Hero */
.srs-score-hero {
position: relative;
display: grid;
grid-template-columns: minmax(260px, 0.72fr) 1px minmax(0, 1.28fr);
align-items: center;
gap: clamp(18px, 1.8cqw, 34px);
min-height: clamp(112px, 7.6cqw, 150px);
overflow: hidden;
border: 1px solid var(--srs-border);
border-radius: 8px;
background:
linear-gradient(90deg, rgba(0, 255, 136, 0.14), rgba(79, 195, 247, 0.08)),
rgba(18, 23, 49, 0.88);
padding: clamp(18px, 1.7cqw, 30px);
box-shadow:
0 24px 58px rgba(0, 0, 0, 0.24),
inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.srs-score-circle {
display: grid;
flex: 0 0 auto;
width: clamp(82px, 5.8cqw, 118px);
height: clamp(82px, 5.8cqw, 118px);
place-items: center;
border-radius: 50%;
background: conic-gradient(var(--srs-green) 0deg, var(--srs-green) calc(77 * 3.6deg), rgba(255, 255, 255, 0.08) calc(77 * 3.6deg));
box-shadow: 0 0 34px rgba(0, 255, 136, 0.2);
animation: srs-glow 3s ease-in-out infinite;
}
@keyframes srs-glow {
0%,
100% {
box-shadow: 0 0 30px rgba(0, 255, 136, 0.16);
}
50% {
box-shadow: 0 0 42px rgba(0, 255, 136, 0.28);
}
}
.srs-score-circle-inner {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: calc(100% - 18px);
height: calc(100% - 18px);
border-radius: 50%;
background: rgba(18, 23, 49, 0.98);
}
.srs-score-num {
color: var(--srs-text);
font-size: clamp(30px, 2.3cqw, 44px);
font-weight: 950;
letter-spacing: 0;
line-height: 0.92;
}
.srs-score-left {
display: flex;
align-items: center;
gap: clamp(16px, 1.5cqw, 28px);
min-width: 0;
}
.srs-score-den {
color: var(--srs-dim);
font-size: clamp(10px, 0.78cqw, 14px);
font-weight: 720;
}
.srs-score-meta {
display: grid;
gap: clamp(8px, 0.7cqw, 12px);
min-width: 0;
}
.srs-score-grade {
color: var(--srs-green);
font-size: clamp(24px, 2.15cqw, 42px);
font-weight: 950;
letter-spacing: 0;
line-height: 1;
}
.srs-score-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.srs-score-tag {
display: inline-flex;
align-items: center;
min-height: clamp(24px, 1.5cqw, 30px);
border: 1px solid var(--srs-border);
border-radius: 6px;
background: rgba(0, 255, 136, 0.06);
color: var(--srs-green);
padding: 0 clamp(10px, 0.9cqw, 16px);
font-size: clamp(11px, 0.82cqw, 15px);
font-weight: 820;
white-space: nowrap;
}
.srs-score-divider {
width: 1px;
height: 78%;
background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.11), transparent);
}
.srs-score-right {
min-width: 0;
}
.srs-score-proj {
margin-bottom: clamp(8px, 0.7cqw, 12px);
color: var(--srs-dim);
font-size: clamp(12px, 0.96cqw, 17px);
font-weight: 800;
letter-spacing: 0;
}
.srs-score-summary {
color: var(--srs-muted);
font-size: clamp(15px, 1.12cqw, 22px);
font-weight: 750;
letter-spacing: 0;
line-height: 1.68;
}
/* Chart Card */
.srs-chart-card {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
min-height: 0;
border: 1px solid var(--srs-border);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
box-shadow:
0 4px 20px rgba(0, 0, 0, 0.18),
inset 0 1px 0 rgba(255, 255, 255, 0.03);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
padding: clamp(10px, 0.8cqw, 18px) clamp(24px, 2cqw, 42px) clamp(6px, 0.5cqw, 12px);
}
.srs-chart-title {
color: var(--srs-muted);
font-size: clamp(13px, 0.95cqw, 18px);
font-weight: 900;
letter-spacing: 0.08em;
line-height: 1.2;
text-transform: uppercase;
}
.srs-chart-body {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
align-items: end;
gap: clamp(22px, 3cqw, 64px);
min-height: 0;
padding-top: clamp(10px, 0.8cqw, 18px);
padding-bottom: 0;
}
.srs-chart-col {
display: grid;
grid-template-rows: minmax(100px, 1fr) auto;
align-items: end;
justify-items: center;
gap: 4px;
height: 100%;
min-width: 0;
}
.srs-chart-bar-wrap {
position: relative;
display: flex;
align-items: flex-end;
justify-content: center;
width: 100%;
height: 100%;
min-height: clamp(80px, 12cqw, 220px);
}
.srs-chart-bar-bg,
.srs-chart-bar-fill {
width: min(100%, clamp(60px, 4.8cqw, 96px));
border-radius: 10px 10px 0 0;
}
.srs-chart-bar-bg {
position: absolute;
left: 50%;
bottom: 0;
height: 100%;
background: rgba(255, 255, 255, 0.05);
transform: translateX(-50%);
}
.srs-chart-bar-fill {
position: relative;
z-index: 1;
background: linear-gradient(180deg, var(--srs-green), #08d879);
box-shadow: 0 0 32px rgba(0, 255, 136, 0.18);
transition: height 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.srs-chart-bar-fill.is-perfect {
background: linear-gradient(180deg, #00ff88, #04f28b);
box-shadow: 0 0 42px rgba(0, 255, 136, 0.32);
}
.srs-chart-bar-fill.is-low {
background: linear-gradient(180deg, #b98218, #7e5c21);
box-shadow: 0 0 22px rgba(212, 147, 25, 0.18);
}
.srs-chart-bar-score {
position: absolute;
top: -32px;
left: 50%;
display: inline-flex;
align-items: baseline;
gap: 2px;
color: #ffffff;
font-size: clamp(18px, 1.35cqw, 26px);
font-weight: 950;
letter-spacing: 0;
line-height: 1;
transform: translateX(-50%);
white-space: nowrap;
}
.srs-chart-bar-sub {
color: rgba(255, 255, 255, 0.7);
font-size: clamp(12px, 0.85cqw, 16px);
font-weight: 760;
}
.srs-chart-bar-star {
color: #ffffff;
font-size: clamp(12px, 0.9cqw, 16px);
}
.srs-chart-col-name {
overflow-wrap: anywhere;
max-width: 100%;
color: var(--srs-text);
font-size: clamp(13px, 1cqw, 18px);
font-weight: 920;
letter-spacing: 0;
line-height: 1.22;
}
.srs-chart-bar-fill {
position: relative;
z-index: 1;
background: linear-gradient(180deg, var(--srs-green), #08d879);
box-shadow: 0 0 32px rgba(0, 255, 136, 0.18);
transition: height 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.srs-chart-bar-fill.is-perfect {
background: linear-gradient(180deg, #00ff88, #04f28b);
box-shadow: 0 0 42px rgba(0, 255, 136, 0.32);
}
.srs-chart-bar-fill.is-low {
background: linear-gradient(180deg, #b98218, #7e5c21);
box-shadow: 0 0 22px rgba(212, 147, 25, 0.18);
}
/* Triple Section */
.srs-triple-section {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: clamp(14px, 1.25cqw, 24px);
min-height: 0;
}
.srs-section-card {
position: relative;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: clamp(10px, 0.9cqw, 16px);
min-height: 0;
overflow: hidden auto;
scrollbar-width: none;
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
box-shadow:
0 2px 12px rgba(0, 0, 0, 0.15),
inset 0 1px 0 rgba(255, 255, 255, 0.02);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
padding: clamp(14px, 1.2cqw, 24px);
transition:
transform 220ms ease,
border-color 220ms ease,
box-shadow 220ms ease;
}
.srs-section-card::-webkit-scrollbar {
display: none;
}
.srs-section-card:hover {
transform: translateY(-2px);
}
.srs-section-card.is-highlight {
border-color: rgba(0, 255, 136, 0.18);
background:
linear-gradient(180deg, rgba(0, 255, 136, 0.08), transparent 42%),
rgba(9, 22, 19, 0.86);
}
.srs-section-card.is-highlight:hover {
box-shadow: 0 16px 42px rgba(0, 255, 136, 0.08);
}
.srs-section-card.is-weakness {
border-color: rgba(255, 77, 103, 0.22);
background:
linear-gradient(180deg, rgba(255, 77, 103, 0.08), transparent 42%),
rgba(20, 15, 23, 0.88);
}
.srs-section-card.is-weakness:hover {
box-shadow: 0 16px 42px rgba(255, 77, 103, 0.06);
}
.srs-section-card.is-optimize {
border-color: rgba(79, 195, 247, 0.22);
background:
linear-gradient(180deg, rgba(79, 195, 247, 0.08), transparent 42%),
rgba(12, 20, 30, 0.88);
}
.srs-section-card.is-optimize:hover {
box-shadow: 0 16px 42px rgba(79, 195, 247, 0.07);
}
.srs-section-header {
display: flex;
align-items: center;
gap: clamp(10px, 0.8cqw, 14px);
}
.srs-section-icon {
display: grid;
width: clamp(26px, 1.9cqw, 36px);
height: clamp(26px, 1.9cqw, 36px);
place-items: center;
border-radius: 8px;
font-size: clamp(12px, 0.86cqw, 16px);
font-weight: 900;
}
.is-highlight .srs-section-icon {
background: rgba(0, 255, 136, 0.1);
color: var(--srs-green);
}
.is-weakness .srs-section-icon {
background: rgba(217, 58, 82, 0.1);
color: var(--srs-red);
}
.is-optimize .srs-section-icon {
background: rgba(42, 159, 212, 0.1);
color: var(--srs-cyan);
}
.srs-section-label {
font-size: clamp(16px, 1.12cqw, 22px);
font-weight: 920;
letter-spacing: 0;
}
.is-highlight .srs-section-label {
color: var(--srs-green);
}
.is-weakness .srs-section-label {
color: var(--srs-red);
}
.is-optimize .srs-section-label {
color: var(--srs-cyan);
}
.srs-section-list {
display: grid;
gap: clamp(8px, 0.7cqw, 12px);
min-height: 0;
}
.srs-section-item {
display: grid;
gap: 6px;
min-width: 0;
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 8px;
background: rgba(255, 255, 255, 0.03);
padding: clamp(10px, 0.9cqw, 16px);
}
.srs-section-item-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-width: 0;
}
.srs-section-item-dim {
min-width: 0;
overflow-wrap: anywhere;
color: var(--srs-text);
font-size: clamp(13px, 0.92cqw, 18px);
font-weight: 900;
letter-spacing: 0;
line-height: 1.18;
}
.srs-section-item-score {
flex: 0 0 auto;
font-size: clamp(12px, 0.88cqw, 16px);
font-weight: 900;
line-height: 1.18;
}
.srs-section-item-score.is-green {
color: var(--srs-green);
}
.srs-section-item-score.is-red {
color: var(--srs-red);
}
.srs-section-item-text {
display: -webkit-box;
overflow: hidden;
color: var(--srs-dim);
font-size: clamp(11px, 0.78cqw, 15px);
font-weight: 680;
letter-spacing: 0;
line-height: 1.42;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.srs-section-item-badge {
flex: 0 0 auto;
border-radius: 6px;
padding: 3px 8px;
font-size: clamp(10px, 0.72cqw, 13px);
font-weight: 850;
line-height: 1;
}
.srs-section-item-badge.badge-red {
background: rgba(255, 77, 103, 0.12);
color: var(--srs-red);
}
.srs-section-item-badge.badge-orange {
background: rgba(212, 147, 25, 0.13);
color: #ffbd35;
}
@container (max-width: 1120px) {
.omni-script-review-showcase {
grid-template-columns: 1fr;
gap: 18px;
overflow-y: auto;
}
.srs-left-panel {
grid-template-rows: auto auto auto;
gap: 16px;
padding-block: 0;
}
.srs-brand-section h1,
.srs-brand-section p {
max-width: none;
}
.srs-point-list {
grid-template-columns: repeat(3, minmax(0, 1fr));
align-content: stretch;
}
.srs-flow-card {
justify-content: start;
}
.srs-results-panel {
grid-template-rows: auto minmax(320px, auto) auto;
}
}
@media (max-width: 980px) {
.omni-script-review-showcase {
padding: 22px;
}
.srs-score-hero {
grid-template-columns: 1fr;
gap: 14px;
}
.srs-score-divider {
display: none;
}
.srs-chart-body,
.srs-triple-section,
.srs-point-list {
grid-template-columns: 1fr;
}
.srs-chart-col {
grid-template-columns: minmax(70px, 92px) minmax(0, 1fr);
grid-template-rows: auto;
align-items: center;
justify-items: stretch;
}
.srs-chart-bar-wrap {
min-height: 80px;
}
.srs-chart-col-label {
text-align: left;
}
}
@media (max-width: 560px) {
.omni-script-review-showcase {
padding: 16px;
}
.srs-flow-card {
grid-template-columns: 1fr;
justify-items: stretch;
}
.srs-flow-card b {
display: none;
}
.srs-score-left {
align-items: flex-start;
flex-direction: column;
}
}
+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
+2 -2
View File
@@ -1489,7 +1489,7 @@
--eval-text-secondary: #94a3b8;
--eval-text-tertiary: #64748b;
--eval-text-placeholder: #475569;
--eval-accent-start: #34d399;
--eval-accent-start: #00ff88;
--eval-accent-mid: #10b981;
--eval-accent-end: #059669;
--eval-accent-glow: rgba(16, 185, 129, 0.3);
@@ -4883,7 +4883,7 @@
}
.management-status-trend {
padding: 6px 14px 10px;
padding: 12px 18px 16px;
border-top: 1px solid var(--border-weak);
}
+6 -6
View File
@@ -1,6 +1,6 @@
.product-clone-page[data-tool="clone"].size-template-workbench {
--clone-settings-panel-width: 640px;
--size-green: #34d399;
--size-green: #00ff88;
--size-cyan: #38bdf8;
--size-violet: #a78bfa;
--size-amber: #fbbf24;
@@ -106,7 +106,7 @@
.size-template-workbench .size-template-static-field.is-clickable > button:hover,
.size-template-workbench .size-template-static-field.is-clickable > button[aria-expanded="true"] {
border-color: #34d399;
border-color: #00ff88;
background: #202c28;
}
@@ -155,7 +155,7 @@
.size-template-platform-dialog button:hover,
.size-template-platform-dialog button.is-active {
background: #17352a;
color: #34d399;
color: #00ff88;
}
@keyframes size-template-dialog-rise {
@@ -241,7 +241,7 @@
width: 54px;
height: 2px;
border-radius: 999px;
background: linear-gradient(90deg, #34d399, rgb(52 211 153 / 0%));
background: linear-gradient(90deg, #00ff88, rgb(52 211 153 / 0%));
box-shadow: 0 0 18px rgb(52 211 153 / 35%);
}
@@ -355,7 +355,7 @@
}
.size-template-preview-note > div:first-child .anticon {
color: #34d399;
color: #00ff88;
}
.size-template-preview-note p {
@@ -414,7 +414,7 @@
}
.size-template-check-list .anticon {
color: #34d399;
color: #00ff88;
}
@media (max-width: 1320px) {
+3 -7
View File
@@ -376,23 +376,19 @@
margin-top: 8px;
}
.studio-result-actions--with-clear {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.studio-result-actions button {
display: inline-flex;
min-width: 0;
min-height: 36px;
min-height: 48px;
align-items: center;
justify-content: center;
gap: 6px;
gap: 8px;
border: 1px solid var(--border-subtle);
border-radius: var(--radius-xs);
background: var(--bg-inset);
color: var(--fg-body);
font: inherit;
font-size: 12px;
font-size: 14px;
font-weight: 750;
cursor: pointer;
transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
+891
View File
@@ -0,0 +1,891 @@
/* ===== 工具箱功能页 ===== */
.omni-home__toolbox-page {
--toolbox-green: #00ff88;
--toolbox-blue: #4fc3f7;
--toolbox-purple: #a855f7;
--toolbox-surface: rgba(255, 255, 255, 0.04);
--toolbox-elevated: rgba(255, 255, 255, 0.06);
--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: #e8eaef;
--toolbox-text-secondary: #9aa1b8;
--toolbox-text-tertiary: #62697f;
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(42, 159, 212, 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(18px, 2.8vw, 36px);
padding: clamp(36px, 5.5vw, 68px) clamp(20px, 6vw, 76px);
min-height: var(--home-section-min-height);
align-items: center;
}
/* ===== Left Panel ===== */
.omni-home__toolbox-left {
width: clamp(320px, 30vw, 450px);
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 17px;
justify-content: flex-start;
padding-top: clamp(34px, 6vh, 84px);
}
.omni-home__toolbox-brand {
display: flex;
align-items: center;
gap: 12px;
}
.omni-home__toolbox-brand-icon {
width: 56px;
height: 56px;
background: var(--toolbox-green);
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
color: #0a0b12;
font-size: 28px;
}
.omni-home__toolbox-brand-icon .anticon {
font-size: 30px;
}
.omni-home__toolbox-brand-text {
font-weight: 900;
font-size: 34px;
color: #fff;
letter-spacing: -0.5px;
}
.omni-home__toolbox-title {
font-weight: 900;
font-size: clamp(36px, 3.8vw, 50px);
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: 18px;
line-height: 1.55;
color: var(--toolbox-text-secondary);
max-width: 100%;
}
.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: 17px;
padding: 17px 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: 29px;
flex-shrink: 0;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 13px;
background: rgba(0, 255, 136, 0.08);
}
.omni-home__toolbox-item-info {
display: flex;
flex-direction: column;
gap: 5px;
min-width: 0;
}
.omni-home__toolbox-item-name {
font-weight: 700;
font-size: 19px;
color: var(--toolbox-text-primary);
}
.omni-home__toolbox-item-desc {
font-size: 16px;
color: var(--toolbox-text-tertiary);
line-height: 1.4;
}
@keyframes omni-toolbox-fadeSlideIn {
from { opacity: 0; transform: translateX(-12px); }
to { opacity: 1; transform: translateX(0); }
}
.omni-home__toolbox-workflow {
margin-top: auto;
padding: 19px 24px;
border-radius: 16px;
background: var(--toolbox-surface);
border: 1px solid var(--toolbox-border-subtle);
}
.omni-home__toolbox-workflow-label {
font-size: 16px;
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;
flex-wrap: wrap;
gap: 10px;
font-size: 16px;
color: var(--toolbox-text-tertiary);
}
.omni-home__toolbox-workflow-step {
color: var(--toolbox-text-secondary);
white-space: nowrap;
}
.omni-home__toolbox-workflow-arrow {
color: var(--toolbox-green);
font-size: 16px;
flex-shrink: 0;
}
/* ===== Grid Area ===== */
.omni-home__toolbox-grid {
flex: 1;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: repeat(2, minmax(0, 1fr));
gap: 16px;
min-height: clamp(560px, 52vw, 760px);
}
/* ===== 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: 36px 20px 48px;
gap: 24px;
}
.omni-home__toolbox-left {
width: 100%;
flex-shrink: unset;
padding-top: 0;
}
.omni-home__toolbox-grid {
width: 100%;
min-height: clamp(400px, 60vw, 560px);
}
.omni-home__toolbox-workflow {
margin-top: 0;
}
}
@media (max-width: 560px) {
.omni-home__toolbox-shell {
padding: 28px 16px 40px;
}
.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;
}
}
+8 -8
View File
@@ -9,10 +9,10 @@
.wb-prompt-cases__grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
grid-auto-flow: dense;
grid-auto-rows: 10px;
gap: 10px;
gap: 8px;
}
.wb-prompt-case-card {
@@ -34,22 +34,22 @@
.wb-prompt-case-card--ratio-wide {
grid-column: span 1;
grid-row: span 8;
grid-row: span 13;
}
.wb-prompt-case-card--ratio-tall {
grid-column: span 1;
grid-row: span 23;
grid-row: span 30;
}
.wb-prompt-case-card--ratio-square {
grid-column: span 1;
grid-row: span 13;
grid-row: span 18;
}
.wb-prompt-case-card--ratio-portrait {
grid-column: span 1;
grid-row: span 16;
grid-row: span 24;
}
.wb-prompt-case-card img {
@@ -328,7 +328,7 @@
@media (max-width: 980px) {
.wb-prompt-cases__grid {
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
grid-auto-rows: 8px;
gap: 8px;
}
@@ -387,7 +387,7 @@
@media (max-width: 560px) {
.wb-prompt-cases__grid {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-auto-rows: 8px;
gap: 8px;
}
+421 -32
View File
@@ -135,6 +135,11 @@
font-size: 15px;
font-weight: 900;
cursor: pointer;
transition: opacity 160ms ease;
}
.brand-lockup:active {
opacity: 0.85;
}
.brand-lockup__mark {
@@ -232,7 +237,8 @@
}
.member-button {
color: var(--cyan-strong);
color: var(--accent);
font-weight: 600;
}
.member-button--community {
@@ -303,6 +309,15 @@
background: var(--bg-hover);
}
.creator-button:active,
.member-button:active,
.profile-button:active,
.icon-button:active,
.theme-toggle:active {
transform: scale(0.97);
transition-duration: 80ms;
}
.profile-button--guest:hover {
background: rgba(var(--accent-rgb), 0.88);
color: #07100b;
@@ -481,6 +496,15 @@
box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.34);
}
@keyframes nav-activate-pulse {
0% { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.34), 0 0 8px rgba(var(--accent-rgb), 0.25); }
100% { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.34); }
}
.floating-nav__button.nav-just-activated {
animation: nav-activate-pulse 320ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
.floating-nav__button:hover .floating-nav__label,
.floating-nav__button:focus-visible .floating-nav__label,
.floating-nav__button.is-active .floating-nav__label {
@@ -535,19 +559,343 @@
}
.web-shell__page {
position: relative;
flex: 1;
min-height: 0;
overflow: auto;
scrollbar-color: rgba(var(--accent-rgb), 0.42) transparent;
}
/*
Responsive: Shell Navigation & Topbar
Breakpoints: 1180px (small desktop), 900px (tablet),
560px (phone). Complements legacy-components.css rules.
*/
.keepalive-ecommerce {
position: absolute;
inset: 0;
z-index: 1;
overflow: hidden;
}
/* ── Info button & popover ────────────────────── */
.info-button {
display: inline-grid;
width: 32px;
height: 32px;
place-items: center;
border: 1px solid rgba(var(--accent-rgb), 0.22);
border-radius: 8px;
background: transparent;
color: var(--fg-muted);
font-size: 15px;
cursor: pointer;
transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}
.info-button:hover {
color: var(--accent);
border-color: rgba(var(--accent-rgb), 0.4);
background: rgba(var(--accent-rgb), 0.06);
}
.info-popover-anchor {
position: relative;
}
.info-popover {
position: absolute;
top: calc(100% + 10px);
right: 0;
z-index: 100;
min-width: 280px;
max-width: min(360px, calc(100vw - 32px));
padding: 20px;
border-radius: 14px;
background: var(--bg-panel);
border: 1px solid var(--border-normal);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}
.info-popover dl {
display: grid;
gap: 12px;
margin: 0 0 16px;
}
.info-popover dt {
color: var(--fg-muted);
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.info-popover dd {
margin: 0 0 0 0;
color: var(--fg-body);
font-size: 13px;
line-height: 1.55;
}
.info-popover__links {
display: flex;
gap: 12px;
padding-top: 12px;
border-top: 1px solid var(--border-weak);
}
.info-popover__links a {
color: var(--accent);
font-size: 13px;
font-weight: 700;
text-decoration: none;
cursor: pointer;
}
.info-popover__links a:hover {
text-decoration: underline;
}
/* ── Admin monitor ──────────────────────────── */
.admin-monitor-trigger {
position: fixed;
bottom: 16px;
right: 16px;
z-index: 200;
display: grid;
width: 36px;
height: 36px;
place-items: center;
border: 1px solid rgba(var(--accent-rgb), 0.3);
border-radius: 50%;
background: var(--bg-panel);
cursor: pointer;
box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.admin-monitor-trigger__dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--accent);
animation: admin-monitor-pulse 2s ease-in-out infinite;
}
@keyframes admin-monitor-pulse {
0%, 100% { opacity: 0.4; transform: scale(1); }
50% { opacity: 1; transform: scale(1.3); }
}
.admin-monitor {
position: fixed;
bottom: 60px;
right: 16px;
z-index: 199;
width: min(480px, calc(100vw - 32px));
max-height: 70vh;
display: flex;
flex-direction: column;
border: 1px solid var(--border-normal);
border-radius: 12px;
background: var(--bg-panel);
box-shadow: 0 8px 40px rgba(0,0,0,0.35);
overflow: hidden;
}
.admin-monitor__header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
border-bottom: 1px solid var(--border-weak);
}
.admin-monitor__header strong {
font-size: 13px;
color: var(--fg-body);
}
.admin-monitor__actions {
display: flex;
gap: 6px;
}
.admin-monitor__actions button {
padding: 3px 12px;
border: 1px solid var(--border-normal);
border-radius: 5px;
background: transparent;
color: var(--fg-muted);
font-size: 11px;
cursor: pointer;
}
.admin-monitor__actions button:hover:not(:disabled) {
border-color: var(--accent);
color: var(--accent);
}
.admin-monitor__list {
flex: 1;
overflow: auto;
padding: 8px;
}
.admin-monitor__empty {
padding: 24px;
text-align: center;
color: var(--fg-muted);
font-size: 12px;
}
.admin-monitor__item {
border-bottom: 1px solid var(--border-weak);
}
.admin-monitor__item summary {
display: grid;
grid-template-columns: 60px 1fr 36px 100px;
align-items: center;
gap: 8px;
padding: 8px 4px;
cursor: pointer;
font-size: 11px;
}
.admin-monitor__source {
display: inline-block;
padding: 2px 6px;
border-radius: 3px;
background: rgba(var(--accent-rgb), 0.12);
color: var(--accent);
font-size: 10px;
font-weight: 700;
text-align: center;
}
.admin-monitor__msg {
overflow: hidden;
color: var(--fg-body);
text-overflow: ellipsis;
white-space: nowrap;
}
.admin-monitor__count {
display: inline-block;
min-width: 24px;
padding: 1px 5px;
border-radius: 999px;
background: rgba(255, 107, 53, 0.15);
color: #ff6b35;
font-size: 10px;
font-weight: 800;
text-align: center;
}
.admin-monitor__item time {
color: var(--fg-muted);
font-size: 10px;
text-align: right;
}
.admin-monitor__detail {
padding: 8px 12px 12px;
color: var(--fg-muted);
font-size: 11px;
line-height: 1.6;
}
.admin-monitor__detail pre {
margin-top: 6px;
padding: 8px;
border-radius: 4px;
background: var(--bg-inset);
font-size: 10px;
max-height: 120px;
overflow: auto;
}
.admin-monitor__pager {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 8px;
border-top: 1px solid var(--border-weak);
font-size: 11px;
color: var(--fg-muted);
}
.admin-monitor__pager button {
padding: 2px 10px;
border: 1px solid var(--border-normal);
border-radius: 4px;
background: transparent;
color: var(--fg-muted);
cursor: pointer;
}
.admin-monitor__pager button:hover:not(:disabled) {
border-color: var(--accent);
color: var(--accent);
}
.cookie-consent {
position: fixed;
right: 18px;
bottom: 18px;
z-index: 1300;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 16px;
width: min(640px, calc(100vw - 36px));
padding: 16px;
border: 1px solid rgba(var(--accent-rgb), 0.28);
border-radius: 16px;
background: var(--bg-panel);
color: var(--fg-body);
box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}
.cookie-consent strong,
.cookie-consent p {
margin: 0;
}
.cookie-consent p {
margin-top: 5px;
color: var(--fg-muted);
font-size: 13px;
line-height: 1.55;
}
.cookie-consent__actions {
display: flex;
align-items: center;
gap: 10px;
}
.cookie-consent__actions a,
.cookie-consent__actions button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 36px;
padding: 0 12px;
border-radius: 999px;
font-size: 12px;
font-weight: 900;
white-space: nowrap;
}
.cookie-consent__actions a {
color: var(--accent);
text-decoration: none;
}
.cookie-consent__actions button {
border: 0;
background: var(--accent);
color: #07100b;
cursor: pointer;
}
/* ── 1180px: Compact topbar ── */
@media (max-width: 1180px) {
.brand-lockup__tone {
display: none;
@@ -563,49 +911,90 @@
}
}
/* ── 900px: Bottom nav & Touch-friendly topbar ── */
@media (max-width: 900px) {
.web-topbar {
position: sticky;
top: 0;
flex: 0 0 52px;
padding: 8px 12px;
gap: 10px;
}
.brand-lockup__name {
max-width: 110px;
.web-shell {
overflow: hidden;
text-overflow: ellipsis;
}
.creator-button,
.member-button {
.web-topbar {
flex: 0 0 auto;
gap: 10px;
padding: 10px 12px;
}
.brand-lockup__tone,
.profile-button span:not(.profile-button__avatar),
.member-button__label {
display: none;
}
.profile-button span:last-child {
display: none;
.web-topbar__actions {
gap: 6px;
}
.profile-button {
min-width: 44px;
height: 44px;
.member-button,
.profile-button,
.info-button {
width: 36px;
padding: 0;
aspect-ratio: 1;
}
.icon-button {
min-width: 44px;
height: 44px;
.floating-nav {
left: 50%;
top: auto;
bottom: max(10px, env(safe-area-inset-bottom));
flex-direction: row;
width: min(calc(100vw - 20px), 560px);
overflow-x: auto;
justify-content: flex-start;
border-radius: 18px;
transform: translateX(-50%);
scrollbar-width: none;
}
.floating-nav::-webkit-scrollbar {
display: none;
}
.floating-nav__item {
flex: 0 0 44px;
}
.floating-nav__label,
.floating-nav__submenu,
.floating-page-scroll-actions {
display: none;
}
.web-shell__page {
padding-bottom: 78px;
}
.floating-page-scroll-actions {
display: none;
.info-popover,
.profile-popover {
right: -8px;
max-width: calc(100vw - 24px);
}
}
/* ── 640px: Narrower topbar adjustments ── */
@media (max-width: 640px) {
.brand-lockup__name {
font-size: 14px;
}
.web-topbar__actions {
flex: 1;
}
.cookie-consent {
right: 12px;
bottom: 12px;
grid-template-columns: 1fr;
}
.cookie-consent__actions {
justify-content: space-between;
}
}
File diff suppressed because it is too large Load Diff