1006 lines
21 KiB
CSS
1006 lines
21 KiB
CSS
/* ===== Model Generation Showcase ===== */
|
|
.omni-model-gen-showcase {
|
|
--mgs-green: #00ff88;
|
|
--mgs-mint: #22f0c0;
|
|
--mgs-blue: #4fc3f7;
|
|
--mgs-purple: #a855f7;
|
|
--mgs-bg: #05070d;
|
|
--mgs-panel: rgba(255, 255, 255, 0.04);
|
|
--mgs-panel-strong: rgba(255, 255, 255, 0.06);
|
|
--mgs-border-subtle: rgba(0, 255, 136, 0.08);
|
|
--mgs-border-default: rgba(0, 255, 136, 0.12);
|
|
--mgs-border-hover: rgba(0, 255, 136, 0.18);
|
|
--mgs-text-primary: #e8eaef;
|
|
--mgs-text-secondary: #9aa1b8;
|
|
--mgs-text-muted: #62697f;
|
|
position: relative;
|
|
isolation: isolate;
|
|
container-type: inline-size;
|
|
display: grid;
|
|
grid-template-columns: minmax(300px, 0.7fr) minmax(430px, 1.18fr) minmax(430px, 1.18fr);
|
|
align-items: stretch;
|
|
gap: clamp(22px, 2.4cqw, 48px);
|
|
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(79, 195, 247, 0.02) 0%, transparent 62%),
|
|
linear-gradient(180deg, #070b10 0%, #05080d 100%);
|
|
color: var(--mgs-text-primary);
|
|
font-family: "Inter", "Noto Sans SC", sans-serif;
|
|
padding: clamp(28px, 3.3cqw, 64px);
|
|
}
|
|
|
|
.omni-model-gen-showcase::before,
|
|
.omni-model-gen-showcase::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.omni-model-gen-showcase::before {
|
|
z-index: -2;
|
|
background: linear-gradient(180deg, rgba(0, 255, 136, 0.05), transparent 18%);
|
|
opacity: 0.22;
|
|
}
|
|
|
|
.omni-model-gen-showcase::after {
|
|
z-index: -1;
|
|
opacity: 0.24;
|
|
background:
|
|
radial-gradient(circle at 9% 4%, rgba(255, 255, 255, 0.34) 0 1px, transparent 2px),
|
|
radial-gradient(circle at 38% 18%, rgba(255, 255, 255, 0.3) 0 1px, transparent 2px),
|
|
radial-gradient(circle at 63% 96%, rgba(255, 255, 255, 0.42) 0 1px, transparent 2px),
|
|
radial-gradient(circle at 98% 26%, rgba(0, 255, 136, 0.35) 0 1px, transparent 2px);
|
|
}
|
|
|
|
.mgs-left-panel,
|
|
.mgs-center-area,
|
|
.mgs-right-panel {
|
|
position: relative;
|
|
z-index: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* ===== Left Panel ===== */
|
|
.mgs-left-panel {
|
|
display: grid;
|
|
grid-template-rows: auto 1fr auto;
|
|
gap: clamp(22px, 2.4cqw, 44px);
|
|
padding-block: clamp(4px, 1cqw, 16px);
|
|
}
|
|
|
|
.mgs-brand-section {
|
|
display: grid;
|
|
gap: clamp(20px, 1.8cqw, 34px);
|
|
}
|
|
|
|
.mgs-brand-section h1 {
|
|
max-width: 9.6em;
|
|
margin: 0;
|
|
background: linear-gradient(135deg, var(--mgs-green), var(--mgs-mint), var(--mgs-blue));
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
font-size: clamp(30px, 2.35cqw, 50px);
|
|
font-weight: 950;
|
|
letter-spacing: 0;
|
|
line-height: 1.16;
|
|
}
|
|
|
|
.mgs-subtitle {
|
|
max-width: 390px;
|
|
margin: 0;
|
|
color: var(--mgs-text-secondary);
|
|
font-size: clamp(15px, 1.05cqw, 22px);
|
|
font-weight: 760;
|
|
letter-spacing: 0;
|
|
line-height: 1.86;
|
|
}
|
|
|
|
/* Mode Tabs */
|
|
.mgs-mode-tabs {
|
|
display: grid;
|
|
align-content: center;
|
|
gap: clamp(12px, 1.05cqw, 20px);
|
|
min-height: 0;
|
|
}
|
|
|
|
.mgs-mode-tab {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: clamp(52px, 3.6cqw, 72px) minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: clamp(14px, 1cqw, 22px);
|
|
min-height: clamp(84px, 5.6cqw, 112px);
|
|
overflow: hidden;
|
|
border: 1px solid var(--mgs-border-subtle);
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
padding: clamp(14px, 1.2cqw, 22px);
|
|
cursor: pointer;
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
transition:
|
|
transform 220ms ease,
|
|
border-color 220ms ease,
|
|
background 220ms ease,
|
|
box-shadow 220ms ease;
|
|
}
|
|
|
|
.mgs-mode-tab::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(90deg, rgba(0, 255, 136, 0.035), transparent);
|
|
opacity: 0;
|
|
transition: opacity 220ms ease;
|
|
}
|
|
|
|
.mgs-mode-tab:hover {
|
|
border-color: var(--mgs-border-hover);
|
|
transform: translateX(3px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.mgs-mode-tab:hover::before,
|
|
.mgs-mode-tab.is-active::before {
|
|
opacity: 0.22;
|
|
}
|
|
|
|
.mgs-mode-tab.is-active {
|
|
border-color: var(--mgs-border-default);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
box-shadow:
|
|
0 8px 24px rgba(0, 0, 0, 0.22),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.mgs-mode-icon,
|
|
.mgs-mode-info {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.mgs-mode-icon {
|
|
display: grid;
|
|
width: clamp(52px, 3.6cqw, 72px);
|
|
height: clamp(52px, 3.6cqw, 72px);
|
|
place-items: center;
|
|
border-radius: 8px;
|
|
background: rgba(0, 255, 136, 0.08);
|
|
color: var(--mgs-green);
|
|
font-size: clamp(22px, 1.6cqw, 32px);
|
|
font-weight: 900;
|
|
}
|
|
|
|
.mgs-mode-info {
|
|
min-width: 0;
|
|
}
|
|
|
|
.mgs-mode-info h3 {
|
|
margin: 0 0 5px;
|
|
color: var(--mgs-text-primary);
|
|
font-size: clamp(16px, 1.14cqw, 23px);
|
|
font-weight: 920;
|
|
letter-spacing: 0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.mgs-mode-tab.is-active .mgs-mode-info h3 {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.mgs-mode-info p {
|
|
margin: 0;
|
|
color: var(--mgs-text-muted);
|
|
font-size: clamp(12px, 0.85cqw, 16px);
|
|
font-weight: 680;
|
|
letter-spacing: 0;
|
|
line-height: 1.46;
|
|
}
|
|
|
|
/* Workflow */
|
|
.mgs-workflow {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: 1px solid var(--mgs-border-subtle);
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
box-shadow:
|
|
0 2px 10px rgba(0, 0, 0, 0.12),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.03);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
padding: clamp(16px, 1.4cqw, 24px);
|
|
}
|
|
|
|
.mgs-workflow::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 46%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.07), transparent);
|
|
animation: mgs-flow 3.2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes mgs-flow {
|
|
0% {
|
|
left: -100%;
|
|
}
|
|
|
|
100% {
|
|
left: 200%;
|
|
}
|
|
}
|
|
|
|
.mgs-workflow-title {
|
|
margin-bottom: clamp(12px, 0.95cqw, 18px);
|
|
color: var(--mgs-text-muted);
|
|
font-size: clamp(12px, 0.8cqw, 15px);
|
|
font-weight: 850;
|
|
letter-spacing: 0.06em;
|
|
line-height: 1.2;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.mgs-workflow-steps {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: clamp(8px, 0.7cqw, 14px);
|
|
}
|
|
|
|
.mgs-workflow-steps > span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
gap: clamp(8px, 0.7cqw, 14px);
|
|
}
|
|
|
|
.mgs-wf-step {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: clamp(44px, 3.2cqw, 62px);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 8px;
|
|
background: rgba(0, 255, 136, 0.04);
|
|
color: var(--mgs-text-secondary);
|
|
padding: 0 clamp(10px, 0.9cqw, 16px);
|
|
font-size: clamp(12px, 0.82cqw, 16px);
|
|
font-weight: 860;
|
|
letter-spacing: 0;
|
|
line-height: 1.2;
|
|
text-align: center;
|
|
}
|
|
|
|
.mgs-wf-step.is-active {
|
|
border-color: rgba(0, 255, 136, 0.28);
|
|
background: rgba(0, 255, 136, 0.1);
|
|
color: var(--mgs-green);
|
|
animation: mgs-step-pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes mgs-step-pulse {
|
|
0%,
|
|
100% {
|
|
box-shadow: 0 0 0 rgba(0, 255, 136, 0);
|
|
}
|
|
|
|
50% {
|
|
box-shadow: 0 0 14px rgba(0, 255, 136, 0.16);
|
|
}
|
|
}
|
|
|
|
.mgs-wf-arrow {
|
|
color: var(--mgs-text-muted);
|
|
font-size: clamp(12px, 0.84cqw, 16px);
|
|
font-weight: 900;
|
|
}
|
|
|
|
/* ===== Center Area ===== */
|
|
.mgs-center-area {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mgs-input-card {
|
|
position: relative;
|
|
display: grid;
|
|
width: 100%;
|
|
max-width: 740px;
|
|
height: min(78%, 650px);
|
|
min-height: clamp(520px, 42cqw, 700px);
|
|
overflow: hidden auto;
|
|
scrollbar-width: none;
|
|
border: 1px solid var(--mgs-border-default);
|
|
border-radius: 8px;
|
|
background:
|
|
linear-gradient(135deg, rgba(0, 255, 136, 0.04), rgba(79, 195, 247, 0.03));
|
|
box-shadow:
|
|
0 8px 40px rgba(0, 0, 0, 0.35),
|
|
0 0 60px rgba(0, 255, 136, 0.05),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
backdrop-filter: blur(24px);
|
|
-webkit-backdrop-filter: blur(24px);
|
|
padding: clamp(24px, 2cqw, 38px);
|
|
}
|
|
|
|
.mgs-input-card::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.mgs-mode-content {
|
|
display: none;
|
|
}
|
|
|
|
.mgs-mode-content.is-active {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mgs-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: clamp(16px, 1.25cqw, 24px);
|
|
}
|
|
|
|
.mgs-card-mode-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
min-height: clamp(38px, 2.8cqw, 52px);
|
|
border: 1px solid rgba(0, 255, 136, 0.22);
|
|
border-radius: 999px;
|
|
background: rgba(0, 255, 136, 0.1);
|
|
color: var(--mgs-green);
|
|
padding: 0 clamp(16px, 1.4cqw, 26px);
|
|
font-size: clamp(15px, 1.08cqw, 22px);
|
|
font-weight: 900;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.mgs-dot {
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 50%;
|
|
background: var(--mgs-green);
|
|
animation: mgs-pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes mgs-pulse {
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.52;
|
|
transform: scale(0.82);
|
|
}
|
|
}
|
|
|
|
.mgs-card-status {
|
|
color: var(--mgs-text-muted);
|
|
font-size: clamp(13px, 0.9cqw, 17px);
|
|
font-weight: 780;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Prompt Area */
|
|
.mgs-prompt-area {
|
|
margin-bottom: clamp(12px, 0.95cqw, 18px);
|
|
}
|
|
|
|
.mgs-prompt-input {
|
|
display: block;
|
|
width: 100%;
|
|
height: clamp(90px, 8.2cqw, 142px);
|
|
resize: none;
|
|
outline: none;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 8px;
|
|
background: rgba(5, 8, 18, 0.55);
|
|
color: var(--mgs-text-primary);
|
|
padding: clamp(14px, 1.1cqw, 20px);
|
|
font-family: inherit;
|
|
font-size: clamp(14px, 0.98cqw, 19px);
|
|
font-weight: 700;
|
|
letter-spacing: 0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.mgs-prompt-input::placeholder {
|
|
color: var(--mgs-text-muted);
|
|
}
|
|
|
|
.mgs-prompt-input:focus {
|
|
border-color: rgba(0, 255, 136, 0.32);
|
|
}
|
|
|
|
/* Options */
|
|
.mgs-options {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: clamp(8px, 0.7cqw, 12px);
|
|
margin-bottom: clamp(14px, 1.1cqw, 22px);
|
|
}
|
|
|
|
.mgs-opt {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: clamp(32px, 2.1cqw, 42px);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 7px;
|
|
background: rgba(0, 255, 136, 0.06);
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
|
color: var(--mgs-text-secondary);
|
|
padding: 0 clamp(12px, 1cqw, 18px);
|
|
cursor: pointer;
|
|
font-size: clamp(12px, 0.82cqw, 16px);
|
|
font-weight: 820;
|
|
letter-spacing: 0;
|
|
line-height: 1.2;
|
|
transition:
|
|
border-color 200ms ease,
|
|
color 200ms ease,
|
|
background 200ms ease;
|
|
}
|
|
|
|
.mgs-opt:hover,
|
|
.mgs-opt.is-selected {
|
|
border-color: rgba(0, 255, 136, 0.28);
|
|
background: rgba(0, 255, 136, 0.11);
|
|
color: var(--mgs-green);
|
|
box-shadow: 0 0 12px rgba(0, 255, 136, 0.08);
|
|
}
|
|
|
|
/* Agent Result */
|
|
.mgs-agent-output-area {
|
|
display: grid;
|
|
flex: 1;
|
|
min-height: 0;
|
|
margin-bottom: clamp(16px, 1.2cqw, 24px);
|
|
}
|
|
|
|
.mgs-agent-result {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
gap: clamp(10px, 0.8cqw, 16px);
|
|
min-height: 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 8px;
|
|
background: rgba(0, 255, 136, 0.055);
|
|
padding: clamp(16px, 1.35cqw, 24px);
|
|
}
|
|
|
|
.mgs-agent-result-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--mgs-green);
|
|
font-size: clamp(12px, 0.86cqw, 16px);
|
|
font-weight: 900;
|
|
letter-spacing: 0.08em;
|
|
line-height: 1.2;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.mgs-agent-result-label::before {
|
|
content: "";
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--mgs-green);
|
|
animation: mgs-pulse 2s infinite;
|
|
}
|
|
|
|
.mgs-agent-result-text {
|
|
overflow: auto;
|
|
color: var(--mgs-text-secondary);
|
|
font-size: clamp(15px, 1.02cqw, 20px);
|
|
font-weight: 730;
|
|
letter-spacing: 0;
|
|
line-height: 1.72;
|
|
}
|
|
|
|
/* Chat Input */
|
|
.mgs-chat-input-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: clamp(12px, 1cqw, 18px);
|
|
align-items: center;
|
|
}
|
|
|
|
.mgs-chat-input {
|
|
width: 100%;
|
|
min-height: clamp(46px, 3.4cqw, 64px);
|
|
outline: none;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 8px;
|
|
background: rgba(5, 8, 18, 0.72);
|
|
color: var(--mgs-text-primary);
|
|
padding: 0 clamp(16px, 1.35cqw, 24px);
|
|
font-family: inherit;
|
|
font-size: clamp(14px, 0.96cqw, 18px);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.mgs-chat-input::placeholder {
|
|
color: var(--mgs-text-muted);
|
|
}
|
|
|
|
.mgs-chat-send {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: clamp(110px, 7.5cqw, 148px);
|
|
min-height: clamp(46px, 3.4cqw, 64px);
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: var(--mgs-green);
|
|
color: #061014;
|
|
cursor: pointer;
|
|
padding: 0 clamp(18px, 1.4cqw, 28px);
|
|
font-size: clamp(15px, 1cqw, 20px);
|
|
font-weight: 930;
|
|
letter-spacing: 0;
|
|
white-space: nowrap;
|
|
box-shadow: 0 0 24px rgba(0, 255, 136, 0.24);
|
|
}
|
|
|
|
/* Image Grid */
|
|
.mgs-img-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: clamp(12px, 1cqw, 18px);
|
|
min-height: 0;
|
|
}
|
|
|
|
.mgs-img-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
aspect-ratio: 4 / 3;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 8px;
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
|
|
box-shadow:
|
|
0 2px 8px rgba(0, 0, 0, 0.15),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.03);
|
|
color: var(--mgs-text-muted);
|
|
font-size: clamp(28px, 2.6cqw, 48px);
|
|
transition:
|
|
transform 200ms ease,
|
|
border-color 200ms ease,
|
|
box-shadow 200ms ease;
|
|
}
|
|
|
|
.mgs-img-cell:hover {
|
|
border-color: var(--mgs-border-hover);
|
|
transform: scale(1.02);
|
|
box-shadow:
|
|
0 4px 20px rgba(0, 0, 0, 0.25),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
/* Video Config */
|
|
.mgs-video-config {
|
|
display: grid;
|
|
gap: clamp(10px, 0.8cqw, 14px);
|
|
margin-bottom: clamp(16px, 1.2cqw, 24px);
|
|
}
|
|
|
|
.mgs-config-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
padding: clamp(9px, 0.75cqw, 14px) 0;
|
|
font-size: clamp(13px, 0.92cqw, 17px);
|
|
}
|
|
|
|
.mgs-config-label {
|
|
color: var(--mgs-text-secondary);
|
|
font-weight: 760;
|
|
}
|
|
|
|
.mgs-config-value {
|
|
border-radius: 7px;
|
|
background: rgba(0, 255, 136, 0.1);
|
|
color: var(--mgs-green);
|
|
padding: 5px 12px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
/* Video Preview */
|
|
.mgs-video-preview {
|
|
display: flex;
|
|
flex: 1;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 0;
|
|
aspect-ratio: 16 / 9;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 8px;
|
|
background: linear-gradient(135deg, rgba(0, 255, 136, 0.06), rgba(168, 85, 247, 0.06));
|
|
}
|
|
|
|
.mgs-play-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: clamp(58px, 4cqw, 82px);
|
|
height: clamp(58px, 4cqw, 82px);
|
|
border: 2px solid rgba(0, 255, 136, 0.34);
|
|
border-radius: 50%;
|
|
background: rgba(0, 255, 136, 0.14);
|
|
cursor: pointer;
|
|
transition:
|
|
transform 200ms ease,
|
|
box-shadow 200ms ease,
|
|
background 200ms ease;
|
|
}
|
|
|
|
.mgs-play-btn:hover {
|
|
background: rgba(0, 255, 136, 0.24);
|
|
box-shadow: 0 0 26px rgba(0, 255, 136, 0.22);
|
|
transform: scale(1.06);
|
|
}
|
|
|
|
.mgs-play-btn svg {
|
|
width: 34%;
|
|
height: 34%;
|
|
margin-left: 3px;
|
|
fill: var(--mgs-green);
|
|
}
|
|
|
|
.mgs-video-timeline {
|
|
height: 5px;
|
|
margin-top: clamp(14px, 1cqw, 20px);
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: rgba(0, 255, 136, 0.1);
|
|
}
|
|
|
|
.mgs-video-timeline-fill {
|
|
width: 35%;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, var(--mgs-green), var(--mgs-blue));
|
|
animation: mgs-timeline 3s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes mgs-timeline {
|
|
0%,
|
|
100% {
|
|
width: 30%;
|
|
}
|
|
|
|
50% {
|
|
width: 45%;
|
|
}
|
|
}
|
|
|
|
/* ===== Right Panel ===== */
|
|
.mgs-right-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: clamp(14px, 1.25cqw, 24px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mgs-output-section {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
gap: clamp(12px, 0.9cqw, 18px);
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.mgs-section-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: var(--mgs-text-muted);
|
|
font-size: clamp(13px, 0.95cqw, 18px);
|
|
font-weight: 900;
|
|
letter-spacing: 0.08em;
|
|
line-height: 1.2;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.mgs-section-dot {
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 50%;
|
|
animation: mgs-pulse 2s infinite;
|
|
}
|
|
|
|
.mgs-section-dot.is-green {
|
|
background: var(--mgs-green);
|
|
}
|
|
|
|
.mgs-section-dot.is-blue {
|
|
background: var(--mgs-blue);
|
|
}
|
|
|
|
.mgs-section-dot.is-purple {
|
|
background: var(--mgs-purple);
|
|
}
|
|
|
|
.mgs-output-cards {
|
|
display: grid;
|
|
gap: clamp(16px, 1.35cqw, 26px);
|
|
min-height: 0;
|
|
}
|
|
|
|
.mgs-out-card {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
gap: clamp(14px, 1.1cqw, 22px);
|
|
min-height: clamp(150px, 13cqw, 250px);
|
|
overflow: hidden;
|
|
border: 1px solid var(--mgs-border-subtle);
|
|
border-radius: 8px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
|
|
box-shadow:
|
|
0 4px 16px rgba(0, 0, 0, 0.2),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.02);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
padding: clamp(20px, 1.7cqw, 34px);
|
|
cursor: pointer;
|
|
transition:
|
|
transform 220ms ease,
|
|
border-color 220ms ease,
|
|
box-shadow 220ms ease;
|
|
}
|
|
|
|
.mgs-out-card::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), transparent 54%);
|
|
opacity: 0;
|
|
transition: opacity 220ms ease;
|
|
}
|
|
|
|
.mgs-out-card:hover {
|
|
border-color: var(--mgs-border-hover);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.mgs-out-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.mgs-out-card-top {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
}
|
|
|
|
.mgs-out-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: clamp(28px, 1.9cqw, 38px);
|
|
border-radius: 7px;
|
|
background: rgba(0, 255, 136, 0.13);
|
|
color: var(--mgs-green);
|
|
padding: 0 clamp(12px, 0.9cqw, 18px);
|
|
font-size: clamp(12px, 0.84cqw, 16px);
|
|
font-weight: 900;
|
|
letter-spacing: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mgs-out-tag.is-img {
|
|
background: rgba(79, 195, 247, 0.12);
|
|
color: var(--mgs-blue);
|
|
}
|
|
|
|
.mgs-out-tag.is-video {
|
|
background: rgba(168, 85, 247, 0.14);
|
|
color: #d9b3ff;
|
|
}
|
|
|
|
.mgs-out-title {
|
|
min-width: 0;
|
|
color: #ffffff;
|
|
font-size: clamp(17px, 1.25cqw, 26px);
|
|
font-weight: 920;
|
|
letter-spacing: 0;
|
|
line-height: 1.2;
|
|
text-align: right;
|
|
}
|
|
|
|
.mgs-out-preview {
|
|
position: relative;
|
|
z-index: 1;
|
|
overflow-wrap: anywhere;
|
|
color: var(--mgs-text-secondary);
|
|
font-size: clamp(15px, 1.04cqw, 21px);
|
|
font-weight: 730;
|
|
letter-spacing: 0;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.mgs-out-img-placeholder,
|
|
.mgs-out-video-placeholder {
|
|
position: relative;
|
|
z-index: 1;
|
|
min-height: clamp(86px, 7.2cqw, 140px);
|
|
border-radius: 8px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.mgs-out-img-placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: clamp(30px, 2.8cqw, 52px);
|
|
}
|
|
|
|
.mgs-out-img-placeholder.is-realistic {
|
|
border: 1px dashed rgba(0, 255, 136, 0.2);
|
|
background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(0, 255, 136, 0.02));
|
|
}
|
|
|
|
.mgs-out-img-placeholder.is-illustration {
|
|
border: 1px dashed rgba(79, 195, 247, 0.2);
|
|
background: linear-gradient(135deg, rgba(79, 195, 247, 0.08), rgba(168, 85, 247, 0.05));
|
|
}
|
|
|
|
.mgs-out-img-placeholder.is-ecommerce {
|
|
border: 1px dashed rgba(168, 85, 247, 0.2);
|
|
background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(0, 255, 136, 0.04));
|
|
}
|
|
|
|
.mgs-out-video-placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
border: 1px dashed rgba(168, 85, 247, 0.2);
|
|
background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(0, 255, 136, 0.04));
|
|
}
|
|
|
|
.mgs-mini-play {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: clamp(36px, 2.6cqw, 54px);
|
|
height: clamp(36px, 2.6cqw, 54px);
|
|
border: 1.5px solid rgba(168, 85, 247, 0.34);
|
|
border-radius: 50%;
|
|
background: rgba(168, 85, 247, 0.18);
|
|
}
|
|
|
|
.mgs-mini-play svg {
|
|
width: 34%;
|
|
height: 34%;
|
|
margin-left: 2px;
|
|
fill: var(--mgs-purple);
|
|
}
|
|
|
|
.mgs-video-duration {
|
|
color: var(--mgs-text-muted);
|
|
font-size: clamp(12px, 0.85cqw, 16px);
|
|
font-weight: 800;
|
|
}
|
|
|
|
/* ===== Responsive ===== */
|
|
@container (max-width: 1260px) {
|
|
.omni-model-gen-showcase {
|
|
grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.mgs-right-panel {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.mgs-output-cards {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.omni-model-gen-showcase {
|
|
grid-template-columns: 1fr;
|
|
padding: 22px;
|
|
}
|
|
|
|
.mgs-left-panel {
|
|
grid-template-rows: auto auto auto;
|
|
gap: 16px;
|
|
padding-block: 0;
|
|
}
|
|
|
|
.mgs-brand-section h1,
|
|
.mgs-subtitle {
|
|
max-width: none;
|
|
}
|
|
|
|
.mgs-mode-tabs {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.mgs-mode-tab {
|
|
grid-template-columns: 1fr;
|
|
justify-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.mgs-mode-tab:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.mgs-workflow {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.mgs-input-card {
|
|
height: auto;
|
|
min-height: 520px;
|
|
}
|
|
|
|
.mgs-output-cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.omni-model-gen-showcase {
|
|
padding: 16px;
|
|
}
|
|
|
|
.mgs-mode-tabs,
|
|
.mgs-img-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.mgs-card-header,
|
|
.mgs-chat-input-row,
|
|
.mgs-out-card-top {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mgs-chat-input-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.mgs-chat-send {
|
|
width: 100%;
|
|
}
|
|
|
|
.mgs-out-title {
|
|
text-align: left;
|
|
}
|
|
}
|