/*!
  智画工坊 AI · site.css（构建产物，别直接改）
  源码：public/css/{tailwind-lite,style,layout-unify,design-tokens,ui2}.css
  构建：node tools/build-site-css.mjs .
  ★ 合并目的：把 5 次 CSS 请求压成 1 次；同时去掉注释压缩体积。
  ★ dark-fix.css 不在里面 —— 它只在夜间模式按需加载。
*/
/* ===== tailwind-lite.css ===== */
*,
::before,
::after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
}
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
-moz-tab-size: 4;
tab-size: 4;
font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'PingFang SC',
'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}
body {
margin: 0;
line-height: inherit;
}
h1, h2, h3, h4, h5, h6 {
font-size: inherit;
font-weight: inherit;
margin: 0;
}
p, figure, blockquote, dl, dd, pre {
margin: 0;
}
ul, ol {
list-style: none;
margin: 0;
padding: 0;
}
a {
color: inherit;
text-decoration: inherit;
}
b, strong {
font-weight: bolder;
}
small {
font-size: 80%;
}
button, input, optgroup, select, textarea {
font-family: inherit;
font-size: 100%;
font-weight: inherit;
line-height: inherit;
color: inherit;
margin: 0;
padding: 0;
}
button, select {
text-transform: none;
}
button,
[type='button'],
[type='reset'],
[type='submit'] {
-webkit-appearance: button;
background-color: transparent;
background-image: none;
cursor: pointer;
}
input::placeholder,
textarea::placeholder {
opacity: 1;
color: #9ca3af;
}
img, svg, video, canvas, audio, iframe, embed, object {
display: block;
vertical-align: middle;
}
img, video {
max-width: 100%;
height: auto;
}
table {
border-collapse: collapse;
border-color: inherit;
text-indent: 0;
}
hr {
height: 0;
color: inherit;
border-top-width: 1px;
}
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-9 { width: 2.25rem; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-9 { height: 2.25rem; }
.min-h-screen { min-height: 100vh; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[1400px\] { max-width: 1400px; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pt-10 { padding-top: 2.5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-16 { padding-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: #fff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-800 { color: #1f2937; }
.text-red-600 { color: #dc2626; }
.rounded { border-radius: 0.25rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-gray-200\/70 { border-color: rgba(229, 231, 235, 0.7); }
.opacity-0 { opacity: 0; }
.opacity-60 { opacity: 0.6; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
@media (min-width: 640px) {
.sm\:flex-row { flex-direction: row; }
.sm\:items-end { align-items: flex-end; }
.sm\:justify-between { justify-content: space-between; }
.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sm\:p-4 { padding: 1rem; }
.sm\:p-5 { padding: 1.25rem; }
.sm\:p-6 { padding: 1.5rem; }
.sm\:p-9 { padding: 2.25rem; }
.sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
.sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.sm\:text-5xl { font-size: 3rem; line-height: 1; }
}
@media (min-width: 768px) {
.md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
.lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.grid-cols-2 > *,
.sm\:grid-cols-2 > *,
.sm\:grid-cols-3 > *,
.md\:grid-cols-3 > *,
.md\:grid-cols-4 > *,
.lg\:grid-cols-2 > *,
.lg\:grid-cols-3 > *,
.lg\:grid-cols-4 > * {
min-width: 0;
}
.pt-5 { padding-top: 1.25rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.pt-3 { padding-top: .75rem; }
.pt-4 { padding-top: 1rem; }
.pb-10 { padding-bottom: 2.5rem; }
.p-10 { padding: 2.5rem; }
.mt-4 { margin-top: 1rem; }
.ml-1 { margin-left: .25rem; }
.ml-2 { margin-left: .5rem; }
.gap-5 { gap: 1.25rem; }
.block { display: block; }
.font-normal { font-weight: 400; }
.max-w-\[1600px\] { max-width: 1600px; }
/* ===== style.css ===== */
:root {
--brand: #7c3aed;
--brand-dark: #6d28d9;
--brand-light: #a78bfa;
--brand-soft: #f5f3ff;
--brand-line: #c4b5fd;
--brand-grad-to: #06b6d4;
--brand-indigo: #6366f1;
--text: #1f2937;
--text-strong: #111827;
--text-mute: #6b7280;
--text-faint: #9ca3af;
--bg: #f7f8fc;
--bg-soft: #f8fafc;
--surface: #ffffff;
--border: #e5e7eb;
--border-soft: #eef0f5;
--ok: #047857; --ok-bg: #ecfdf5; --ok-line: #6ee7b7;
--warn: #b45309; --warn-bg: #fffbeb; --warn-line: #fcd34d;
--danger: #b91c1c; --danger-bg: #fef2f2; --danger-line: #fecaca;
--info: #1d4ed8; --info-bg: #eff6ff; --info-line: #bfdbfe;
--r-xs: 4px;
--r-sm: 8px;
--r-md: 12px;
--r-lg: 16px;
--r-xl: 20px;
--r-pill: 999px;
--sh-sm: 0 1px 3px rgba(31, 38, 135, .06);
--sh-md: 0 6px 18px rgba(31, 38, 135, .08);
--sh-lg: 0 14px 38px rgba(31, 38, 135, .14);
--sh-xl: 0 24px 60px rgba(31, 38, 135, .20);
--brand-from: #9333ea;
--brand-to: #06b6d4;
--ink: #111827;
--ink-soft: #4b5563;
--line: #e5e7eb;
--radius: 1rem;
}
html[data-theme="dark"] {
--brand: #a78bfa;
--brand-dark: #8b5cf6;
--brand-light: #c4b5fd;
--brand-soft: #241d33;
--brand-line: #4c3a72;
--text: #dfe3ea;
--text-strong: #f3f4f6;
--text-mute: #9ca3af;
--text-faint: #6b7280;
--bg: #0f1319;
--bg-soft: #161a24;
--surface: #1b2029;
--border: rgba(255, 255, 255, .12);
--border-soft: rgba(255, 255, 255, .07);
--ok: #34d399; --ok-bg: #06281f; --ok-line: #10603f;
--warn: #fbbf24; --warn-bg: #2a2008; --warn-line: #6b4d0a;
--danger: #f87171; --danger-bg: #2a0f0f; --danger-line: #6b1f1f;
--info: #60a5fa; --info-bg: #0b1a33; --info-line: #1e3a6b;
--sh-sm: 0 1px 3px rgba(0, 0, 0, .4);
--sh-md: 0 6px 18px rgba(0, 0, 0, .45);
--sh-lg: 0 14px 38px rgba(0, 0, 0, .5);
--sh-xl: 0 24px 60px rgba(0, 0, 0, .6);
}
* {
-webkit-tap-highlight-color: transparent;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
color: var(--ink);
background: #f7f8fc;
}
.animated-bg {
background: linear-gradient(-45deg, #a78bfa, #f0abfc, #67e8f9, #6ee7b7);
background-size: 400% 400%;
animation: gradientBG 18s ease infinite;
}
@keyframes gradientBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.bg-blobs {
position: fixed;
inset: 0;
z-index: -1;
overflow: hidden;
pointer-events: none;
}
.bg-blobs span {
position: absolute;
border-radius: 50%;
filter: blur(70px);
opacity: 0.5;
}
.bg-blobs span:nth-child(1) { width: 42vw; height: 42vw; left: -10vw; top: -8vw; background: #c4b5fd; }
.bg-blobs span:nth-child(2) { width: 36vw; height: 36vw; right: -8vw; top: 12vh; background: #a5f3fc; }
.bg-blobs span:nth-child(3) { width: 34vw; height: 34vw; left: 22vw; bottom: -14vw; background: #fbcfe8; }
.glass-effect {
background: rgba(255, 255, 255, 0.72);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.6);
box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
}
.glass-strong {
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid rgba(255, 255, 255, 0.8);
}
.hover-3d {
transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.hover-3d:hover {
box-shadow: -10px 24px 52px rgba(31, 38, 135, 0.20),
0 0 22px rgba(255, 255, 255, 0.8) inset;
border-color: rgba(255, 255, 255, 0.95);
}
.card-glow { position: relative; overflow: hidden; }
.card-glow::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(520px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
rgba(255, 255, 255, 0.10), transparent 55%);
opacity: 0;
transition: opacity 0.5s ease;
pointer-events: none;
z-index: 1;
}
.card-glow:hover::before { opacity: 1; }
.text-gradient {
background: linear-gradient(90deg, var(--brand-from), var(--brand-to), #f59e0b, var(--brand-from));
background-size: 200% auto;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: shimmer 4s linear infinite;
font-weight: 800;
}
@keyframes shimmer {
to { background-position: 200% center; }
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.7rem 1.4rem;
border-radius: 0.9rem;
font-size: 0.9rem;
font-weight: 600;
border: none;
cursor: pointer;
transition: all 0.25s ease;
white-space: nowrap;
}
.btn-primary {
color: #fff;
background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
box-shadow: 0 6px 18px rgba(147, 51, 234, 0.28);
}
.btn-primary:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 10px 26px rgba(147, 51, 234, 0.38);
}
.btn-ghost {
color: var(--ink-soft);
background: rgba(255, 255, 255, 0.7);
border: 1px solid var(--line);
}
.btn-ghost:hover:not(:disabled) { background: #fff; color: var(--ink); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1rem; border-radius: 1rem; }
.tool-tab {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.7rem 1.15rem;
border-radius: 0.85rem;
font-size: 0.9rem;
font-weight: 600;
color: var(--ink-soft);
background: transparent;
border: 1px solid transparent;
cursor: pointer;
transition: all 0.25s ease;
}
.tool-tab:hover { background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.tool-tab.active {
color: #fff;
background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
box-shadow: 0 6px 16px rgba(147, 51, 234, 0.25);
}
.field {
width: 100%;
padding: 0.8rem 1rem;
border-radius: 0.85rem;
border: 1px solid var(--line);
background: rgba(255, 255, 255, 0.85);
font-size: 0.9rem;
color: var(--ink);
transition: border-color 0.2s, box-shadow 0.2s;
outline: none;
}
.field:focus {
border-color: #c084fc;
box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.15);
}
textarea.field { resize: vertical; min-height: 110px; line-height: 1.6; }
.field-label {
display: block;
font-size: 0.8rem;
font-weight: 600;
color: var(--ink-soft);
margin-bottom: 0.4rem;
}
.chip {
display: inline-flex;
align-items: center;
padding: 0.45rem 0.9rem;
border-radius: 999px;
font-size: 0.82rem;
font-weight: 600;
color: var(--ink-soft);
background: rgba(255, 255, 255, 0.8);
border: 1px solid var(--line);
cursor: pointer;
transition: all 0.2s;
user-select: none;
}
.chip:hover { border-color: #c084fc; color: var(--ink); }
.chip.active {
color: #fff;
border-color: transparent;
background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
}
.result-stage {
position: relative;
min-height: 380px;
border-radius: var(--radius);
background:
linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)),
repeating-conic-gradient(#eef0f6 0% 25%, #f8f9fc 0% 50%) 50% / 22px 22px;
border: 1px dashed var(--line);
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.result-stage img { max-width: 100%; max-height: 62vh; object-fit: contain; }
.spinner {
width: 44px;
height: 44px;
border-radius: 50%;
border: 4px solid rgba(147, 51, 234, 0.15);
border-top-color: var(--brand-from);
animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.progress-track {
width: 100%;
max-width: 320px;
height: 8px;
border-radius: 999px;
background: #e9eaf2;
overflow: hidden;
}
.progress-bar {
height: 100%;
width: 5%;
border-radius: 999px;
background: linear-gradient(90deg, var(--brand-from), var(--brand-to));
transition: width 0.5s ease;
}
.work-card {
position: relative;
border-radius: var(--radius);
overflow: hidden;
background: #fff;
border: 1px solid var(--line);
cursor: pointer;
transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14); }
.work-card img {
width: 100%;
aspect-ratio: 3 / 4;
object-fit: cover;
display: block;
background: #f3f4f6;
}
.work-card .overlay {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
gap: 0.5rem;
padding: 0.9rem;
background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0) 55%);
opacity: 0;
transition: opacity 0.3s;
}
.work-card:hover .overlay { opacity: 1; }
.work-card .overlay p {
color: #fff;
font-size: 0.78rem;
line-height: 1.5;
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.work-card .actions { display: flex; gap: 0.5rem; }
.icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: 50%;
border: none;
color: #fff;
background: rgba(255, 255, 255, 0.22);
backdrop-filter: blur(6px);
cursor: pointer;
transition: background 0.2s ease, box-shadow 0.2s ease;
}
.icon-btn:hover {
background: var(--brand-from);
box-shadow: 0 6px 18px rgba(147, 51, 234, 0.42);
}
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.pagination button {
min-width: 2.5rem;
height: 2.5rem;
padding: 0 0.75rem;
border-radius: 0.75rem;
background: #fff;
color: var(--ink-soft);
font-size: 0.875rem;
font-weight: 500;
border: 1px solid var(--line);
cursor: pointer;
transition: all 0.25s;
}
.pagination button:hover:not(:disabled) { background: #f3f4f6; color: var(--ink); }
.pagination button.active {
color: #fff;
border-color: transparent;
background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
}
.pagination button:disabled { background: #f9fafb; color: #d1d5db; cursor: not-allowed; }
.modal-mask {
position: fixed;
inset: 0;
z-index: 80;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
background: rgba(17, 24, 39, 0.55);
backdrop-filter: blur(4px);
animation: fadeIn 0.25s ease;
}
.modal-box {
width: 100%;
max-width: 440px;
border-radius: 1.25rem;
background: #fff;
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
animation: popIn 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
max-height: 92vh;
overflow: auto;
}
.modal-box.wide { max-width: 920px; background: transparent; box-shadow: none; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; } }
#toast-host {
position: fixed;
left: 50%;
bottom: 2rem;
transform: translateX(-50%);
z-index: 100000;
isolation: isolate;
display: flex;
flex-direction: column;
gap: 0.5rem;
align-items: center;
pointer-events: none;
}
.toast {
padding: 0.7rem 1.3rem;
border-radius: 1rem;
font-size: 0.85rem;
font-weight: 500;
color: #fff;
background: rgba(17, 24, 39, 0.98);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
animation: toastIn 0.3s ease;
max-width: min(720px, 92vw);
white-space: normal;
word-break: break-word;
line-height: 1.45;
text-align: left;
}
.toast.error { background: rgba(185, 28, 28, 0.99); }
.toast.success { background: rgba(5, 122, 85, 0.99); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }
.dropzone {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.5rem;
min-height: 150px;
padding: 1.2rem;
border-radius: 0.9rem;
border: 2px dashed var(--line);
background: rgba(255, 255, 255, 0.6);
cursor: pointer;
transition: all 0.25s;
text-align: center;
}
.dropzone:hover, .dropzone.dragover { border-color: #c084fc; background: rgba(192, 132, 252, 0.07); }
.dropzone img { max-height: 190px; max-width: 100%; border-radius: 0.6rem; object-fit: contain; }
.custom-scrollbar::-webkit-scrollbar { width: 5px; height: 5px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #d8dae5; border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #c2c5d4; }
.hidden { display: none !important; }
.skeleton {
background: linear-gradient(90deg, #eef0f6 25%, #f7f8fc 37%, #eef0f6 63%);
background-size: 400% 100%;
animation: skeleton 1.4s ease infinite;
}
@keyframes skeleton { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.app-shell {
display: flex;
min-height: 100vh;
align-items: flex-start;
}
#sidebar-root {
flex-shrink: 0;
width: 196px;
position: sticky;
top: 0;
height: 100vh;
z-index: 45;
transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sidebar-inner {
display: flex;
flex-direction: column;
height: 100%;
background: rgba(255, 255, 255, 0.62);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-right: 1px solid rgba(255, 255, 255, 0.7);
box-shadow: 4px 0 24px rgba(31, 38, 135, 0.05);
}
.sidebar-loading {
padding: 1.5rem 1.1rem;
font-size: 0.82rem;
color: #9ca3af;
}
.sidebar-brand {
display: flex;
align-items: center;
gap: 0.55rem;
padding: 0.95rem 0.9rem;
border-bottom: 1px solid rgba(229, 231, 235, 0.8);
min-height: 64px;
}
.brand-link {
display: flex;
align-items: center;
gap: 0.6rem;
flex: 1;
min-width: 0;
text-decoration: none;
color: inherit;
}
.brand-logo {
width: 36px;
height: 36px;
flex-shrink: 0;
border-radius: 0.75rem;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.05rem;
background: linear-gradient(135deg, #9333ea, #06b6d4);
box-shadow: 0 6px 16px rgba(147, 51, 234, 0.28);
}
.brand-text {
font-weight: 800;
font-size: 1.02rem;
white-space: nowrap;
overflow: hidden;
}
.brand-text b {
background: linear-gradient(90deg, #9333ea, #06b6d4);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.brand-logo-img {
width: 36px;
height: 36px;
flex-shrink: 0;
border-radius: 0.75rem;
object-fit: contain;
background: #fff;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.app-shell.collapsed .brand-logo-img {
width: 34px;
height: 34px;
}
.sidebar-collapse {
width: 26px;
height: 26px;
flex-shrink: 0;
border-radius: 0.5rem;
border: 1px solid var(--line);
background: rgba(255, 255, 255, 0.9);
color: #6b7280;
font-size: 0.8rem;
line-height: 1;
cursor: pointer;
transition: all 0.2s;
}
.sidebar-collapse:hover {
background: #fff;
color: #111827;
border-color: #c084fc;
}
.sidebar-nav {
flex: 1;
overflow-y: auto;
padding-bottom: 10px;
overflow-x: hidden;
padding: 0.7rem 0.6rem 1rem;
}
.nav-group + .nav-group {
margin-top: 0.35rem;
}
.nav-group-title {
display: flex;
align-items: center;
gap: 0.55rem;
width: 100%;
padding: 0.5rem 0.6rem;
border: none;
background: transparent;
color: #9ca3af;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: none;
cursor: pointer;
border-radius: 0.6rem;
transition: color 0.2s;
white-space: nowrap;
}
.nav-group-title:hover {
color: #6b7280;
}
.nav-group-icon {
font-size: 0.85rem;
}
.nav-group-title .nav-text {
flex: 1;
text-align: left;
}
.nav-arrow {
font-size: 0.65rem;
transition: transform 0.25s;
}
.nav-group.collapsed .nav-arrow {
transform: rotate(-90deg);
}
.nav-group-items {
display: grid;
grid-template-rows: 1fr;
transition: grid-template-rows 0.28s ease;
}
.nav-group.collapsed .nav-group-items {
grid-template-rows: 0fr;
}
.nav-group-inner {
display: flex;
flex-direction: column;
gap: 0.15rem;
min-height: 0;
overflow: hidden;
}
.nav-item {
display: flex;
align-items: center;
gap: 0.6rem;
min-height: 2.35rem;
box-sizing: border-box;
padding: 0.45rem 0.7rem;
border-radius: 0.7rem;
font-size: 0.875rem;
font-weight: 600;
color: #4b5563;
text-decoration: none;
white-space: nowrap;
transition: all 0.2s ease;
position: relative;
}
.nav-item:hover {
background: rgba(147, 51, 234, 0.08);
color: #6d28d9;
}
.nav-item.active {
color: #fff;
background: linear-gradient(135deg, #9333ea, #06b6d4);
box-shadow: 0 6px 16px rgba(147, 51, 234, 0.28);
}
.nav-item.soon {
color: #6b7280;
}
.nav-item.soon.active,
.nav-item.soon.active .nav-text,
.nav-item.soon.active .nav-icon {
color: #fff;
}
.nav-item.soon.active .nav-badge {
background: rgba(255, 255, 255, 0.3);
color: #fff;
}
.nav-icon {
font-size: 1rem;
line-height: 1;
width: 1.25rem;
height: 1.25rem;
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
flex-shrink: 0;
overflow: hidden;
}
.nav-icon svg,
.nav-icon .ic {
width: 1rem;
height: 1rem;
display: block;
}
.nav-text {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
}
.nav-badge {
font-size: 0.58rem;
font-weight: 700;
padding: 0.12rem 0.34rem;
border-radius: 999px;
background: #fef3c7;
color: #92400e;
flex-shrink: 0;
}
.nav-item.active .nav-badge {
background: rgba(255, 255, 255, 0.28);
color: #fff;
}
.sidebar-footer {
padding: 0.7rem 0.85rem 0.9rem;
border-top: 1px solid rgba(229, 231, 235, 0.8);
}
.sidebar-tip {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.72rem;
color: #9ca3af;
white-space: nowrap;
}
.app-shell.collapsed #sidebar-root {
width: 68px;
}
.app-shell.collapsed .brand-text,
.app-shell.collapsed .nav-text,
.app-shell.collapsed .nav-arrow,
.app-shell.collapsed .nav-badge,
.app-shell.collapsed .sidebar-tip .nav-text {
display: none;
}
.app-shell.collapsed .sidebar-brand {
flex-direction: column;
gap: 0.5rem;
padding: 0.6rem 0;
}
.app-shell.collapsed .sidebar-collapse {
display: inline-block;
}
.app-shell.collapsed .brand-link {
justify-content: center;
}
.app-shell.collapsed .nav-group-title {
display: none;
}
.app-shell.collapsed .nav-group + .nav-group {
margin-top: 0.35rem;
padding-top: 0.35rem;
border-top: 1px solid rgba(229, 231, 235, 0.9);
}
.app-shell.collapsed .nav-group.collapsed .nav-group-items {
grid-template-rows: 1fr;
}
.app-shell.collapsed .nav-item {
justify-content: center;
padding-left: 0;
padding-right: 0;
position: relative;
}
.app-shell.collapsed .sidebar-tip {
justify-content: center;
}
.app-shell.collapsed .nav-item:hover::after {
content: attr(data-label);
position: absolute;
left: calc(100% + 10px);
top: 50%;
transform: translateY(-50%);
padding: 0.32rem 0.65rem;
border-radius: 0.5rem;
background: rgba(17, 24, 39, 0.94);
color: #fff;
font-size: 0.76rem;
font-weight: 600;
white-space: nowrap;
z-index: 60;
pointer-events: none;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.main-area {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
.topbar {
position: sticky;
top: 0;
z-index: 40;
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.6rem 1.25rem;
min-height: 64px;
border-left: 0;
border-right: 0;
border-top: 0;
}
.topbar.glass-strong {
border: 0;
border-bottom: 1px solid var(--mc-line, #eef0f5);
border-radius: 0 !important;
}
.topbar-burger {
display: none;
flex-shrink: 0;
font-size: 1rem;
}
.topbar-title {
flex: 1;
min-width: 0;
}
.task-tabs {
display: flex;
align-items: center;
gap: 0.2rem;
flex: 0 1 auto;
min-width: 0;
flex-wrap: nowrap;
}
.topbar .task-tabs { margin-right: auto; }
.topbar .tb-search { margin-left: 0; }
.task-tab { position: relative; }
.task-tab-btn {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.4rem 0.66rem;
border-radius: 10px;
font-size: 0.84rem;
font-weight: 600;
color: var(--mc-ink, #374151);
white-space: nowrap;
cursor: pointer;
background: transparent;
border: 1px solid transparent;
font-family: inherit;
transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.task-tab-btn:hover,
.task-tab.open > .task-tab-btn,
.task-tab.active > .task-tab-btn {
background: var(--mc-acc-soft, #f5f3ff);
border-color: var(--mc-acc-line, #ddd6fe);
color: var(--mc-acc-ink, #6d28d9);
}
.task-tab-ico { font-size: 0.95rem; line-height: 1; }
.task-tab-text { line-height: 1; }
.task-tab-caret { font-size: 0.66rem; opacity: 0.6; line-height: 1; transition: transform 0.18s; }
.task-tab.open > .task-tab-btn .task-tab-caret { transform: rotate(180deg); }
.task-panel {
position: absolute;
left: 0;
top: calc(100% + 6px);
display: flex;
align-items: stretch;
gap: 0.2rem;
max-width: min(94vw, 900px);
padding: 0.5rem;
border-radius: 14px;
background: var(--surface, #fff);
border: 1px solid var(--line, #e5e7eb);
box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
z-index: 60;
opacity: 0;
visibility: hidden;
transform: translateY(-4px);
transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
}
.task-col {
flex: 0 0 auto;
min-width: 150px;
}
.task-col + .task-col {
border-left: 1px solid var(--line, #eef0f4);
padding-left: 0.2rem;
margin-left: 0.2rem;
}
.task-col-title {
padding: 0.3rem 0.6rem 0.35rem;
font-size: 0.7rem;
font-weight: 800;
color: #9ca3af;
letter-spacing: 0.02em;
white-space: nowrap;
}
.task-panel {
max-width: calc(100vw - 32px);
max-height: calc(100vh - 96px);
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
}
.task-panel::-webkit-scrollbar { width: 8px; height: 8px; }
.task-panel::-webkit-scrollbar-thumb { background: #d8d4ea; border-radius: 8px; }
.task-panel::-webkit-scrollbar-thumb:hover { background: #c4b5fd; }
.task-panel::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: -8px;
height: 8px;
}
.task-tab.open > .task-panel {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.task-child {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.48rem 0.6rem;
border-radius: 9px;
color: var(--mc-ink, #374151);
text-decoration: none;
font-size: 0.85rem;
white-space: nowrap;
transition: background 0.14s, color 0.14s;
}
.task-child:hover,
.task-child-badge { margin-left: auto; flex: 0 0 auto; font-size: .62rem; line-height: 1;
padding: 3px 6px; border-radius: 999px; background: linear-gradient(135deg,#fef3c7,#fee2e2);
border: 1px solid #fecaca; }
.task-child.active {
background: var(--mc-acc-soft, #f5f3ff);
color: var(--mc-acc-ink, #6d28d9);
}
.task-child.active { font-weight: 700; }
.task-child-ico { font-size: 0.95rem; line-height: 1; width: 1.2rem; text-align: center; }
.task-child-text { line-height: 1.2; }
@media (max-width: 1024px) {
.task-tabs { display: none; }
}
:root,
html[data-mc-skin="violet"] {
--mc-acc: #7c3aed;
--mc-acc-2: #a855f7;
--mc-acc-soft: #f5f3ff;
--mc-acc-line: #ddd6fe;
--mc-acc-ink: #6d28d9;
--mc-page-1: #faf9ff;
--mc-page-2: #f5f9ff;
--mc-card: #ffffff;
--mc-card-2: #fcfdff;
--mc-line: #eef0f5;
--mc-ink: #1f2937;
--mc-ink-2: #6b7280;
--mc-ink-3: #9ca3af;
--mc-shadow-rgb: 124, 58, 237;
--mc-acc-14: rgba(124, 58, 237, .08);
--mc-acc-1f: rgba(124, 58, 237, .12);
--mc-acc-22: rgba(124, 58, 237, .13);
--mc-acc-24: rgba(124, 58, 237, .14);
--mc-acc-26: rgba(124, 58, 237, .15);
--mc-acc-33: rgba(124, 58, 237, .20);
--mc-acc-59: rgba(124, 58, 237, .35);
--mc-edge: #e9ecf3;
--mc-shadow: 0 1px 2px rgba(24,30,60,.04);
--mc-head-bg: linear-gradient(135deg, #faf9ff 0%, #f5f9ff 100%);
--mc-page: linear-gradient(180deg, #faf9ff 0%, #ffffff 320px);
--mc-tab-bg: var(--mc-acc);
--mc-tab-ink: #fff;
--mc-tab-r: 999px;
--lv-basic-1: #06b6d4; --lv-basic-2: #22d3ee; --lv-basic-ink: #0e7490; --lv-basic-soft: #ecfeff;
--lv-inter-1: #3b82f6; --lv-inter-2: #60a5fa; --lv-inter-ink: #1d4ed8; --lv-inter-soft: #eff6ff;
--lv-pro-1: #7c3aed; --lv-pro-2: #a855f7; --lv-pro-ink: #6d28d9; --lv-pro-soft: #f5f3ff;
--lv-divine-1:#f59e0b; --lv-divine-2:#fbbf24; --lv-divine-ink:#b45309; --lv-divine-soft:#fffbeb;
--lv-ultra-1: #e11d48; --lv-ultra-2: #f43f5e; --lv-ultra-ink: #be123c; --lv-ultra-soft: #fff1f2;
}
html[data-mc-skin="ocean"] {
--mc-acc: #0ea5e9;
--mc-acc-2: #22d3ee;
--mc-acc-soft: #f0f9ff;
--mc-acc-line: #bae6fd;
--mc-acc-ink: #0369a1;
--mc-page-1: #f5fbff;
--mc-page-2: #eef7ff;
--mc-card: #ffffff;
--mc-card-2: #f8fcff;
--mc-line: #e6f1f9;
--mc-ink: #0f172a;
--mc-ink-2: #5b6b7f;
--mc-ink-3: #93a3b5;
--mc-shadow-rgb: 14, 165, 233;
--mc-acc-14: rgba(14, 165, 233, .08);
--mc-acc-1f: rgba(14, 165, 233, .12);
--mc-acc-22: rgba(14, 165, 233, .13);
--mc-acc-24: rgba(14, 165, 233, .14);
--mc-acc-26: rgba(14, 165, 233, .15);
--mc-acc-33: rgba(14, 165, 233, .20);
--mc-acc-59: rgba(14, 165, 233, .35);
--mc-edge: #e6f1f9;
--mc-shadow: 0 1px 2px rgba(12,74,110,.05);
--mc-head-bg: linear-gradient(135deg, #f5fbff 0%, #eef7ff 100%);
--mc-page: linear-gradient(180deg, #f5fbff 0%, #ffffff 320px);
--mc-tab-bg: var(--mc-acc);
--mc-tab-ink: #fff;
--mc-tab-r: 999px;
}
html[data-mc-skin="sakura"] {
--mc-acc: #ec4899;
--mc-acc-2: #fb7185;
--mc-acc-soft: #fff1f7;
--mc-acc-line: #fbcfe8;
--mc-acc-ink: #be185d;
--mc-page-1: #fff8fb;
--mc-page-2: #fff5f6;
--mc-card: #ffffff;
--mc-card-2: #fffafc;
--mc-line: #fbe9f1;
--mc-ink: #2b1b23;
--mc-ink-2: #7c5b6a;
--mc-ink-3: #b094a0;
--mc-shadow-rgb: 236, 72, 153;
--mc-acc-14: rgba(236, 72, 153, .08);
--mc-acc-1f: rgba(236, 72, 153, .12);
--mc-acc-22: rgba(236, 72, 153, .13);
--mc-acc-24: rgba(236, 72, 153, .14);
--mc-acc-26: rgba(236, 72, 153, .15);
--mc-acc-33: rgba(236, 72, 153, .20);
--mc-acc-59: rgba(236, 72, 153, .35);
--mc-edge: #fbe9f1;
--mc-shadow: 0 1px 2px rgba(131,24,67,.05);
--mc-head-bg: linear-gradient(135deg, #fff8fb 0%, #fff5f6 100%);
--mc-page: linear-gradient(180deg, #fff8fb 0%, #ffffff 320px);
--mc-tab-bg: var(--mc-acc);
--mc-tab-ink: #fff;
--mc-tab-r: 999px;
}
html[data-mc-skin="jade"] {
--mc-acc: #0d9488;
--mc-acc-2: #14b8a6;
--mc-acc-soft: #f0fdfa;
--mc-acc-line: #99f6e4;
--mc-acc-ink: #0f766e;
--mc-page-1: #f8fdfb;
--mc-page-2: #f4faf8;
--mc-card: #ffffff;
--mc-card-2: #fafdfc;
--mc-line: #e6f2ee;
--mc-ink: #14211e;
--mc-ink-2: #5c6f6a;
--mc-ink-3: #93a5a0;
--mc-shadow-rgb: 13, 148, 136;
--mc-acc-14: rgba(13, 148, 136, .08);
--mc-acc-1f: rgba(13, 148, 136, .12);
--mc-acc-22: rgba(13, 148, 136, .13);
--mc-acc-24: rgba(13, 148, 136, .14);
--mc-acc-26: rgba(13, 148, 136, .15);
--mc-acc-33: rgba(13, 148, 136, .20);
--mc-acc-59: rgba(13, 148, 136, .35);
--mc-edge: #e6f2ee;
--mc-shadow: 0 1px 2px rgba(19,78,74,.05);
--mc-head-bg: linear-gradient(135deg, #f8fdfb 0%, #f4faf8 100%);
--mc-page: linear-gradient(180deg, #f8fdfb 0%, #ffffff 320px);
--mc-tab-bg: var(--mc-acc);
--mc-tab-ink: #fff;
--mc-tab-r: 999px;
}
html[data-theme="dark"][data-mc-skin="ocean"] {
--mc-acc: #38bdf8; --mc-acc-2: #22d3ee;
--mc-acc-soft: #0d2233; --mc-acc-line: #16425c; --mc-acc-ink: #7dd3fc;
--mc-page-1: #0d1520; --mc-page-2: #0b131c;
--mc-card: #141c27; --mc-card-2: #111823; --mc-line: rgba(255,255,255,.08);
--mc-ink: #e5e7eb; --mc-ink-2: #94a3b8; --mc-ink-3: #64748b;
--mc-edge: rgba(255,255,255,.10);
--mc-shadow: 0 1px 2px rgba(0,0,0,.3);
--mc-head-bg: linear-gradient(135deg, #101b28 0%, #0d1520 100%);
--mc-page: #0d1520;
--mc-tab-bg: var(--mc-acc);
--mc-tab-ink: #06202b;
--mc-tab-r: 999px;
}
html[data-theme="dark"][data-mc-skin="sakura"] {
--mc-acc: #f472b6; --mc-acc-2: #fb7185;
--mc-acc-soft: #2b1522; --mc-acc-line: #5b2740; --mc-acc-ink: #f9a8d4;
--mc-page-1: #1a1017; --mc-page-2: #170e14;
--mc-card: #22151d; --mc-card-2: #1d1219; --mc-line: rgba(255,255,255,.08);
--mc-ink: #f3e8ee; --mc-ink-2: #b7a0ab; --mc-ink-3: #8a7480;
--mc-edge: rgba(255,255,255,.10);
--mc-shadow: 0 1px 2px rgba(0,0,0,.3);
--mc-head-bg: linear-gradient(135deg, #241620 0%, #1a1017 100%);
--mc-page: #1a1017;
--mc-tab-bg: var(--mc-acc);
--mc-tab-ink: #06202b;
--mc-tab-r: 999px;
}
html[data-theme="dark"][data-mc-skin="jade"] {
--mc-acc: #2dd4bf; --mc-acc-2: #5eead4;
--mc-acc-soft: #0d2521; --mc-acc-line: #1a4b43; --mc-acc-ink: #5eead4;
--mc-page-1: #0d1614; --mc-page-2: #0b1311;
--mc-card: #14201d; --mc-card-2: #111b19; --mc-line: rgba(255,255,255,.08);
--mc-ink: #e6efeb; --mc-ink-2: #9db3ad; --mc-ink-3: #6f8580;
--mc-edge: rgba(255,255,255,.10);
--mc-shadow: 0 1px 2px rgba(0,0,0,.3);
--mc-head-bg: linear-gradient(135deg, #12201d 0%, #0d1614 100%);
--mc-page: #0d1614;
--mc-tab-bg: var(--mc-acc);
--mc-tab-ink: #06202b;
--mc-tab-r: 999px;
}
.mc-stats-row {
display: flex; align-items: center; gap: 0.5rem;
border-top: 1px solid var(--mc-acc-14);
padding: 0 0.75rem;
}
.mc-stats-row .mc-stats {
flex: 1 1 auto; min-width: 0;
border-top: 0; padding: 0.35rem 0 0.45rem;
}
.mc-skins { display: flex; align-items: center; gap: 0.3rem; flex: 0 0 auto; }
.mc-skins-t { font-size: 0.66rem; color: var(--mc-ink-3); margin-right: 0.1rem; }
.mc-skin-dot {
width: 20px; height: 20px; border-radius: 50%; cursor: pointer;
border: 2px solid transparent; padding: 0;
box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
transition: transform .15s, border-color .15s;
}
.mc-skin-dot:hover { transform: scale(1.12); }
.mc-skin-dot.on { border-color: var(--mc-acc); }
.mc-skin-dot[data-skin="violet"] { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.mc-skin-dot[data-skin="ocean"] { background: linear-gradient(135deg, #0ea5e9, #22d3ee); }
.mc-skin-dot[data-skin="sakura"] { background: linear-gradient(135deg, #ec4899, #fb7185); }
.mc-skin-dot[data-skin="jade"] { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.mc-title { display: none; }
body[data-page="me"], body[data-page="team"] {
background: var(--mc-page);
background-repeat: no-repeat;
}
html[data-theme="dark"] body[data-page="me"],
html[data-theme="dark"] body[data-page="team"] { background: var(--mc-page); }
.mc-head {
border: 1px solid var(--mc-edge);
border-radius: 1rem;
background: var(--mc-head-bg);
box-shadow: var(--mc-shadow);
overflow: hidden;
}
html[data-theme="dark"] .mc-head { border-color: var(--mc-edge); }
.mc-head-main {
display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
padding: 0.6rem 0.75rem 0.5rem;
}
.mc-ava {
flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-size: 1.15rem; font-weight: 800; color: #fff;
background: linear-gradient(135deg, var(--brand-from, #9333ea), var(--brand-to, #6366f1));
background-size: cover; background-position: center;
}
.mc-head-info { flex: 1 1 150px; min-width: 0; }
.mc-head-right {
display: flex; flex-direction: column; align-items: flex-end;
gap: 0.35rem; flex: 0 0 auto; min-width: 108px;
}
.mc-name-row { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.mc-name-row b { font-size: 1rem; font-weight: 800; }
.mc-badge {
font-size: 0.66rem; font-weight: 700; padding: 0.1rem 0.45rem;
border-radius: 999px; background: var(--mc-acc-line); color: var(--mc-acc-ink);
white-space: nowrap;
}
.mc-badge-dim { background: #f1f5f9; color: #64748b; font-weight: 600; }
.mc-badge-dim a { color: var(--mc-acc); text-decoration: none; font-weight: 800; }
html[data-theme="dark"] .mc-badge { background: #2a2140; color: #c4b5fd; }
html[data-theme="dark"] .mc-badge-dim { background: #232a36; color: #94a3b8; }
.mc-bio {
font-size: 0.74rem; color: #6b7280; margin: 0.2rem 0 0;
line-height: 1.5;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
overflow: hidden;
}
.mc-sub { font-size: 0.68rem; color: #9ca3af; margin: 0.1rem 0 0; }
.mc-points { text-align: right; flex: 0 0 auto; }
.mc-points span { display: block; font-size: 0.66rem; color: #9ca3af; }
.mc-points b { display: block; font-size: 1.25rem; font-weight: 800; color: var(--mc-acc); line-height: 1.25; }
.mc-mini {
display: inline-block; margin-top: 0.15rem;
font-size: 0.7rem; font-weight: 700; color: var(--mc-acc); text-decoration: none;
border: 1px solid var(--mc-acc-line); border-radius: 999px; padding: 0.08rem 0.5rem;
}
.mc-mini:hover { background: var(--mc-acc-soft); }
.mc-vip .mc-ava {
box-shadow: 0 0 0 2px var(--mc-card), 0 0 0 4px var(--lv-1), 0 0 14px rgba(0,0,0,.12);
}
.mc-vip .mc-ava-wrap { position: relative; display: inline-block; flex: 0 0 auto; }
.mc-vip-badge {
position: absolute; right: -6px; bottom: -4px;
display: inline-flex; align-items: center; gap: 0.12rem;
padding: 0.05rem 0.34rem;
font-size: 0.6rem; font-weight: 800; line-height: 1.5;
color: #fff; white-space: nowrap;
background: linear-gradient(135deg, var(--lv-1), var(--lv-2));
border: 1.5px solid var(--mc-card);
border-radius: 999px;
box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.mc-vip .mc-name-row b {
background: linear-gradient(100deg, var(--lv-1), var(--lv-2));
-webkit-background-clip: text; background-clip: text;
-webkit-text-fill-color: transparent; color: transparent;
font-weight: 900;
}
html[data-theme="dark"] .mc-vip .mc-name-row b {
background: linear-gradient(100deg, var(--lv-2), var(--lv-1));
-webkit-background-clip: text; background-clip: text;
}
.mc-vip .mc-head { position: relative; }
.mc-vip-ribbon {
position: absolute; top: 0; right: 0;
padding: 0.28rem 1.5rem 0.28rem 1.1rem;
font-size: 0.66rem; font-weight: 800; color: #fff;
background: linear-gradient(100deg, var(--lv-1), var(--lv-2));
clip-path: polygon(0.55rem 0, 100% 0, 100% 100%, 0 100%);
border-bottom-left-radius: 0.4rem;
white-space: nowrap;
z-index: 2;
}
.mc-vip-perks {
display: flex; align-items: center; justify-content: flex-start;
gap: 0.45rem; flex-wrap: nowrap;
flex: 0 1 auto; min-width: 0;
margin-left: auto;
}
.mc-vip .mc-vip-perks { padding-right: 8.5rem; }
.mc-perk {
padding: 0.18rem 0.5rem;
background: var(--lv-soft); border: 1px solid var(--lv-1);
border-radius: 999px;
white-space: nowrap;
display: inline-flex; align-items: baseline; gap: 0.2rem;
line-height: 1.4;
}
.mc-perk span { font-size: 0.64rem; color: var(--mc-ink-3); }
.mc-perk b { font-size: 0.76rem; font-weight: 900; color: var(--lv-ink); line-height: 1.25; }
.mc-vip[data-lv="basic"] { --lv-1: var(--lv-basic-1); --lv-2: var(--lv-basic-2); --lv-ink: var(--lv-basic-ink); --lv-soft: var(--lv-basic-soft); }
.mc-vip[data-lv="intermediate"] { --lv-1: var(--lv-inter-1); --lv-2: var(--lv-inter-2); --lv-ink: var(--lv-inter-ink); --lv-soft: var(--lv-inter-soft); }
.mc-vip[data-lv="pro"] { --lv-1: var(--lv-pro-1); --lv-2: var(--lv-pro-2); --lv-ink: var(--lv-pro-ink); --lv-soft: var(--lv-pro-soft); }
.mc-vip[data-lv="divine"] { --lv-1: var(--lv-divine-1); --lv-2: var(--lv-divine-2); --lv-ink: var(--lv-divine-ink); --lv-soft: var(--lv-divine-soft); }
.mc-vip[data-lv="ultimate"] { --lv-1: var(--lv-ultra-1); --lv-2: var(--lv-ultra-2); --lv-ink: var(--lv-ultra-ink); --lv-soft: var(--lv-ultra-soft); }
.mc-vip { --lv-1: var(--lv-pro-1); --lv-2: var(--lv-pro-2); --lv-ink: var(--lv-pro-ink); --lv-soft: var(--lv-pro-soft); }
@media (max-width: 860px) {
.mc-head-main { align-items: stretch; }
.mc-vip-perks { flex-wrap: wrap; margin-left: 0; }
.mc-vip .mc-vip-perks { padding-right: 0; }
.mc-name-row { width: 100%; }
.mc-head-right { align-items: flex-start; }
.mc-head-right .mc-points { text-align: left; }
.mc-head-right .mc-skins { justify-content: flex-start; }
}
⚠️ 上边一条分隔线 + 极淡主题底：把【数据区】和上面的【身份区】分开 ——
这是无边框方案里唯一还能出层次的手段。
⚠️ 窄屏：auto-fit 自动折行；8 列以上在手机上会变成 5+5 两行。 */
.mc-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(4.2rem, 1fr));
gap: 0;
margin: 0.5rem 0 0;
padding: 0.28rem 0.75rem 0.1rem;
border-top: 1px solid rgba(var(--mc-shadow-rgb, 124, 58, 237), 0.12);
background: rgba(var(--mc-shadow-rgb, 124, 58, 237), 0.02);
}
.mc-strip {
display: flex; align-items: stretch; gap: .6rem;
margin-left: -0.75rem; margin-right: -0.75rem;
}
.mc-strip .mc-stats { flex: 1 1 auto; min-width: 0; margin-top: 0.5rem; }
.mc-strip .mc-share { flex: 0 0 auto; margin-top: 0.5rem; }
@media (max-width: 860px) {
.mc-strip { flex-wrap: wrap; }
.mc-strip .mc-stats { flex: 1 1 100%; }
.mc-strip .mc-share { flex: 1 1 100%; }
}
.mc-stat {
padding: 0.12rem 0.3rem;
display: flex; flex-direction: column; align-items: center; gap: 0.05rem;
background: transparent;
border: 0;
border-left: 1px solid rgba(var(--mc-shadow-rgb, 124, 58, 237), 0.10);
border-radius: 0;
box-shadow: none;
}
.mc-stat:first-child { border-left: 0; }
@media (min-width: 900px) {
.mc-stat:nth-child(10n + 1) { border-left: 0; }
}
.mc-stat b { font-size: 1.15rem; font-weight: 800; color: var(--mc-ink); line-height: 1.2; }
.mc-stat span { font-size: 0.68rem; color: var(--mc-ink-3); white-space: nowrap; }
.mc-stat-on b { color: var(--mc-acc); }
html[data-theme="dark"] .mc-stat b { color: var(--mc-ink); }
html[data-theme="dark"] .mc-stat-on b { color: var(--mc-acc); }
html[data-theme="dark"] .mc-stats {
border-top-color: rgba(255,255,255,.10);
background: rgba(255,255,255,.02);
}
html[data-theme="dark"] .mc-stat { border-left-color: rgba(255,255,255,.08); }
.mc-stat-err { font-size: 0.75rem; color: var(--mc-ink-3); grid-column: 1 / -1; }
.mc-share {
display: flex; align-items: center; gap: 0.55rem;
margin-top: 0.4rem; padding: 0.38rem 0.7rem;
background: var(--mc-card);
border: 1px solid var(--mc-edge);
border-radius: 0.7rem;
box-shadow: var(--mc-shadow);
min-width: 15.5rem;
}
.mc-share-ico { font-size: 1rem; flex: 0 0 auto; }
.mc-share-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.mc-share-info b { font-size: 0.82rem; font-weight: 800; color: var(--mc-ink); }
.mc-share-info small { font-size: 0.7rem; color: var(--mc-ink-3); }
@media (max-width: 520px) {
.mc-share .switch-label { display: none; }
}
.mc-share .switch input:checked + .track {
background: linear-gradient(135deg, var(--mc-acc), var(--mc-acc-2));
}
.mc-tabs {
display: flex; gap: 0.3rem; flex-wrap: wrap;
margin: 0.35rem 0 0;
border-bottom: 0;
}
.mc-tab {
position: relative;
font: inherit; font-size: 0.82rem; font-weight: 700;
color: var(--mc-ink-2); background: transparent; border: 0;
padding: 0.4rem 0.95rem; min-height: 34px; cursor: pointer;
border-radius: var(--mc-tab-r);
transition: background .15s, color .15s;
}
.mc-tab:hover { color: var(--mc-acc); background: var(--mc-acc-soft); }
.mc-tab.on {
color: var(--mc-tab-ink);
background: var(--mc-tab-bg);
box-shadow: 0 2px 8px rgba(var(--mc-shadow-rgb, 124, 58, 237), .28);
}
.mc-dot {
position: absolute; top: 0.5rem; right: 0.4rem;
width: 6px; height: 6px; border-radius: 50%; background: #ef4444;
}
.mc-panes { margin-top: 0.45rem; }
.mc-pane { display: none; }
.mc-pane.on { display: block; }
.mc-frame {
width: 100%; border: 0; display: block; background: transparent;
min-height: 76vh; height: 78vh;
}
@media (max-width: 860px) {
.mc-tabs {
flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.mc-tabs::-webkit-scrollbar { display: none; }
.mc-tab { flex: 0 0 auto; padding: 0.55rem 0.75rem; font-size: 0.8rem; }
.mc-frame { height: auto; min-height: 78vh; }
}
.tb-search {
position: relative;
flex: 0 1 clamp(150px, 22vw, 320px);
min-width: 0;
margin: 0 0.5rem;
}
.tb-search-input {
width: 100%;
height: 34px;
padding: 0 1.9rem 0 1.9rem;
border: 1px solid var(--border, #e5e7eb);
border-radius: 999px;
background: #f7f8fc;
font: inherit; font-size: 0.8rem; color: inherit;
outline: none;
transition: border-color .15s, background .15s, box-shadow .15s;
}
.tb-search-input:focus {
border-color: #a78bfa; background: #fff;
box-shadow: 0 0 0 3px rgba(var(--mc-shadow-rgb, 124, 58, 237), 0.12);
}
.tb-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.tb-search-ico {
position: absolute; left: 0.65rem; top: 50%; transform: translateY(-50%);
font-size: 0.78rem; color: #9ca3af; pointer-events: none;
}
.tb-search-clear {
position: absolute; right: 0.45rem; top: 50%; transform: translateY(-50%);
width: 22px; height: 22px; border: 0; border-radius: 50%;
background: #e5e7eb; color: #4b5563; cursor: pointer;
font-size: 0.7rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.tb-search-clear:hover { background: #d1d5db; }
.tb-sr {
position: absolute; left: 0; right: 0; top: calc(100% + 6px);
z-index: 60;
max-height: min(66vh, 460px);
overflow-y: auto;
background: #fff; border: 1px solid var(--border, #e5e7eb);
border-radius: 12px;
box-shadow: 0 12px 34px rgba(24,30,60,.14);
padding: 0.3rem;
}
html[data-theme="dark"] .tb-sr { background: #1b2029; border-color: rgba(255,255,255,.12); }
.tb-sr-grp {
display: flex; align-items: center; justify-content: space-between;
padding: 0.4rem 0.5rem 0.2rem;
font-size: 0.7rem; font-weight: 800; color: #6b7280;
}
.tb-sr-grp i { font-style: normal; font-size: 0.66rem; color: #9ca3af; font-weight: 600; }
.tb-sr-it {
display: flex; align-items: center; gap: 0.5rem;
padding: 0.42rem 0.5rem; border-radius: 8px;
text-decoration: none; color: inherit; min-width: 0;
}
.tb-sr-it:hover, .tb-sr-it.on { background: var(--mc-acc-soft); }
html[data-theme="dark"] .tb-sr-it:hover, html[data-theme="dark"] .tb-sr-it.on { background: #232a3b; }
.tb-sr-ico {
flex: 0 0 auto; width: 26px; height: 26px; border-radius: 7px;
display: flex; align-items: center; justify-content: center;
font-size: 0.85rem; background: #f3f4f6;
}
html[data-theme="dark"] .tb-sr-ico { background: #252b36; }
.tb-sr-img {
flex: 0 0 auto; width: 26px; height: 26px; border-radius: 7px;
object-fit: cover; background: #f3f4f6; display: block;
}
.tb-sr-ava { border-radius: 50%; }
.tb-sr-bd { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.05rem; }
.tb-sr-bd b {
font-size: 0.79rem; font-weight: 700; color: #1f2937;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html[data-theme="dark"] .tb-sr-bd b { color: #e5e7eb; }
.tb-sr-bd small {
font-size: 0.68rem; color: #9ca3af;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tb-sr-none { padding: 1rem 0.6rem; text-align: center; font-size: 0.78rem; color: #9ca3af; line-height: 1.8; }
.topbar-title h1 {
font-size: 1.05rem;
font-weight: 800;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.topbar-title p {
font-size: 0.75rem;
color: #6b7280;
margin: 0.1rem 0 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.topbar-actions {
display: flex;
align-items: center;
gap: 0.5rem;
flex-shrink: 0;
}
.page-content {
flex: 1;
min-width: 0;
}
.sidebar-backdrop {
position: fixed;
inset: 0;
z-index: 44;
background: rgba(17, 24, 39, 0.45);
backdrop-filter: blur(2px);
animation: fadeIn 0.2s ease;
}
@media (max-width: 1024px) {
#sidebar-root {
position: fixed;
left: 0;
top: 0;
transform: translateX(-100%);
transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
box-shadow: 8px 0 32px rgba(0, 0, 0, 0.18);
}
.app-shell.sidebar-open #sidebar-root {
transform: translateX(0);
}
.app-shell.collapsed #sidebar-root {
width: 196px;
}
.app-shell.collapsed .brand-text,
.app-shell.collapsed .nav-text,
.app-shell.collapsed .nav-arrow,
.app-shell.collapsed .nav-badge,
.app-shell.collapsed .sidebar-tip .nav-text {
display: block;
}
.app-shell.collapsed .nav-badge {
display: inline-block;
}
.app-shell.collapsed .sidebar-collapse {
display: block;
}
.app-shell.collapsed .nav-group-title {
display: flex;
}
.app-shell.collapsed .nav-group + .nav-group {
margin-top: 0.35rem;
padding-top: 0;
border-top: none;
}
.app-shell.collapsed .sidebar-brand {
flex-direction: row;
gap: 0.55rem;
padding: 0.95rem 0.9rem;
}
.app-shell.collapsed .nav-item,
.app-shell.collapsed .nav-group-title,
.app-shell.collapsed .sidebar-tip {
justify-content: flex-start;
}
.app-shell.collapsed .nav-item {
padding-left: 0.7rem;
padding-right: 0.7rem;
}
.app-shell.collapsed .nav-item:hover::after {
display: none;
}
.topbar-burger {
display: inline-flex;
}
.topbar-title p {
display: none;
}
}
@media (max-width: 640px) {
.topbar {
padding: 0.55rem 0.8rem;
gap: 0.5rem;
}
.topbar-title h1 {
font-size: 0.95rem;
}
.topbar-actions .chip {
display: none;
}
.result-stage { min-height: 280px; }
.result-stage img { max-height: 46vh; }
.tool-tab { padding: 0.6rem 0.85rem; font-size: 0.82rem; }
}
.admin-section-head {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
margin-bottom: 1.1rem;
}
.admin-section-head h2 {
font-size: 1.3rem;
font-weight: 800;
margin: 0;
}
.admin-section-head p {
font-size: 0.8rem;
color: #6b7280;
margin: 0.2rem 0 0;
}
.stat-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 0.85rem;
}
.stat-card {
border-radius: 1rem;
padding: 1rem 1.1rem;
background: rgba(255, 255, 255, 0.72);
border: 1px solid rgba(255, 255, 255, 0.85);
box-shadow: 0 6px 20px rgba(31, 38, 135, 0.05);
}
.stat-card .stat-icon { font-size: 1.1rem; }
.stat-value {
font-size: 1.55rem;
font-weight: 800;
line-height: 1.2;
margin-top: 0.25rem;
}
.stat-value small { font-size: 0.75rem; font-weight: 600; color: #9ca3af; }
.stat-label { font-size: 0.74rem; color: #6b7280; font-weight: 600; margin-top: 0.1rem; }
.panel {
border-radius: 1rem;
background: rgba(255, 255, 255, 0.75);
border: 1px solid rgba(255, 255, 255, 0.85);
box-shadow: 0 6px 20px rgba(31, 38, 135, 0.05);
overflow: hidden;
}
.panel-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
padding: 0.85rem 1.1rem;
border-bottom: 1px solid var(--mc-line);
flex-wrap: wrap;
}
.panel-head h3 { font-size: 0.95rem; font-weight: 800; margin: 0; }
.panel-body { padding: 1.1rem; }
.panel-body.tight { padding: 0; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.data-table th {
text-align: left;
padding: 0.65rem 0.8rem;
color: #6b7280;
font-weight: 700;
font-size: 0.73rem;
white-space: nowrap;
background: #fafbfe;
border-bottom: 1px solid var(--line);
}
.data-table td {
padding: 0.6rem 0.8rem;
border-bottom: 1px solid #f2f3f8;
vertical-align: middle;
}
.data-table tbody tr:hover td { background: rgba(147, 51, 234, 0.035); }
.data-table .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.76rem; color: #6b7280; }
.data-table .ellipsis {
max-width: 260px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.data-table .num { font-variant-numeric: tabular-nums; font-weight: 700; }
.text-up { color: #059669; }
.text-down { color: #dc2626; }
.badge {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.14rem 0.5rem;
border-radius: 999px;
font-size: 0.69rem;
font-weight: 700;
white-space: nowrap;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-gray { background: #f3f4f6; color: #4b5563; }
.badge-purple { background: #f3e8ff; color: #6b21a8; }
.badge-cyan { background: #cffafe; color: #155e75; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.9rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-row-note { font-size: 0.72rem; color: #9ca3af; margin: 0.3rem 0 0; line-height: 1.5; }
.switch { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch .track {
width: 40px; height: 22px; border-radius: 999px; background: #d1d5db;
position: relative; transition: background 0.2s; flex-shrink: 0;
}
.switch .track::after {
content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
border-radius: 50%; background: #fff; transition: transform 0.2s;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.switch input:checked + .track { background: linear-gradient(135deg, #9333ea, #06b6d4); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch .switch-label { font-size: 0.82rem; font-weight: 600; color: #374151; }
.toolbar {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.toolbar .field { width: auto; min-width: 130px; padding: 0.5rem 0.75rem; font-size: 0.82rem; }
.toolbar select.field { min-width: 120px; }
.provider-card {
border-radius: 1rem;
border: 1px solid var(--line);
background: rgba(255, 255, 255, 0.85);
padding: 1rem;
display: flex;
flex-direction: column;
gap: 0.6rem;
transition: all 0.25s;
}
.provider-card:hover { border-color: #c084fc; box-shadow: 0 8px 24px rgba(147, 51, 234, 0.1); }
.provider-card.is-default { border-color: #9333ea; box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1); }
.provider-card h4 { font-size: 0.92rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 0.4rem; }
.provider-card .kv { font-size: 0.74rem; color: #6b7280; display: flex; gap: 0.4rem; }
.provider-card .kv b { color: #374151; font-weight: 600; }
.provider-card .provider-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.3rem; }
.drawer-mask {
position: fixed; inset: 0; z-index: 85; background: rgba(17, 24, 39, 0.5);
backdrop-filter: blur(3px); animation: fadeIn 0.2s ease;
}
.drawer {
position: fixed; top: 0; right: 0; bottom: 0; z-index: 86;
width: min(720px, 96vw); background: #fff; box-shadow: -12px 0 40px rgba(0, 0, 0, 0.2);
display: flex; flex-direction: column; animation: drawerIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } }
.drawer-head {
display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
padding: 1rem 1.2rem; border-bottom: 1px solid var(--line);
}
.drawer-body { flex: 1; overflow-y: auto; padding: 1.2rem; }
.admin-pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1.1rem; flex-wrap: wrap; }
.admin-pager .info { font-size: 0.78rem; color: #6b7280; }
.empty-state { padding: 2.5rem 1rem; text-align: center; color: #9ca3af; font-size: 0.85rem; }
@media (max-width: 640px) {
.stat-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.stat-value { font-size: 1.25rem; }
.data-table .ellipsis { max-width: 140px; }
}
.btn-opt {
display: inline-flex;
align-items: center;
gap: 0.25rem;
margin-left: 0.4rem;
padding: 0.15rem 0.6rem;
border-radius: 999px;
border: 1px solid rgba(147, 51, 234, 0.35);
background: rgba(147, 51, 234, 0.08);
color: var(--mc-acc);
font-size: 0.72rem;
font-weight: 700;
cursor: pointer;
transition: background 0.2s ease, border-color 0.2s ease;
white-space: nowrap;
flex: 0 0 auto;
}
.btn-opt:hover { background: rgba(147, 51, 234, 0.16); border-color: rgba(147, 51, 234, 0.6); }
.btn-opt:disabled { opacity: 0.55; cursor: not-allowed; }
.size-chip {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.42rem 0.8rem;
border-radius: 0.7rem;
border: 1px solid var(--line);
background: rgba(255, 255, 255, 0.8);
color: var(--ink-soft);
font-size: 0.78rem;
font-weight: 600;
cursor: pointer;
transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.size-chip small { font-size: 0.68rem; opacity: 0.65; font-weight: 500; }
.size-chip:hover { border-color: #c084fc; color: var(--ink); }
.size-chip.active {
color: #fff;
border-color: transparent;
background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
}
.size-chip.active small { opacity: 0.85; }
.style-chip {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.38rem 0.75rem;
border-radius: 999px;
border: 1px dashed rgba(147, 51, 234, 0.35);
background: rgba(255, 255, 255, 0.7);
color: var(--ink-soft);
font-size: 0.78rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
}
.style-chip:hover { border-color: #c084fc; color: var(--ink); }
.style-chip.active {
border-style: solid;
border-color: transparent;
color: #fff;
background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
}
.adv-box {
border: 1px solid var(--line);
border-radius: 0.9rem;
background: rgba(255, 255, 255, 0.55);
overflow: hidden;
}
.adv-box > summary {
padding: 0.7rem 1rem;
font-size: 0.82rem;
font-weight: 700;
color: var(--ink-soft);
cursor: pointer;
list-style: none;
user-select: none;
}
.adv-box > summary::-webkit-details-marker { display: none; }
.adv-box > summary::after { content: ' ▾'; opacity: 0.5; }
.adv-box[open] > summary::after { content: ' ▴'; }
.adv-box > summary:hover { color: var(--ink); }
.adv-body {
padding: 0 1rem 1rem;
display: flex;
flex-direction: column;
gap: 0.9rem;
border-top: 1px solid var(--line);
padding-top: 0.9rem;
}
.field-note {
font-size: 0.72rem;
color: #9ca3af;
margin-top: 0.35rem;
line-height: 1.6;
}
.tag {
display: inline-flex;
align-items: center;
gap: 0.2rem;
padding: 0.14rem 0.5rem;
border-radius: 999px;
font-size: 0.68rem;
font-weight: 700;
line-height: 1.6;
white-space: nowrap;
backdrop-filter: blur(4px);
}
.tag.g { color: #047857; background: rgba(16, 185, 129, 0.16); border: 1px solid rgba(16, 185, 129, 0.3); }
.tag.y { color: #92400e; background: rgba(245, 158, 11, 0.16); border: 1px solid rgba(245, 158, 11, 0.32); }
.tag.r { color: #b91c1c; background: rgba(239, 68, 68, 0.14); border: 1px solid rgba(239, 68, 68, 0.3); }
.tag.b { color: #1d4ed8; background: rgba(59, 130, 246, 0.14); border: 1px solid rgba(59, 130, 246, 0.3); }
.tag.gray { color: #4b5563; background: rgba(107, 114, 128, 0.14); border: 1px solid rgba(107, 114, 128, 0.26); }
@media (min-width: 1024px) {
html, body { height: 100%; }
.app-shell {
height: 100vh;
min-height: 0;
overflow: hidden;
align-items: stretch;
}
#sidebar-root { height: 100vh; }
.main-area { height: 100vh; min-height: 0; overflow: hidden; }
.page-content {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
overscroll-behavior: contain;
}
.topbar { position: relative; top: auto; }
}
@media (min-width: 1024px) {
.tool-panel.grid {
grid-template-columns: minmax(320px, 400px) minmax(0, 1fr) !important;
align-items: stretch;
}
.tool-panel > div:last-child { display: flex; flex-direction: column; }
.result-stage {
flex: 1 1 auto;
min-height: 460px;
}
}
.result-stage img { max-height: 72vh; }
@media (min-width: 1024px) {
body[data-page="image"] main > section:first-child {
padding-top: 0.5rem;
padding-bottom: 0.75rem;
}
body[data-page="image"] main > section:first-child h1 { margin-bottom: 0.5rem; }
body[data-page="image"] main > section:first-child p { font-size: 0.95rem; }
body[data-page="image"] .tool-card {
min-height: calc(100vh - 210px);
display: flex;
flex-direction: column;
}
body[data-page="image"] .tool-card > .tool-panel:not(.hidden) {
flex: 1 1 auto;
min-height: 0;
}
body[data-page="image"] .tool-panel > div:first-child {
min-height: 0;
overflow-y: auto;
padding-right: 0.4rem;
}
body[data-page="image"] .tool-panel > div:last-child {
min-height: 0;
}
body[data-page="image"] .result-stage {
min-height: 320px;
height: 100%;
}
body[data-page="image"] .result-stage img { max-height: 100%; }
}
.me-stack {
display: flex;
flex-direction: column;
gap: 1.25rem;
}
.music-wave {
display: flex;
align-items: flex-end;
justify-content: center;
gap: 3px;
height: 42px;
}
.music-wave span {
display: block;
width: 4px;
border-radius: 2px;
background: linear-gradient(180deg, var(--brand-from), var(--brand-to));
animation: waveJump 1.1s ease-in-out infinite;
}
@keyframes waveJump {
0%, 100% { height: 8px; opacity: .55; }
50% { height: 38px; opacity: 1; }
}
@media (min-width: 1024px) {
body[data-page="video"] .result-stage,
body[data-page="voice"] .result-stage,
body[data-page="music"] .result-stage {
flex: 1 1 auto;
min-height: 420px;
}
body[data-page="music"] .result-stage,
body[data-page="voice"] .result-stage { align-items: center; }
}
.msg.warn {
background: #fffbeb;
border: 1px solid #fcd34d;
color: #92400e;
border-radius: 0.9rem;
padding: 0.75rem 1rem;
font-size: 0.82rem;
line-height: 1.7;
}
@media (min-width: 1024px) {
body[data-page="video"] .tool-card,
body[data-page="voice"] .tool-card,
body[data-page="music"] .tool-card {
min-height: calc(100vh - 130px);
display: flex;
flex-direction: column;
}
body[data-page="video"] .tool-card > .tool-panel,
body[data-page="voice"] .tool-card > .tool-panel,
body[data-page="music"] .tool-card > .tool-panel {
flex: 1 1 auto;
min-height: 0;
}
body[data-page="video"] .tool-panel > div:first-child,
body[data-page="voice"] .tool-panel > div:first-child,
body[data-page="music"] .tool-panel > div:first-child {
min-height: 0;
overflow-y: auto;
padding-right: 0.4rem;
}
}
body[data-page="image"] .page-content > main { max-width: 1600px !important; }
body[data-page="assets"] .page-content > main,
body[data-page="inspiration"] .page-content > main,
body[data-page="recharge"] .page-content > main,
body[data-page="me"] .page-content > main {
max-width: none !important;
}
main#admin-root {
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
@media (min-width: 1024px) {
.tool-panel {
display: grid;
grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
gap: 1.5rem;
align-items: stretch;
min-height: 0;
}
}
@media (min-width: 1024px) {
body[data-page="voice"] .tool-panel {
grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
}
}
.studio-side {
display: flex;
flex-direction: column;
min-height: 0;
min-width: 0;
}
.studio-side-scroll {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
overflow-x: hidden;
display: flex;
flex-direction: column;
gap: 1rem;
padding-right: 0.5rem;
padding-bottom: 0.5rem;
}
.studio-side-foot {
flex: none;
margin-top: 0.9rem;
padding-top: 0.9rem;
border-top: 1px solid var(--line);
background: rgba(255, 255, 255, 0.55);
}
.foot-top {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
margin-bottom: 0.8rem;
}
.foot-cost {
display: flex;
flex-direction: column;
align-items: flex-end;
line-height: 1.3;
}
.foot-cost-label { font-size: 0.72rem; color: #9ca3af; }
.pf-head {
border: 1px solid var(--mc-edge);
border-radius: 1rem;
background: var(--mc-head-bg);
box-shadow: var(--mc-shadow);
overflow: hidden;
margin-bottom: 1rem;
}
.pf-head-main {
display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
padding: 0.85rem 1rem 0.7rem;
}
.pf-ava {
flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-size: 1.35rem; font-weight: 800; color: #fff;
background: linear-gradient(135deg, var(--brand-from, #9333ea), var(--brand-to, #6366f1));
background-size: cover; background-position: center;
}
.pf-info { flex: 1 1 200px; min-width: 0; }
.pf-name-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.pf-name-row b { font-size: 1.1rem; font-weight: 800; }
.pf-badge {
font-size: 0.66rem; font-weight: 700; padding: 0.1rem 0.45rem;
border-radius: 999px; background: var(--mc-acc-line); color: var(--mc-acc-ink);
white-space: nowrap;
}
.pf-bio {
font-size: 0.76rem; color: #6b7280; margin: 0.25rem 0 0; line-height: 1.5;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
overflow: hidden;
}
html[data-theme="dark"] .pf-bio { color: #9ca3af; }
.pf-me { flex: 0 0 auto; }
.pf-stats {
display: flex; align-items: stretch;
border-top: 1px solid var(--mc-edge);
}
.pf-stat {
flex: 1 1 0; min-width: 0; text-align: center; padding: 0.55rem 0.3rem;
}
.pf-stat + .pf-stat { border-left: 1px solid var(--mc-edge); }
.pf-stat b { display: block; font-size: 1.15rem; font-weight: 800; color: var(--mc-acc); line-height: 1.3; }
.pf-stat span { display: block; font-size: 0.68rem; color: #9ca3af; margin-top: 0.1rem; }
.pf-ulink { color: inherit; text-decoration: none; }
.pf-ulink:hover { color: var(--mc-acc); text-decoration: underline; }
.pf-empty {
text-align: center; padding: 2.2rem 1rem;
border: 1px dashed var(--mc-edge); border-radius: 1rem;
color: #6b7280; font-size: 0.82rem;
}
.pf-empty-ico { font-size: 2.2rem; margin-bottom: 0.4rem; }
.pf-empty b { display: block; font-size: 0.95rem; color: #374151; margin-bottom: 0.3rem; }
html[data-theme="dark"] .pf-empty b { color: #e5e7eb; }
.pf-empty p { margin: 0.15rem 0 0; }
.pf-empty code {
background: var(--mc-acc-soft, #ede9fe); color: var(--mc-acc-ink, #5b21b6);
padding: 0.05rem 0.35rem; border-radius: 0.3rem; font-size: 0.78rem;
}
.vc-chips {
display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.vc-chip {
border: 1px solid #e5e7eb;
background: #fff;
color: #4b5563;
border-radius: 999px;
padding: 0.2rem 0.6rem;
font-size: 0.74rem;
font-weight: 600;
cursor: pointer;
line-height: 1.30;
white-space: nowrap;
transition: all .15s;
}
.vc-chip:hover { border-color: var(--mc-acc); color: var(--mc-acc); background: #f5f3ff; }
.vc-chip:active { transform: scale(.96); }
.vc-tpls {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
gap: 0.5rem;
}
.vc-tpl {
border: 1px solid #e5e7eb;
background: #fafbfc;
color: #374151;
border-radius: 0.55rem;
padding: 0.4rem 0.3rem;
font-size: 0.75rem;
font-weight: 700;
cursor: pointer;
line-height: 1.3;
transition: all .15s;
}
.vc-tpl:hover { border-color: var(--mc-acc); color: var(--mc-acc); background: #f5f3ff; }
.vc-tplc {
border: 1px solid #e9ecf3;
background: #fff;
border-radius: 0.7rem;
padding: 0.55rem 0.6rem 0.5rem;
display: flex;
flex-direction: column;
gap: 0.3rem;
transition: all .15s;
}
.vc-tplc:hover { border-color: var(--mc-acc); box-shadow: 0 4px 14px rgba(124, 58, 237, .08); }
.vc-tplc-head { display: flex; align-items: center; gap: 0.4rem; }
.vc-tplc-head > b { font-size: 0.82rem; font-weight: 800; color: #374151; }
.vc-wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; flex: 0 0 auto; }
.vc-wave > i {
display: block; width: 2px; border-radius: 1px;
background: linear-gradient(180deg, #8b5cf6, #6366f1);
}
.vc-wave > i:nth-child(1) { height: 7px; }
.vc-wave > i:nth-child(2) { height: 13px; }
.vc-wave > i:nth-child(3) { height: 16px; }
.vc-wave > i:nth-child(4) { height: 10px; }
.vc-wave > i:nth-child(5) { height: 6px; }
.vc-tplc-badge {
align-self: flex-start;
font-size: 0.66rem;
font-weight: 700;
color: var(--mc-acc);
background: var(--mc-acc-soft, #f5f3ff);
border: 1px solid var(--mc-acc-line, #ddd6fe);
border-radius: 0.3rem;
padding: 0.02rem 0.3rem;
line-height: 1.5;
}
.vc-tplc-desc {
margin: 0;
font-size: 0.72rem;
color: #6b7280;
line-height: 1.45;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
min-height: 2.1em;
}
.vc-tplc-acts {
display: flex;
align-items: center;
gap: 0.3rem;
margin-top: auto;
}
.vc-tplc-a {
border: 1px solid #e5e7eb;
background: #fff;
color: #6b7280;
border-radius: 0.4rem;
padding: 0.2rem 0.5rem;
font-size: 0.7rem;
font-weight: 700;
cursor: pointer;
transition: all .15s;
}
.vc-tplc-a:hover { border-color: var(--mc-acc); color: var(--mc-acc); }
.vc-tplc-use {
margin-left: auto;
background: var(--mc-acc);
border-color: var(--mc-acc);
color: #fff;
}
.vc-tplc-use:hover { background: #6d28d9; border-color: #6d28d9; color: #fff; }
.vc-dlg-mask {
position: fixed; inset: 0; z-index: 200;
background: rgba(15, 23, 42, .45);
display: flex; align-items: center; justify-content: center;
padding: 1rem;
}
.vc-dlg {
background: #fff; border-radius: 0.9rem;
width: min(560px, 100%); max-height: 80vh;
display: flex; flex-direction: column;
box-shadow: 0 20px 60px rgba(15, 23, 42, .3);
}
.vc-dlg-head {
display: flex; align-items: center; justify-content: space-between;
gap: 0.6rem; padding: 0.85rem 1rem 0.6rem;
border-bottom: 1px solid #eef0f6;
}
.vc-dlg-head > b { font-size: 0.92rem; color: #374151; }
.vc-dlg-x {
border: none; background: transparent; color: #9ca3af;
font-size: 0.95rem; cursor: pointer; line-height: 1; padding: 0.2rem;
}
.vc-dlg-x:hover { color: #374151; }
.vc-dlg-body {
padding: 0.8rem 1rem; overflow-y: auto;
font-size: 0.8rem; color: #4b5563; line-height: 1.75;
white-space: pre-wrap;
word-break: break-word;
}
.vc-dlg-note {
margin: 0; padding: 0 1rem 0.6rem;
font-size: 0.72rem; color: #9ca3af; line-height: 1.6;
}
.vc-dlg-foot {
display: flex; justify-content: flex-end; gap: 0.5rem;
padding: 0.6rem 1rem 0.85rem; border-top: 1px solid #eef0f6;
}
.vc-side-tabs {
display: flex;
gap: 0.4rem;
margin-bottom: 0.7rem;
flex: 0 0 auto;
}
.vc-side-tab {
flex: 1 1 0;
border: 1px solid #e5e7eb;
background: #fff;
color: #6b7280;
border-radius: 0.55rem;
padding: 0.45rem 0.5rem;
font-size: 0.8rem;
font-weight: 700;
cursor: pointer;
transition: all .15s;
}
.vc-side-tab:hover { border-color: var(--mc-acc); color: var(--mc-acc); }
.vc-side-tab.active {
background: var(--mc-acc);
border-color: var(--mc-acc);
color: #fff;
}
.vc-modes {
display: flex;
gap: 0.4rem;
margin: 0 0 0.7rem;
flex: 0 0 auto;
}
.vc-mode {
flex: 1 1 0;
border: 1px solid #e5e7eb;
background: #fff;
color: #6b7280;
border-radius: 0.55rem;
padding: 0.45rem 0.5rem;
font-size: 0.8rem;
font-weight: 700;
cursor: pointer;
transition: all .15s;
}
.vc-mode:hover { border-color: var(--mc-acc); color: var(--mc-acc); }
.vc-mode.on {
background: var(--mc-acc);
border-color: var(--mc-acc);
color: #fff;
}
.vc-img-drop {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.25rem;
border: 1px dashed var(--mc-acc-line);
background: var(--mc-acc-soft);
border-radius: 0.7rem;
min-height: 116px;
padding: 1rem;
cursor: pointer;
text-align: center;
transition: all .15s;
}
.vc-img-drop:hover { border-color: var(--mc-acc); }
.vc-img-drop .vc-img-ico { width: 30px; height: 30px; color: var(--mc-acc); }
.vc-img-drop .vc-img-ico svg { width: 100%; height: 100%; }
.vc-img-drop b { font-size: 0.86rem; color: var(--mc-acc-ink); }
.vc-img-drop i { font-size: 0.72rem; font-style: normal; color: #9ca3af; }
.vc-img-drop.compact { min-height: 62px; padding: 0.6rem; }
.vc-img-preview {
display: flex;
align-items: center;
gap: 0.6rem;
margin-top: 0.55rem;
padding: 0.5rem;
border: 1px solid var(--mc-acc-line);
border-radius: 0.6rem;
background: #fff;
}
.vc-img-preview img {
width: 54px;
height: 54px;
object-fit: cover;
border-radius: 0.45rem;
background: var(--mc-acc-soft);
flex: 0 0 auto;
}
.vc-img-meta { flex: 1 1 auto; min-width: 0; }
.vc-img-meta b {
display: block;
font-size: 0.78rem;
color: #111827;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.vc-img-meta i { font-size: 0.72rem; font-style: normal; color: #9ca3af; }
.vc-img-del {
flex: 0 0 auto;
width: 26px;
height: 26px;
border: 1px solid #e5e7eb;
background: #fff;
color: #9ca3af;
border-radius: 50%;
cursor: pointer;
font-size: 0.8rem;
line-height: 1;
}
.vc-img-del:hover { border-color: #ef4444; color: #ef4444; }
.vc-side-pane {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;}
.vc-side .result-stage {
min-height: 150px;
margin-bottom: 0.7rem;
}
.vc-task-card {
border: 1px solid #eef0f6;
border-radius: 0.7rem;
background: #fcfdff;
padding: 0.7rem 0.8rem;
margin-bottom: 0.7rem;
}
.vc-task-head {
display: flex; align-items: center; justify-content: space-between;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
.vc-task-head > b { font-size: 0.84rem; font-weight: 800; color: #374151; }
.vc-task-state {
font-size: 0.68rem;
font-weight: 700;
color: var(--mc-acc);
background: var(--mc-acc-soft, #f5f3ff);
border: 1px solid var(--mc-acc-line, #ddd6fe);
border-radius: 0.3rem;
padding: 0.05rem 0.35rem;
white-space: nowrap;
}
.vc-task-dl {
display: grid;
grid-template-columns: 4.2rem minmax(0, 1fr);
gap: 0.3rem 0.5rem;
margin: 0;
font-size: 0.75rem;
}
.vc-task-dl > dt { color: #9ca3af; }
.vc-task-dl > dd {
margin: 0;
color: #4b5563;
overflow-wrap: anywhere;
}
.vc-task-hint {
margin: 0;
font-size: 0.74rem;
color: #9ca3af;
line-height: 1.75;
}
.vc-params {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 0.5rem;
}
.vc-param { display: block; }
.vc-param > span {
display: block;
font-size: 0.72rem;
color: #6b7280;
margin-bottom: 0.2rem;
}
.vc-param select { width: 100%; }
.vc-row {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 0.6rem 0.7rem;
}
.vc-cell { display: block; margin: 0; }
.vc-cell > span {
display: block;
font-size: 0.72rem;
color: #6b7280;
margin-bottom: 0.2rem;
white-space: nowrap;
}
.vc-cell select { width: 100%; }
.vc-cell-kind { flex: 0 1 168px; }
.vc-cell-fmt { flex: 0 1 118px; }
.vc-cell-rate { flex: 0 1 138px; }
.vc-cell-ch { flex: 0 1 118px; }
.vc-cell-target { flex: 1 1 200px; min-width: 170px; }
.vc-cell-target > span {
display: flex; align-items: center; justify-content: space-between;
gap: 0.4rem;
}
.vc-cell-target > span > b {
color: var(--mc-acc);
font-size: 0.76rem;
font-variant-numeric: tabular-nums;
}
.vc-cell-target input[type="range"] { width: 100%; }
.vc-slider-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 0.2rem 1.1rem;
}
.vc-slider { margin-top: 0.6rem; }
.vc-slider-row + .form-row-note { margin-top: 0.35rem; }
.vc-slider-top {
display: flex; align-items: center; justify-content: space-between;
gap: 0.5rem;
font-size: 0.76rem;
color: #4b5563;
font-weight: 600;
margin-bottom: 0.15rem;
}
.vc-slider-top b {
color: var(--mc-acc);
font-size: 0.78rem;
font-variant-numeric: tabular-nums;
}
.vc-slider input[type="range"] { width: 100%; }
.vc-slider input[type="range"]:disabled { opacity: .45; cursor: not-allowed; }
.vc-ns {
font-style: normal;
font-size: 0.66rem;
font-weight: 600;
color: #9ca3af;
background: #f3f4f6;
border-radius: 0.3rem;
padding: 0 0.28rem;
margin-left: 0.25rem;
}
.vc-foot-row { align-items: center; }
.vc-foot-status {
margin-right: auto;
margin-bottom: 0;
white-space: nowrap;
}
.vc-foot-status > span { font-size: 0.8rem; color: #6b7280; }
.vc-foot-status b { color: var(--mc-acc); }
.vc-run-btn {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 0.3rem;
line-height: 1.3;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.vc-run-main { font-weight: 800; white-space: nowrap; }
.vc-run-sub {
font-weight: 500;
font-size: 0.7rem;
color: rgba(255, 255, 255, 0.85);
text-align: center;
white-space: nowrap;
min-height: 0;
}
.vc-run-sub:empty { display: none; }
.vc-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
flex-wrap: wrap;
margin-top: 0.15rem;
padding-top: 0.45rem;
border-top: 1px dashed #eef0f5;
}
.vc-bar .vc-tools--inset {
margin-top: 0;
padding-top: 0;
border-top: 0;
flex: 1 1 auto;
min-width: 0;
}
.vc-bar .pb-foot--inset {
padding-top: 0;
border-top: 0;
flex: 0 0 auto;
margin-left: auto;
}
.vc-tools--inset {
margin-top: 0.15rem;
padding-top: 0.45rem;
border-top: 1px dashed #eef0f5;
gap: 0.3rem;
}
.vc-tools {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
margin-top: 0.55rem;
}
.vc-tool { position: relative; }
.vc-tool-btn {
display: inline-flex;
align-items: center;
gap: 0.35rem;
border: 1px solid #e5e7eb;
background: #fff;
color: #4b5563;
border-radius: 999px;
padding: 0.22rem 0.7rem 0.22rem 0.25rem;
font-size: 0.75rem;
font-weight: 700;
cursor: pointer;
white-space: nowrap;
transition: all .15s;
}
.vc-tool-btn:hover { border-color: var(--mc-acc); color: var(--mc-acc); }
.vc-tool-btn.on { border-color: var(--mc-acc); color: var(--mc-acc); background: var(--mc-acc-soft, #f5f3ff); }
.vc-tool-btn b { color: var(--mc-acc); }
.vc-tool-ico {
flex: 0 0 auto;
width: 1.35rem; height: 1.35rem;
border-radius: 50%;
display: inline-flex; align-items: center; justify-content: center;
background: var(--mc-acc-soft, #f5f3ff);
color: var(--mc-acc);
}
.vc-tool-ico > svg { width: 0.85rem; height: 0.85rem; display: block; }
.vc-tool-btn.on .vc-tool-ico { background: #fff; }
.vc-pop {
display: none;
position: absolute;
top: calc(100% + 4px);
left: 0;
z-index: 30;
min-width: 220px;
max-width: 320px;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 0.6rem;
box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
padding: 0.35rem;
}
.vc-pop.open { display: block; }
.vc-pop-grid {
display: none;
grid-template-columns: 1fr 1fr;
gap: 0.25rem;
}
.vc-pop-grid.open { display: grid; }
.vc-pop-opt {
border: 1px solid #eef0f6;
background: #fafbfc;
color: #374151;
border-radius: 0.45rem;
padding: 0.35rem 0.3rem;
font-size: 0.75rem;
font-weight: 600;
cursor: pointer;
}
.vc-pop-opt:hover { border-color: var(--mc-acc); color: var(--mc-acc); background: var(--mc-acc-soft, #f5f3ff); }
.vc-pop-item {
display: grid;
grid-template-columns: 1.35rem minmax(0, 1fr);
align-items: center;
gap: 0.45rem;
padding: 0.45rem 0.6rem;
border-radius: 0.45rem;
font-size: 0.78rem;
font-weight: 700;
color: #374151;
cursor: pointer;
}
.vc-pop-item:hover { background: var(--mc-acc-soft, #f5f3ff); color: var(--mc-acc); }
.vc-pop-note {
display: block;
font-size: 0.68rem;
font-weight: 400;
color: #9ca3af;
line-height: 1.45;
margin: 0.1rem 0 0 0;
}
.vc-pop-item > .vc-pop-note { grid-column: 2; }
.vc-ref-list { margin-top: 0.3rem; }
.vc-ref-item {
display: flex;
align-items: center;
gap: 0.4rem;
padding: 0.3rem 0.6rem;
font-size: 0.72rem;
color: #4b5563;
}
.vc-ref-item > span { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-ref-item > button {
flex: 0 0 auto;
border: 1px solid #e5e7eb;
background: #fff;
color: #9ca3af;
border-radius: 0.35rem;
width: 1.3rem; height: 1.3rem;
line-height: 1;
cursor: pointer;
}
.vc-ref-item > button:hover { color: #dc2626; border-color: #fecaca; }
.vc-editor {
min-height: 150px;
max-height: 46vh;
overflow-y: auto;
line-height: 1.75;
white-space: pre-wrap;
word-break: break-word;
outline: none;
}
.vc-editor:focus { border-color: var(--mc-acc); }
.vc-editor:empty::before {
content: attr(data-ph);
color: #9ca3af;
pointer-events: none;
}
.vc-editor:has(> br:only-child)::before {
content: attr(data-ph);
color: #9ca3af;
pointer-events: none;
}
.vc-pill {
display: inline-block;
padding: 0.02rem 0.4rem;
margin: 0 0.12rem;
border-radius: 0.35rem;
font-size: 0.78rem;
font-weight: 700;
line-height: 1.5;
white-space: nowrap;
vertical-align: baseline;
cursor: default;
}
.vc-pill-emo {
color: var(--mc-acc, #7c3aed);
background: var(--mc-acc-soft, #f5f3ff);
border: 1px solid var(--mc-acc-line, #ddd6fe);
}
.vc-pill-pause {
color: #1d4ed8;
background: #eff6ff;
border: 1px solid #bfdbfe;
}
.vc-pill-tone {
color: #c2410c;
background: #fff7ed;
border: 1px solid #fed7aa;
}
.vc-callout {
color: var(--mc-acc-ink, #6d28d9);
background: var(--mc-acc-soft, #f5f3ff);
border-bottom: 2px solid var(--mc-acc-line, #ddd6fe);
border-radius: 0.2rem 0.2rem 0 0;
padding: 0.02rem 0.1rem;
}
.vc-pop-opt:disabled { opacity: .45; cursor: not-allowed; }
.vc-tool.is-locked { opacity: .6; }
.vc-pop-note {
grid-column: 1 / -1;
font-size: .7rem;
color: #9ca3af;
padding: .1rem .2rem .25rem;
line-height: 1.6;
}
.vc-voices {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
gap: 0.4rem;
}
.vc-voice {
border: 1px solid #e5e7eb;
background: #fff;
border-radius: 0.7rem;
padding: 0.45rem 0.5rem;
cursor: pointer;
text-align: left;
font: inherit;
transition: border-color .15s, background .15s;
}
.vc-voice:hover { border-color: var(--mc-acc-line, #c4b5fd); }
.vc-voice.on {
border-color: var(--mc-acc, #7c3aed);
border-width: 2px;
background: var(--mc-acc-soft, #ede9fe);
position: relative;
}
.vc-voice.on::after {
content: '✓';
position: absolute;
top: -6px;
right: -6px;
width: 1.05rem;
height: 1.05rem;
border-radius: 999px;
background: var(--mc-acc, #7c3aed);
color: #fff;
font-size: 0.64rem;
font-weight: 900;
line-height: 1.05rem;
text-align: center;
}
.vc-voice b { display: block; font-size: 0.82rem; font-weight: 800; color: #374151; }
.vc-voice.on b { color: var(--mc-acc-ink, #5b21b6); }
.vc-voice span { display: block; font-size: 0.66rem; color: #9ca3af; margin-top: 0.1rem; }
html[data-theme="dark"] .vc-voice { background: #1c2130; border-color: #2a3040; }
html[data-theme="dark"] .vc-voice b { color: #e5e7eb; }
html[data-theme="dark"] .vc-voice.on b { color: #c4b5fd; }
.foot-cost-value {
font-size: 1.35rem;
font-weight: 800;
color: var(--mc-acc);
white-space: nowrap;
}
.foot-actions { display: flex; gap: 0.6rem; align-items: center; }
.foot-actions .btn-ghost { flex: 0 0 auto; }
.foot-actions .btn { min-width: max-content; }
.foot-actions { padding-right: 2px; }
.foot-actions .btn-primary { flex: 1 1 auto; justify-content: center; }
.studio-stage {
display: flex;
flex-direction: column;
min-height: 0;
min-width: 0;
}
.studio-stage .result-stage { flex: 1 1 auto; }
.chip-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
min-height: 2.9rem;
}
.chip-row .chip { margin: 0; }
.result-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 0.8rem;
width: 100%;
padding: 0.85rem;
align-content: start;
}
.result-grid .cell {
position: relative;
border-radius: 0.85rem;
overflow: hidden;
background: #f1f2f7;
aspect-ratio: 1 / 1;
display: flex;
align-items: center;
justify-content: center;
}
.result-grid .cell img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.result-grid .cell .cell-actions {
position: absolute;
inset: auto 0 0 0;
display: flex;
gap: 0.35rem;
padding: 0.5rem;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
opacity: 0;
transition: opacity 0.25s;
}
.result-grid .cell:hover .cell-actions { opacity: 1; }
.result-grid .cell .cell-actions .icon-btn { width: 32px; height: 32px; font-size: 0.9rem; }
.result-grid .cell.is-failed { color: #b91c1c; font-size: 0.8rem; padding: 0.8rem; text-align: center; }
@media (min-width: 1024px) {
body[data-page="image"] .tool-panel > .studio-side,
body[data-page="video"] .tool-panel > .studio-side,
body[data-page="music"] .tool-panel > .studio-side,
body[data-page="voice"] .tool-panel > .studio-side {
overflow: hidden !important;
padding-right: 0 !important;
}
}
.studio-side-foot .foot-top {
align-items: center;
justify-content: flex-start;
gap: 0.7rem;
margin-bottom: 0.7rem;
}
.studio-side-foot .foot-cost {
flex-direction: row;
align-items: center;
justify-content: center;
gap: 0.4rem;
margin: 0 auto 0.7rem;
padding: 0.32rem 0.9rem;
border-radius: 999px;
background: linear-gradient(135deg, #fdf2f8, var(--mc-acc-line));
border: 1px solid #e9d5ff;
width: fit-content;
}
.studio-side-foot .foot-cost-label { font-size: 0.75rem; color: var(--mc-acc); }
.studio-side-foot .foot-cost-value { font-size: 0.95rem; font-weight: 800; color: var(--mc-acc); }
.model-cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 0.55rem;
}
.model-card {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.15rem;
padding: 0.6rem 0.75rem;
border-radius: 0.75rem;
border: 1.5px solid var(--line);
background: rgba(255, 255, 255, 0.75);
cursor: pointer;
text-align: left;
transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.model-card:hover { border-color: #c084fc; background: #fff; }
.model-card.active {
border-color: #9333ea;
background: linear-gradient(135deg, rgba(147, 51, 234, 0.07), rgba(6, 182, 212, 0.07));
box-shadow: 0 4px 14px rgba(147, 51, 234, 0.16);
}
.model-card .mcard-title { font-size: 0.85rem; font-weight: 700; color: #374151; }
.model-card.active .mcard-title { color: var(--mc-acc-ink); }
.model-card .mcard-sub { font-size: 0.7rem; color: #9ca3af; line-height: 1.4; }
.stage-tabs {
display: flex;
gap: 0.4rem;
flex-wrap: wrap;
margin-bottom: 0.7rem;
flex: none;
justify-content: center;
}
.stage-body {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
}
.gallery-pane {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding-right: 0.35rem;
}
.tm-expired {
margin-top: 0.7rem;
padding: 0.6rem 0.8rem;
font-size: 0.8rem; line-height: 1.7;
color: #b91c1c; background: #fef2f2;
border: 1px solid #fecaca; border-radius: 0.6rem;
}
html[data-theme="dark"] .tm-expired {
color: #fca5a5; background: rgba(220,38,38,.1); border-color: rgba(220,38,38,.3);
}
.tx-src {
display: inline-block;
min-width: 16px; text-align: center;
font-size: 0.68rem; font-weight: 800; line-height: 1.5;
padding: 0 4px; margin-right: 4px;
border-radius: 4px;
vertical-align: middle;
}
.gallery-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.85rem;
align-content: start;
}
@media (max-width: 1200px) {
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
.gallery-grid { grid-template-columns: minmax(0, 1fr); }
}
.gallery-loading {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.85rem;
}
.gallery-card {
border-radius: 0.9rem;
overflow: hidden;
background: rgba(255, 255, 255, 0.85);
border: 1px solid var(--line);
transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.gallery-card:hover {
box-shadow: 0 10px 26px rgba(31, 38, 135, 0.16);
border-color: #c084fc;
}
.gallery-card .gc-img {
aspect-ratio: 1 / 1;
background: #f1f2f7;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.gallery-card .gc-img.gc-img-media { aspect-ratio: 16 / 10; }
.gallery-card .gc-img img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-card .gc-ph { font-size: 1.8rem; color: #cbd5e1; }
.gallery-card .gc-body { padding: 0.6rem 0.7rem 0.75rem; }
.gallery-card .gc-author { font-size: 0.72rem; color: #6b7280; margin-bottom: 0.3rem; }
.gallery-card .gc-prompt {
font-size: 0.75rem;
color: #4b5563;
line-height: 1.55;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.gc-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.4rem 0 0.1rem; }
.gc-tag {
font-size: 0.66rem; font-weight: 600; line-height: 1;
padding: 0.2rem 0.45rem; border-radius: 999px;
color: var(--mc-acc-ink); background: rgba(147, 51, 234, 0.08);
border: 1px solid rgba(147, 51, 234, 0.22);
white-space: nowrap;
}
html[data-theme="dark"] .gc-tag {
color: #c4b5fd; background: rgba(147, 51, 234, 0.16);
border-color: rgba(147, 51, 234, 0.3);
}
.gc-social { margin-top: 0.55rem; }
.square-list {
display: flex !important;
flex-direction: column;
gap: 1rem;
grid-template-columns: none !important;
}
.square-list .gc-img {
aspect-ratio: auto;
height: 220px;
padding: 0.5rem 0;
max-width: 440px;
margin-inline: auto;
border-radius: 0.7rem;
box-sizing: border-box;
}
.square-list .gc-img img { object-fit: contain; background: transparent; border-radius: 0.7rem; }
@media (max-width: 560px) {
.square-list .gc-img { max-width: none; }
}
.square-list .gc-img.gc-img-media { border-radius: 0.7rem; }
.square-list .gc-prompt {
-webkit-line-clamp: unset;
display: block;
overflow: visible;
}
.square-list .gc-author {
display: flex; align-items: center; gap: 0.4rem;
flex-wrap: nowrap;
min-width: 0;
margin-bottom: 0.45rem;
}
.square-list .gc-author-name {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex: 0 1 auto;
font-weight: 700;
color: #374151;
}
.square-list .gc-author .gc-avatar { flex: 0 0 auto; }
.square-list .gc-author > .gc-kind,
.square-list .gc-author > .gc-time { flex: 0 0 auto; white-space: nowrap; }
.square-list .gc-author > [data-follow] { margin-left: auto; }
.square-list > .gallery-card > .gc-author {
padding: 0.75rem 0.85rem 0;
margin-bottom: 0.35rem;
}
.square-list .gc-time { color: #9ca3af; font-weight: 400; }
html[data-theme="dark"] .square-list .gc-author-name { color: #dfe3ea; }
.gc-avatar {
width: 30px; height: 30px; flex: 0 0 auto;
border-radius: 50%; object-fit: cover;
}
.gc-avatar-txt {
display: inline-flex; align-items: center; justify-content: center;
color: #fff; font-size: 0.82rem; font-weight: 800; line-height: 1;
user-select: none;
}
@media (min-width: 1024px) {
body[data-page="image"] .page-content > main {
height: 100%;
max-width: 1600px !important;
display: flex;
flex-direction: column;
min-height: 0;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
body[data-page="image"] .tool-card {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
body[data-page="image"] #tool-tabs { flex: none; }
body[data-page="image"] .tool-card > .tool-panel:not(.hidden) {
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
}
body[data-page="image"] .tool-panel {
grid-template-columns: 380px minmax(0, 1fr) !important;
min-height: 0;
}
body[data-page="image"] .tool-panel > .studio-side {
overflow: hidden !important;
padding-right: 0 !important;
height: 100%;
min-height: 0;
}
}
.studio-side-head {
flex: none;
padding-bottom: 0.65rem;
margin-bottom: 0.7rem;
border-bottom: 1px solid var(--line);
}
.studio-side-head h2 {
font-size: 1.05rem;
font-weight: 800;
margin: 0;
color: #1f2937;
}
.studio-side-head p {
font-size: 0.72rem;
color: #9ca3af;
margin: 0.15rem 0 0;
line-height: 1.5;
}
.media-ph {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.3rem;
color: #a78bfa;
background: linear-gradient(135deg, var(--mc-acc-soft) 0%, #ecfeff 100%);
border-radius: 0.7rem;
}
.media-ph span { font-size: 2.1rem; line-height: 1; }
.media-ph small { font-size: 0.68rem; color: #9ca3af; }
.media-play {
position: absolute;
right: 0.6rem;
bottom: 0.6rem;
width: 2rem;
height: 2rem;
border-radius: 50%;
background: rgba(124, 58, 237, 0.9);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
padding-left: 2px;
box-shadow: 0 3px 10px rgba(124, 58, 237, 0.35);
}
.gc-img-media { cursor: pointer; }
.gc-kind {
display: inline-block;
margin-left: 0.35rem;
padding: 0 0.35rem;
border-radius: 0.35rem;
background: var(--mc-acc-line);
color: var(--mc-acc-ink);
font-size: 0.66rem;
}
.media-modal {
position: fixed;
inset: 0;
z-index: 3000;
background: rgba(17, 24, 39, 0.55);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
}
.media-modal-box {
width: 100%;
max-width: 620px;
background: #fff;
border-radius: 1.1rem;
padding: 1rem;
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.media-modal-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.7rem;
}
.media-modal-prompt {
margin-top: 0.7rem;
font-size: 0.8rem;
color: #4b5563;
line-height: 1.6;
max-height: 7rem;
overflow-y: auto;
}
@media (min-width: 1024px) {
body[data-page="video"] .page-content > main,
body[data-page="music"] .page-content > main,
body[data-page="text"] .page-content > main,
body[data-page="voice"] .page-content > main {
height: 100%;
max-width: 1600px !important;
display: flex;
flex-direction: column;
min-height: 0;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
body[data-page="video"] .tool-card,
body[data-page="music"] .tool-card,
body[data-page="text"] .tool-card {
flex: 1 1 auto;
min-height: 0 !important;
display: flex;
flex-direction: column;
overflow: hidden;
}
body[data-page="video"] .tool-card > .tool-panel:not(.hidden),
body[data-page="music"] .tool-card > .tool-panel:not(.hidden),
body[data-page="text"] .tool-card > .tool-panel:not(.hidden) {
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
}
body[data-page="video"] .tool-panel,
body[data-page="music"] .tool-panel,
body[data-page="text"] .tool-panel {
grid-template-columns: 380px minmax(0, 1fr) !important;
min-height: 0;
}
body[data-page="video"] .tool-panel > div:first-child,
body[data-page="music"] .tool-panel > div:first-child,
body[data-page="text"] .tool-panel > div:first-child {
min-height: 0;
overflow-y: auto;
overflow-x: hidden;
padding-right: 0.5rem;
}
body[data-page="video"] .tool-panel > div:last-child,
body[data-page="music"] .tool-panel > div:last-child,
body[data-page="text"] .tool-panel > div:last-child {
min-height: 0;
display: flex;
flex-direction: column;
}
}
.field-label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.field-label .label-actions {
display: flex;
gap: 0.4rem;
flex-wrap: wrap;
width: 100%;
margin-top: 0.1rem;
}
.ref-item {
position: relative;
width: 72px;
height: 72px;
border-radius: 0.55rem;
overflow: hidden;
border: 1px solid var(--line);
background: #f1f2f7;
}
.ref-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref-item .ref-del {
position: absolute;
top: 2px;
right: 2px;
width: 18px;
height: 18px;
border-radius: 50%;
border: 0;
background: rgba(17, 24, 39, 0.72);
color: #fff;
font-size: 11px;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.ref-item .ref-del:hover { background: #dc2626; }
.dropzone { display: flex; flex-wrap: wrap; gap: 0.5rem; align-content: flex-start; }
#t2i-drop-hint { width: 100%; }
.ratio-cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
gap: 0.45rem;
}
.ratio-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.3rem;
padding: 0.5rem 0.2rem 0.4rem;
border-radius: 0.7rem;
border: 1.5px solid var(--line);
background: rgba(255, 255, 255, 0.7);
cursor: pointer;
transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.ratio-card:hover { border-color: #c084fc; background: #fff; }
.ratio-card.active {
border-color: var(--mc-acc);
background: linear-gradient(135deg, rgba(124, 58, 237, 0.09), rgba(6, 182, 212, 0.09));
box-shadow: 0 3px 12px rgba(124, 58, 237, 0.16);
}
.ratio-card .ratio-shape {
display: block;
border-radius: 4px;
background: #9aa1ad;
transition: background 0.18s ease;
}
.ratio-card.active .ratio-shape { background: var(--mc-acc); }
.ratio-card .ratio-label { font-size: 0.66rem; color: #6b7280; line-height: 1; }
.ratio-card.active .ratio-label { color: var(--mc-acc-ink); font-weight: 700; }
.custom-size {
margin-top: 0.7rem;
padding: 0.7rem;
border-radius: 0.8rem;
background: #faf9ff;
border: 1px solid var(--mc-acc-line);
}
.cs-inputs { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cs-field { display: flex; align-items: center; gap: 0.35rem; flex: 1 1 140px; }
.cs-field label { font-size: 0.72rem; color: #6b7280; white-space: nowrap; }
.cs-field .field { padding: 0.4rem 0.55rem; font-size: 0.82rem; min-width: 0; }
.cs-reset {
flex: none;
border: 0;
background: transparent;
color: var(--mc-acc);
font-size: 0.72rem;
cursor: pointer;
padding: 0.15rem 0.25rem;
text-decoration: underline;
}
.cs-info { display: flex; gap: 0.8rem; margin-top: 0.7rem; align-items: flex-start; }
.cs-shape-wrap {
flex: none;
width: 88px;
height: 88px;
border-radius: 0.6rem;
background: #fff;
border: 1px solid var(--mc-acc-line);
display: flex;
align-items: center;
justify-content: center;
}
.cs-shape { display: block; border-radius: 4px; background: var(--mc-acc-line); }
.cs-meta { font-size: 0.74rem; color: #4b5563; line-height: 1.9; }
.cs-meta b { color: var(--mc-acc-ink); }
.cs-meta .cs-note { font-size: 0.68rem; color: #9ca3af; line-height: 1.5; margin-top: 0.15rem; }
@media (min-width: 1024px) {
body[data-page="edit"] .page-content > main {
height: 100%;
max-width: 1600px !important;
display: flex;
flex-direction: column;
min-height: 0;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
body[data-page="edit"] .tool-card {
flex: 1 1 auto;
min-height: 0 !important;
display: flex;
flex-direction: column;
overflow: hidden;
}
body[data-page="edit"] #tool-tabs { flex: none; }
body[data-page="edit"] .tool-card > .tool-panel:not(.hidden) {
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
}
body[data-page="edit"] .tool-panel {
grid-template-columns: 380px minmax(0, 1fr) !important;
min-height: 0;
}
body[data-page="edit"] .tool-panel > .studio-side {
overflow: hidden !important;
padding-right: 0 !important;
height: 100%;
min-height: 0;
}
}
label.dropzone { cursor: pointer; }
label.dropzone .ref-del { cursor: pointer; }
.size-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.35rem;
}
.size-grid .size-chip {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 0.22rem;
min-width: 0;
padding: 0.36rem 0.42rem;
font-size: 0.7rem;
border-radius: 0.55rem;
white-space: nowrap;
overflow: hidden;
}
.size-grid .size-chip > span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
}
.size-grid .size-chip small { display: none; }
@media (max-width: 480px) {
.size-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.shop-ref-count { font-size: 0.72rem; color: #9ca3af; font-weight: 500; }
@media (min-width: 1024px) {
body[data-page="shop"] .page-content > main {
height: 100%;
max-width: 1600px !important;
display: flex;
flex-direction: column;
min-height: 0;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
body[data-page="shop"] .tool-card {
flex: 1 1 auto;
min-height: 0 !important;
display: flex;
flex-direction: column;
overflow: hidden;
}
body[data-page="shop"] .tool-card > .tool-panel:not(.hidden) {
flex: 1 1 auto;
min-height: 0;
overflow: hidden;
}
body[data-page="shop"] .tool-panel {
grid-template-columns: 400px minmax(0, 1fr) !important;
min-height: 0;
}
body[data-page="shop"] .tool-panel > .studio-side {
overflow: hidden !important;
padding-right: 0 !important;
height: 100%;
min-height: 0;
}
}
.media-modal-tip {
margin-top: 0.6rem;
font-size: 0.72rem;
color: #9ca3af;
line-height: 1.6;
}
.nav-user-link {
text-decoration: none;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nav-user-link:hover {
border-color: #c084fc;
color: var(--mc-acc-ink);
background: #faf5ff;
}
@media (max-width: 768px) {
html, body {
max-width: 100%;
overflow-x: hidden;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
.btn, button, .nav-item, .tool-tab, .chip {
min-height: 42px;
}
.btn-sm, .chip, .tool-tab, .btn-opt {
min-height: 34px;
}
.nav-item { padding-top: 0.6rem; padding-bottom: 0.6rem; }
input, select, textarea, .field {
font-size: 16px;
}
table { font-size: 0.78rem; }
th, td {
padding: 0.5rem 0.55rem;
white-space: normal;
}
td { word-break: break-word; overflow-wrap: anywhere; }
.panel, .admin-panel, .card {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
img, video, audio, canvas, iframe, svg {
max-width: 100%;
height: auto;
}
audio { width: 100%; }
code, pre, .key, .token, .mono, .break-all {
word-break: break-all;
overflow-wrap: anywhere;
}
.modal-mask, .media-modal-mask, .auth-mask {
padding: 0;
align-items: stretch;
}
.modal, .modal-box, .media-modal, .auth-modal, .auth-box {
width: 100%;
max-width: 100%;
max-height: 100dvh;
border-radius: 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.modal img, .media-modal img { max-height: 42dvh; object-fit: contain; }
.topbar {
padding-top: max(0.55rem, env(safe-area-inset-top));
padding-left: max(0.8rem, env(safe-area-inset-left));
padding-right: max(0.8rem, env(safe-area-inset-right));
}
#sidebar-root {
padding-top: env(safe-area-inset-top);
padding-bottom: env(safe-area-inset-bottom);
}
body { padding-bottom: env(safe-area-inset-bottom); }
.result-stage { min-height: 240px; }
.result-stage img { max-height: 40dvh; }
.tool-panel {
width: 100%;
gap: 0.85rem;
}
.tool-panel > * { min-width: 0; }
.studio-side {
height: auto;
max-height: none;
}
.studio-side-scroll {
overflow: visible;
max-height: none;
flex: 0 0 auto;
}
.studio-side-foot {
position: sticky;
bottom: 0;
background: rgba(255, 255, 255, 0.94);
backdrop-filter: blur(8px);
padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
z-index: 20;
}
.tool-panel { padding: 0.75rem; }
.grid.sm\:grid-cols-2 { grid-template-columns: 1fr; }
.stat-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.stat-value { font-size: 1.35rem; }
.result-stage, .panel { border-radius: 0.9rem; }
}
@media (max-width: 390px) {
.studio-side-foot .btn { flex: 1 1 100%; }
.stat-grid { grid-template-columns: 1fr 1fr; }
.topbar-title h1 { font-size: 0.88rem; }
.field-label { font-size: 0.78rem; }
}
@media (hover: none) {
.nav-item:hover::after { display: none; }
.btn:hover, .chip:hover, .tool-tab:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
.tabbar { display: none; }
@media (max-width: 768px) {
.tabbar {
display: flex;
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 40;
background: rgba(255, 255, 255, 0.97);
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
border-top: 1px solid var(--line);
padding-bottom: env(safe-area-inset-bottom);
box-shadow: 0 -4px 20px rgba(31, 38, 135, 0.07);
}
.tabbar-item {
flex: 1 1 0;
min-width: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1px;
padding: 0.42rem 0.15rem 0.38rem;
text-decoration: none;
color: #9ca3af;
font-size: 0.68rem;
font-weight: 600;
line-height: 1.1;
-webkit-tap-highlight-color: transparent;
transition: color 0.15s;
}
.tabbar-icon {
font-size: 1.22rem;
line-height: 1;
transition: transform 0.15s;
}
.tabbar-item.is-active { color: var(--mc-acc); }
.tabbar-item.is-active .tabbar-icon { transform: translateY(-1px); }
.tabbar-item:active { opacity: 0.6; }
body.has-tabbar { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
body.has-tabbar .studio-side-foot { bottom: calc(56px + env(safe-area-inset-bottom)); }
body.has-tabbar .back-top,
body.has-tabbar .fab { bottom: calc(72px + env(safe-area-inset-bottom)); }
}
.nav-group.single .nav-item-top {
padding-left: 0.85rem;
font-weight: 700;
}
.nav-group.single .nav-item-top .nav-icon {
font-size: 1rem;
}
.sidebar-copyright {
padding: 0.7rem 0.9rem 0.2rem;
font-size: 0.66rem;
line-height: 1.55;
color: #9ca3af;
word-break: keep-all;
overflow-wrap: normal;
overflow: visible;
}
.sidebar-copyright > div {
white-space: nowrap;
width: max-content;
max-width: 320px;
}
.sidebar-footer { overflow: visible; }
.sidebar-copyright .icp { margin-top: 0.15rem; }
.sidebar-shell.collapsed .sidebar-copyright { display: none; }
.nav-user-wrap { position: relative; display: inline-flex; }
.user-pop {
position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 200;
width: min(330px, 92vw); background: #fff;
border: 1px solid var(--mc-line); border-radius: 1rem;
box-shadow: 0 18px 48px rgba(15,23,42,.16);
padding: 0.85rem; text-align: left;
}
.user-pop.hidden { display: none; }
.up-head { display: flex; align-items: center; gap: 0.6rem; padding-bottom: 0.7rem; border-bottom: 1px solid #f1f5f9; }
.up-avatar {
width: 2.5rem; height: 2.5rem; border-radius: 50%; flex: 0 0 auto;
display: flex; align-items: center; justify-content: center;
background: linear-gradient(140deg, #a78bfa, var(--mc-acc)); color: #fff;
font-weight: 800; font-size: 1rem;
}
.up-id { flex: 1 1 auto; min-width: 0; }
.up-name { font-size: 0.9rem; font-weight: 800; color: #1f2937; }
.up-meta { font-size: 0.7rem; color: #9ca3af; margin-top: 0.1rem; }
.up-more { font-size: 0.74rem; color: var(--mc-acc); text-decoration: none; font-weight: 700; white-space: nowrap; }
.up-more:hover { text-decoration: underline; }
.up-sec { padding: 0.7rem 0 0.3rem; }
.up-sec-title { font-size: 0.78rem; font-weight: 800; color: #374151; display: flex; align-items: center; gap: 0.4rem; }
.up-badge { font-size: 0.64rem; font-weight: 700; color: var(--mc-acc); background: var(--mc-acc-soft); padding: 0.1rem 0.4rem; border-radius: 999px; }
.up-pay-seg {
display: inline-flex; padding: 2px; border-radius: 999px;
background: #f1f5f9; border: 1px solid #e9ecf3;
}
.up-seg {
font: inherit; font-size: 0.68rem; font-weight: 700;
padding: 0.2rem 0.6rem; min-height: 24px;
border: 0; border-radius: 999px; background: transparent;
color: #6b7280; cursor: pointer;
}
.up-seg:hover { color: var(--mc-acc); }
.up-seg.on { background: var(--mc-acc); color: #fff; }
.up-seg:disabled { opacity: .6; cursor: default; }
html[data-theme="dark"] .up-pay-seg { background: #232a36; border-color: rgba(255,255,255,.1); }
.up-acct { margin-top: 0.5rem; }
.up-acct-seg {
display: inline-flex; padding: 2px; border-radius: 999px;
background: #f1f5f9; border: 1px solid #e9ecf3; margin-bottom: 0.45rem;
}
.up-acct-btn {
font: inherit; font-size: 0.7rem; font-weight: 700;
padding: 0.22rem 0.7rem; min-height: 26px;
border: 0; border-radius: 999px; background: transparent;
color: #6b7280; cursor: pointer;
}
.up-acct-btn:hover { color: var(--mc-acc); }
.up-acct-btn.on { background: var(--mc-acc); color: #fff; }
.up-acct-btn:disabled { opacity: .6; cursor: default; }
.up-acct-card {
display: flex; flex-direction: column; gap: 0.1rem; cursor: pointer;
border: 1px solid var(--mc-acc-line); border-radius: 0.7rem;
padding: 0.6rem 0.8rem;
background: linear-gradient(135deg, #faf5ff, #eef2ff);
}
.up-acct-card:hover { border-color: var(--mc-acc); }
.up-acct-card b { font-size: 1.15rem; font-weight: 800; color: #5b21b6; }
.up-acct-card span { font-size: 0.68rem; color: #9ca3af; }
.up-acct-hint { font-size: 0.66rem; color: #9ca3af; margin: 0.35rem 0 0; }
html[data-theme="dark"] .up-acct-seg { background: #232a36; border-color: rgba(255,255,255,.09); }
html[data-theme="dark"] .up-acct-card { background: linear-gradient(135deg, #241a35, #1c2130); }
html[data-theme="dark"] .up-acct-card b { color: #c4b5fd; }
.up-note { font-size: 0.7rem; color: #9ca3af; margin: 0.3rem 0 0.5rem; }
.up-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.5rem; }
.up-card, .up-soon {
display: flex; flex-direction: column; gap: 0.15rem; cursor: pointer;
border: 1px solid var(--mc-line); background: #fbfcfe; border-radius: 0.7rem;
padding: 0.55rem 0.65rem; text-decoration: none; font-family: inherit; text-align: left;
}
.up-card:hover, .up-soon:hover { border-color: var(--mc-acc-line); background: #faf9ff; }
.up-card b, .up-soon b { font-size: 0.92rem; font-weight: 800; color: #1f2937; }
.up-card span, .up-soon span { font-size: 0.68rem; color: #9ca3af; }
.up-btns { display: flex; gap: 0.5rem; }
.up-btns .up-soon { flex: 1 1 0; align-items: center; }
.up-btns .up-soon::before { content: ""; }
.up-vip {
display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
margin-top: 0.7rem; padding: 0.6rem 0.7rem; border-radius: 0.75rem;
background: linear-gradient(100deg, var(--mc-acc), var(--mc-acc-2)); color: #fff;
}
.up-vip b { display: block; font-size: 0.84rem; font-weight: 800; }
.up-vip span { font-size: 0.68rem; opacity: 0.88; }
.up-vip .up-soon { background: #fff; border: 0; padding: 0.35rem 0.9rem; border-radius: 999px; }
.up-vip .up-soon b { color: var(--mc-acc); font-size: 0.78rem; }
.up-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem; margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px solid #f1f5f9; }
.up-grid a, .up-out {
display: flex; align-items: center; gap: 0.45rem; cursor: pointer;
padding: 0.5rem 0.55rem; border-radius: 0.6rem; border: 0; background: transparent;
font-family: inherit; font-size: 0.79rem; color: #4b5563; text-decoration: none; font-weight: 600;
text-align: left;
}
.up-grid a:hover, .up-out:hover { background: #f8fafc; color: var(--mc-acc-ink); }
.up-grid i { font-style: normal; font-size: 0.9rem; }
.up-out { color: #dc2626; }
.up-out:hover { background: #fef2f2; color: #dc2626; }
html[data-theme="dark"] {
color-scheme: dark;
}
html[data-theme="dark"] body {
background: #0a0c11;
color: #e8eaed;
}
html[data-theme="dark"] .bg-blobs {
opacity: 0.16;
filter: saturate(0.7);
}
html[data-theme="dark"] .main-area { background: transparent; }
html[data-theme="dark"] .sidebar-inner {
background: rgba(23, 26, 35, 0.86);
border-right-color: rgba(255, 255, 255, 0.06);
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .glass-strong,
html[data-theme="dark"] .glass {
background: rgba(23, 26, 35, 0.82) !important;
border-color: rgba(255, 255, 255, 0.07) !important;
backdrop-filter: blur(18px);
}
html[data-theme="dark"] .topbar-title h1,
html[data-theme="dark"] #topbar-heading { color: #f3f4f6; }
html[data-theme="dark"] .topbar-title p,
html[data-theme="dark"] #topbar-sub { color: #9ca3af; }
html[data-theme="dark"] .panel,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .mj-box,
html[data-theme="dark"] .home-prompt,
html[data-theme="dark"] .recent-card,
html[data-theme="dark"] .tpl-card,
html[data-theme="dark"] .app-card,
html[data-theme="dark"] .tool-cell,
html[data-theme="dark"] .group-item,
html[data-theme="dark"] .quick-row,
html[data-theme="dark"] .user-pop,
html[data-theme="dark"] .mj-panel,
html[data-theme="dark"] .mj-plus-menu,
html[data-theme="dark"] .auth-modal,
html[data-theme="dark"] .modal-card {
background: #161a24 !important;
border-color: rgba(255, 255, 255, 0.07) !important;
color: #e5e7eb;
}
html[data-theme="dark"] .panel-head,
html[data-theme="dark"] .panel-body,
html[data-theme="dark"] .up-head,
html[data-theme="dark"] .up-grid,
html[data-theme="dark"] .up-sec { border-color: rgba(255, 255, 255, 0.07) !important; }
html[data-theme="dark"] .field,
html[data-theme="dark"] input.field,
html[data-theme="dark"] textarea.field,
html[data-theme="dark"] select.field,
html[data-theme="dark"] .mj-input,
html[data-theme="dark"] .mj-search,
html[data-theme="dark"] .qc-desc {
background: #0d1016 !important;
border-color: rgba(255, 255, 255, 0.09) !important;
color: #e5e7eb !important;
}
html[data-theme="dark"] .field::placeholder,
html[data-theme="dark"] .mj-input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #6b7280 !important; }
html[data-theme="dark"] .data-table th {
background: #1c2029 !important;
color: #9ca3af !important;
border-color: rgba(255, 255, 255, 0.07) !important;
}
html[data-theme="dark"] .data-table td {
border-color: rgba(255, 255, 255, 0.05) !important;
color: #d1d5db;
}
html[data-theme="dark"] .data-table tbody tr:hover { background: rgba(255, 255, 255, 0.03) !important; }
html[data-theme="dark"] .nav-item { color: #cbd5e1; }
html[data-theme="dark"] .nav-item:hover { background: rgba(255, 255, 255, 0.05); }
html[data-theme="dark"] .nav-item.active {
background: linear-gradient(96deg, var(--mc-acc), var(--mc-acc-ink));
color: #fff;
}
html[data-theme="dark"] .nav-group-title { color: #e5e7eb; }
html[data-theme="dark"] .sidebar-copyright { color: #6b7280; }
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3 { color: #f3f4f6; }
html[data-theme="dark"] .field-label { color: #cbd5e1; }
html[data-theme="dark"] .form-row-note,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .muted { color: #9ca3af !important; }
html[data-theme="dark"] .btn-ghost {
background: rgba(255, 255, 255, 0.05) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
color: #e5e7eb !important;
}
html[data-theme="dark"] .btn-ghost:hover { background: rgba(255, 255, 255, 0.1) !important; }
html[data-theme="dark"] .chip {
background: rgba(255, 255, 255, 0.06) !important;
border-color: rgba(255, 255, 255, 0.09) !important;
color: #e5e7eb !important;
}
html[data-theme="dark"] .mj-tabs { background: #1c2029; }
html[data-theme="dark"] .mj-tab { color: #9ca3af; }
html[data-theme="dark"] .mj-tab.on { background: #2a2f3a; color: #c4b5fd; box-shadow: none; }
html[data-theme="dark"] .mj-item:hover { background: rgba(255, 255, 255, 0.04); }
html[data-theme="dark"] .mj-item.on { background: rgba(124, 58, 237, 0.18); }
html[data-theme="dark"] .mj-item .nm { color: #e5e7eb; }
html[data-theme="dark"] .mj-mchip { background: #1c2029; border-color: rgba(255,255,255,.08); color: #cbd5e1; }
html[data-theme="dark"] .mj-mchip.on { background: rgba(124,58,237,.2); border-color: var(--mc-acc); color: #c4b5fd; }
.theme-btn {
width: 2.1rem; height: 2.1rem; border-radius: 50%; cursor: pointer;
border: 1px solid rgba(229, 231, 235, 0.9); background: #fff;
display: inline-flex; align-items: center; justify-content: center;
font-size: 0.95rem; line-height: 1; font-family: inherit;
transition: transform 0.18s, background 0.18s;
}
.theme-btn:hover { transform: scale(1.08); }
html[data-theme="dark"] .theme-btn {
background: #1c2029; border-color: rgba(255, 255, 255, 0.12); color: #fbbf24;
}
.up-btn-primary {
flex: 0 0 auto; cursor: pointer; font-family: inherit;
border: 0; border-radius: 999px; padding: 0.35rem 1rem;
background: linear-gradient(100deg, var(--mc-acc), var(--mc-acc-2)); color: #fff;
font-size: 0.78rem; font-weight: 700;
transition: transform 0.16s, opacity 0.16s;
}
.up-btn-primary:hover { transform: scale(1.04); }
.up-btn-primary.done,
.up-btn-primary:disabled {
background: #e5e7eb; color: #9ca3af; cursor: default; transform: none;
}
html[data-theme="dark"] .up-btn-primary.done,
html[data-theme="dark"] .up-btn-primary:disabled { background: #2a2f3a; color: #6b7280; }
html[data-theme="dark"] { --ink: #e8eaed; --ink-soft: #b6bcc8; --line: rgba(255,255,255,0.1); }
html[data-theme="dark"] .form-row-note,
html[data-theme="dark"] .up-note,
html[data-theme="dark"] .up-meta,
html[data-theme="dark"] .up-card span,
html[data-theme="dark"] .up-soon span,
html[data-theme="dark"] .recent-card .cap,
html[data-theme="dark"] .mj-sub,
html[data-theme="dark"] .home-prompt-foot .hint,
html[data-theme="dark"] .tpl-name,
html[data-theme="dark"] .app-desc,
html[data-theme="dark"] .sec-head .more,
html[data-theme="dark"] .data-table .muted,
html[data-theme="dark"] small,
html[data-theme="dark"] .text-muted {
color: #a8b0bf !important;
}
html[data-theme="dark"] [style*="color:#6b7280"],
html[data-theme="dark"] [style*="color: #6b7280"],
html[data-theme="dark"] [style*="color:#9ca3af"],
html[data-theme="dark"] [style*="color: #9ca3af"] {
color: #a8b0bf !important;
}
html[data-theme="dark"] [style*="color:#4b5563"],
html[data-theme="dark"] [style*="color: #4b5563"],
html[data-theme="dark"] [style*="color:#374151"],
html[data-theme="dark"] [style*="color: #374151"],
html[data-theme="dark"] [style*="color:#111827"],
html[data-theme="dark"] [style*="color: #111827"] {
color: #e8eaed !important;
}
html[data-theme="dark"] [style*="background:#fff"],
html[data-theme="dark"] [style*="background: #fff"],
html[data-theme="dark"] [style*="background:#ffffff"],
html[data-theme="dark"] [style*="background:white"],
html[data-theme="dark"] [style*="background: white"],
html[data-theme="dark"] [style*="background:#f8fafc"],
html[data-theme="dark"] [style*="background: #f8fafc"],
html[data-theme="dark"] [style*="background:#f8f9fc"],
html[data-theme="dark"] [style*="background:#fbfcfe"],
html[data-theme="dark"] [style*="background:#f1f5f9"] {
background: #1a1f2a !important;
}
html[data-theme="dark"] [style*="border:1px solid var(--mc-line)"],
html[data-theme="dark"] [style*="border:1px solid #f1f5f9"],
html[data-theme="dark"] [style*="border-color:#fecaca"] {
border-color: rgba(255,255,255,0.1) !important;
}
html[data-theme="dark"] .studio-side-head,
html[data-theme="dark"] .tool-panel h1,
html[data-theme="dark"] .tool-panel h2,
html[data-theme="dark"] .tool-panel h3,
html[data-theme="dark"] .tool-panel h4,
html[data-theme="dark"] .field-label,
html[data-theme="dark"] .tool-tab,
html[data-theme="dark"] .cs-field > label,
html[data-theme="dark"] label { color: #dfe3ea !important; }
html[data-theme="dark"] .field-note,
html[data-theme="dark"] .cs-note,
html[data-theme="dark"] .form-row-note,
html[data-theme="dark"] .hint,
html[data-theme="dark"] .tool-panel p,
html[data-theme="dark"] .tool-card p { color: #9aa3b2 !important; }
html[data-theme="dark"] .tool-card,
html[data-theme="dark"] .card-glow,
html[data-theme="dark"] .adv-box,
html[data-theme="dark"] .cs-field,
html[data-theme="dark"] .tool-panel,
html[data-theme="dark"] .studio-side,
html[data-theme="dark"] .stage-panel {
background: #161a24 !important;
border-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="dark"] .model-cards > *,
html[data-theme="dark"] .ratio-cards > *,
html[data-theme="dark"] .chip-row > * {
background: #1b2029 !important;
border-color: rgba(255, 255, 255, 0.08) !important;
color: #dfe3ea !important;
}
html[data-theme="dark"] .model-cards > .on,
html[data-theme="dark"] .model-cards > .active,
html[data-theme="dark"] .ratio-cards > .on,
html[data-theme="dark"] .ratio-cards > .active {
background: linear-gradient(120deg, var(--mc-acc-ink), var(--mc-acc)) !important;
border-color: #8b5cf6 !important;
color: #fff !important;
}
html[data-theme="dark"] input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .cs-inputs,
html[data-theme="dark"] .field {
background: #0d1016 !important;
color: #e8eaed !important;
border-color: rgba(255, 255, 255, 0.1) !important;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #6f7889 !important; }
html[data-theme="dark"] .tool-tab,
html[data-theme="dark"] .stage-tabs button,
html[data-theme="dark"] .btn-opt,
html[data-theme="dark"] .btn-clear-prompt {
background: rgba(255, 255, 255, 0.05) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
color: #c3cad6 !important;
}
html[data-theme="dark"] .stage-tabs button:not(.on):not(.active),
html[data-theme="dark"] .tool-tab:not(.on):not(.active),
html[data-theme="dark"] .btn-opt:not(.on):not(.active) {
background: transparent !important;
color: #c3cad6 !important;
}
html[data-theme="dark"] .stage-tabs button.on,
html[data-theme="dark"] .stage-tabs button.active,
html[data-theme="dark"] .tool-tab.on,
html[data-theme="dark"] .tool-tab.active,
html[data-theme="dark"] .btn-opt.on,
html[data-theme="dark"] .btn-opt.active {
color: #fff !important;
}
html[data-theme="dark"] hr,
html[data-theme="dark"] .divider { border-color: rgba(255, 255, 255, 0.08) !important; }
html[data-theme="dark"] ::-webkit-scrollbar { width: 10px; height: 10px; }
html[data-theme="dark"] ::-webkit-scrollbar-track { background: #0d1016; }
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.14); border-radius: 6px;
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }
html[data-theme="dark"] [style*="background:#f3f4f6"],
html[data-theme="dark"] [style*="background: #f3f4f6"],
html[data-theme="dark"] [style*="background:#e5e7eb"],
html[data-theme="dark"] [style*="background:#f9fafb"],
html[data-theme="dark"] [style*="background:#fafafa"],
html[data-theme="dark"] [style*="background:#eee"],
html[data-theme="dark"] [style*="background:rgb(255"],
html[data-theme="dark"] [style*="background: rgb(255"] {
background: #1b2029 !important;
}
.vp-select {
display: flex; align-items: center; gap: 0.7rem; cursor: pointer;
background: #fff; border: 1px solid #e5e7eb; border-radius: 0.85rem;
padding: 0.7rem 0.9rem; transition: border-color 0.16s, box-shadow 0.16s;
}
.vp-select:hover { border-color: #c4b5fd; box-shadow: 0 2px 10px rgba(124,58,237,.08); }
.vp-ico { font-size: 1.3rem; flex: 0 0 auto; line-height: 1; }
.vp-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.vp-txt b { font-size: 0.88rem; font-weight: 800; color: #1f2937; }
.vp-txt i { font-style: normal; font-size: 0.72rem; color: #9ca3af; }
.vp-arrow { flex: 0 0 auto; color: #9ca3af; font-size: 0.8rem; transition: transform 0.18s; }
.vp-select.open .vp-arrow { transform: rotate(180deg); }
.vp-list {
margin-top: 0.4rem; background: #fff;
border: 1px solid var(--mc-line); border-radius: 0.85rem;
box-shadow: 0 12px 32px rgba(15,23,42,.10);
max-height: 320px; overflow-y: auto; padding: 0.3rem;
}
.vp-plat {
display: flex; align-items: center; gap: 0.6rem; cursor: pointer;
padding: 0.6rem 0.7rem; border-radius: 0.7rem; transition: background 0.14s;
}
.vp-plat:hover { background: #f8fafc; }
.vp-plat.on { background: var(--mc-acc-soft); }
.vp-plat .vp-ico { font-size: 1.15rem; }
.vp-plat .vp-txt b { font-size: 0.84rem; }
.vp-plat .vp-ck { color: var(--mc-acc); font-weight: 900; flex: 0 0 auto; }
.vp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.6rem; }
.vp-card {
cursor: pointer; text-align: left; font-family: inherit;
background: #fff; border: 1.5px solid #e5e7eb; border-radius: 0.85rem;
padding: 0.7rem 0.8rem; position: relative;
transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}
.vp-card:hover { border-color: #c4b5fd; transform: translateY(-1px); }
.vp-card.on {
border-color: var(--mc-acc); background: var(--mc-acc-soft);
box-shadow: 0 0 0 3px rgba(var(--mc-shadow-rgb, 124, 58, 237), 0.12);
}
.vp-card b { display: block; font-size: 0.86rem; font-weight: 800; color: #1f2937; }
.vp-card i { display: block; font-style: normal; font-size: 0.72rem; color: #9ca3af; margin-top: 0.15rem; line-height: 1.5; }
.vp-badge {
position: absolute; top: -0.45rem; right: 0.6rem;
font-size: 0.62rem; font-weight: 800; color: #fff;
background: linear-gradient(96deg, #f59e0b, #ef4444);
padding: 0.06rem 0.42rem; border-radius: 999px;
}
.vp-empty { font-size: 0.8rem; color: #9ca3af; padding: 0.6rem 0; }
html[data-theme="dark"] .vp-select,
html[data-theme="dark"] .vp-list,
html[data-theme="dark"] .vp-card { background: #161a24; border-color: rgba(255,255,255,.09); }
html[data-theme="dark"] .vp-txt b,
html[data-theme="dark"] .vp-card b { color: #e8eaed; }
html[data-theme="dark"] .vp-plat:hover { background: rgba(255,255,255,.04); }
html[data-theme="dark"] .vp-plat.on { background: rgba(124,58,237,.18); }
html[data-theme="dark"] .vp-card.on { background: rgba(var(--mc-shadow-rgb, 124, 58, 237), 0.14); border-color: var(--mc-acc); }
html[data-theme="dark"] .btn-ghost,
html[data-theme="dark"]
.cs-shape-wrap,
html[data-theme="dark"]
.drawer,
html[data-theme="dark"]
.gallery-card,
html[data-theme="dark"]
.glass-strong,
html[data-theme="dark"]
.media-modal-box,
html[data-theme="dark"]
.modal-box,
html[data-theme="dark"]
.model-card,
html[data-theme="dark"]
.ratio-card,
html[data-theme="dark"]
.stat-card,
html[data-theme="dark"]
.studio-side-foot,
html[data-theme="dark"]
.user-pop {
background: #1b2029 !important;
border-color: rgba(255, 255, 255, 0.1) !important;
color: #dfe3ea !important;
}
html[data-theme="dark"] .btn-ghost.active,
html[data-theme="dark"]
.cs-shape-wrap.active,
html[data-theme="dark"]
.drawer.active,
html[data-theme="dark"]
.gallery-card.active,
html[data-theme="dark"]
.glass-strong.active,
html[data-theme="dark"]
.media-modal-box.active,
html[data-theme="dark"]
.modal-box.active,
html[data-theme="dark"]
.model-card.active,
html[data-theme="dark"]
.ratio-card.active,
html[data-theme="dark"]
.stat-card.active,
html[data-theme="dark"]
.studio-side-foot.active,
html[data-theme="dark"]
.user-pop.active {
background: rgba(124, 58, 237, 0.22) !important;
border-color: var(--mc-acc) !important;
color: #ffffff !important;
}
html[data-theme="dark"] .style-chip,
html[data-theme="dark"] .size-chip,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .qc-tag,
html[data-theme="dark"] .qc-chip,
html[data-theme="dark"] .tpl-tab,
html[data-theme="dark"] .tpl-card,
html[data-theme="dark"] .tab,
html[data-theme="dark"] .tab-btn,
html[data-theme="dark"] .option-chip,
html[data-theme="dark"] .mode-chip,
html[data-theme="dark"] .duration-chip,
html[data-theme="dark"] .ratio-chip,
html[data-theme="dark"] .quality-chip {
background: #1b2029 !important;
border-color: rgba(255, 255, 255, 0.1) !important;
color: #dfe3ea !important;
}
html[data-theme="dark"] .style-chip.active,
html[data-theme="dark"] .size-chip.active,
html[data-theme="dark"] .chip.active,
html[data-theme="dark"] .qc-tag.on,
html[data-theme="dark"] .qc-chip.on,
html[data-theme="dark"] .tpl-tab.on {
background: rgba(124, 58, 237, 0.25) !important;
border-color: var(--mc-acc) !important;
color: #ffffff !important;
}
html[data-theme="dark"] .style-chip { border-style: dashed; }
html[data-theme="dark"] .chip.on,
html[data-theme="dark"] .chip.active {
background: linear-gradient(100deg, var(--mc-acc), var(--mc-acc-2)) !important;
color: #fff !important;
}
.pb-wrap {
border: 1px solid #e5e7eb; border-radius: 0.9rem; background: #fff;
padding: 0.5rem 0.6rem 0.45rem; transition: border-color 0.16s, box-shadow 0.16s;
}
.pb-wrap:focus-within { border-color: #c4b5fd; box-shadow: 0 0 0 3px rgba(124,58,237,.08); }
.pb-top { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; min-height: 1.9rem; }
.pb-thumbs { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.pb-plus {
flex: 0 0 auto; width: 1.9rem; height: 1.9rem; border-radius: 0.55rem; cursor: pointer;
border: 1.5px dashed #cbb8ff; background: #faf5ff; color: #8b5cf6;
font-size: 1.05rem; line-height: 1; font-weight: 300;
display: flex; align-items: center; justify-content: center;
transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
.pb-plus:hover { background: #f3e8ff; border-color: #a78bfa; transform: scale(1.06); }
.pb-count {
margin-left: auto; font-size: 0.74rem; color: #9ca3af;
font-variant-numeric: tabular-nums; pointer-events: none; white-space: nowrap;
}
.pb-wrap .pb-input {
border: 0 !important; box-shadow: none !important; background: transparent !important;
padding: 0.5rem 0.15rem 0.35rem !important; min-height: 6.5rem; resize: vertical;
width: 100%; outline: none !important;
}
.pb-foot {
display: flex; align-items: center; justify-content: space-between;
gap: 0.5rem; padding-top: 0.45rem; border-top: 1px solid #f1f3f7;
}
.pb-tools, .pb-right { display: flex; align-items: center; gap: 0.4rem; }
.pb-len { font-size: 0.72rem; color: #b6bcc8; font-variant-numeric: tabular-nums; }
.pb-foot .btn-opt { font-size: 0.76rem; padding: 0.28rem 0.6rem; }
.pb-wrap .ref-item { position: relative; width: 1.9rem; height: 1.9rem; flex: 0 0 auto; }
.pb-wrap .ref-item img {
width: 100%; height: 100%; object-fit: cover; border-radius: 0.45rem;
border: 1px solid #e5e7eb; display: block;
transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.pb-wrap .ref-item:hover img {
transform: scale(4.2); transform-origin: left bottom;
box-shadow: 0 14px 36px rgba(15,23,42,.30);
border-color: #a78bfa; position: relative; z-index: 40; border-radius: 0.5rem;
}
.pb-wrap .ref-item .ref-del {
position: absolute; top: -0.28rem; right: -0.28rem; z-index: 50;
width: 1rem; height: 1rem; border-radius: 50%; border: 0;
background: rgba(15,23,42,.75); color: #fff; cursor: pointer;
font-size: 0.58rem; line-height: 1; display: flex; align-items: center; justify-content: center;
opacity: 0; transition: opacity 0.14s;
}
.pb-wrap .ref-item:hover .ref-del { opacity: 1; }
.pb-wrap .ref-item .ref-del:hover { background: #dc2626; }
html[data-theme="dark"] .pb-wrap { background: #161a24; border-color: rgba(255,255,255,.09); }
html[data-theme="dark"] .pb-wrap:focus-within { border-color: var(--mc-acc); }
html[data-theme="dark"] .pb-plus { background: #1b2029; border-color: #4c1d95; color: #c4b5fd; }
html[data-theme="dark"] .pb-plus:hover { background: #241b3a; }
html[data-theme="dark"] .pb-count { color: #6b7280; }
html[data-theme="dark"] .pb-foot { border-top-color: rgba(255,255,255,.07); }
html[data-theme="dark"] .pb-len { color: #6b7280; }
html[data-theme="dark"] .pb-wrap .ref-item img { border-color: rgba(255,255,255,.12); }
.field-label .req {
color: #ef4444; font-weight: 900; margin-right: 0.15rem;
}
.field-label .q {
position: relative; display: inline-flex;
align-items: center; justify-content: center;
width: 0.95rem; height: 0.95rem; margin-left: 0.3rem;
border-radius: 50%; border: 1px solid #cbd2dd; color: #9ca3af;
font-size: 0.62rem; font-weight: 700; font-style: normal;
cursor: help; vertical-align: middle; line-height: 1;
transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.field-label .q:hover { border-color: #a78bfa; color: var(--mc-acc); background: var(--mc-acc-soft); }
.field-label .q::after {
content: attr(data-tip);
position: absolute; left: 0; top: calc(100% + 0.45rem);
display: block; width: 14rem; max-width: 14rem;
background: #1f2937; color: #f3f4f6;
font-size: 0.72rem; font-weight: 400; line-height: 1.65;
padding: 0.45rem 0.65rem; border-radius: 0.5rem;
white-space: normal; text-align: left;
box-shadow: 0 10px 26px rgba(15, 23, 42, 0.28);
opacity: 0; pointer-events: none; z-index: 200;
transform: translateY(-0.15rem);
transition: opacity 0.16s, transform 0.16s;
}
.field-label .q::before {
content: ""; position: absolute; left: 0.3rem; top: calc(100% + 0.16rem);
border: 0.28rem solid transparent; border-bottom-color: #1f2937;
opacity: 0; pointer-events: none; z-index: 201;
transition: opacity 0.16s;
}
.field-label .q:hover::after { opacity: 1; transform: translateY(0); }
.field-label .q:hover::before { opacity: 1; }
html[data-theme="dark"] .field-label .q { border-color: rgba(255,255,255,.18); color: #8b93a3; }
html[data-theme="dark"] .field-label .q:hover { border-color: var(--mc-acc); color: #c4b5fd; background: #1b2029; }
html[data-theme="dark"] .field-label .q::after { background: #0d1016; color: #e8eaed; box-shadow: 0 10px 26px rgba(0,0,0,.5); }
html[data-theme="dark"] .field-label .q::before { border-bottom-color: #0d1016; }
.pb-wrap .dropzone {
display: flex; align-items: center; justify-content: center;
min-height: 1.9rem; width: 1.9rem; height: 1.9rem; padding: 0;
border-radius: 0.55rem; border: 1.5px dashed #e5e7eb; background: #fafbfd;
overflow: hidden; flex: 0 0 auto;
}
.pb-wrap .dropzone:hover { border-color: #c4b5fd; background: var(--mc-acc-soft); }
.pb-wrap .dropzone > div { display: none; }
.pb-wrap .dropzone img { width: 100%; height: 100%; object-fit: cover; }
html[data-theme="dark"] .pb-wrap .dropzone { background: #12161e; border-color: rgba(255,255,255,.1); }
.pb-inline { display: contents; }
.pb-inline.hidden { display: none; }
.ui-cf-mask {
position: fixed; inset: 0; z-index: 99999;
display: flex; align-items: center; justify-content: center;
background: rgba(15, 23, 42, 0.42);
backdrop-filter: blur(3px);
opacity: 0; transition: opacity 0.16s;
padding: 1rem;
}
.ui-cf-mask.on { opacity: 1; }
.ui-cf-box {
width: 100%; max-width: 24rem;
background: #fff; border-radius: 1rem;
box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
transform: translateY(0.6rem) scale(0.97);
transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.3, 1.2);
overflow: hidden;
}
.ui-cf-mask.on .ui-cf-box { transform: translateY(0) scale(1); }
.ui-cf-head {
display: flex; align-items: center; gap: 0.5rem;
padding: 0.95rem 1.1rem 0.5rem;
font-size: 0.95rem; font-weight: 800; color: #1f2937;
}
.ui-cf-ico { font-size: 1.1rem; line-height: 1; }
.ui-cf-box.danger .ui-cf-head b { color: #b91c1c; }
.ui-cf-body {
padding: 0 1.1rem 1rem;
font-size: 0.86rem; line-height: 1.75; color: #4b5563;
max-height: 46vh; overflow-y: auto;
}
.ui-cf-body > div + div { margin-top: 0.2rem; }
.ui-cf-field { margin-top: 0.7rem; }
.ui-cf-label {
display: block; font-size: 0.76rem; font-weight: 700;
color: #6b7280; margin-bottom: 0.25rem;
}
.ui-cf-input {
width: 100%; box-sizing: border-box;
font-family: inherit; font-size: 0.88rem;
padding: 0.5rem 0.65rem; color: #1f2937; background: #fff;
border: 1.5px solid #e5e7eb; border-radius: 0.6rem;
transition: border-color .15s, box-shadow .15s;
}
.ui-cf-input:focus {
outline: none; border-color: var(--mc-acc-2);
box-shadow: 0 0 0 3px rgba(168,85,247,.14);
}
html[data-theme="dark"] .ui-cf-label { color: #9ca3af; }
html[data-theme="dark"] .ui-cf-input {
background: #0d1016; border-color: rgba(255,255,255,.12); color: #e8eaed;
}
html[data-theme="dark"] .ui-cf-input:focus { border-color: var(--mc-acc-2); }
.gc-prompt-head {
display: flex; align-items: center; justify-content: space-between;
margin: 0.5rem 0 0.25rem;
font-size: 0.72rem; font-weight: 700; color: #6b7280;
}
.gc-copy {
display: inline-flex; align-items: center; justify-content: center;
width: 24px; height: 24px; cursor: pointer;
font-size: 0.82rem; line-height: 1;
color: var(--mc-acc); background: rgba(124,58,237,.08);
border: 1px solid rgba(124,58,237,.18); border-radius: 0.4rem;
transition: background .15s;
}
.gc-copy:hover { background: rgba(124,58,237,.16); }
html[data-theme="dark"] .gc-prompt-head { color: #9ca3af; }
.work-list {
display: flex !important;
flex-direction: column;
gap: 1rem;
grid-template-columns: none !important;
}
.work-row {
background: #fff;
border: 1px solid var(--mc-line);
border-radius: 1rem;
padding: 0.85rem 1rem 1rem;
transition: box-shadow .18s, border-color .18s;
}
.work-row:hover { border-color: #e3e7f0; box-shadow: 0 6px 22px rgba(17,24,39,.06); }
.work-row-head {
display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
margin-bottom: 0.5rem;
}
.wr-chip {
font-size: 0.7rem; font-weight: 700;
padding: 0.16rem 0.5rem; border-radius: 999px;
color: var(--mc-acc); background: rgba(var(--mc-shadow-rgb, 124, 58, 237), 0.10);
}
.wr-chip-type { color: #2563eb; background: rgba(37,99,235,.1); }
.wr-time { font-size: 0.72rem; color: #9ca3af; }
.wr-id {
font-size: 0.68rem; color: #b0b6c3;
font-family: ui-monospace, Menlo, Consolas, monospace;
max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.work-row-actions { margin-left: auto; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.wr-btn {
display: inline-flex; align-items: center; gap: 0.22rem;
font-size: 0.74rem; font-weight: 600; line-height: 1;
padding: 0.36rem 0.66rem; cursor: pointer;
color: #4b5563; background: #f6f7fb;
border: 1px solid #e9ecf3; border-radius: 0.5rem;
text-decoration: none;
transition: background .15s, border-color .15s, color .15s;
}
.wr-btn:hover { background: #eef0f7; border-color: #dfe3ee; }
.wr-btn.primary { color: #fff; background: var(--mc-acc); border-color: var(--mc-acc); }
.wr-btn.primary:hover { background: var(--mc-acc-ink); border-color: var(--mc-acc-ink); }
.wr-btn.danger { color: #dc2626; }
.wr-btn.danger:hover { background: #fef2f2; border-color: #fecaca; }
.work-row-social {
display: flex; align-items: center; gap: 0.4rem;
margin-top: 0.5rem;
}
.wr-act {
display: inline-flex; align-items: center; gap: 0.26rem;
font-size: 0.74rem; font-weight: 600; line-height: 1;
padding: 0.34rem 0.6rem; cursor: pointer;
color: #6b7280; background: #f6f7fb;
border: 1px solid #e9ecf3; border-radius: 0.5rem;
transition: background .15s, border-color .15s, color .15s;
font-variant-numeric: tabular-nums;
}
.wr-act:hover { background: #eef0f7; border-color: #dfe3ee; }
.wr-act .wr-act-ico { font-size: 0.86rem; line-height: 1; }
.wr-act .wr-act-n { min-width: 0.9em; text-align: left; }
.wr-act.on[data-act="like"],
.wr-act.on[data-sq="like"] { color: #e11d48; background: #fff1f4; border-color: #fecdd3; }
.wr-act.on[data-act="like"]:hover,
.wr-act.on[data-sq="like"]:hover { background: #ffe4e9; }
.wr-act.on[data-act="fav"],
.wr-act.on[data-sq="fav"] { color: #d97706; background: #fffbeb; border-color: #fde68a; }
.wr-act.on[data-act="fav"]:hover,
.wr-act.on[data-sq="fav"]:hover { background: #fef3c7; }
.wr-act.on[data-dislike] { color: #6b7280; background: #f3f4f6; border-color: #d1d5db; }
.wr-act.on[data-dislike]:hover { background: #e5e7eb; }
html[data-theme="dark"] .wr-act.on[data-dislike] {
color: #e5e7eb; background: #2a3140; border-color: rgba(255,255,255,.18);
}
html[data-theme="dark"] .wr-act { color: #c3cad6; background: #1b2029; border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .wr-act:hover { background: #232936; }
.wr-more > [data-more] { position: relative; }
.wr-more > [data-more]::after {
content: '更多操作';
position: absolute;
right: 0;
bottom: calc(100% + .45rem);
white-space: nowrap;
padding: .3rem .6rem;
border-radius: .5rem;
background: #fff;
color: #374151;
font-size: .72rem;
font-weight: 600;
line-height: 1.2;
border: 1px solid #e9ecf3;
box-shadow: 0 6px 18px #1018281f;
opacity: 0;
pointer-events: none;
transition: opacity .12s ease;
}
.wr-more > [data-more]:hover::after,
.wr-more > [data-more]:focus-visible::after { opacity: 1; }
html[data-theme="dark"] .wr-more > [data-more]::after {
background: #232936; color: #dfe3ea; border-color: rgba(255,255,255,.14);
}
.work-row-prompt {
margin: 0 0 0.55rem; font-size: 0.82rem; line-height: 1.65; color: #4b5563;
display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.work-row-img { border-radius: 0.7rem; overflow: hidden; background: #f6f7fb; display: inline-block; max-width: 100%; }
.work-row-img.is-media {
position: relative;
width: 300px; height: 200px;
display: inline-flex; flex-direction: column;
align-items: center; justify-content: center; gap: 0.3rem;
cursor: pointer;
}
.work-row-img.is-media .wr-media-ico { font-size: 2.6rem; line-height: 1; }
.work-row-img.is-media small { font-size: 0.72rem; color: #9ca3af; }
.work-row-img.is-media .wr-media-play {
position: absolute; right: 0.6rem; bottom: 0.6rem;
width: 34px; height: 34px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-size: 0.8rem; color: #fff; background: var(--mc-acc);
box-shadow: 0 4px 12px rgba(124,58,237,.4);
}
.work-row-img.is-media:hover .wr-media-play { background: var(--mc-acc-ink); }
.work-row-img > img {
display: block; width: auto; height: auto;
max-width: 300px;
max-height: 300px;
object-fit: contain;
cursor: zoom-in;
border-radius: 0.7rem;
}
@media (max-width: 720px) {
.work-row-img > img { max-width: 100%; max-height: 42vh; }
}
.work-row-thumbs,
.gc-thumbs {
display: flex; flex-wrap: nowrap; gap: 0.35rem;
margin-top: 0.55rem;
overflow-x: auto;
padding-bottom: 0.15rem;
scrollbar-width: thin;
}
.work-row-thumbs:empty,
.gc-thumbs:empty { display: none; margin: 0; }
.work-row-thumbs .wr-thumb,
.gc-thumbs .wr-thumb {
flex: 0 0 auto;
width: 58px; height: 58px;
border-radius: 0.5rem;
overflow: hidden;
border: 1px solid #e9ecf3;
background: #f6f7fb;
display: block;
transition: border-color .15s, transform .15s;
padding: 0;
cursor: zoom-in;
font: inherit;
line-height: 0;
-webkit-appearance: none;
appearance: none;
}
.work-row-thumbs .wr-thumb:hover,
.gc-thumbs .wr-thumb:hover {
border-color: #a78bfa;
transform: translateY(-1px);
}
.work-row-thumbs .wr-thumb img,
.gc-thumbs .wr-thumb img {
width: 100%; height: 100%; object-fit: cover;
display: block;
}
.work-row-tools {
display: flex; gap: 0.4rem; flex-wrap: wrap;
margin-top: 0.7rem; padding-top: 0.7rem;
border-top: 1px dashed var(--mc-line);
}
.sq-btn {
display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem;
min-height: 32px; padding: 0.32rem 0.7rem;
border-radius: 0.55rem; border: 1px solid #e9ecf3; background: #fff;
color: #4b5563; font-size: 0.76rem; font-weight: 600;
text-decoration: none; cursor: pointer;
transition: background .15s, border-color .15s, color .15s;
}
.sq-btn:hover { background: #f6f7fb; border-color: #dfe3ee; }
html[data-theme="dark"] .sq-btn { background: #1c2130; border-color: rgba(255,255,255,.1); color: #c4cad6; }
html[data-theme="dark"] .sq-btn:hover { background: #232a3b; }
html[data-theme="dark"] .work-row { background: #161a24; border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .work-row:hover { border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .work-row-prompt { color: #b6bcc8; }
html[data-theme="dark"] .work-row-img { background: #0d1016; }
html[data-theme="dark"] .work-row-tools { border-top-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .wr-btn { color: #c4cad6; background: #1c2130; border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .wr-btn:hover { background: #232a3b; }
html[data-theme="dark"] .wr-btn.primary { color: #fff; background: var(--mc-acc); border-color: var(--mc-acc); }
html[data-theme="dark"] .wr-btn.danger { color: #f87171; }
html[data-theme="dark"] .wr-id { color: #6b7280; }
.ui-cf-image { margin-top: 0.7rem; text-align: center; }.ui-cf-image img {
display: block; margin: 0 auto; max-width: 100%; width: 160px;
border-radius: 0.6rem; border: 1px solid var(--mc-line); background: #fff;
}
.ui-cf-image > span {
display: block; margin-top: 0.3rem;
font-size: 0.72rem; color: #9ca3af;
}
html[data-theme="dark"] .ui-cf-image img { border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .ui-cf-image > span { color: #6b7280; }
.img-lb-mask { padding: 0; }
.img-lb-stage > img { transition: transform .13s ease-out; cursor: grab; touch-action: none; }
.img-lb-stage > img.dragging { transition: none; cursor: grabbing; }
.img-lb-stage > img.fill { width: 100%; height: 100%; object-fit: cover; }
.lb-tool.on { background: var(--mc-acc-line); border-color: #c4b5fd; color: var(--mc-acc-ink); }
.img-lb {
position: relative;
display: flex; align-items: center; justify-content: center;
gap: 0.75rem;
width: min(1180px, 94vw);
height: min(780px, 88vh);
background: #fff;
border-radius: 1rem;
box-shadow: 0 30px 80px rgba(0,0,0,.42);
padding: 1rem 0.9rem 3.6rem;
box-sizing: border-box;
overflow: hidden;
}
html[data-theme="dark"] .img-lb { background: #12161e; }
.img-lb-stage {
flex: 1 1 auto; min-width: 0; height: 100%;
display: flex; align-items: center; justify-content: center;
overflow: hidden;
}
.img-lb-stage > img {
max-width: 100%; max-height: 100%;
border-radius: 0.6rem;
transition: transform .12s ease-out;
transform-origin: center center;
cursor: zoom-in;
}
.img-lb-side {
flex: 0 0 auto;
display: flex; flex-direction: column; gap: 0.45rem;
max-height: 100%; overflow-y: auto;
padding: 0.3rem;
}
.img-lb-thumbs { width: 104px; }
.img-lb-tools { width: 58px; align-items: center; }
.img-lb-thumbs .lb-thumb {
display: block; width: 100%; padding: 0; cursor: pointer;
background: transparent; border: 2px solid transparent; border-radius: 0.5rem;
overflow: hidden; line-height: 0;
transition: border-color .15s, transform .15s;
}
.img-lb-thumbs .lb-thumb img { width: 100%; display: block; border-radius: 0.4rem; }
.img-lb-thumbs .lb-thumb:hover { transform: translateY(-2px); }
.img-lb-thumbs .lb-thumb.on { border-color: var(--mc-acc-2); }
.lb-tool {
width: 36px; height: 36px; flex: 0 0 auto;
display: flex; align-items: center; justify-content: center;
font-size: 0.92rem; cursor: pointer;
color: #4b5563; background: #f6f7fb;
border: 1px solid #e9ecf3; border-radius: 0.55rem;
transition: background .15s, transform .15s;
}
.lb-tool:hover:not(:disabled) { background: #eef0f7; transform: translateY(-1px); }
.lb-tool:disabled { opacity: .35; cursor: default; }
.lb-zoom {
font-size: 0.7rem; font-weight: 700; color: #6b7280;
background: #f6f7fb; border: 1px solid #e9ecf3; border-radius: 0.45rem;
padding: 0.2rem 0.4rem; min-width: 38px; text-align: center;
}
.lb-close {
position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
font-size: 0.92rem; cursor: pointer;
color: #6b7280; background: #f6f7fb;
border: 1px solid #e9ecf3; border-radius: 50%;
}
.lb-close:hover { background: #eef0f7; color: #111827; }
.img-lb-foot {
position: absolute; left: 50%; bottom: 0.85rem; transform: translateX(-50%);
display: flex; align-items: center; gap: 0.5rem;
padding: 0.35rem 0.6rem;
background: #f6f7fb;
border: 1px solid #e9ecf3; border-radius: 999px;
}
.lb-count { font-size: 0.74rem; color: #6b7280; padding: 0 .3rem; }
.lb-prompt {
position: absolute; left: 0.9rem; right: 0.9rem; bottom: 3.4rem;
margin: 0;
font-size: 0.74rem; line-height: 1.6; color: #9ca3af;
text-align: center;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 760px) {
.img-lb { padding: 0.6rem 0.4rem 4.2rem; gap: 0.3rem; }
.img-lb-side { display: none; }
.img-lb-foot { bottom: 2.6rem; }
}
.ui-cf-foot {
display: flex; gap: 0.5rem; justify-content: flex-end;
padding: 0.75rem 1.1rem 1rem; background: #fafbfd;
border-top: 1px solid #f1f3f7;
}
.ui-cf-btn {
font-family: inherit; font-size: 0.84rem; font-weight: 700;
padding: 0.5rem 1.15rem; border-radius: 0.6rem; cursor: pointer;
border: 1px solid transparent; transition: filter 0.15s, background 0.15s, border-color 0.15s;
}
.ui-cf-btn.ghost { background: #fff; border-color: #e5e7eb; color: #4b5563; }
.ui-cf-btn.ghost:hover { background: #f3f4f6; }
.ui-cf-btn.primary {
background: linear-gradient(96deg, var(--mc-acc), var(--mc-acc-2)); color: #fff;
box-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
}
.ui-cf-btn.primary:hover { filter: brightness(1.08); }
.ui-cf-btn.danger {
background: linear-gradient(96deg, #dc2626, #ef4444); color: #fff;
box-shadow: 0 4px 14px rgba(220, 38, 38, 0.28);
}
.ui-cf-btn.danger:hover { filter: brightness(1.08); }
html[data-theme="dark"] .ui-cf-mask { background: rgba(0, 0, 0, 0.62); }
html[data-theme="dark"] .ui-cf-box { background: #161a24; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .ui-cf-head { color: #e8eaed; }
html[data-theme="dark"] .ui-cf-body { color: #b6bcc8; }
html[data-theme="dark"] .ui-cf-foot { background: #12161e; border-top-color: rgba(255,255,255,.07); }
html[data-theme="dark"] .ui-cf-btn.ghost { background: #1b2029; border-color: rgba(255,255,255,.12); color: #cfd6e2; }
html[data-theme="dark"] .ui-cf-btn.ghost:hover { background: #222836; }
.q {
position: relative; display: inline-flex;
align-items: center; justify-content: center;
width: 0.95rem; height: 0.95rem; margin-left: 0.28rem;
border-radius: 50%; border: 1px solid #cbd2dd; color: #9ca3af;
font-size: 0.62rem; font-weight: 700; font-style: normal;
cursor: help; vertical-align: middle; line-height: 1; flex: 0 0 auto;
transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.q:hover { border-color: #a78bfa; color: var(--mc-acc); background: var(--mc-acc-soft); }
.q::after {
content: attr(data-tip);
position: absolute; left: 0; top: calc(100% + 0.45rem);
display: block; width: 14rem; max-width: 14rem;
background: #1f2937; color: #f3f4f6;
font-size: 0.72rem; font-weight: 400; line-height: 1.65;
padding: 0.45rem 0.65rem; border-radius: 0.5rem;
white-space: normal; text-align: left;
box-shadow: 0 10px 26px rgba(15, 23, 42, 0.28);
opacity: 0; pointer-events: none; z-index: 200;
transform: translateY(-0.15rem);
transition: opacity 0.16s, transform 0.16s;
}
.q::before {
content: ""; position: absolute; left: 0.3rem; top: calc(100% + 0.16rem);
border: 0.28rem solid transparent; border-bottom-color: #1f2937;
opacity: 0; pointer-events: none; z-index: 201;
transition: opacity 0.16s;
}
.q:hover::after { opacity: 1; transform: translateY(0); }
.q:hover::before { opacity: 1; }
html[data-theme="dark"] .q { border-color: rgba(255,255,255,.18); color: #8b93a3; }
html[data-theme="dark"] .q:hover { border-color: var(--mc-acc); color: #c4b5fd; background: #1b2029; }
html[data-theme="dark"] .q::after { background: #0d1016; color: #e8eaed; }
html[data-theme="dark"] .q::before { border-bottom-color: #0d1016; }
.up-vip-btn {
flex: 0 0 auto; cursor: pointer; text-decoration: none; white-space: nowrap;
border-radius: 999px; padding: 0.35rem 1rem;
background: #fff; color: var(--mc-acc);
font-size: 0.78rem; font-weight: 800;
transition: transform 0.16s, box-shadow 0.16s;
}
.up-vip-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22); color: var(--mc-acc-ink); }
.up-ghost {
flex: 1 1 0; text-align: center; text-decoration: none; cursor: pointer;
border: 1px solid #e5e7eb; border-radius: 0.65rem;
padding: 0.45rem 0.8rem; background: #fff; color: #4b5563;
font-size: 0.8rem; font-weight: 700;
transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.up-ghost:hover { border-color: #c4b5fd; color: var(--mc-acc); background: var(--mc-acc-soft); }
html[data-theme="dark"] .up-ghost {
background: #1b2029; border-color: rgba(255, 255, 255, 0.12); color: #cfd6e2;
}
html[data-theme="dark"] .up-ghost:hover { border-color: var(--mc-acc); color: #c4b5fd; background: #241b3a; }
html[data-theme="dark"] .up-vip-btn { background: #fff; color: var(--mc-acc-ink); }
@media (max-width: 640px) {
.wr-act,
.btn-opt,
.tool-tab,
.wr-btn,
.btn-sm { min-height: 44px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
textarea,
select { font-size: 16px; }
.tool-panel { display: flex; flex-direction: column; }
.tool-panel > .studio-side { order: 1; }
.tool-panel > .studio-stage { order: 2; }
}
.vanity-pool {
display: flex;
flex-wrap: wrap;
gap: 0.3rem;
max-height: 320px;
overflow-y: auto;
padding: 0.55rem;
border: 1px solid #e9ecf3;
border-radius: 0.7rem;
background: #fbfcfe;
}
.vanity-chip {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.74rem;
padding: 0.18rem 0.4rem;
border-radius: 0.4rem;
border: 1px solid #d1fae5;
background: #ecfdf5;
color: #047857;
cursor: pointer;
}
.vanity-chip:hover { border-color: #6ee7b7; }
.vanity-chip.on {
border-color: #bfdbfe;
background: #eff6ff;
color: #1d4ed8;
}
html[data-theme="dark"] .vanity-pool { background: #12161e; border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .vanity-chip { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.3); color: #6ee7b7; }
html[data-theme="dark"] .vanity-chip.on { background: rgba(59,130,246,.14); border-color: rgba(59,130,246,.34); color: #93c5fd; }
@media (max-width: 768px) {
.work-row-tools {
flex-wrap: nowrap;
gap: 0.3rem;
}
.work-row-tools .wr-btn {
flex: 1 1 0;
min-width: 0;
justify-content: center;
min-height: 42px;
padding-left: 0.25rem;
padding-right: 0.25rem;
font-size: 0.72rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sq-btn { min-height: 40px; }
}
@media (max-width: 768px) {
.icon-btn { width: 44px; height: 44px; font-size: 1.05rem; }
.wr-act { min-height: 44px; padding-top: 0; padding-bottom: 0; }
.lb-tool { width: 44px; height: 44px; }
.gc-copy { min-width: 44px; min-height: 44px; }
.wr-more [data-more-act] { min-height: 44px; }
.form-grid { grid-template-columns: 1fr !important; }
.admin-section-head {
flex-direction: column;
align-items: stretch;
gap: 0.6rem;
}
.admin-section-head > div:last-child { display: flex; gap: 0.5rem; }
.admin-section-head .btn { flex: 1 1 auto; justify-content: center; }
.topbar-title h1 { font-size: 0.95rem; }
.topbar-title p { font-size: 0.74rem; }
}
.gc-cmp {
display: flex;
gap: 0.7rem;
align-items: stretch;
padding: 0.7rem 0.8rem 0;
}
.gc-cmp-half {
flex: 1 1 50%;
min-width: 0;
display: flex;
flex-direction: column;
gap: 0.35rem;
}
.gc-cmp-label { font-size: 0.72rem; color: #6b7280; font-weight: 700; }
.gc-cmp-label b { color: var(--mc-acc-ink); }
.gc-cmp-none {
font-size: 0.72rem;
color: #9ca3af;
border: 1px dashed #e5e7eb;
border-radius: 0.5rem;
padding: 0.8rem;
text-align: center;
}
.gc-cmp-srcimg {
display: block;
width: 100%;
padding: 0;
border: 1px solid #eceef3;
border-radius: 0.5rem;
overflow: hidden;
background: #fff;
cursor: zoom-in;
line-height: 0;
}
.gc-cmp-srcimg img { width: 100%; display: block; }
.gc-cmp-src { margin: 0; flex: 0 0 34%; max-width: 220px; }
.gc-cmp-outs { flex: 1 1 auto; min-width: 0; }
.gc-cmp-head { font-size: 0.72rem; color: #6b7280; margin-bottom: 0.35rem; }
.gc-cmp-head b { color: var(--mc-acc-ink); }
.gc-cmp-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.35rem;
}
.gc-cmp-thumb {
padding: 0;
line-height: 0;
cursor: zoom-in;
background: #fff;
border: 1px solid #eceef3;
border-radius: 0.4rem;
overflow: hidden;
}
.gc-cmp-thumb img {
width: 100%;
height: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
display: block;
}
.gc-cmp-more { font-size: 0.7rem; color: #9ca3af; align-self: center; }
.lb-thumb.on,
.lb-thumb.is-on,
.lb-thumb.active {
border-color: var(--mc-acc-ink) !important;
box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.4);
position: relative;
z-index: 2;
}
@media (max-width: 768px) {
.gc-cmp { flex-direction: column; }
.gc-cmp-src { flex: 0 0 auto; width: 100%; max-width: none; }
.gc-cmp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
#blk-upload #cb-thumbs,
#cb-mthumb {
display: flex;
gap: 0.55rem;
flex: 0 0 auto;
min-width: 0;
overflow: visible;
}
#blk-upload .thumb,
#cb-mthumb .thumb {
position: relative;
flex: 0 0 auto;
width: 76px;
height: 76px;
border: 1px solid #e6e8f0;
border-radius: 0.6rem;
background: #fff;
overflow: hidden;
transition: transform 0.16s ease, box-shadow 0.16s ease;
}
#blk-upload .thumb img,
#cb-mthumb .thumb img {
width: 100%;
height: 100%;
max-width: 100%;
max-height: 100%;
object-fit: cover;
display: block;
}
#blk-upload .thumb button[data-rm],
#cb-mthumb .thumb button[data-rmmodel] {
position: absolute;
top: 2px;
right: 2px;
width: 18px;
height: 18px;
padding: 0;
line-height: 16px;
font-size: 13px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.9);
background: rgba(239, 68, 68, 0.92);
color: #fff;
cursor: pointer;
z-index: 3;
}
#blk-upload .thumb:hover,
#cb-mthumb .thumb:hover {
transform: scale(1.35);
z-index: 40;
box-shadow: 0 12px 32px rgba(15, 23, 42, 0.3);
}
#blk-upload #cb-thumbs {
align-items: flex-start;
height: auto;
margin: 0;
}
#blk-upload .thumb {
margin: 0;
box-sizing: border-box;
}
#blk-upload .thumb img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
#blk-upload {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 0.55rem;
min-height: 92px;
overflow: visible;
}
#blk-upload .ec-up {
order: 0;
flex: 1 1 auto;
width: 100%;
max-width: none;
height: auto;
}
#blk-upload .ec-up small { display: block; }
#blk-upload #cb-thumbs {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
order: 0;
flex: 0 0 auto;
min-width: 0;
height: auto;
margin: 0;
overflow: visible;
}
#blk-upload .thumb,
#cb-mthumb .thumb {
position: relative;
flex: 0 0 auto;
width: 76px;
height: 76px;
border: 1px solid #e6e8f0;
border-radius: 0.6rem;
background: #fff;
overflow: hidden;
transition: transform 0.16s ease, box-shadow 0.16s ease;
}
#blk-upload .thumb img,
#cb-mthumb .thumb img {
width: 100%;
height: 100%;
max-width: 100%;
max-height: 100%;
object-fit: cover;
display: block;
}
#blk-upload .thumb button[data-rm],
#cb-mthumb .thumb button[data-rmmodel] {
position: absolute;
top: 2px;
right: 2px;
width: 18px;
height: 18px;
padding: 0;
line-height: 16px;
font-size: 13px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.9);
background: rgba(239, 68, 68, 0.92);
color: #fff;
cursor: pointer;
z-index: 3;
}
#blk-upload .thumb:hover,
#cb-mthumb .thumb:hover {
transform: scale(1.35);
z-index: 40;
box-shadow: 0 12px 32px rgba(15, 23, 42, 0.3);
}
@media (max-width: 768px) {
#blk-upload .thumb,
#cb-mthumb .thumb { width: 64px; height: 64px; }
#blk-upload .thumb:hover,
#cb-mthumb .thumb:hover { transform: scale(1.3); }
}
.img-lb {
display: flex; align-items: stretch;
width: min(1280px, 95vw);
height: min(820px, 90vh);
padding: 0; gap: 0; overflow: hidden;
}
.lbm-main { position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; background: #f7f8fc; }
.lbm-tabs { display: flex; gap: .4rem; padding: .7rem .8rem .35rem; }
.lbm-tab {
font-family: inherit; font-size: .8rem; font-weight: 700; cursor: pointer;
padding: .34rem .9rem; border-radius: .55rem;
background: #fff; border: 1px solid #e5e7eb; color: #6b7280;
}
.lbm-tab.on { background: var(--mc-acc); border-color: var(--mc-acc); color: #fff; }
.img-lb-stage {
position: relative; flex: 1 1 auto; min-height: 0;
display: flex; align-items: center; justify-content: center;
overflow: hidden; padding: .4rem .8rem 1.1rem;
}
.img-lb-stage > img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-float {
position: absolute; left: 50%; bottom: .9rem; transform: translateX(-50%);
display: flex; align-items: center; gap: .35rem;
padding: .3rem .45rem; border-radius: 999px;
background: rgba(255,255,255,.94); border: 1px solid #e9ecf3;
box-shadow: 0 8px 24px rgba(15,23,42,.14);
backdrop-filter: blur(8px);
}
.lb-arrow {
position: absolute; top: 50%; transform: translateY(-50%);
width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
display: flex; align-items: center; justify-content: center;
font-size: 1.4rem; line-height: 1; color: #4b5563;
background: rgba(255,255,255,.92); border: 1px solid #e9ecf3;
box-shadow: 0 6px 18px rgba(15,23,42,.12);
}
.lb-arrow:hover { background: #fff; color: var(--mc-acc); }
.lb-arrow[disabled] { opacity: .35; cursor: default; }
.lb-arrow.prev { left: .8rem; }
.lb-arrow.next { right: .8rem; }
.lbm-side {
flex: 0 0 296px; width: 296px; min-width: 0;
display: flex; flex-direction: column;
background: #fff; border-left: 1px solid var(--mc-line);
overflow-y: auto;
}
.lbm-side-head { padding: .9rem 1rem .7rem; border-bottom: 1px solid #f1f5f9; }
.lbm-side-title { display: flex; align-items: center; justify-content: space-between; }
.lbm-side-title b { font-size: .95rem; font-weight: 800; color: #1f2937; }
.lbm-author { display: flex; align-items: center; gap: .6rem; }
.lbm-author .av {
width: 2.4rem; height: 2.4rem; border-radius: .7rem; flex: 0 0 auto;
background: linear-gradient(120deg,var(--mc-acc),var(--mc-acc-2)); color: #fff;
display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.lbm-author .meta { min-width: 0; }
.lbm-author .meta b { display: block; font-size: .86rem; color: #1f2937; }
.lbm-author .meta span { font-size: .72rem; color: #9ca3af; }
.lbm-sec { padding: .8rem 1rem; border-bottom: 1px solid #f1f5f9; }
.lbm-sec > h4 {
margin: 0 0 .5rem; font-size: .78rem; font-weight: 800; color: #6b7280;
display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.lbm-sec > h4 .ops { display: flex; gap: .4rem; }
.lbm-sec > h4 .ops button {
font-family: inherit; font-size: .72rem; cursor: pointer; padding: .1rem .45rem;
border-radius: .35rem; border: 1px solid #e9ecf3; background: #f8fafc; color: #6b7280;
}
.lbm-sec > h4 .ops button:hover { border-color: #c4b5fd; color: var(--mc-acc); }
.lbm-prompt {
position: static;
margin: 0; font-size: .78rem; line-height: 1.7; color: #4b5563;
white-space: pre-wrap; word-break: break-word;
max-height: 5.1em; overflow: hidden;
}
.lbm-prompt.open { max-height: none; }
.lb-prompt {
margin: 0; font-size: .78rem; line-height: 1.7; color: #4b5563;
white-space: pre-wrap; word-break: break-word;
max-height: 5.1em; overflow: hidden;
}
.lb-prompt.open { max-height: none; }
.img-lb.full {
width: 100vw; height: 100vh;
border-radius: 0;
max-width: none; max-height: none;
}
.img-lb.full .lbm-side { flex-basis: 320px; width: 320px; }
.lbm-main, .img-lb-stage {
z-index: auto !important;
transform: none;
filter: none;
opacity: 1;
isolation: auto;
}
.img-lb-stage { position: relative; }
.img-lb-stage > img { position: relative; z-index: 30; }
.lbm-side { position: relative; z-index: 5; }
.lb-float, .lb-arrow, .lb-close { z-index: 40; }
.img-lb.zoomed { overflow: visible; }
.img-lb.zoomed .lbm-main { overflow: visible; }
.img-lb.zoomed .img-lb-stage { overflow: visible; }
@media (max-width: 860px) {
.img-lb.full .lbm-side { flex-basis: auto; width: 100%; }
}
.lbm-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.lbm-thumbs .lb-thumb { width: 100%; aspect-ratio: 1/1; padding: 0; }
.lbm-thumbs .lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lbm-src-one { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.lbm-acts { padding: .9rem 1rem calc(1rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: .5rem; margin-top: auto; }
.lbm-acts .btn { width: 100%; justify-content: center; }
@media (max-width: 860px) {
.img-lb { flex-direction: column; width: 100vw; height: 100vh; border-radius: 0; }
.lbm-side {
flex: 0 0 auto; width: 100%; max-height: 46vh;
border-left: 0; border-top: 1px solid var(--mc-line);
}
.img-lb-stage { padding: .3rem .4rem .9rem; }
.lbm-thumbs { grid-template-columns: repeat(5, 1fr); }
}
#blk-upload #cb-thumbs .thumb:first-child:hover,
#cb-mthumb .thumb:first-child:hover { transform-origin: left top; }
#blk-upload #cb-thumbs .thumb:last-child:hover,
#cb-mthumb .thumb:last-child:hover { transform-origin: right top; }
.up.up-model {
width: 100%;
max-width: none;
height: auto;
padding: 1.1rem 1rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.4rem;
text-align: center;
line-height: 1.45;
box-sizing: border-box;
margin: 0;
border-radius: 0.95rem;
}
.up.up-model small { display: block; }
.up.up-model .up-txt,
.up.up-model .up-plus { margin: 0 !important; position: static !important; transform: none !important; }
.up.up-model .up-txt { font-size: 0.84rem; font-weight: 700; }
.up.up-model .up-plus { font-size: 1.5rem; line-height: 1; }
#cb-mthumb .thumb {
width: 76px !important;
height: 76px !important;
max-width: 76px;
margin: 0 !important;
aspect-ratio: 1 / 1;
box-sizing: border-box;
}
@media (max-width: 768px) {
#cb-mthumb .thumb { width: 64px !important; height: 64px !important; max-width: 64px; }
}
.pn-head#cb-head,
.pn-head {
padding: 0.7rem 1.1rem !important;
gap: 0.7rem !important;
align-items: center;
}
.pn-head h1 { margin: 0 0 0.2rem !important; }
.pn-head p { margin: 0 !important; }
#cb-edit {
flex: 0 0 auto;
margin-right: 0.2rem;
}
@media (max-width: 768px) {
.pn-head { padding: 0.6rem 0.8rem !important; }
}
.zone-split-left .ec-up {
display: flex; align-items: center; justify-content: flex-start;
gap: 0.85rem;
width: 100%;
max-width: 100%;
box-sizing: border-box;
padding: 0.95rem 1.2rem;
margin-bottom: 0.85rem;
text-align: left;
border: 1.5px dashed #d8dce6;
border-radius: 0.95rem;
background: linear-gradient(180deg, #fcfcff 0%, #f7f8fd 100%);
transition: border-color .18s, background .18s, box-shadow .18s;
}
.zone-split-left .ec-up:hover {
border-color: #a78bfa;
background: linear-gradient(180deg, var(--mc-acc-soft) 0%, #f4f0ff 100%);
box-shadow: 0 6px 18px rgba(124,58,237,.10);
}
.zone-split-left .ec-up-plus {
display: flex; align-items: center; justify-content: center;
width: 44px; height: 44px; flex: 0 0 auto;
font-size: 1.45rem; font-weight: 400; line-height: 1;
color: #fff; background: linear-gradient(135deg, #8b5cf6, #6366f1);
border: 0; border-radius: 50%;
box-shadow: 0 4px 12px rgba(99,102,241,.30);
transition: transform .18s, box-shadow .18s;
}
.zone-split-left .ec-up:hover .ec-up-plus {
transform: scale(1.06);
box-shadow: 0 6px 16px rgba(99,102,241,.40);
}
.zone-split-left .ec-up-txt {
display: flex; flex-direction: column; gap: 0.22rem;
flex: 1 1 auto;
min-width: 0;
font-size: 0.9rem; font-weight: 700; color: #1f2937;
}
.zone-split-left .ec-up-txt .ec-up-t {
display: block;
font-size: 0.88rem; font-weight: 800; color: #1f2937;
white-space: nowrap;
overflow: hidden; text-overflow: ellipsis;
}
.zone-split-left .ec-up-txt .ec-up-meta {
display: flex; align-items: center; gap: 0.32rem;
flex-wrap: wrap;
}
.zone-split-left .ec-up-txt .ec-up-meta .req {
color: #ef4444; font-size: 0.86rem; font-weight: 800; line-height: 1;
}
.zone-split-left .ec-up-txt small { font-size: 0.72rem; color: #9ca3af; }
@media (max-width: 560px) {
.zone-split-left .ec-up { flex-direction: column; text-align: center; gap: 0.5rem; }
.zone-split-left .ec-up-txt { align-items: center; }
}
.pk-bar {
width: 40%;
height: 100%;
border-radius: 2px;
background: linear-gradient(90deg, #a78bfa, var(--mc-acc));
animation: pkBarRun 1.2s ease-in-out infinite;
}
@keyframes pkBarRun {
0% { transform: translateX(-60%); }
100% { transform: translateX(210%); }
}
@media (prefers-reduced-motion: reduce) {
.pk-bar { animation: none; width: 100%; opacity: .45; }
}
#blk-upload {
display: flex !important;
flex-direction: row !important;
flex-wrap: wrap !important;
align-items: center !important;
gap: 0.5rem !important;
width: 100% !important;
justify-content: flex-start !important;
min-height: 96px !important;
overflow: visible !important;
margin-top: -0.1rem !important;
}
#blk-upload > input[type="file"] {
position: absolute !important;
width: 1px !important; height: 1px !important;
opacity: 0 !important;
pointer-events: none !important;
left: -9999px !important;
}
#blk-upload > #cb-thumbs,
#blk-upload #cb-thumbs {
display: flex !important;
flex-wrap: wrap !important;
width: auto !important;
flex: 0 0 auto !important;
min-width: 0 !important;
gap: 0.5rem !important;
align-items: center !important;
margin: 0 !important;
order: 0 !important;
}
#blk-upload > .ec-up,
#blk-upload .ec-up {
flex: 0 0 auto !important;
box-sizing: border-box !important;
order: 2 !important;
display: flex;
flex-direction: column !important;
align-items: center !important;
justify-content: center !important;
gap: 0 !important;
padding: 0.2rem 0.15rem !important;
margin: 0 !important;
text-align: center !important;
line-height: 1.1 !important;
position: relative !important;
overflow: hidden !important;
border: 1.5px dashed #d8dce6 !important;
border-radius: 0.6rem !important;
background: linear-gradient(180deg, #fcfcff 0%, #f7f8fd 100%) !important;
box-shadow: none !important;
cursor: pointer !important;
}
#blk-upload > .ec-up, #blk-upload > label.ec-up {
width: 96px !important;
height: 96px !important;
min-width: 96px !important;
max-width: 96px !important;
max-height: 96px !important;
}
#blk-upload > #cb-thumbs .thumb, #blk-upload #cb-thumbs .thumb {
flex: 0 0 auto !important;
width: 96px !important;
height: 96px !important;
min-width: 96px !important;
max-width: 96px !important;
max-height: 96px !important;
aspect-ratio: 1 / 1 !important;
box-sizing: border-box !important;
}
#blk-upload > .ec-up:hover {
border-color: #a78bfa !important;
background: var(--mc-acc-soft) !important;
}
#blk-upload > .ec-up .ec-up-txt {
position: static !important;
width: auto !important; height: auto !important;
overflow: visible !important;
opacity: 1 !important;
pointer-events: auto !important;
clip: auto !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
gap: 0 !important;
flex: 0 0 auto !important;
min-width: 0 !important;
}
#blk-upload > .ec-up .ec-up-t {
font-size: 0.64rem !important;
font-weight: 700 !important;
color: #374151 !important;
white-space: nowrap !important;
line-height: 1.1 !important;
}
#blk-upload > .ec-up .ec-up-meta {
display: flex !important;
flex-direction: row !important;
align-items: center !important;
justify-content: center !important;
gap: 0 !important;
line-height: 1.1 !important;
}
#blk-upload > .ec-up .ec-up-meta small { display: none !important; }
#blk-upload > .ec-up .ec-up-meta .req {
color: #ef4444 !important;
font-size: 0.72rem !important;
font-weight: 800 !important;
line-height: 1 !important;
}
#blk-upload > .ec-up .ec-up-plus {
width: auto !important; height: auto !important;
flex: 0 0 auto !important;
position: static !important;
font-size: 1.15rem !important;
font-weight: 400 !important;
line-height: 1 !important;
color: var(--mc-acc) !important;
background: transparent !important;
border: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
transform: none !important;
margin: 0 !important;
}
#blk-upload > .ec-up:hover .ec-up-plus { transform: scale(1.1) !important; }
#blk-upload .thumb {
flex: 0 0 auto !important;
box-sizing: border-box !important;
}
#blk-upload .thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
@media (max-width: 768px) {
#blk-upload {
min-height: 64px !important;
justify-content: flex-start !important;
}
#blk-upload .thumb {
width: 64px !important; height: 64px !important;
min-width: 64px !important; max-width: 64px !important; max-height: 64px !important;
}
#blk-upload > .ec-up,
#blk-upload .ec-up {
width: 84px !important; height: 84px !important;
min-width: 84px !important; max-width: 84px !important; max-height: 84px !important;
}
#blk-upload > .ec-up .ec-up-t { font-size: 0.62rem !important; }
#blk-upload.is-full { justify-content: flex-start !important; }
}
#blk-upload.is-full,
#blk-upload[data-full="1"] {
justify-content: space-between !important;
}
#blk-upload > .ec-up[style*="display: none"] ~ #cb-thumbs,
#blk-upload > .ec-up[style*="display:none"] ~ #cb-thumbs {
flex: 1 1 auto !important;
justify-content: space-between !important;
}
.fg-sec {
grid-column: 1 / -1;
display: flex;
align-items: center;
gap: 0.55rem;
margin: 0.35rem 0 -0.15rem;
font-size: 0.78rem;
font-weight: 800;
color: var(--mc-acc-ink);
letter-spacing: 0.02em;
}
.fg-sec::before {
content: '';
width: 3px;
height: 0.9rem;
border-radius: 2px;
background: linear-gradient(180deg, #a78bfa, var(--mc-acc));
}
.form-grid > .fg-sec:first-child { margin-top: 0; }
.form-grid.modal-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 760px) {
.form-grid.modal-grid-2 { grid-template-columns: 1fr !important; }
}
.count-slider {
flex: 1 1 auto;
display: flex;
align-items: center;
gap: 0;
min-width: 0;
padding-right: 0.5rem;
}
.count-range {
--fill: 0%;
flex: 1 1 auto;
min-width: 0;
height: 1.5rem;
margin: 0;
background: transparent;
-webkit-appearance: none;
appearance: none;
cursor: pointer;
outline: none;
}
.count-range::-webkit-slider-runnable-track {
height: 4px;
border-radius: 999px;
background: linear-gradient(90deg, var(--mc-acc) 0%, #6366f1 var(--fill), #e9ecf3 var(--fill), #e9ecf3 100%);
}
.count-range::-moz-range-track {
height: 4px;
border-radius: 999px;
background: #e9ecf3;
}
.count-range::-moz-range-progress {
height: 4px;
border-radius: 999px;
background: linear-gradient(90deg, var(--mc-acc), #6366f1);
}
.count-range::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 1.05rem;
height: 1.05rem;
margin-top: calc((4px - 1.05rem) / 2);
border-radius: 50%;
background: #fff;
border: 2px solid var(--mc-acc);
box-shadow: 0 1px 4px var(--mc-acc-59);
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.count-range:hover::-webkit-slider-thumb { transform: scale(1.12); }
.count-range:active::-webkit-slider-thumb { box-shadow: 0 0 0 6px var(--mc-acc-26); }
.count-range::-moz-range-thumb {
width: 1.05rem;
height: 1.05rem;
border-radius: 50%;
background: #fff;
border: 2px solid var(--mc-acc);
box-shadow: 0 1px 4px var(--mc-acc-59);
}
.count-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px var(--mc-acc-26); }
.count-num {
flex: 0 0 auto;
width: 4.4rem;
height: 2.05rem;
padding: 0 0.55rem;
border: 1px solid #e2e6ef;
border-radius: 0.55rem 0 0 0.55rem;
background: #fff;
font: inherit;
font-size: 0.92rem;
font-weight: 700;
color: #1f2937;
text-align: center;
font-variant-numeric: tabular-nums;
-moz-appearance: textfield;
appearance: auto;
}
.count-num:focus {
outline: none;
border-color: #a78bfa;
box-shadow: 0 0 0 3px var(--mc-acc-26);
}
.count-steps {
flex: 0 0 auto;
display: flex;
flex-direction: column;
margin-left: -1.15rem;
width: 1.15rem;
z-index: 1;
}
.count-step {
width: 100%;
height: 1.025rem;
padding: 0;
border: 1px solid #e2e6ef;
border-left: 0;
background: #f8fafc;
color: #6b7280;
font-size: 0.5rem;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
-webkit-appearance: none;
appearance: none;
transition: background .12s, color .12s;
}
.count-step:first-child { border-radius: 0 0.55rem 0 0; border-bottom: 0; }
.count-step:last-child { border-radius: 0 0 0.55rem 0; }
.count-step:hover:not(:disabled) { background: #f1f5f9; color: var(--mc-acc-ink); }
.count-step:active:not(:disabled) { background: var(--mc-acc-line); }
.count-step:disabled { color: #d1d5db; cursor: not-allowed; }
.count-out {
flex: 0 0 auto;
margin-left: 0.5rem;
min-width: 2.9rem;
text-align: right;
font-size: 0.82rem;
font-weight: 800;
color: var(--mc-acc-ink);
font-variant-numeric: tabular-nums;
}
@media (max-width: 768px) {
.count-num { width: 3.6rem; }
.count-out { min-width: 2.4rem; }
}
.spin {
width: 1.5rem;
height: 1.5rem;
border-radius: 50%;
border: 2.5px solid #e5e7eb;
border-top-color: var(--mc-acc);
animation: spin 0.8s linear infinite;
box-sizing: border-box;
flex: 0 0 auto;
}
[data-pending-card] .spin { width: 1.25rem; height: 1.25rem; border-width: 2px; }
@media (min-width: 1680px) {
.pk-grid { grid-template-columns: repeat(max(1, min(var(--pk-cols, 1), 5)), minmax(0, 1fr)) !important; }
}
@media (min-width: 1380px) and (max-width: 1679px) {
.pk-grid { grid-template-columns: repeat(max(1, min(var(--pk-cols, 1), 4)), minmax(0, 1fr)) !important; }
}
@media (min-width: 1080px) and (max-width: 1379px) {
.pk-grid { grid-template-columns: repeat(max(1, min(var(--pk-cols, 1), 3)), minmax(0, 1fr)) !important; }
}
@media (min-width: 820px) and (max-width: 1079px) {
.pk-grid { grid-template-columns: repeat(max(1, min(var(--pk-cols, 1), 2)), minmax(0, 1fr)) !important; }
}
@media (max-width: 819px) {
.pk-grid { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
}
.gc-thumbs { margin-top: 0.45rem; }
.gc-thumbs .wr-thumb { width: 44px; height: 44px; border-radius: 0.4rem; }
.model-src-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.6rem;
}
.model-src-btn {
display: flex; flex-direction: column; align-items: center; justify-content: center;
gap: 0.12rem;
padding: 0.75rem 0.5rem;
border: 1px dashed #d8dce8;
border-radius: 0.7rem;
background: #fafbff;
cursor: pointer;
font: inherit;
transition: border-color .15s, background .15s, transform .15s;
-webkit-appearance: none; appearance: none;
}
.model-src-btn:hover { border-color: #a78bfa; background: var(--mc-acc-soft); transform: translateY(-1px); }
.model-src-btn.is-ai { border-color: #ddd0ff; background: #f8f5ff; }
.model-src-btn .msb-ico { font-size: 1.25rem; line-height: 1; }
.model-src-btn .msb-t { font-size: 0.82rem; font-weight: 700; color: #4c1d95; }
.model-src-btn .msb-s { font-size: 0.66rem; color: #9ca3af; }
@media (max-width: 560px) {
.model-src-row { grid-template-columns: 1fr; }
}
.mmask {
position: fixed; inset: 0; z-index: 9000;
background: rgba(17, 24, 39, 0.45);
display: flex; align-items: center; justify-content: center;
padding: 1rem;
}
.mdlg {
width: 100%; max-width: 560px;
max-height: calc(100vh - 2rem);
display: flex; flex-direction: column;
background: #fff;
border-radius: 1rem;
box-shadow: 0 20px 60px rgba(15, 23, 42, 0.28);
overflow: hidden;
}
.mdlg-head {
display: flex; align-items: center; justify-content: space-between;
padding: 1rem 1.15rem 0.7rem;
border-bottom: 1px solid #f1f2f6;
}
.mdlg-head h3 { margin: 0; font-size: 1rem; font-weight: 800; color: #1f2937; }
.mdlg-x {
border: 0; background: transparent; cursor: pointer;
font-size: 1rem; color: #9ca3af; line-height: 1;
padding: 0.25rem; border-radius: 0.35rem;
}
.mdlg-x:hover { background: #f3f4f6; color: #4b5563; }
.mdlg-body { padding: 0.9rem 1.15rem; overflow-y: auto; }
.mdlg-foot {
display: flex; justify-content: flex-end; gap: 0.6rem;
padding: 0.8rem 1.15rem 1rem;
border-top: 1px solid #f1f2f6;
}
.mm-row { margin-bottom: 0.85rem; }
.mm-lbl { font-size: 0.8rem; font-weight: 700; color: #374151; margin-bottom: 0.4rem; }
.mm-lbl-sub { font-weight: 500; color: #9ca3af; font-size: 0.72rem; }
.mm-opts { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mm-opt {
padding: 0.32rem 0.8rem;
border: 1px solid #e5e7eb;
border-radius: 999px;
background: #fff;
font: inherit; font-size: 0.78rem; color: #4b5563;
cursor: pointer;
transition: all .15s;
-webkit-appearance: none; appearance: none;
}
.mm-opt:hover { border-color: #c4b5fd; color: var(--mc-acc-ink); }
.mm-opt.on {
border-color: var(--mc-acc); background: var(--mc-acc-soft);
color: var(--mc-acc-ink); font-weight: 700;
}
.mm-desc {
width: 100%; box-sizing: border-box;
min-height: 5.6rem; resize: vertical;
padding: 0.6rem 0.7rem;
border: 1px solid #e5e7eb; border-radius: 0.6rem;
font: inherit; font-size: 0.8rem; line-height: 1.65; color: #374151;
background: #fff;
}
.mm-desc:focus { outline: none; border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167, 139, 250, .15); }
.mm-note {
margin: 0.2rem 0 0;
padding: 0.5rem 0.65rem;
border-radius: 0.55rem;
background: #f8f5ff;
font-size: 0.74rem; color: #6b7280; line-height: 1.55;
}
.mm-status {
margin: 0.5rem 0 0; font-size: 0.76rem; line-height: 1.6;
color: var(--mc-acc-ink); word-break: break-word;
}
.mm-status.bad { color: #b91c1c; }
.mm-btn {
padding: 0.5rem 1.1rem;
border: 1px solid #e5e7eb; border-radius: 0.55rem;
background: #fff; font: inherit; font-size: 0.82rem; color: #4b5563;
cursor: pointer;
-webkit-appearance: none; appearance: none;
transition: all .15s;
}
.mm-btn:hover { background: #f9fafb; }
.mm-btn.primary {
border-color: transparent;
background: linear-gradient(135deg, var(--mc-acc), var(--mc-acc-2));
color: #fff; font-weight: 700;
}
.mm-btn.primary:hover { filter: brightness(1.06); }
.mm-btn:disabled { opacity: .6; cursor: not-allowed; filter: none; }
.dur-row {
display: flex;
align-items: center;
gap: 0.6rem;
}
.dur-range {
--fill: 0%;
flex: 1 1 auto;
min-width: 0;
height: 1.5rem;
margin: 0;
background: transparent;
-webkit-appearance: none;
appearance: none;
cursor: pointer;
outline: none;
}
.dur-range::-webkit-slider-runnable-track {
height: 4px;
border-radius: 999px;
background: linear-gradient(90deg, var(--mc-acc) 0%, #6366f1 var(--fill), #e9ecf3 var(--fill), #e9ecf3 100%);
}
.dur-range::-moz-range-track {
height: 4px;
border-radius: 999px;
background: #e9ecf3;
}
.dur-range::-moz-range-progress {
height: 4px;
border-radius: 999px;
background: linear-gradient(90deg, var(--mc-acc), #6366f1);
}
.dur-range::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 1.05rem;
height: 1.05rem;
margin-top: calc((4px - 1.05rem) / 2);
border-radius: 50%;
background: #fff;
border: 2px solid var(--mc-acc);
box-shadow: 0 1px 4px var(--mc-acc-59);
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dur-range:hover::-webkit-slider-thumb { transform: scale(1.12); }
.dur-range:active::-webkit-slider-thumb { box-shadow: 0 0 0 6px var(--mc-acc-26); }
.dur-range::-moz-range-thumb {
width: 1.05rem;
height: 1.05rem;
border-radius: 50%;
background: #fff;
border: 2px solid var(--mc-acc);
box-shadow: 0 1px 4px var(--mc-acc-59);
}
.dur-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px var(--mc-acc-26); }
.dur-num {
flex: 0 0 auto;
width: 4.2rem;
height: 2.05rem;
padding: 0 0.4rem;
border: 1px solid #e2e6ef;
border-radius: 0.55rem 0 0 0.55rem;
background: #fff;
font: inherit;
font-size: 0.92rem;
font-weight: 700;
color: #1f2937;
text-align: center;
font-variant-numeric: tabular-nums;
-moz-appearance: textfield;
appearance: textfield;
}
.dur-num::-webkit-outer-spin-button,
.dur-num::-webkit-inner-spin-button {
-webkit-appearance: none;
appearance: none;
margin: 0;
}
.dur-num:focus {
outline: none;
border-color: #a78bfa;
box-shadow: 0 0 0 3px var(--mc-acc-26);
}
.dur-unit {
flex: 0 0 auto;
font-size: 0.86rem;
font-weight: 700;
color: #6b7280;
}
.va-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.5rem;
}
@media (max-width: 640px) {
.va-grid { grid-template-columns: 1fr; }
}
.va-card {
display: flex;
flex-direction: row;
align-items: center;
gap: 0.55rem;
padding: 0.6rem 0.7rem;
border: 1px solid #e9ecf3;
border-radius: 10px;
background: #fff;
text-align: left;
cursor: pointer;
font: inherit;
transition: border-color .15s, box-shadow .15s;
}
.va-card:hover {
border-color: #a78bfa;
box-shadow: 0 0 0 3px var(--mc-acc-14);
}
.va-card .va-ic { font-size: 1.05rem; line-height: 1.2; }
.va-card b { font-size: 0.82rem; font-weight: 700; color: #1f2937; }
.va-card i { font-style: normal; font-size: 0.7rem; color: #9ca3af; line-height: 1.35; }
.va-card.on { border-color: var(--mc-acc); box-shadow: 0 0 0 3px var(--mc-acc-1f); }
.va-mat-head {
display: flex; align-items: baseline; gap: .5rem;
margin: 0.7rem 0 0.4rem; flex-wrap: wrap;
}
.va-mat-head b { font-size: 0.82rem; }
.va-mat-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.va-mat-list:empty::before {
content: '还没有参考素材 —— 点下面的按钮添加';
font-size: 0.74rem; color: #9ca3af;
}
.va-mat-actions {
display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem;
}
.va-add {
display: inline-flex; align-items: center; gap: 0.3rem;
padding: 0.35rem 0.65rem;
border: 1px dashed #d6dbe6;
border-radius: 8px;
background: #fafbfd;
font-size: 0.76rem;
color: #4b5563;
cursor: pointer;
-webkit-appearance: none;
appearance: none;
}
.va-add:hover { border-color: #a78bfa; color: var(--mc-acc-ink); }
.va-soon {
border-style: dashed;
color: #9ca3af;
background: #f7f8fa;
}
.va-soon:hover { border-color: #d6dbe6; color: #6b7280; }
html[data-theme="dark"] .va-card {
background: #14181f; border-color: rgba(255,255,255,.1);
}
html[data-theme="dark"] .va-card b { color: #e8eaed; }
html[data-theme="dark"] .va-add {
background: #14181f; border-color: rgba(255,255,255,.14); color: #b6bcc8;
}
html[data-theme="dark"] .va-soon { background: #101319; color: #6b7280; }
.dur-steps {
flex: 0 0 auto;
display: flex;
flex-direction: column;
width: 1.15rem;
}
.dur-step {
width: 100%;
height: 1.025rem;
padding: 0;
border: 1px solid #e2e6ef;
border-left: 0;
background: #f8fafc;
color: #6b7280;
font-size: 0.5rem;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
-webkit-appearance: none;
appearance: none;
transition: background .12s, color .12s;
}
.dur-step:first-child { border-radius: 0 0.55rem 0 0; border-bottom: 0; }
.dur-step:last-child { border-radius: 0 0 0.55rem 0; }
.dur-step:hover:not(:disabled) { background: #f1f5f9; color: var(--mc-acc-ink); }
.dur-step:active:not(:disabled) { background: var(--mc-acc-line); }
.dur-step:disabled { color: #d1d5db; cursor: not-allowed; }
html[data-theme="dark"] .dur-step {
background: #14181f; border-color: rgba(255,255,255,.12); color: #b6bcc8;
}
html[data-theme="dark"] .dur-step:disabled { color: #4b5563; }
.vp-tpl-box { max-width: 68rem; width: 100%; }
.vp-tpl-x {
margin-left: auto;
border: 0; background: transparent;
font-size: 1rem; line-height: 1;
color: #9ca3af; cursor: pointer;
padding: 0.2rem 0.35rem; border-radius: 6px;
-webkit-appearance: none; appearance: none;
}
.vp-tpl-x:hover { background: #f3f4f6; color: #4b5563; }
.vp-tpl-tabs {
display: flex; gap: 0.35rem;
padding: 0 1.1rem 0.2rem;
border-bottom: 1px solid var(--mc-line);
}
.vp-tpl-tab {
flex: 1 1 0;
padding: 0.5rem 0.4rem;
border: 0; background: transparent;
border-radius: 8px 8px 0 0;
font: inherit; font-size: 0.84rem; font-weight: 700;
color: #6b7280; cursor: pointer;
border-bottom: 2px solid transparent;
-webkit-appearance: none; appearance: none;
}
.vp-tpl-tab:hover { color: var(--mc-acc-ink); background: #f8f7ff; }
.vp-tpl-tab.on { color: var(--mc-acc-ink); border-bottom-color: var(--mc-acc); background: #f8f7ff; }
.vp-tpl-cats {
display: flex; flex-wrap: wrap; gap: 0.4rem;
padding: 0.7rem 1.1rem 0.2rem;
}
.vp-tpl-cats:empty { display: none; }
.vp-tpl-cat {
padding: 0.28rem 0.7rem;
border: 1px solid #e2e6ef; border-radius: 999px;
background: #fff; font: inherit; font-size: 0.76rem;
color: #4b5563; cursor: pointer;
-webkit-appearance: none; appearance: none;
}
.vp-tpl-cat:hover { border-color: #a78bfa; color: var(--mc-acc-ink); }
.vp-tpl-cat.on { background: var(--mc-acc); border-color: var(--mc-acc); color: #fff; font-weight: 700; }
.vp-tpl-body { max-height: 62vh !important; padding: 0.8rem 1.2rem 1.2rem !important; }
.vp-tpl-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
gap: 0.85rem;
}
.vp-tpl-card {
display: flex; flex-direction: column;
padding: 0; border: 1px solid #e9ecf3; border-radius: 12px;
background: #fff; overflow: hidden; cursor: pointer;
text-align: left; font: inherit;
-webkit-appearance: none; appearance: none;
transition: border-color .15s, box-shadow .15s, transform .15s;
}
.vp-tpl-card:hover {
border-color: #a78bfa;
box-shadow: 0 8px 22px var(--mc-acc-24);
transform: translateY(-2px);
}
.vp-tpl-thumb {
position: relative;
display: flex; align-items: center; justify-content: center;
height: 8.6rem;
background: #f3f4f6;
overflow: hidden;
}
.vp-tpl-thumb img {
width: 100%; height: 100%;
object-fit: cover;
display: block;
}
.vp-tpl-pending {
display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
color: #9ca3af;
}
.vp-tpl-pending i { font-style: normal; font-size: 1.5rem; opacity: .6; }
.vp-tpl-pending em { font-style: normal; font-size: 0.7rem; }
.vp-tpl-tag {
position: absolute; left: 0.45rem; bottom: 0.4rem;
font-style: normal; font-size: 0.68rem; font-weight: 700;
color: #fff; padding: 0.05rem 0.4rem; border-radius: 999px;
background: rgba(17, 24, 39, 0.55);
backdrop-filter: blur(3px);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.vp-tpl-text {
display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
overflow: hidden;
padding: 0.5rem 0.6rem 0.6rem;
font-size: 0.74rem; line-height: 1.5; color: #4b5563;
}
.vp-tpl-empty {
display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
padding: 2.6rem 1rem; text-align: center;
}
.vp-tpl-empty span { font-size: 1.6rem; }
.vp-tpl-empty b { font-size: 0.9rem; color: #374151; }
.vp-tpl-empty p { margin: 0; font-size: 0.8rem; color: #6b7280; line-height: 1.7; }
html[data-theme="dark"] .vp-tpl-tabs { border-bottom-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .vp-tpl-tab { color: #9ca3af; }
html[data-theme="dark"] .vp-tpl-tab.on { color: #c4b5fd; background: #1b1a2e; }
html[data-theme="dark"] .vp-tpl-cat { background: #14181f; border-color: rgba(255,255,255,.12); color: #b6bcc8; }
html[data-theme="dark"] .vp-tpl-card { background: #14181f; border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .vp-tpl-text { color: #b6bcc8; }
html[data-theme="dark"] .vp-tpl-empty b { color: #e8eaed; }
.va-tx { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.va-tx b { font-size: 0.82rem; font-weight: 700; color: #1f2937; }
.va-tx i { font-style: normal; font-size: 0.7rem; color: #9ca3af; line-height: 1.35; }
html[data-theme="dark"] .va-tx b { color: #e8eaed; }
.va-card .va-ic { flex: 0 0 auto; }
.ib-muted { color: #6b7280; font-weight: 700; }
.vp-tpl-bar {
display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
padding: 0.55rem 1.2rem 0.2rem;
}
.vp-tpl-bar:empty { display: none; }
.vp-tpl-hint { font-size: 0.78rem; color: #6b7280; font-weight: 700; }
.vp-tpl-tip { font-size: 0.74rem; color: #9ca3af; }
.vp-tpl-prog { font-size: 0.78rem; color: var(--mc-acc-ink); font-weight: 700; }
.vp-tpl-gen {
padding: 0.36rem 0.85rem;
border: 0; border-radius: 8px;
background: linear-gradient(135deg, var(--mc-acc), #6366f1);
color: #fff; font: inherit; font-size: 0.8rem; font-weight: 700;
cursor: pointer;
-webkit-appearance: none; appearance: none;
box-shadow: 0 2px 8px var(--mc-acc-33);
}
.vp-tpl-gen:hover { filter: brightness(1.08); }
.vp-tpl-gen:disabled { opacity: .55; cursor: not-allowed; filter: none; }
html[data-theme="dark"] .vp-tpl-hint { color: #9ca3af; }
html[data-theme="dark"] .vp-tpl-thumb { background: #1b2029; }
html[data-theme="dark"] .vp-tpl-pending { color: #6b7280; }
.res-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.res-btn {
flex: 1 1 0; min-width: 5.2rem;
padding: 0.5rem 0.6rem;
border: 1px solid #e5e7eb; border-radius: 0.6rem;
background: #fff; color: #374151;
font: inherit; font-size: 0.86rem; font-weight: 700;
cursor: pointer; text-align: center;
-webkit-appearance: none; appearance: none;
transition: border-color .15s, color .15s, box-shadow .15s, background .15s;
}
.res-btn:hover { border-color: #c4b5fd; }
.res-btn.active {
border-color: var(--mc-acc); color: var(--mc-acc-ink);
background: var(--mc-acc-soft);
box-shadow: 0 0 0 1px var(--mc-acc) inset;
}
.res-hint { margin: 0.35rem 0 0; font-size: 0.72rem; color: #9ca3af; }
.res-hint:empty { display: none; }
.ratio-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr));
gap: 0.5rem;
}
.ratio-btn {
display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
padding: 0.55rem 0.35rem 0.4rem;
border: 1px solid #e5e7eb; border-radius: 0.6rem;
background: #fff; color: #374151;
font: inherit; cursor: pointer;
-webkit-appearance: none; appearance: none;
transition: border-color .15s, color .15s, box-shadow .15s, background .15s;
}
.ratio-btn:hover { border-color: #c4b5fd; }
.ratio-btn.active {
border-color: var(--mc-acc); color: var(--mc-acc-ink);
background: var(--mc-acc-soft);
box-shadow: 0 0 0 1px var(--mc-acc) inset;
}
.ratio-shape {
display: flex; align-items: center; justify-content: center;
width: 100%; height: 2.1rem;
}
.ratio-shape i {
display: block;
max-width: 100%; max-height: 100%;
background: currentColor;
border-radius: 2px;
opacity: .78;
}
.ratio-shape i { width: auto; height: 100%; }
.ratio-btn[data-value="21:9"] .ratio-shape i,
.ratio-btn[data-value="16:9"] .ratio-shape i,
.ratio-btn[data-value="4:3"] .ratio-shape i { height: auto; width: 100%; }
.ratio-label { font-size: 0.74rem; font-weight: 700; line-height: 1; }
.ratio-hint { margin: 0.35rem 0 0; font-size: 0.72rem; color: #9ca3af; }
.ratio-hint:empty { display: none; }
html[data-theme="dark"] .res-btn,
html[data-theme="dark"] .ratio-btn { background: #171b22; border-color: #2b313b; color: #cbd5e1; }
html[data-theme="dark"] .res-btn.active,
html[data-theme="dark"] .ratio-btn.active { background: #241a3d; border-color: var(--mc-acc); color: #c4b5fd; }
.vp-mat-top { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; padding: 0.2rem 0 0.5rem; }
.vp-mat-up {
padding: 0.5rem 1rem; border: 0; border-radius: 9px;
background: linear-gradient(135deg, var(--mc-acc), #6366f1);
color: #fff; font: inherit; font-size: 0.86rem; font-weight: 800;
cursor: pointer; box-shadow: 0 2px 10px var(--mc-acc-33);
-webkit-appearance: none; appearance: none;
}
.vp-mat-up:hover { filter: brightness(1.07); }
.vp-mat-up:disabled { opacity: .6; cursor: not-allowed; filter: none; }
.vp-mat-hint { font-size: 0.76rem; color: #9ca3af; }
.vp-mat-clear {
margin-left: auto; padding: 0.35rem 0.7rem;
border: 1px solid #e5e7eb; border-radius: 8px;
background: #fff; color: #6b7280; font: inherit; font-size: 0.76rem; font-weight: 700;
cursor: pointer;
}
.vp-mat-clear:hover { border-color: #fca5a5; color: #b91c1c; }
.vp-mat-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; padding-bottom: 0.6rem; }
.vp-mat-chip {
display: inline-flex; align-items: center; gap: 0.3rem;
padding: 0.3rem 0.7rem; border: 1px solid #e5e7eb; border-radius: 999px;
background: #fff; color: #374151; font: inherit; font-size: 0.8rem; font-weight: 700;
cursor: pointer;
}
.vp-mat-chip i { font-style: normal; font-size: 0.72rem; color: #9ca3af; }
.vp-mat-chip.on { border-color: var(--mc-acc); color: var(--mc-acc-ink); background: var(--mc-acc-soft); }
.vp-mat-chip.on i { color: var(--mc-acc); }
.vp-mat-grid {
display: grid; grid-template-columns: repeat(auto-fill, minmax(8.4rem, 1fr)); gap: 0.6rem;
}
.vp-mat-card {
position: relative; display: flex; flex-direction: column;
border: 1px solid #e9ecf3; border-radius: 10px; overflow: hidden; background: #fff;
}
.vp-mat-card:hover { border-color: #c4b5fd; }
.vp-mat-card { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.vp-mat-card.is-picking { border-color: #a78bfa; opacity: .7; cursor: progress; }
.vp-mat-card.is-picked {
border-color: #7c3aed; box-shadow: 0 0 0 2px rgba(124, 58, 237, .18);
}
.vp-mat-pick {
position: absolute; top: 4px; right: 4px; z-index: 2;
background: #7c3aed; color: #fff; font-size: .68rem; font-weight: 600;
padding: 1px 6px; border-radius: 999px; pointer-events: none;
}
.vp-mat-thumb {
position: relative; display: flex; align-items: center; justify-content: center;
height: 5.6rem; background: #f3f4f6; overflow: hidden;
}
.vp-mat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-mat-ico { font-size: 1.7rem; opacity: .75; }
.vp-mat-more { margin: .7rem 0 .2rem; text-align: center; }
.vp-mat-more button {
width: 100%; padding: .55rem; font: inherit; font-size: .8rem; font-weight: 700;
color: #6d28d9; background: #faf5ff; border: 1px dashed #d8b4fe;
border-radius: 10px; cursor: pointer; transition: background .15s, border-color .15s;
}
.vp-mat-more button:hover { background: #f3e8ff; border-color: #a78bfa; }
.vp-mat-more span { font-size: .74rem; color: #9ca3af; }
html[data-theme="dark"] .vp-mat-more button { background: #1a1530; border-color: #4c1d95; color: #c4b5fd; }
html[data-theme="dark"] .vp-mat-more button:hover { background: #241a3d; }
.vp-mat-thumb em {
position: absolute; left: 0.35rem; bottom: 0.3rem;
font-style: normal; font-size: 0.66rem; font-weight: 700; color: #fff;
padding: 0.05rem 0.35rem; border-radius: 999px; background: rgba(17, 24, 39, 0.55);
}
.vp-mat-meta {
display: flex; flex-direction: column; gap: 0.1rem;
padding: 0.35rem 0.45rem 0.45rem;
font-size: 0.74rem; font-weight: 700; color: #374151;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vp-mat-meta i { font-style: normal; font-size: 0.68rem; font-weight: 500; color: #9ca3af; }
.vp-mat-del {
position: absolute; right: 0.25rem; top: 0.25rem;
width: 1.25rem; height: 1.25rem; border: 0; border-radius: 50%;
background: rgba(17, 24, 39, 0.5); color: #fff; font-size: 0.7rem; line-height: 1;
cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.vp-mat-del:hover { background: #dc2626; }
.vp-per-filters {
display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center;
padding: 0.2rem 0 0.7rem;
}
.vp-per-sel {
padding: 0.32rem 0.5rem; border: 1px solid #e5e7eb; border-radius: 8px;
background: #fff; color: #374151; font: inherit; font-size: 0.8rem; font-weight: 600;
cursor: pointer; min-width: 5.2rem;
}
.vp-per-sel:focus { outline: none; border-color: var(--mc-acc); box-shadow: 0 0 0 2px var(--mc-acc-22); }
.vp-per-cnt { margin-left: auto; font-size: 0.76rem; color: #9ca3af; }
.vp-per-grid {
display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.6rem;
}
.vp-per-card {
display: flex; align-items: center; gap: 0.6rem;
padding: 0.55rem 0.65rem; border: 1px solid #e9ecf3; border-radius: 11px;
background: #fff; cursor: pointer; text-align: left; font: inherit;
-webkit-appearance: none; appearance: none;
transition: border-color .15s, box-shadow .15s, transform .15s;
}
.vp-per-card:hover { border-color: #a78bfa; box-shadow: 0 6px 16px var(--mc-acc-1f); transform: translateY(-1px); }
.vp-per-face {
flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%;
display: flex; align-items: center; justify-content: center; overflow: hidden;
background: linear-gradient(135deg, #a78bfa, var(--mc-acc));
}
.vp-per-face img { width: 100%; height: 100%; object-fit: cover; }
.vp-per-face-tx { font-size: 1.05rem; font-weight: 800; color: #fff; }
.vp-per-body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.vp-per-body b { font-size: 0.86rem; font-weight: 800; color: #1f2937; }
.vp-per-body i { font-style: normal; font-size: 0.72rem; color: #6b7280; }
.vp-per-body em {
font-style: normal; font-size: 0.7rem; color: #9ca3af;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vp-per-tip { margin: 0.7rem 0 0; font-size: 0.74rem; color: #9ca3af; line-height: 1.7; }
html[data-theme="dark"] .vp-mat-chip,
html[data-theme="dark"] .vp-mat-card,
html[data-theme="dark"] .vp-mat-clear,
html[data-theme="dark"] .vp-per-sel,
html[data-theme="dark"] .vp-per-card { background: #171b22; border-color: #2b313b; color: #cbd5e1; }
html[data-theme="dark"] .vp-mat-chip.on { background: #241a3d; border-color: var(--mc-acc); color: #c4b5fd; }
html[data-theme="dark"] .vp-mat-thumb { background: #1b2029; }
html[data-theme="dark"] .vp-mat-meta { color: #cbd5e1; }
html[data-theme="dark"] .vp-per-body b { color: #e5e7eb; }
.va-ref-row {
display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap;
margin-top: 0.55rem;
}
.va-ref-toggle {
padding: 0.42rem 0.85rem;
border: 1px dashed #c4b5fd; border-radius: 9px;
background: #faf5ff; color: var(--mc-acc-ink);
font: inherit; font-size: 0.82rem; font-weight: 700;
cursor: pointer;
-webkit-appearance: none; appearance: none;
transition: border-color .15s, background .15s, color .15s;
}
.va-ref-toggle:hover { border-color: var(--mc-acc); background: var(--mc-acc-soft); }
.va-ref-toggle.on { border-style: solid; border-color: var(--mc-acc); background: var(--mc-acc-soft); }
html[data-theme="dark"] .va-ref-toggle { background: #1e1630; border-color: #4c3a7a; color: #c4b5fd; }
============================================================ */
.vp-mat-src {
display: flex; gap: .35rem; padding: .1rem 0 .55rem;
border-bottom: 1px solid #f1f3f8; margin-bottom: .55rem;
}
.vp-mat-srcbtn {
padding: .38rem .9rem;
border: 1px solid #e5e7eb; border-radius: 999px;
background: #fff; color: #6b7280;
font: inherit; font-size: .84rem; font-weight: 800;
cursor: pointer;
-webkit-appearance: none; appearance: none;
transition: border-color .15s, color .15s, background .15s;
}
.vp-mat-srcbtn:hover { border-color: #c4b5fd; }
.vp-mat-srcbtn.on {
border-color: var(--mc-acc); color: var(--mc-acc-ink); background: var(--mc-acc-soft);
box-shadow: 0 0 0 1px var(--mc-acc) inset;
}
html[data-theme="dark"] .vp-mat-srcbtn { background: #171b22; border-color: #2b313b; color: #9ca3af; }
html[data-theme="dark"] .vp-mat-srcbtn.on { background: #241a3d; border-color: var(--mc-acc); color: #c4b5fd; }
html[data-theme="dark"] .vp-mat-src { border-bottom-color: #232833; }
.adspec-box {
border: 1px solid #e9ecf3; border-radius: 12px;
padding: .8rem .9rem; margin-top: .9rem; background: var(--mc-card-2);
}
.adspec-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.adspec-tip { font-weight: 400; color: #9ca3af; font-size: .78rem; }
.adspec-clear {
border: 1px solid #e5e7eb; background: #fff; color: #6b7280;
border-radius: 999px; padding: .2rem .7rem;
font: inherit; font-size: .78rem; cursor: pointer;
}
.adspec-clear:hover { border-color: #c4b5fd; color: var(--mc-acc-ink); }
.adspec-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.adspec-row .field { flex: 0 1 auto; }
.adspec-meta {
display: flex; flex-wrap: wrap; gap: .3rem .75rem;
margin-top: .6rem; font-size: .78rem; color: #6b7280;
}
.adspec-kv { white-space: nowrap; }
.adspec-kv b { color: #111827; }
.adspec-preview { display: flex; gap: .9rem; align-items: flex-start; flex-wrap: wrap; margin-top: .7rem; }
.adspec-preview canvas {
border: 1px solid #e9ecf3; border-radius: 8px; background: #fff;
max-width: 100%; height: auto;
}
.adspec-legend { display: flex; flex-direction: column; gap: .3rem; font-size: .78rem; color: #6b7280; }
.adspec-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .3rem; }
.adspec-dot-red { background: #ef4444; }
.adspec-dot-green { background: #22c55e; }
.adspec-dot-amber { background: #f59e0b; }
html[data-theme="dark"] .adspec-box { background: #14181f; border-color: #2b313b; }
html[data-theme="dark"] .adspec-preview canvas { background: #0f1319; border-color: #2b313b; }
html[data-theme="dark"] .adspec-clear { background: #171b22; border-color: #2b313b; color: #9ca3af; }
html[data-theme="dark"] .adspec-kv b { color: #e5e7eb; }
.adx-mask {
position: fixed; inset: 0; z-index: 9000;
background: rgba(15,19,25,.62);
display: flex; align-items: center; justify-content: center;
padding: 1rem;
}
.adx-mask.hidden { display: none; }
.adx-box {
width: 100%; max-width: 62rem; max-height: 88vh;
background: #fff; border-radius: 14px; overflow: hidden;
display: flex; flex-direction: column;
box-shadow: 0 18px 50px rgba(0,0,0,.32);
}
.adx-head {
display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
padding: .85rem 1rem; border-bottom: 1px solid var(--mc-line);
}
.adx-head b { font-size: 1rem; }
.adx-sub { color: #6b7280; font-size: .82rem; }
.adx-x {
margin-left: auto; border: 0; background: transparent; cursor: pointer;
font-size: 1rem; color: #9ca3af; padding: .2rem .5rem; border-radius: .4rem;
}
.adx-x:hover { background: #f3f4f6; color: #374151; }
.adx-body { padding: .9rem 1rem; overflow: auto; flex: 1 1 auto; }
.adx-loading { padding: 2rem 0; text-align: center; color: #9ca3af; font-size: .88rem; line-height: 1.9; }
.adx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .8rem; }
.adx-item {
border: 1px solid #e9ecf3; border-radius: 11px; overflow: hidden;
background: #fbfcfe; transition: border-color .15s, box-shadow .15s;
}
.adx-item.on { border-color: var(--mc-acc); box-shadow: 0 0 0 2px var(--mc-acc-22); }
.adx-pick {
display: flex; align-items: center; gap: .4rem;
padding: .45rem .6rem; font-size: .82rem; cursor: pointer;
border-bottom: 1px solid #f1f3f8;
}
.adx-thumb { background: #fff; display: flex; align-items: center; justify-content: center; min-height: 5rem; }
.adx-meta { padding: .35rem .6rem .5rem; font-size: .72rem; color: #9ca3af; }
.adx-meta i { font-style: normal; color: #059669; margin-left: .35rem; }
.adx-meta i.adx-pure { color: #cbd5e1; }
.adx-foot {
display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
padding: .7rem 1rem; border-top: 1px solid var(--mc-line); background: #fbfcfe;
}
.adx-all { font-size: .84rem; display: flex; align-items: center; gap: .3rem; cursor: pointer; }
.adx-note { font-size: .78rem; color: #6b7280; flex: 1 1 10rem; }
.adx-btn {
padding: .5rem 1.1rem; border: 0; border-radius: 9px;
color: #fff; font: inherit; font-weight: 800; cursor: pointer; font-size: .86rem;
background: linear-gradient(135deg, var(--mc-acc), #6366f1);
box-shadow: 0 2px 10px var(--mc-acc-33);
}
.adx-btn:disabled { opacity: .55; cursor: not-allowed; }
html[data-theme="dark"] .adx-box { background: #14181f; }
html[data-theme="dark"] .adx-head,
html[data-theme="dark"] .adx-foot { border-color: #232833; background: #171b22; }
html[data-theme="dark"] .adx-item { background: #171b22; border-color: #2b313b; }
html[data-theme="dark"] .adx-thumb { background: #0f1319; }
html[data-theme="dark"] .adx-sub,
html[data-theme="dark"] .adx-meta { color: #9ca3af; }
.adx-t-grid { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.adx-t-form { flex: 1 1 17rem; min-width: 15rem; }
.adx-t-prev { flex: 1 1 15rem; min-width: 13rem; }
.adx-t-lb { display: block; font-size: .78rem; font-weight: 700; color: #374151; margin: .55rem 0 .25rem; }
.adx-t-lb:first-child { margin-top: 0; }
.adx-t-tip { font-weight: 400; color: #9ca3af; }
.adx-t-in {
width: 100%; padding: .45rem .55rem; border: 1px solid #e5e7eb; border-radius: .45rem;
font: inherit; font-size: .88rem; box-sizing: border-box;
}
.adx-t-in:focus { outline: none; border-color: var(--mc-acc); box-shadow: 0 0 0 2px var(--mc-acc-22); }
.adx-t-row { display: flex; align-items: center; gap: .45rem; margin-top: .6rem; flex-wrap: wrap; }
.adx-t-lb2 { font-size: .78rem; font-weight: 700; color: #374151; }
.adx-chip {
padding: .28rem .7rem; border: 1px solid #e5e7eb; border-radius: 999px;
background: #fff; color: #6b7280; font: inherit; font-size: .8rem; cursor: pointer;
}
.adx-chip.on { border-color: var(--mc-acc); color: var(--mc-acc-ink); background: var(--mc-acc-soft); }
.adx-swatch {
width: 1.5rem; height: 1.5rem; border-radius: 50%; cursor: pointer;
border: 2px solid #e5e7eb; padding: 0;
}
.adx-swatch.on { border-color: var(--mc-acc); box-shadow: 0 0 0 2px var(--mc-acc-33); }
.adx-t-scale { display: flex; align-items: center; gap: .4rem; margin-top: .7rem; font-size: .78rem; color: #374151; }
.adx-t-scale input[type="range"] { flex: 1 1 auto; }
.adx-t-note { margin-top: .5rem; font-size: .75rem; color: #9ca3af; line-height: 1.7; }
.adx-t-canvas { display: block; width: 100%; height: auto; border-radius: 6px; }
html[data-theme="dark"] .adx-t-lb,
html[data-theme="dark"] .adx-t-lb2,
html[data-theme="dark"] .adx-t-scale { color: #d1d5db; }
html[data-theme="dark"] .adx-t-in { background: #171b22; border-color: #2b313b; color: #e5e7eb; }
html[data-theme="dark"] .adx-chip { background: #171b22; border-color: #2b313b; color: #9ca3af; }
html[data-theme="dark"] .adx-chip.on { background: #241a3d; border-color: var(--mc-acc); color: #c4b5fd; }
.adspec-head-btns { display: inline-flex; gap: .4rem; flex-wrap: wrap; }
.adx-g-text {
margin: 0; padding: .9rem 1rem;
background: #f8fafc; border: 1px solid #e9ecf3; border-radius: 10px;
font-family: Consolas, "Courier New", "Microsoft YaHei", monospace;
font-size: .82rem; line-height: 1.85; color: #111827;
white-space: pre-wrap; word-break: break-word;
max-height: 52vh; overflow: auto;
}
.adx-btn-ghost {
background: #fff; color: #374151; border: 1px solid #e5e7eb;
box-shadow: none;
}
.adx-btn-ghost:hover { border-color: #c4b5fd; color: var(--mc-acc-ink); }
html[data-theme="dark"] .adx-g-text { background: #0f1319; border-color: #2b313b; color: #e5e7eb; }
html[data-theme="dark"] .adx-btn-ghost { background: #171b22; border-color: #2b313b; color: #d1d5db; }
.up-head { position: relative; }
.up-avatar {
background: linear-gradient(135deg, var(--mc-acc), #6366f1 55%, #06b6d4);
box-shadow: 0 3px 12px rgba(124, 58, 237, .32);
}
.up-name { letter-spacing: .2px; }
.up-cards .up-card:first-child {
background: linear-gradient(135deg, #faf5ff, #eef2ff);
border-color: var(--mc-acc-line);
}
.up-cards .up-card:first-child b { font-size: 1.15rem; color: #5b21b6; }
.up-rewards { display: grid; grid-template-columns: 1fr; gap: .35rem; margin-top: .5rem; }
.up-rw {
position: relative; display: flex; gap: .4rem;
align-items: center; flex-wrap: wrap;
padding: .3rem .5rem; border-radius: .7rem; overflow: hidden;
border: 1px solid #e9ecf3; background: #fff; text-decoration: none;
transition: transform .15s, box-shadow .15s, border-color .15s;
}
.up-rw:hover { transform: translateY(-1px); border-color: #c4b5fd; box-shadow: 0 4px 14px rgba(var(--mc-shadow-rgb, 124, 58, 237), 0.12); }
.up-rw-ico {
flex: 0 0 auto; width: 1.25rem; height: 1.25rem; border-radius: .4rem;
display: flex; align-items: center; justify-content: center;
font-size: .78rem; line-height: 1;
}
.up-rw-checkin { background: linear-gradient(135deg, #fff7ed, #ffedd5); border-color: #fed7aa; }
.up-rw-checkin .up-rw-ico { background: linear-gradient(135deg, #fb923c, #ea580c); }
.up-rw-invite { background: linear-gradient(135deg, #fdf2f8, #fce7f3); border-color: #fbcfe8; }
.up-rw-invite .up-rw-ico { background: linear-gradient(135deg, #ec4899, #db2777); }
.up-rw-t { font-size: .78rem; font-weight: 800; color: #1f2937; flex: 0 0 auto; }
.up-rw-d { font-size: .66rem; color: #6b7280; line-height: 1.25; min-width: 0; }
.up-rw-n {
position: absolute; right: .45rem; top: .45rem;
font-size: .6rem; font-weight: 800; color: #fff;
background: #ef4444; border-radius: 999px; padding: 0 .32rem; line-height: 1.35;
}
.up-rw-dot {
position: absolute; right: .55rem; top: .55rem; width: .42rem; height: .42rem;
border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,.6);
animation: upPulse 1.8s infinite;
}
.up-rw {
display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
padding: 0.42rem 0.6rem;
margin-bottom: 0.35rem;
}
.up-rw .up-rw-ico { flex: 0 0 auto; font-size: 0.95rem; line-height: 1; }
.up-rw .up-rw-t { flex: 0 0 auto; font-size: 0.78rem; font-weight: 800; }
.up-rw .up-rw-d {
flex: 1 1 auto; min-width: 0;
font-size: 0.7rem; color: #6b7280;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html[data-theme="dark"] .up-rw .up-rw-d { color: #9ca3af; }
.up-rw .up-inv-row {
flex: 0 0 auto; display: flex; align-items: center; gap: 0.32rem; margin: 0;
}
.up-rw .up-inv-row .up-rw-d { flex: 0 0 auto; }
.up-rw .up-inv-code {
font-size: 0.64rem; padding: 0.1rem 0.34rem;
max-width: 8.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.up-vip .up-vip-tx { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
@media (max-width: 420px) {
.up-rw .up-rw-d { flex: 1 1 100%; white-space: normal; }
.up-rw .up-inv-row { flex: 1 1 100%; }
.up-rw-more {
min-height: 22px; display: inline-flex; align-items: center;
font-size: 0.58rem; line-height: 1.4;
margin-left: auto;
color: #9a3412; text-decoration: none;
white-space: nowrap;
}
.up-rw-more:hover { text-decoration: underline; }
.up-btn-primary {
padding: 0.2rem 0.56rem; font-size: 0.68rem; line-height: 1.4;
}
.up-inv-copy {
min-height: 22px; display: inline-flex; align-items: center;
padding: 0.16rem 0.46rem; font-size: 0.66rem; line-height: 1.4;
}
}
@keyframes upPulse {
0% { box-shadow: 0 0 0 0 rgba(239,68,68,.55); }
70% { box-shadow: 0 0 0 .5rem rgba(239,68,68,0); }
100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
#up-checkin .up-btn-primary {
min-height: 16px;
padding: .1rem .55rem;
font-size: .72rem;
line-height: 1.15;
border-radius: .35rem;
}
.up-rw-more {
flex: 0 0 auto; margin-left: auto;
font-size: .68rem; font-weight: 700; color: #9a3412;
padding: .15rem .4rem; min-height: 22px; border-radius: .4rem;
text-decoration: none; line-height: 1.4;
background: rgba(255,255,255,.7); border: 1px solid #fed7aa;
transition: background .15s, border-color .15s;
}
.up-rw-more:hover { background: #fff; border-color: #fb923c; }
html[data-theme="dark"] .up-pay-seg { background: #232a36; border-color: rgba(255,255,255,.1); }
.tm-loading { padding: 2rem 0; text-align: center; color: #9ca3af; font-size: 0.84rem; }
.tm-card {
border: 1px solid var(--mc-edge); border-radius: 1rem;
background: var(--mc-card); box-shadow: var(--mc-shadow);
padding: 1rem 1.1rem; margin-bottom: 0.9rem;
}
html[data-theme="dark"] .tm-card { border-color: var(--mc-edge); }
.tm-card h3 { font-size: 0.94rem; font-weight: 800; margin: 0 0 0.7rem; }
.tm-card h3 small { font-size: 0.72rem; color: #9ca3af; font-weight: 600; margin-left: 0.3rem; }
.tm-none-ico { font-size: 2.4rem; text-align: center; margin-bottom: 0.4rem; }
.tm-card h2 { font-size: 1.1rem; font-weight: 800; text-align: center; margin: 0 0 0.5rem; }
.tm-card p { font-size: 0.82rem; color: #6b7280; line-height: 1.85; text-align: center; margin: 0; }
.tm-none-btns { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
html[data-theme="dark"] .tm-hero { border-color: var(--mc-edge); }
.tm-tag-warn { background: #fee2e2; color: #b91c1c; }
html[data-theme="dark"] .tm-tag { background: #2a2140; color: #c4b5fd; }
.tm-hero {
display: flex; flex-direction: column; gap: 0;
padding: 0.85rem 1rem;
border: 1px solid var(--mc-edge);
border-radius: 1rem;
background: var(--mc-head-bg);
box-shadow: var(--mc-shadow);
}
.tm-hero-top {
display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
}
.tm-hero-ava {
flex: 0 0 auto; width: 52px; height: 52px; border-radius: 0.9rem;
display: flex; align-items: center; justify-content: center;
font-size: 1.5rem;
background: linear-gradient(135deg, var(--brand-from, #9333ea), var(--brand-to, #6366f1));
}
.tm-hero-main { flex: 1 1 220px; min-width: 0; }
.tm-hero-row { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.tm-hero-row h2 { font-size: 1.15rem; font-weight: 800; margin: 0; }
.tm-edit {
font-size: 0.68rem; font-weight: 700; line-height: 1.5;
padding: 0.1rem 0.45rem; border-radius: 999px; cursor: pointer;
border: 1px solid var(--mc-acc-line, #ddd6fe);
background: transparent; color: var(--mc-acc);
font-family: inherit;
}
.tm-edit:hover { background: var(--mc-acc-soft, #ede9fe); }
.tm-tag {
font-size: 0.66rem; font-weight: 700; padding: 0.1rem 0.45rem;
border-radius: 999px; background: var(--mc-acc-soft, #ede9fe);
color: var(--mc-acc-ink, #5b21b6); white-space: nowrap;
}
.tm-tag-warn { background: #fee2e2; color: #b91c1c; }
html[data-theme="dark"] .tm-tag-warn { background: #3a1f22; color: #fca5a5; }
.tm-hero-sub { font-size: 0.75rem; color: #6b7280; margin: 0.3rem 0 0; line-height: 1.7; }
html[data-theme="dark"] .tm-hero-sub { color: #9ca3af; }
.tm-hero-acts { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.4rem; }
.tm-owner { font-size: 0.7rem; font-weight: 800; color: var(--mc-acc); }
.tm-link { font-size: 0.75rem; font-weight: 700; color: var(--mc-acc); text-decoration: none; }
.tm-link:hover { text-decoration: underline; }
.tm-stats {
display: flex; align-items: stretch; gap: 0;
flex: 0 1 auto;
border-left: 1px solid var(--mc-edge);
padding-left: 0.2rem;
}
.tm-stat { padding: 0 0.85rem; text-align: center; min-width: 4.4rem; }
.tm-stat b { display: block; font-size: 1.05rem; font-weight: 800; color: var(--mc-acc); line-height: 1.3; }
.tm-stat span { display: block; font-size: 0.66rem; color: #9ca3af; margin-top: 0.05rem; white-space: nowrap; }
.tm-pool {
flex: 0 0 auto; text-align: right;
display: flex; flex-direction: column; align-items: flex-end;
padding-left: 0.9rem; border-left: 1px solid var(--mc-edge);
}
.tm-pool > span { font-size: 0.68rem; color: #9ca3af; }
.tm-pool > b { font-size: 1.6rem; font-weight: 800; color: var(--mc-acc); line-height: 1.15; }
.tm-pool .tm-mine { font-size: 0.68rem; color: #9ca3af; margin-top: 0.1rem; }
.tm-pool .tm-mine b { color: #1f2937; font-size: 0.8rem; }
html[data-theme="dark"] .tm-pool .tm-mine b { color: #e5e7eb; }
.tm-paysrc {
margin-top: 0.75rem; padding-top: 0.7rem;
border-top: 1px solid var(--mc-edge);
}
.tm-paysrc-row {
display: flex; align-items: center; justify-content: space-between;
gap: 0.8rem; flex-wrap: wrap;
}
.tm-paysrc-tx { flex: 1 1 240px; min-width: 0; }
.tm-paysrc-tx b { font-size: 0.8rem; font-weight: 800; }
.tm-paysrc-tx p { font-size: 0.7rem; color: #9ca3af; margin: 0.1rem 0 0; }
@media (max-width: 860px) {
.tm-stats {
flex: 1 1 100%; border-left: 0; padding-left: 0;
border-top: 1px solid var(--mc-edge); padding-top: 0.6rem; margin-top: 0.15rem;
justify-content: space-between;
}
.tm-stat { padding: 0 0.3rem; min-width: 0; flex: 1 1 0; }
.tm-pool {
flex: 1 1 100%; align-items: flex-start; text-align: left;
border-left: 0; padding-left: 0;
border-top: 1px solid var(--mc-edge); padding-top: 0.6rem;
}
}
html[data-theme="dark"] .tm-tag-warn { background: #3a1f22; color: #fca5a5; }
.tm-link:hover { text-decoration: underline; }
html[data-theme="dark"] .tm-pool .tm-mine b { color: #e5e7eb; }
.tm-paysrc-row { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; }
.tm-paysrc-row b { font-size: 0.86rem; }
.tm-paysrc-row p { font-size: 0.74rem; color: #6b7280; margin: 0.2rem 0 0; text-align: left; }
.tm-tabs {
display: flex; gap: 0.3rem; flex-wrap: wrap;
border-bottom: 1px solid var(--border, #e9ecf3); margin-bottom: 0.5rem;
}
html[data-theme="dark"] .tm-tabs { border-color: rgba(255,255,255,.09); }
.tm-tab {
font: inherit; font-size: 0.84rem; font-weight: 700; color: #6b7280;
background: transparent; border: 0; cursor: pointer;
padding: 0.55rem 0.9rem; min-height: 40px;
border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tm-tab:hover { color: #7c3aed; }
.tm-tab.on { color: var(--mc-tab-ink); background: var(--mc-tab-bg); border-radius: var(--mc-tab-r); }
.tm-pane { display: none; }
.tm-pane.on { display: block; }
.tm-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.tm-table th {
text-align: left; font-weight: 700; color: #6b7280; font-size: 0.74rem;
padding: 0.45rem 0.5rem; border-bottom: 1px solid #eef0f5; white-space: nowrap;
}
html[data-theme="dark"] .tm-table th { border-color: rgba(255,255,255,.08); }
.tm-table td { padding: 0.5rem; border-bottom: 1px solid #f6f7fb; }
html[data-theme="dark"] .tm-table td { border-color: rgba(255,255,255,.05); }
.tm-neg { color: #ef4444; font-weight: 700; }
.tm-pos { color: #16a34a; font-weight: 700; }
.tm-empty { font-size: 0.8rem; color: #9ca3af; padding: 0.8rem 0; text-align: center; }
.tm-works-head {
display: flex; align-items: center; justify-content: space-between;
gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.45rem;
}
.tm-works-head h3 { margin: 0; }
.tm-kinds { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.tm-kind {
font: inherit; font-size: 0.72rem; font-weight: 700; cursor: pointer;
padding: 0.22rem 0.6rem; min-height: 28px;
border: 1px solid #e5e7eb; border-radius: 999px;
background: #fff; color: #4b5563;
}
.tm-kind:hover { border-color: #a78bfa; color: #6d28d9; }
.tm-kind.on { background: var(--mc-acc); border-color: var(--mc-acc); color: #fff; }
html[data-theme="dark"] .tm-kind { background: #1b2029; border-color: rgba(255,255,255,.14); color: #cbd5e1; }
html[data-theme="dark"] .tm-kind.on { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.tm-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
gap: 0.6rem;
}
.tm-w {
border: 1px solid #eef0f5; border-radius: 0.7rem; overflow: hidden;
background: #fff; transition: border-color .15s, box-shadow .15s;
}
.tm-w { cursor: zoom-in; transition: transform .14s, box-shadow .14s; }
.tm-w:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(17, 24, 39, .5); }
.tm-w:focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }
.tm-w:active { transform: translateY(0); }
.tm-w:hover { border-color: #c4b5fd; box-shadow: 0 4px 14px rgba(124,58,237,.12); }
html[data-theme="dark"] .tm-w { background: #161a24; border-color: rgba(255,255,255,.08); }
.tm-w-media {
aspect-ratio: 4 / 3; background: #f6f7fb;
display: flex; align-items: center; justify-content: center; overflow: hidden;
}
html[data-theme="dark"] .tm-w-media { background: #131720; }
.tm-w-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-noimg { font-size: 1.6rem; opacity: .5; }
.tm-w-body { padding: 0.4rem 0.5rem 0.5rem; }
.tm-w-p {
font-size: 0.74rem; color: #374151; margin: 0; line-height: 1.45;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html[data-theme="dark"] .tm-w-p { color: #cbd5e1; }
.tm-w-meta { font-size: 0.66rem; color: #9ca3af; display: block; margin-top: 0.25rem; }
.tm-w-acts { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.35rem; }
.tm-act {
font: inherit; font-size: 0.66rem; font-weight: 700; line-height: 1;
padding: 0.28rem 0.5rem; border-radius: 999px; cursor: pointer;
border: 1px solid #ddd6fe; background: #faf8ff; color: #6d28d9;
text-decoration: none; display: inline-flex; align-items: center;
}
.tm-act:hover { background: #f5f3ff; border-color: #c4b5fd; }
html[data-theme="dark"] .tm-act {
background: rgba(124,58,237,.14); border-color: rgba(124,58,237,.35); color: #c4b5fd;
}
.tm-more { text-align: center; margin-top: 0.9rem; }
.tm-btn {
font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer;
padding: 0.4rem 1.1rem; min-height: 34px;
border: 1px solid #ddd6fe; border-radius: 999px;
background: #faf8ff; color: #6d28d9;
}
.tm-btn:hover { background: #f5f3ff; }
.tm-btn:disabled { opacity: .6; cursor: default; }
@media (max-width: 860px) {
.tm-card { padding: 0.85rem 0.8rem; }
.tm-table th, .tm-table td { white-space: nowrap; }
#tm-members, #tm-logs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
html[data-theme="dark"] .up-rw-more {
background: rgba(255,255,255,.08); border-color: rgba(251,146,60,.4); color: #fdba74;
}
.up-inv-row { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; margin-left: auto; }
.up-inv-row .up-btn-primary { min-height: 16px; padding: .1rem .55rem; line-height: 1.15; }
.up-inv-code {
font-family: Consolas, monospace; font-size: .64rem;
background: rgba(255,255,255,.85); border: 1px dashed #f9a8d4; border-radius: .35rem;
padding: .04rem .26rem; color: #9d174d; max-width: 5.5rem; line-height: 1.5;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.up-inv-copy {
border: 0; border-radius: .4rem; cursor: pointer; font: inherit;
font-size: .66rem; font-weight: 800; color: #fff;
min-height: 16px; padding: .1rem .45rem; line-height: 1.15;
background: linear-gradient(135deg, #ec4899, #db2777);
}
.up-inv-copy:hover { filter: brightness(1.06); }
html[data-theme="dark"] .up-rw { background: #171b22; border-color: #2b313b; }
html[data-theme="dark"] .up-rw-checkin { background: #2a1f14; border-color: #7c4a1e; }
html[data-theme="dark"] .up-rw-invite { background: #2a1420; border-color: #7c2d50; }
html[data-theme="dark"] .up-rw-t { color: #e5e7eb; }
html[data-theme="dark"] .up-inv-code { background: #11151b; border-color: #7c2d50; color: #f9a8d4; }
html[data-theme="dark"] .up-cards .up-card:first-child { background: #1e1630; border-color: #4c3a7a; }
@media (max-width: 400px) {
.up-rewards { grid-template-columns: 1fr; }
}
.nav-contact-wrap { position: relative; display: inline-flex; }
.nav-contact-menu {
position: absolute; top: calc(100% + .4rem); left: 0; z-index: 60;
min-width: 13.5rem; padding: .35rem;
background: #fff; border: 1px solid #e9ecf3; border-radius: .8rem;
box-shadow: 0 10px 30px rgba(15, 23, 42, .13);
display: flex; flex-direction: column; gap: .1rem;
}
.nc-item {
display: flex; align-items: center; gap: .55rem; width: 100%;
padding: .5rem .6rem; border: 0; background: transparent;
border-radius: .5rem; cursor: pointer; font: inherit; text-align: left;
}
.nc-item:hover { background: #f5f3ff; }
.nc-ico { font-size: 1rem; line-height: 1; flex: 0 0 auto; }
.nc-body { display: flex; flex-direction: column; min-width: 0; }
.nc-body b { font-size: .82rem; font-weight: 800; color: #1f2937; }
.nc-body small {
font-size: .68rem; color: #9ca3af; margin-top: .05rem;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html[data-theme="dark"] .nav-contact-menu { background: #171b22; border-color: #2b313b; }
html[data-theme="dark"] .nc-item:hover { background: #241d3a; }
html[data-theme="dark"] .nc-body b { color: #e5e7eb; }
.page-wide {
width: 100%;
max-width: none;
margin: 0;
padding: 2rem clamp(0.375rem, 0.75vw, 1rem);
}
.page-wide--tight {
width: 100%;
max-width: none;
margin: 0;
padding: 1.5rem clamp(0.375rem, 0.75vw, 1rem) 4rem;
}
@media (max-width: 639px) {
.page-wide, .page-wide--tight { padding-left: clamp(0.375rem, 0.75vw, 1rem); padding-right: 1rem; }
}
.bd-file-hidden { display: none; }
.bp-wrap {
display: inline-flex; align-items: center; gap: .45rem;
font-size: .8rem; color: #4b5563;
}
.bp-label { font-weight: 700; color: #6b7280; font-size: .76rem; }
.bp-sel {
padding: .3rem .5rem; border: 1px solid #e5e7eb; border-radius: .5rem;
background: #fff; font: inherit; font-size: .8rem; color: #1f2937;
max-width: 14rem;
}
.bp-sel:focus { outline: 2px solid rgba(124,58,237,.25); border-color: #7c3aed; }
.bp-manage {
font-size: .74rem; color: #7c3aed; text-decoration: none;
border-bottom: 1px dashed rgba(124,58,237,.4);
}
.bp-manage:hover { border-bottom-style: solid; }
.bp-one { font-size: .76rem; color: #6b7280; }
.bp-one b { color: #1f2937; }
.dash-todo {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
padding: .55rem .9rem; margin-bottom: 1rem; border-radius: .7rem;
font-size: .82rem; font-weight: 600;
background: #fffbeb; border: 1px solid #fcd34d; color: #92400e;
}
.dash-todo.ok { background: #f0fdf4; border-color: #86efac; color: #166534; }
html[data-theme="dark"] .dash-todo { background: #2a2415; border-color: #78560f; color: #fcd34d; }
html[data-theme="dark"] .dash-todo.ok { background: #14261a; border-color: #166534; color: #86efac; }
.dash-kpis {
display: grid; gap: .7rem; margin-bottom: 1rem;
grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
}
.dash-kpi {
display: flex; align-items: center; gap: .65rem;
padding: .8rem .9rem; border-radius: .8rem;
background: #fff; border: 1px solid #e9ecf3;
transition: transform .15s, box-shadow .15s;
}
.dash-kpi:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #0f172a14; }
.dash-kpi-ico {
flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: .6rem;
display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
background: linear-gradient(135deg, #ede9fe, #e0e7ff);
}
.dash-kpi-body { min-width: 0; }
.dash-kpi-body b { display: block; font-size: 1.32rem; font-weight: 800; line-height: 1.2; color: #1f2937; }
.dash-kpi-lb { display: block; font-size: .7rem; color: #9ca3af; margin-top: .05rem; }
.dash-kpi-sub { display: block; font-size: .66rem; color: #7c3aed; font-weight: 700; margin-top: .1rem; }
.dash-kpi.t-warn { border-color: #fcd34d; background: #fffdf5; }
.dash-kpi.t-warn .dash-kpi-ico { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.dash-kpi.t-ok .dash-kpi-ico { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.dash-trends { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dash-trend-t { display: block; font-size: .72rem; font-weight: 700; color: #6b7280; margin-bottom: .2rem; }
.dash-chart { width: 100%; height: 84px; display: block; }
.dash-cols {
display: grid; gap: 1rem; margin-top: 1rem;
grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.dash-panel .panel-body { display: flex; flex-direction: column; gap: .42rem; font-size: .84rem; }
.dash-row { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.dash-row > span { color: #6b7280; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-row > b { font-weight: 800; color: #1f2937; white-space: nowrap; }
.dash-row > b.t-warn { color: #b45309; }
.dash-row > b.t-ok { color: #15803d; }
.dash-mini-t {
font-size: .68rem; font-weight: 800; color: #9ca3af;
margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed #e9ecf3;
}
.dash-bars { display: flex; flex-direction: column; gap: .34rem; }
.dash-bar-row { display: flex; align-items: center; gap: .45rem; font-size: .74rem; }
.dash-bar-lb { flex: 0 0 5.4rem; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-bar-track { flex: 1 1 auto; height: .42rem; border-radius: 999px; background: #f1f2f7; overflow: hidden; min-width: 0; }
.dash-bar-track > i { display: block; height: 100%; border-radius: 999px; transition: width .3s; }
.dash-bar-n { flex: 0 0 auto; font-weight: 800; color: #374151; min-width: 2.4rem; text-align: right; }
.dash-bar-p { flex: 0 0 2.6rem; color: #9ca3af; text-align: right; }
html[data-theme="dark"] .dash-kpi { background: #171b24; border-color: #262c38; }
html[data-theme="dark"] .dash-kpi:hover { box-shadow: 0 6px 18px #00000066; }
html[data-theme="dark"] .dash-kpi-body b { color: #e5e7eb; }
html[data-theme="dark"] .dash-kpi-ico { background: linear-gradient(135deg, #2a2140, #1e2536); }
html[data-theme="dark"] .dash-row > b { color: #e5e7eb; }
html[data-theme="dark"] .dash-bar-track { background: #232a36; }
html[data-theme="dark"] .dash-bar-n { color: #cbd5e1; }
html[data-theme="dark"] .dash-mini-t { border-top-color: #262c38; }
body[data-view="guest"] .mc-self { display: none !important; }
body[data-view="guest"] .mc-strip { margin-left: 0; margin-right: 0; }
body[data-view="guest"] .mc-tabs { display: none !important; }
.mc-head-lower {
display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
margin-top: .5rem; padding-top: .45rem;
border-top: 1px dashed var(--mc-edge);
min-width: 0;
}
.mc-head-lower .mc-stats {
flex: 1 1 auto; min-width: 0;
grid-template-columns: repeat(auto-fit, minmax(2.6rem, 1fr));
margin: 0;
}
.mc-stats-compact .mc-stat { padding: .05rem .12rem; gap: 0; }
.mc-stats-compact .mc-stat b { font-size: .92rem; line-height: 1.15; }
.mc-stats-compact .mc-stat span { font-size: .6rem; }
.mc-head-lower .mc-share { margin: 0; flex: 0 0 auto; }
body[data-page="me"] .tool-tab {
padding: .34rem .8rem;
font-size: .82rem;
border-radius: 999px;
gap: .28rem;
}
body[data-page="me"] .mc-tabs { margin-bottom: .5rem; }
.user-pop {
max-height: calc(100vh - 5.5rem);
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
}
.user-pop { padding: 0.6rem; }
.up-head { padding-bottom: 0.5rem; gap: 0.5rem; }
.up-sec { padding: 0.45rem 0 0.15rem; }
.up-sec-title { font-size: 0.74rem; }
.up-note { margin: 0.2rem 0 0.3rem; font-size: 0.66rem; }
.up-btns { gap: 0.6rem; margin-top: 0.1rem; }
.up-btns .up-ghost {
flex: 0 0 auto; padding: 0; border: 0; background: none;
font-size: 0.72rem; font-weight: 700; color: var(--mc-acc);
min-height: 0; text-align: left;
}
.up-btns .up-ghost:hover { background: none; text-decoration: underline; }
.up-rewards { gap: 0.28rem; margin-top: 0.3rem; }
.up-rw { padding: 0.36rem 0.5rem; margin-bottom: 0.28rem; }
.up-acct { margin-top: 0.35rem; }
.up-acct-card { padding: 0.4rem 0.55rem; border-radius: 0.55rem; }
.up-acct-card b { font-size: 1.02rem; }
.up-acct-hint { margin: 0.2rem 0 0; font-size: 0.62rem; }
.up-vip { margin-top: 0.5rem; padding: 0.5rem 0.65rem; }
.up-grid { gap: 0.35rem; margin-top: 0.5rem; }
.up-grid a, .up-grid button { padding: 0.34rem 0.4rem; font-size: 0.76rem; }
html[data-theme="dark"] .user-pop { scrollbar-color: #3a4252 transparent; }
.up-note {
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
line-height: 1.35;
}
.up-sec[id="up-team-sec"] { padding-top: 0.4rem; }
@media (min-width: 1024px) {
.mc-stats-compact .mc-stat:nth-child(n + 7) { display: none; }
}
.mc-head-lower { flex: 1 1 260px; }
.mc-head-info { flex: 0 1 150px; }
.mc-head-lower .mc-stats { grid-template-columns: repeat(auto-fit, minmax(3.1rem, 1fr)); }
.mc-stats-compact .mc-stat b { font-size: 1.02rem; }
.mc-stats-compact .mc-stat span { font-size: 0.64rem; }
.mc-stats-compact .mc-stat { padding: .06rem .2rem; }
@media (min-width: 1024px) {
.mc-stats-compact .mc-stat:nth-child(n + 7) { display: flex; }
}
@media (min-width: 1024px) {
.mc-head-main {
display: grid;
grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr);
align-items: center;
gap: .45rem .9rem;
padding-bottom: .55rem;
}
.mc-ava-wrap { grid-column: 1; grid-row: 1; align-self: start; }
.mc-head-info { display: contents; }
.mc-name-row {
grid-column: 1 / span 3; grid-row: 1;
padding-left: 3.4rem;
min-width: 0;
}
.mc-vip .mc-vip-perks { padding-right: 0; }
.mc-vip-perks { flex-wrap: nowrap; }
.mc-bio { grid-column: 1; grid-row: 1; align-self: end; margin: 0; padding-left: 0; }
.mc-sub { grid-column: 1; grid-row: 1; align-self: end; margin: 0; padding-left: 0; transform: translateY(1rem); }
.mc-head-right {
grid-column: 4; grid-row: 1;
align-items: flex-end; justify-self: end;
min-width: 0;
}
.mc-head-lower {
grid-column: 1 / -1; grid-row: 2;
display: grid;
grid-template-columns: minmax(0, 3.25fr) minmax(0, 1fr);
align-items: center; gap: .9rem;
margin-top: .1rem; padding-top: .5rem;
}
.mc-head-lower .mc-stats {
grid-template-columns: repeat(10, minmax(0, 1fr));
flex: 0 0 auto; margin: 0;
}
.mc-head-lower .mc-stats, .mc-strip { margin-left: 0; margin-right: 0; }
.mc-head-lower .mc-share { justify-self: end; margin: 0; min-width: 0; }
.mc-stats-compact .mc-stat b { font-size: 1.05rem; }
.mc-stats-compact .mc-stat span { font-size: 0.64rem; }
.mc-stats-compact .mc-stat { padding: .1rem .25rem; }
}
.tpl-bar { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; flex-wrap: wrap; }
.tpl-bar-label { font-size: .74rem; color: #7c3aed; font-weight: 700; flex: 0 0 auto; }
.tpl-list { display: flex; gap: 6px; overflow-x: auto; flex: 1 1 auto; padding-bottom: 2px; }
.tpl-chip { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
border: 1px solid #e9e5f7; background: #faf8ff; color: #4c1d95; border-radius: 999px;
padding: 5px 10px; font-size: .74rem; cursor: pointer; transition: .15s; max-width: 220px; }
.tpl-chip:hover { border-color: #c4b5fd; background: #f5f3ff; }
.tpl-chip b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-chip .tpl-del { color: #b91c1c; opacity: .5; font-size: .8rem; line-height: 1; }
.tpl-chip .tpl-del:hover { opacity: 1; }
.tpl-save { flex: 0 0 auto; border: 1px dashed #ddd6fe; background: #fff; color: #6d28d9;
border-radius: 999px; padding: 5px 11px; font-size: .74rem; cursor: pointer; }
.tpl-save:hover { border-color: #a78bfa; background: #faf5ff; }
.tpl-empty { font-size: .72rem; color: #9ca3af; }
.tool-panel.at-gallery { grid-template-columns: 1fr !important; }
.tool-panel.at-gallery > .studio-stage { display: none !important; }
.tool-panel.at-gallery #at-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 1200px) { .tool-panel.at-gallery #at-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 900px) { .tool-panel.at-gallery #at-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.tool-panel.at-gallery > .studio-side { width: 100% !important; max-width: none !important; }
.tool-panel.at-gallery > .studio-side > .studio-side-head { display: none !important; }
.tool-panel.at-gallery > .studio-side > .studio-side-foot { display: none !important; }
.tool-panel[data-panel="aitools"] > .studio-side > .studio-side-head { display: none !important; }
.tool-panel[data-panel="aitools"] #at-back,
.btn.et-back {
border: 1px solid #e5e7eb !important;
background: #fff !important;
border-radius: 10px !important;
color: #374151 !important;
box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.tool-panel[data-panel="aitools"] #at-back:hover,
.btn.et-back:hover { border-color: #c4b5fd !important; color: #6d28d9 !important; }
.at-head { position: relative; display: flex; align-items: center; min-height: 40px; margin-bottom: .7rem; }
.at-back {
display: inline-flex; align-items: center; gap: .3rem;
height: 32px; padding: 0 .85rem; border-radius: 9px;
border: 1px solid #d9dbe3; background: #fff; color: #4b5563;
font-size: .8rem; font-weight: 600; cursor: pointer;
box-shadow: 0 1px 2px rgba(16,24,40,.05); transition: all .15s;
}
.at-back:hover { border-color: #c4b5fd; color: #6d28d9; background: #faf5ff; }
.at-back-ico { font-size: .95rem; line-height: 1; }
.at-title {
position: absolute; left: 0; right: 0; text-align: center;
font-size: .95rem; font-weight: 800; color: #111827; pointer-events: none;
}
.at-tabs { display: flex; gap: .4rem; padding: .1rem 0 .6rem; }
.at-tab {
height: 32px; padding: 0 1rem; border-radius: 999px; cursor: pointer;
border: 1px solid #e5e7eb; background: #fff; color: #6b7280;
font-size: .8rem; font-weight: 700;
}
.at-tab.active { background: #6d28d9; border-color: #6d28d9; color: #fff; }
.at-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border-radius: 12px; background: #f3f4f6; }
.at-compare > div { position: relative; }
.at-compare img { width: 100%; display: block; object-fit: cover; }
.at-badge {
position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 6px;
font-size: .68rem; font-weight: 700; color: #fff; background: rgba(17,24,39,.72);
}
.at-badge.ok { background: #6d28d9; }
.at-card { border: 1px solid #eef0f5; border-radius: 14px; background: #fff; overflow: hidden; }
.at-card-foot { padding: .55rem .7rem .7rem; }
.at-card-user { display: flex; align-items: center; gap: .4rem; font-size: .74rem; color: #374151; font-weight: 700; }
.at-card-user i { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(120deg,#7c3aed,#a855f7); display: inline-block; }
.at-card-prompt { font-size: .72rem; color: #6b7280; line-height: 1.6; margin-top: .3rem; }
.at-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 1100px) { .at-grid2 { grid-template-columns: 1fr; } }
.at-back {
height: 36px !important; padding: 0 1rem !important; border-radius: 10px !important;
border-color: #e2e4ea !important; color: #374151 !important;
font-size: .84rem !important; font-weight: 700 !important;
box-shadow: 0 1px 2px rgba(16,24,40,.06) !important;
}
.at-back .at-back-ico { font-size: 1rem; color: #6b7280; }
.at-back:hover { background: #f5f3ff !important; border-color: #c4b5fd !important; color: #6d28d9 !important; }
.at-back:active { transform: translateY(1px); }
.at-tabs-wrap { display: flex; justify-content: center; padding: .1rem 0 .7rem; }
.at-tabs { display: flex; gap: .4rem; }
.tool-panel.at-gallery #at-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: .8rem !important; }
@media (max-width: 1400px) { .tool-panel.at-gallery #at-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
@media (max-width: 1180px) { .tool-panel.at-gallery #at-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 940px) { .tool-panel.at-gallery #at-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .tool-panel.at-gallery #at-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.at-tool-card {
border: 1px solid #eef0f5; border-radius: 12px; background: #fff;
padding: 8px; text-align: left; cursor: pointer; transition: all .15s;
}
.at-tool-card:hover { border-color: #d8ccff; box-shadow: 0 6px 18px -12px rgba(109,40,217,.5); transform: translateY(-1px); }
.at-tool-thumb { position: relative; }
.at-tool-name { font-size: .82rem; font-weight: 800; color: #111827; margin-top: .45rem; }
.at-tool-desc { font-size: .68rem; color: #6b7280; line-height: 1.55; margin-top: 2px; }
.at-wip {
position: absolute; top: 6px; right: 6px;
font-size: .62rem; font-weight: 800; color: #92400e;
background: #fef3c7; border: 1px solid #fde68a;
padding: 1px 6px; border-radius: 999px;
}
.at-upload {
display: block; border: 1px dashed #d9dbe3; border-radius: 12px;
background: #fafbfc; padding: .9rem; cursor: pointer; transition: all .15s;
}
.at-upload:hover { border-color: #b39ddb; background: #faf7ff; }
.at-upload.dragover { border-color: #7c3aed; background: #f5f3ff; }
.at-up-inner { display: flex; align-items: center; gap: .8rem; }
.at-up-btn {
flex: 0 0 auto; padding: .42rem .95rem; border-radius: 9px;
background: #6d28d9; color: #fff; font-size: .8rem; font-weight: 700;
}
.at-up-txt { display: flex; flex-direction: column; gap: 2px; }
.at-up-txt b { font-size: .82rem; color: #111827; }
.at-up-txt span { font-size: .72rem; color: #9ca3af; }
.at-opt-card {
flex: 1 1 0; min-width: 96px; padding: .5rem .7rem; border-radius: 10px;
border: 1px solid #e5e7eb; background: #fff; cursor: pointer; text-align: left;
transition: all .15s;
}
.at-opt-card:hover { border-color: #c4b5fd; }
.at-opt-card.active { border-color: #6d28d9; box-shadow: 0 0 0 2px rgba(109,40,217,.12); }
.at-opt-card .t { font-size: .8rem; font-weight: 700; color: #111827; }
.at-opt-card .d { font-size: .68rem; color: #9ca3af; margin-top: 1px; }
.at-opt-card .tag {
display: inline-block; margin-left: .3rem; font-size: .6rem; font-weight: 800;
color: #b45309; background: #fef3c7; border-radius: 999px; padding: 0 5px;
}
.at-empty { text-align: center; padding: 2.2rem 1rem; }
.at-empty-ico { display: flex; justify-content: center; margin-bottom: .9rem; }
.at-empty-t { font-size: 1.05rem; font-weight: 800; color: #111827; }
.at-empty-s { font-size: .82rem; color: #9ca3af; margin-top: .35rem; }
.at-empty-tips-h { font-size: .8rem; color: #6b7280; margin: 1.4rem 0 .7rem; }
.at-empty-tips { display: flex; justify-content: center; gap: .9rem; flex-wrap: wrap; }
.at-tip {
width: 180px; padding: .9rem .7rem; border-radius: 12px; background: #fff;
border: 1px solid #eef0f5; text-align: center;
}
.at-tip .i { font-size: 1.3rem; margin-bottom: .3rem; }
.at-tip b { display: block; font-size: .82rem; color: #111827; }
.at-tip span { display: block; font-size: .7rem; color: #9ca3af; margin-top: 2px; line-height: 1.5; }
.mcard-desc {
display: block; font-size: .66rem; color: #9ca3af; line-height: 1.5; margin-top: 2px;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.at-grid2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 1100px) { .at-grid2 { grid-template-columns: 1fr; } }
.at-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border-radius: 10px; background: #f3f4f6; }
.at-compare.single { grid-template-columns: 1fr; }
.at-compare > div { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.at-compare img { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-compare .at-badge { position: absolute; top: 8px; left: 8px; }
.at-compare > div:nth-child(2) .at-badge { left: auto; right: 8px; }
.at-card { background: #fff; border: 1px solid #eef0f5; border-radius: 12px; overflow: hidden; }
.at-card-foot { padding: .6rem .75rem .8rem; }
.tool-panel[data-panel="aitools"] .studio-stage {
overflow-y: auto;
max-height: calc(100vh - 190px);
padding-right: 6px;
}
@media (max-width: 1024px) {
.tool-panel[data-panel="aitools"] .studio-stage { max-height: none; overflow: visible; }
}
.at-busy { display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; }
.at-busy-card {
width: min(440px, 100%); text-align: center;
padding: 2rem 1.6rem; border-radius: 18px;
background: linear-gradient(160deg, #faf7ff 0%, #ffffff 60%);
border: 1px solid #ede9fe;
box-shadow: 0 18px 50px -30px rgba(109, 40, 217, .45);
}
.at-busy-card .spinner { margin: 0 auto 1rem; }
.at-busy-t { font-size: 1rem; font-weight: 800; color: #111827; }
.at-busy-s { font-size: .78rem; color: #9ca3af; margin-top: .3rem; }
.at-busy-bar {
height: 6px; border-radius: 999px; background: #f3f0ff; overflow: hidden; margin: 1.1rem 0 .9rem;
}
.at-busy-bar > i {
display: block; height: 100%; width: 40%; border-radius: 999px;
background: linear-gradient(90deg, #a78bfa, #7c3aed, #a78bfa);
animation: at-slide 1.25s ease-in-out infinite;
}
@keyframes at-slide {
0% { transform: translateX(-100%); }
100% { transform: translateX(350%); }
}
.at-busy-steps { display: flex; justify-content: center; gap: .9rem; font-size: .7rem; color: #b4b8c4; }
.at-busy-steps span:last-child { color: #7c3aed; font-weight: 700; }
.mp-plaza { padding: .8rem .9rem 1rem; }
.mp-head { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .6rem; }
.mp-head b { font-size: 1rem; }
.mp-head span { font-size: .72rem; color: #9ca3af; }
.mp-cats { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .5rem; }
.mp-cats button {
flex: 0 0 auto; border: 1px solid #eef0f5; background: #fff; color: #6b7280;
border-radius: 999px; padding: .3rem .8rem; font-size: .76rem;
}
.mp-cats button.on { background: linear-gradient(135deg, #a78bfa, #7c3aed); color: #fff; border-color: transparent; }
.mp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.mp-tool {
border: 1px solid #eef0f5; background: #fff; border-radius: 12px;
padding: .55rem .2rem .45rem; text-align: center; line-height: 1.25;
}
.mp-tool b { display: block; font-size: 1.05rem; }
.mp-tool span { display: block; font-size: .68rem; color: #374151; margin-top: 2px; }
.mp-tool i { display: block; font-size: .6rem; color: #9ca3af; font-style: normal; margin-top: 1px; }
.mp-tool.is-wip { opacity: .45; }
.mp-panel {
position: fixed; inset: 0; z-index: 60; background: rgba(17, 24, 39, .45);
display: flex; align-items: flex-end; justify-content: center;
}
.mp-panel.hidden { display: none; }
.mp-panel-in {
width: 100%; max-height: 88vh; overflow-y: auto; background: #fff;
border-radius: 16px 16px 0 0; padding: 1rem 1rem 1.4rem;
}
.mp-ptitle { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; }
.mp-x { border: 0; background: #f3f4f6; color: #6b7280; border-radius: 999px; padding: .25rem .7rem; font-size: .74rem; }
.mp-up {
display: block; text-align: center; padding: 1.1rem .8rem; border: 1px dashed #d8c9ff;
border-radius: 12px; color: #7c3aed; font-size: .82rem; background: #faf7ff;
}
.mp-thumb img { width: 100%; border-radius: 10px; margin-top: .6rem; }
.mp-label { font-size: .74rem; color: #6b7280; margin: .8rem 0 .35rem; }
.mp-opts { display: flex; gap: .4rem; flex-wrap: wrap; }
.mp-opt { border: 1px solid #eef0f5; background: #fff; border-radius: 10px; padding: .4rem .8rem; font-size: .78rem; color: #374151; }
.mp-opt.on { border-color: #7c3aed; color: #6d28d9; background: #faf5ff; }
.mp-prompt {
width: 100%; border: 1px solid #eef0f5; border-radius: 10px; padding: .55rem .7rem;
font-size: .82rem; resize: vertical;
}
.mp-run {
width: 100%; margin-top: .9rem; border: 0; border-radius: 12px; padding: .8rem;
background: linear-gradient(135deg, #a78bfa, #7c3aed); color: #fff; font-weight: 800; font-size: .9rem;
}
.mp-run[disabled] { opacity: .6; }
.mp-result { margin-top: .8rem; }
.mp-result img { width: 100%; border-radius: 12px; }
.mp-result p { font-size: .74rem; color: #6b7280; text-align: center; margin-top: .4rem; }
.mp-result .mp-err { color: #dc2626; }
.mp-wait { text-align: center; padding: 1rem 0; }
.mp-wait .spinner { margin: 0 auto .5rem; }
.mp-link { display: block; text-align: center; font-size: .78rem; color: #6d28d9; margin-top: .4rem; }
body.mp-list #mm-app { display: none !important; }
body.mp-list .mm-actionbar { display: none !important; }
.mp-head { position: relative; }
.mp-back {
margin-left: auto; border: 1px solid #ede9fe; background: #faf7ff; color: #6d28d9;
border-radius: 999px; padding: .28rem .7rem; font-size: .72rem;
}
.mp-back.hidden { display: none; }
.mp-works { padding: .8rem .9rem 1.2rem; }
.mp-wtabs { display: flex; gap: .4rem; margin-bottom: .6rem; }
.mp-wtabs button {
flex: 1 1 0; border: 1px solid #eef0f5; background: #fff; color: #6b7280;
border-radius: 10px; padding: .42rem 0; font-size: .78rem;
}
.mp-wtabs button.on { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; font-weight: 700; }
.mp-wgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mp-wcard { margin: 0; border: 1px solid #eef0f5; border-radius: 10px; overflow: hidden; background: #fff; }
.mp-wcard img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.mp-wcmp { display: grid; grid-template-columns: 1fr 1fr; }
.mp-wcmp img { aspect-ratio: 1 / 1; }
.mp-wcard figcaption {
font-size: .66rem; color: #6b7280; padding: .35rem .45rem; line-height: 1.4;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mp-wempty { grid-column: 1 / -1; text-align: center; font-size: .76rem; color: #9ca3af; padding: 1.2rem 0; line-height: 1.8; }
.mp-wnoimg { height: 90px; display: flex; align-items: center; justify-content: center; color: #c0c4cc; font-size: .7rem; background: #f9fafb; }
.ic {
width: 1em; height: 1em; fill: none; stroke: currentColor;
stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
vertical-align: -0.14em; flex: 0 0 auto;
}
.nav-icon .ic, .nav-group-icon .ic { width: 1.05rem; height: 1.05rem; stroke-width: 1.7; }
.mm-tab .ic, .ic-tab { width: 1.35rem; height: 1.35rem; stroke-width: 1.8; }
.at-tool-thumb { position: relative; }
.at-tool-thumb > img {
width: 100%; height: 96px; object-fit: cover; border-radius: 10px; display: block;
}
.at-demo {
display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
height: 96px; border-radius: 10px; overflow: hidden;
background: #f8fafc;
}
.at-demo-l, .at-demo-r {
display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
position: relative;
}
.at-demo-l {
filter: saturate(0) contrast(.95);
background:
repeating-linear-gradient(135deg, rgba(148,163,184,.16) 0 6px, rgba(148,163,184,.05) 6px 12px),
#eef1f6;
opacity: .9;
}
.at-demo-r {
background:
radial-gradient(120% 120% at 20% 15%, hsla(var(--h), 90%, 92%, .95) 0%, transparent 60%),
linear-gradient(135deg, hsl(var(--h), 78%, 78%), hsl(calc(var(--h) + 28), 82%, 66%));
}
.at-demo-l span { opacity: .55; }
.at-demo-r span { filter: drop-shadow(0 1px 1px rgba(255,255,255,.7)); }
.at-demo-arrow {
display: flex; align-items: center; justify-content: center;
width: 22px; font-size: .8rem; font-weight: 800; color: #94a3b8;
background: linear-gradient(90deg, #eef1f6, #f5f3ff);
}
.at-ready {
position: absolute; top: 6px; right: 6px; font-size: .6rem; font-weight: 700;
padding: 1px 7px; border-radius: 999px; color: #047857;
background: rgba(220, 252, 231, .95); border: 1px solid #86efac;
}
.ask-mask {
position: fixed; inset: 0; z-index: 9999;
background: rgba(17, 24, 39, .45);
display: flex; align-items: center; justify-content: center;
padding: 1rem;
animation: ask-fade .16s ease-out;
}
@keyframes ask-fade { from { opacity: 0 } to { opacity: 1 } }
.ask-card {
width: min(420px, 100%);
background: #fff; border-radius: 16px; padding: 1.15rem 1.15rem 1rem;
box-shadow: 0 24px 60px -24px rgba(17, 24, 39, .45);
animation: ask-pop .18s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes ask-pop { from { transform: translateY(8px) scale(.98); opacity: .6 } to { transform: none; opacity: 1 } }
.ask-t { font-size: .95rem; font-weight: 800; color: #111827; margin-bottom: .6rem; }
.ask-m { font-size: .84rem; color: #4b5563; line-height: 1.7; margin-bottom: .9rem; white-space: pre-wrap; }
.ask-i {
width: 100%; border: 1px solid #e5e7eb; border-radius: 10px;
padding: .6rem .75rem; font-size: .9rem; color: #111827; outline: none;
transition: border-color .15s, box-shadow .15s;
}
.ask-i:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167, 139, 250, .2); }
.ask-b { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.ask-b button {
border-radius: 10px; padding: .5rem 1.05rem; font-size: .84rem; font-weight: 700;
border: 1px solid #e5e7eb; background: #fff; color: #4b5563; cursor: pointer;
}
.ask-b button:hover { background: #f9fafb; }
.ask-b .ask-ok {
border: 0; color: #fff;
background: linear-gradient(135deg, #a78bfa, #7c3aed);
box-shadow: 0 8px 18px -10px rgba(124, 58, 237, .8);
}
.ask-b .ask-ok.is-danger { background: linear-gradient(135deg, #fb7185, #e11d48); }
.tb-brand {
display: flex; align-items: center; gap: 6px;
background: #f7f5ff; border: 1px solid #e7e2ff; border-radius: 999px;
padding: 3px 8px 3px 10px; margin-right: 8px;
flex: 0 0 auto; min-width: 0; white-space: nowrap;
}
.tb-brand.hidden { display: none; }
.tb-brand-ico { font-size: .85rem; opacity: .8; }
.tb-brand { position: relative; }
.tb-brand-lbl {
font-size: .68rem; color: #8b7fd4; font-weight: 700;
padding-right: 2px; border-right: 1px solid #e3dbff; margin-right: 2px;
white-space: nowrap; flex: 0 0 auto;
}
.tb-brand-btn {
display: inline-flex; align-items: center; gap: 4px;
border: 0; background: transparent; cursor: pointer; padding: 0;
font-size: .8rem; font-weight: 800; color: #5b21b6;
max-width: 160px; white-space: nowrap; overflow: hidden;
}
.tb-brand-btn #tb-brand-name { overflow: hidden; text-overflow: ellipsis; }
.tb-brand-caret { font-size: .62rem; opacity: .7; }
.tb-brand-btn:hover { color: #6d28d9; }
.tb-brand.is-off { background: #f4f4f6; border-color: #e6e6ec; }
.tb-brand.is-off .tb-brand-btn { color: #6b7280; }
.tb-brand.is-off .tb-brand-lbl { color: #a1a1aa; border-color: #e6e6ec; }
.tb-brand-menu {
position: fixed; z-index: 1200;
width: 320px; max-width: calc(100vw - 24px);
max-height: min(70vh, 520px);
overflow-y: auto;
overflow-x: hidden;
background: #fff; border: 1px solid #ecebf1; border-radius: 14px;
box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 18px 40px -24px rgba(16, 24, 40, .35);
padding: 6px; opacity: 0; transform: translateY(-4px);
animation: tbBrandIn .14s ease-out forwards;
}
@keyframes tbBrandIn { to { opacity: 1; transform: translateY(0); } }
.tb-brand-tip {
font-size: .7rem; color: #6b7280; line-height: 1.7;
white-space: normal; word-break: break-word;
background: #fafafb; border: 1px solid #f1f0f6; border-radius: 10px;
padding: 8px 10px; margin-bottom: 6px;
}
.tb-brand-sec {
font-size: .66rem; color: #9ca3af; font-weight: 700;
padding: 6px 8px 4px; letter-spacing: .02em;
}
.tb-brand-item {
display: block; width: 100%; text-align: left; cursor: pointer;
border: 1px solid transparent; background: #fff; border-radius: 10px;
padding: 8px 10px; margin-bottom: 2px;
transition: background-color .14s ease, border-color .14s ease;
}
.tb-brand-item:hover { background: #f7f6fc; border-color: #ecebf1; }
.tb-brand-item.on { background: #f4f2fe; border-color: #ddd6fa; }
.tb-brand-item b {
display: block; font-size: .8rem; color: #1f2937; font-weight: 800;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tb-brand-item i {
display: block; font-style: normal; font-size: .68rem; color: #9ca3af; margin-top: 1px;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tb-brand-manage {
display: block; text-align: center; font-size: .72rem; font-weight: 700;
color: #6d28d9; text-decoration: none; padding: 7px 0 3px;
border-top: 1px dashed #f0edf9; margin-top: 4px;
}
.tb-brand-manage:hover { text-decoration: underline; }
@media (max-width: 720px) { .tb-brand { display: none; } }
body[data-page="me"] .mc-head-main { flex-wrap: wrap; }
body[data-page="me"] .mc-head-info { flex: 1 1 320px; }
body[data-page="me"] .mc-head-lower {
flex: 1 1 100%;
min-width: 0;
margin-top: .45rem;
}
body[data-page="me"] .mc-head-lower .mc-stats {
grid-template-columns: repeat(auto-fit, minmax(3.4rem, 1fr));
}
body[data-page="me"] .mc-head-info {
flex: 1 1 auto;
min-width: 0;
}
body[data-page="me"] #mc-stats {
display: grid;
grid-template-columns: repeat(10, minmax(0, 1fr));
width: 100%;
}
body[data-page="me"] #mc-stats .mc-stat {
min-width: 0;
overflow: hidden;
}
@media (max-width: 900px) {
body[data-page="me"] #mc-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* ===== layout-unify.css ===== */
body:not([data-page="login"]):not([data-page="setup"]):not([data-page="404"]):not([data-page="coming-soon"]) .ao-wrap,
body:not([data-page="login"]):not([data-page="setup"]):not([data-page="404"]):not([data-page="coming-soon"]) .bd-wrap,
body:not([data-page="login"]):not([data-page="setup"]):not([data-page="404"]):not([data-page="coming-soon"]) .cl-wrap,
body:not([data-page="login"]):not([data-page="setup"]):not([data-page="404"]):not([data-page="coming-soon"]) .ea-wrap,
body:not([data-page="login"]):not([data-page="setup"]):not([data-page="404"]):not([data-page="coming-soon"]) .iv-wrap,
body:not([data-page="login"]):not([data-page="setup"]):not([data-page="404"]):not([data-page="coming-soon"]) .mb-wrap,
body:not([data-page="login"]):not([data-page="setup"]):not([data-page="404"]):not([data-page="coming-soon"]) .home-wrap,
body:not([data-page="login"]):not([data-page="setup"]):not([data-page="404"]):not([data-page="coming-soon"]) .it-wrap,
body:not([data-page="login"]):not([data-page="setup"]):not([data-page="404"]):not([data-page="coming-soon"]) .doc-wrap,
body:not([data-page="login"]):not([data-page="setup"]):not([data-page="404"]):not([data-page="coming-soon"]) .tw,
body:not([data-page="login"]):not([data-page="setup"]):not([data-page="404"]):not([data-page="coming-soon"]) .cb
{
width: 100% !important;
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
box-sizing: border-box;
}
body[data-page="image"] .page-content > main,
body[data-page="edit"] .page-content > main,
body[data-page="shop"] .page-content > main,
body[data-page="me"] .page-content > main,
body[data-page="recharge"] .page-content > main,
body:has(.app-shell) .page-content > main
{
width: 100% !important;
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
box-sizing: border-box;
padding-left: clamp(0.375rem, 0.75vw, 1rem) !important;
padding-right: clamp(0.375rem, 0.75vw, 1rem) !important;
}
body[data-menu="admin"] .page-content > main
{
width: 100% !important;
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: clamp(0.375rem, 0.75vw, 1rem) !important;
padding-right: clamp(0.375rem, 0.75vw, 1rem) !important;
box-sizing: border-box;
}
@media (max-width: 639px) {
body[data-page="image"] .page-content > main,
body[data-page="edit"] .page-content > main,
body[data-page="shop"] .page-content > main,
body[data-page="me"] .page-content > main,
body[data-page="recharge"] .page-content > main,
body:has(.app-shell) .page-content > main {
padding-left: clamp(0.375rem, 0.75vw, 1rem) !important;
padding-right: clamp(0.375rem, 0.75vw, 1rem) !important;
}
}
/* ===== design-tokens.css ===== */
[class~="mj-panel"],
[class~="group-card"],
[class~="gallery-card"],
[class~="res-card"],
[class~="stat-card"],
[class~="model-card"],
[class~="z-card"],
[class~="ao-card"],
[class~="bd-card"],
[class~="sp-card"],
[class~="pm-card"],
[class~="pq-card"],
[class~="pt-card"],
[class~="glass-effect"],
[class~="glass-strong"] {
border-radius: var(--r-lg) !important;
}
[class~="ratio-card"],
[class~="va-card"],
[class~="mj-thumb"],
[class~="thumb"],
[class~="bd-thumb"],
[class~="lb-thumb"],
[class~="za-item"],
[class~="z-icon"],
[class~="it-stage"],
[class~="res-chip"] {
border-radius: var(--r-md) !important;
}
[class~="ao-btn"],
[class~="ao-btn-mini"],
[class~="za-expbtn"],
[class~="pm-btn"],
[class~="sp-btn"],
[class~="pt-btn"],
[class~="ui-cf-btn"],
[class~="lb-btn"],
[class~="btn"],
[class~="btn-ghost"],
[class~="btn-primary"],
[class~="z-chip"],
[class~="mb-tab"],
[class~="user-pop"],
[class~="ao-f"],
[class~="za-export"],
[class~="it-f"],
[class~="ui-cf-input"],
[class~="dropzone"],
[class~="ref-item"] {
border-radius: var(--r-sm) !important;
}
[class~="tag"],
[class~="cl-tag"],
[class~="cmp-cell"] {
border-radius: var(--r-xs) !important;
}
[class~="modal-box"],
[class~="media-modal-box"],
[class~="auth-box"],
[class~="drawer"] {
border-radius: var(--r-xl) !important;
}
[class~="pm-chip"],
[class~="pm-badge"],
[class~="lb-float"],
[class~="lb-tool"] {
border-radius: var(--r-pill) !important;
}
/* ===== ui2.css ===== */
body.ui2 {
--u2-brand: #6d5ae6;
--u2-brand-strong: #5b49c9;
--u2-brand-deep: #412f9e;
--u2-brand-weak: #f4f2fe;
--u2-brand-line: #ddd6fa;
--u2-brand-label: #7a6bd8;
--u2-off-bg: #f4f4f6;
--u2-warn-ink: #92400e;
--u2-ink: #111827;
--u2-ink-2: #4b5563;
--u2-ink-3: #6b7280;
--u2-ink-4: #9ca3af;
--u2-line: #ecebf1;
--u2-line-2: #e4e2ec;
--u2-surface: #ffffff;
--u2-canvas: #fafafb;
--u2-sh-1: 0 1px 2px rgba(16, 24, 40, .05);
--u2-sh-2: 0 12px 32px -18px rgba(16, 24, 40, .28);
background: var(--u2-canvas);
color: var(--u2-ink);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body.ui2 .bg-blobs span {
filter: blur(90px);
opacity: .18;
}
body.ui2 .bg-blobs span:nth-child(1) { background: #cdc4fb; }
body.ui2 .bg-blobs span:nth-child(2) { background: #e6e2fb; }
body.ui2 .bg-blobs span:nth-child(3) { background: #f4f2fe; }
body.ui2 .sidebar-inner {
background: var(--u2-surface);
border-right: 1px solid var(--u2-line);
box-shadow: none;
-webkit-backdrop-filter: none;
backdrop-filter: none;
}
body.ui2 .nav-item {
border-radius: 8px;
color: var(--u2-ink-2);
font-weight: 500;
transition: background-color .16s ease, color .16s ease;
}
body.ui2 .nav-item:hover {
background: #f7f6fc;
color: var(--u2-brand-strong);
}
body.ui2 .nav-item.active {
background: var(--u2-brand-weak);
color: var(--u2-brand-deep);
box-shadow: none;
font-weight: 600;
}
body.ui2 .nav-item.active::before {
content: '';
position: absolute;
left: 0;
top: 50%;
width: 3px;
height: 16px;
margin-top: -8px;
border-radius: 0 3px 3px 0;
background: var(--u2-brand);
}
body.ui2 .nav-item.soon { color: var(--u2-ink-4); }
body.ui2 .nav-item.soon.active,
body.ui2 .nav-item.soon.active .nav-text,
body.ui2 .nav-item.soon.active .nav-icon { color: var(--u2-brand-deep); }
body.ui2 .nav-item.soon.active .nav-badge {
background: #fff;
color: var(--u2-brand-deep);
}
body.ui2 .topbar {
background: rgba(250, 250, 251, .88);
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
border-bottom: 1px solid var(--u2-line);
box-shadow: none;
}
body.ui2 .tool-tab {
border-radius: 8px;
color: var(--u2-ink-2);
}
body.ui2 .tool-tab:hover { background: #f7f6fc; }
body.ui2 .tool-tab.active {
background: var(--u2-brand-weak);
color: var(--u2-brand-deep);
box-shadow: none;
}
body.ui2 .task-panel {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
border-radius: 14px;
box-shadow: var(--u2-sh-2);
}
body.ui2 .btn {
border-radius: 10px;
transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
body.ui2 .btn-primary {
background: var(--u2-brand);
color: #fff;
box-shadow: none;
}
body.ui2 .btn-primary:hover:not(:disabled) {
background: var(--u2-brand-strong);
transform: none;
box-shadow: none;
}
body.ui2 .btn-ghost {
background: var(--u2-surface);
border: 1px solid var(--u2-line-2);
color: var(--u2-ink-2);
}
body.ui2 .btn-ghost:hover:not(:disabled) {
background: #fafafb;
color: var(--u2-ink);
}
body.ui2 .field {
background: var(--u2-surface);
border: 1px solid var(--u2-line-2);
border-radius: 10px;
}
body.ui2 .field:focus {
border-color: var(--u2-brand);
box-shadow: 0 0 0 3px rgba(109, 90, 230, .14);
}
body.ui2 :focus-visible {
outline: 2px solid rgba(109, 90, 230, .45);
outline-offset: 2px;
}
body.ui2 .glass-effect,
body.ui2 .glass-strong {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
box-shadow: var(--u2-sh-1);
-webkit-backdrop-filter: none;
backdrop-filter: none;
}
body.ui2 .hover-3d:hover { box-shadow: var(--u2-sh-2); }
body.ui2 .card-glow::before { display: none; }
body.ui2 .app-card {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
border-radius: 14px;
box-shadow: var(--u2-sh-1);
}
body.ui2 .app-card:hover {
border-color: var(--u2-brand-line);
box-shadow: var(--u2-sh-2);
}
body.ui2 .app-icon { border-radius: 10px; }
body.ui2 .sec-head h2 { font-weight: 600; letter-spacing: -.01em; }
body.ui2 .of-card {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
border-radius: 14px;
box-shadow: var(--u2-sh-1);
}
body.ui2 .of-btn { background: var(--u2-brand); border-radius: 10px; box-shadow: none; }
body.ui2 .of-chip.on {
background: var(--u2-brand-weak);
border-color: var(--u2-brand-line);
color: var(--u2-brand-deep);
}
body.ui2 .z-chip.on,
body.ui2 .z-cat.on {
background: var(--u2-brand-weak);
border-color: var(--u2-brand-line);
color: var(--u2-brand-deep);
box-shadow: inset 3px 0 0 0 var(--u2-brand);
}
body.ui2 h1,
body.ui2 h2,
body.ui2 h3 {
letter-spacing: -.01em;
font-weight: 600;
}
body.ui2 .tool-panel {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
border-radius: 14px;
box-shadow: var(--u2-sh-1);
}
body.ui2 .dc-card {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
border-radius: 14px;
box-shadow: var(--u2-sh-1);
}
body.ui2 .dc-btn {
background: var(--u2-brand);
border-radius: 10px;
box-shadow: none;
}
body.ui2 .dc-chip.on {
background: var(--u2-brand-weak);
border-color: var(--u2-brand-line);
color: var(--u2-brand-deep);
}
body.ui2 .bd-card {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
border-radius: 14px;
box-shadow: var(--u2-sh-1);
}
body.ui2 .bd-qbtn {
background: var(--u2-surface);
border: 1px solid var(--u2-line-2);
border-radius: 10px;
color: var(--u2-ink-2);
}
body.ui2 .admat-f {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
border-radius: 14px;
}
body.ui2 .tb-brand {
background: var(--u2-brand-weak);
border-color: var(--u2-brand-line);
}
body.ui2 .tb-brand-lbl {
color: var(--u2-brand-label);
border-right-color: var(--u2-brand-line);
}
body.ui2 .tb-brand-btn { color: var(--u2-brand-deep); }
body.ui2 .tb-brand-btn:hover { color: var(--u2-brand-strong); }
body.ui2 .tb-brand.is-off {
background: var(--u2-off-bg);
border-color: var(--u2-line-2);
}
body.ui2 .tb-brand-menu {
border-color: var(--u2-line);
box-shadow: var(--u2-sh-1), var(--u2-sh-2);
}
body.ui2 .ch-av {
background: var(--u2-brand-weak);
color: var(--u2-brand-deep);
border-radius: 10px;
}
body.ui2 .ch-send {
background: var(--u2-brand);
border-radius: 10px;
font-weight: 600;
}
body.ui2 .ch-send:hover:not(:disabled) { background: var(--u2-brand-strong); }
body.ui2 .bm-card {
border-color: var(--u2-line);
border-radius: 14px;
box-shadow: var(--u2-sh-1);
}
body.ui2 .bm-card > h3 .n {
background: var(--u2-brand);
border-radius: 8px;
font-weight: 600;
}
body.ui2 .bm-btn {
background: var(--u2-brand);
border-radius: 10px;
font-weight: 600;
}
body.ui2 .bm-btn:hover:not(:disabled) { background: var(--u2-brand-strong); }
body.ui2 .bm-packbar {
background: var(--u2-brand-weak);
border: 1px solid var(--u2-brand-line);
color: var(--u2-brand-deep);
}
body.ui2 .bm-item-h {
background: #fafafb;
border-bottom: 1px solid var(--u2-line);
}
body.ui2 .ai-btn,
body.ui2 .lb-btn {
border-radius: 10px;
font-weight: 600;
}
body.ui2 .panel {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
border-radius: 14px;
box-shadow: var(--u2-sh-1);
}
body.ui2 .panel-head { border-bottom: 1px solid var(--u2-line); }
body.ui2 .panel-head h3 { font-weight: 600; letter-spacing: -.01em; }
body.ui2 table thead th {
background: #fafafb;
color: var(--u2-ink-3);
font-weight: 600;
border-bottom: 1px solid var(--u2-line);
}
body.ui2 table tbody td { border-bottom: 1px solid var(--u2-line); }
body.ui2 .mc-tab.on {
background: var(--u2-brand-weak);
border-color: var(--u2-brand-line);
color: var(--u2-brand-deep);
box-shadow: none;
}
body.ui2 .mc-tab { border-radius: 10px; }
body.ui2 .mc-mini {
background: var(--u2-brand-weak);
color: var(--u2-brand-deep);
border-radius: 8px;
}
body.ui2 .dash-todo {
display: flex;
flex-direction: column;
gap: 2px;
padding: 8px 10px;
}
body.ui2 .dash-todo-h {
font-size: .78rem;
font-weight: 600;
color: var(--u2-warn-ink);
padding: 2px 4px 6px;
}
body.ui2 .dash-todo-i {
display: flex;
align-items: center;
gap: 12px;
padding: 9px 12px;
border-radius: 10px;
text-decoration: none;
color: #111827;
font-size: .84rem;
transition: background-color .14s ease;
}
body.ui2 .dash-todo-i:hover {
background: rgba(255, 255, 255, .75);
}
body.ui2 .dash-todo-t { flex: 1 1 auto; }
body.ui2 .dash-todo-go {
flex: 0 0 auto;
font-size: .78rem;
font-weight: 600;
color: var(--u2-brand-deep);
background: #fff;
border: 1px solid var(--u2-brand-line);
border-radius: 8px;
padding: 3px 10px;
}
body.ui2 .dash-todo-i:hover .dash-todo-go {
background: var(--u2-brand-weak);
}
body.ui2 .dash-trend {
position: relative;
}
body.ui2 .dash-trend.dash-hot svg.dash-chart {
cursor: crosshair;
}
body.ui2 .dash-hot-line {
stroke: rgba(109, 90, 230, .45);
stroke-width: 1;
stroke-dasharray: 3 3;
opacity: 0;
transition: opacity .12s ease;
vector-effect: non-scaling-stroke;
}
body.ui2 .dash-hot-dot {
fill: #fff;
stroke: var(--u2-brand);
stroke-width: 2;
opacity: 0;
transition: opacity .12s ease;
vector-effect: non-scaling-stroke;
}
body.ui2 .dash-tip {
position: absolute;
top: 0;
left: 0;
transform: translate(-50%, 0);
background: #111827;
color: #fff;
font-size: .72rem;
line-height: 1;
padding: 5px 8px;
border-radius: 8px;
white-space: nowrap;
pointer-events: none;
opacity: 0;
transition: opacity .12s ease;
z-index: 3;
}
body.ui2 .dash-days {
display: flex;
gap: 6px;
justify-content: flex-end;
margin-bottom: 8px;
}
body.ui2 .dash-day {
border: 1px solid var(--u2-line-2);
background: #fff;
color: var(--u2-ink-3);
font-size: .74rem;
border-radius: 8px;
padding: 4px 10px;
cursor: pointer;
transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
body.ui2 .dash-day:hover { background: #fafafb; color: var(--u2-ink); }
body.ui2 .dash-day.on {
background: var(--u2-brand-weak);
border-color: var(--u2-brand-line);
color: var(--u2-brand-deep);
font-weight: 600;
}
body.ui2 .dash-trend-f {
font-size: .72rem;
color: var(--u2-ink-3);
margin-top: 6px;
padding-left: 2px;
}
body.ui2 .dash-trend-f b { color: var(--u2-ink); font-weight: 600; }
body.ui2 .mb-tab.on {
background: var(--u2-brand-weak);
border-color: var(--u2-brand-line);
color: var(--u2-brand-deep);
}
body.ui2 .mb-buy {
background: var(--u2-brand);
box-shadow: none;
border-radius: 10px;
}
body.ui2 .mb-buy:hover:not(:disabled) { background: var(--u2-brand-strong); }
body.ui2 .mb-hint { color: var(--u2-ink-3); }
body.ui2 .kv-card {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
border-radius: 14px;
box-shadow: var(--u2-sh-1);
}
body.ui2 .kv-chip.on {
background: var(--u2-brand-weak);
border-color: var(--u2-brand-line);
color: var(--u2-brand-deep);
}
body.ui2 .kv-btn {
background: var(--u2-brand);
border-radius: 10px;
box-shadow: none;
}
body.ui2 .kv-btn:hover:not(:disabled) { background: var(--u2-brand-strong); }
body.ui2 .ao-btn {
background: var(--u2-brand);
border-radius: 10px;
box-shadow: none;
}
body.ui2 .ao-btn:hover:not(:disabled) { background: var(--u2-brand-strong); }
body.ui2 .ao-kv {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
border-radius: 14px;
}
body.ui2 .it-tool {
background: var(--u2-surface);
border: 1px solid var(--u2-line);
border-radius: 14px;
}
body.ui2 .it-btn.primary {
background: var(--u2-brand);
border-radius: 8px;
box-shadow: none;
}
body.ui2 .ct-btn {
background: var(--u2-brand);
border-radius: 10px;
box-shadow: none;
}
body.ui2 .ct-tab.on {
background: var(--u2-brand-weak);
border-color: var(--u2-brand-line);
color: var(--u2-brand-deep);
}
body.ui2 .iv-step-n {
background: var(--u2-brand);
border-radius: 8px;
}
body.ui2 .iv-metric b { color: var(--u2-brand-deep); }
body[data-page="text"] .cp-row3 {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
gap: 16px;
align-items: end;
margin-top: 16px;
}
body[data-page="text"] .cp-row3 > div {
min-width: 0;
display: flex;
flex-direction: column;
}
body[data-page="text"] .cp-row3 .field-label {
min-height: 1.5rem;
margin-bottom: .4rem;
align-items: center;
}
body[data-page="text"] .cp-row3 .field {
width: 100%;
box-sizing: border-box;
height: 44px;
padding: 0 1rem;
border-radius: 14px;
}
body[data-page="text"] .cp-count-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
width: 100%;
box-sizing: border-box;
height: 44px;
padding: 0 .55rem;
border: 1px solid var(--u2-line);
border-radius: 14px;
background: rgba(255, 255, 255, .85);
}
body[data-page="text"] .cp-count-row .cp-step {
padding: 0;
width: 28px;
height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
}
body[data-page="text"] .cp-count-row .cp-count-n {
flex: 1 1 auto;
text-align: center;
font-weight: 700;
font-size: 1rem;
}
@media (max-width: 900px) {
body[data-page="text"] .cp-row3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 620px) {
body[data-page="text"] .cp-row3 { grid-template-columns: 1fr; }
}
html[data-theme="dark"] {
--dk-bg: #0d1016;
--dk-bg-2: #171b22;
--dk-surface: #1b2029;
--dk-surface-2: #232a36;
--dk-line: #2b313b;
--dk-ink: #e5e7eb;
--dk-ink-2: #cbd5e1;
--dk-brand: #c4b5fd;
--dk-brand-weak: #241a3d;
}
html[data-theme="dark"] body.ui2 { background: var(--dk-bg); color: var(--dk-ink); }
html[data-theme="dark"] body.ui2 h1,
html[data-theme="dark"] body.ui2 h2,
html[data-theme="dark"] body.ui2 h3,
html[data-theme="dark"] body.ui2 .sec-head h2 { color: var(--dk-ink); }
html[data-theme="dark"] body.ui2 .bg-blobs span { opacity: .18; }
html[data-theme="dark"] body.ui2 .sidebar-inner {
background: var(--dk-bg-2);
border-right-color: var(--dk-line);
}
html[data-theme="dark"] body.ui2 .nav-item { color: var(--dk-ink-2); }
html[data-theme="dark"] body.ui2 .nav-item:hover { background: rgba(255, 255, 255, .06); color: var(--dk-ink); }
html[data-theme="dark"] body.ui2 .nav-item.active {
background: var(--dk-brand-weak);
color: var(--dk-brand);
}
html[data-theme="dark"] body.ui2 .nav-group-title { color: #9ca3af; }
html[data-theme="dark"] body.ui2 .nav-group-title:hover { background: rgba(255, 255, 255, .06); color: var(--dk-ink); }
html[data-theme="dark"] body.ui2 .nav-item.soon { color: #6b7280; }
html[data-theme="dark"] body.ui2 .topbar {
background: rgba(13, 16, 22, .9);
border-bottom-color: var(--dk-line);
}
html[data-theme="dark"] body.ui2 .topbar a,
html[data-theme="dark"] body.ui2 .topbar button { color: var(--dk-ink-2); }
html[data-theme="dark"] body.ui2 .topbar a:hover,
html[data-theme="dark"] body.ui2 .topbar button:hover { color: var(--dk-ink); }
html[data-theme="dark"] body.ui2 .tb-brand-btn,
html[data-theme="dark"] body.ui2 .tb-search {
background: var(--dk-surface);
border-color: var(--dk-line);
color: var(--dk-ink-2);
}
html[data-theme="dark"] body.ui2 .tb-brand-lbl { color: #9ca3af; }
html[data-theme="dark"] body.ui2 .tb-brand-menu {
background: var(--dk-surface);
border-color: var(--dk-line);
}
html[data-theme="dark"] body.ui2 .tb-brand-menu * { color: var(--dk-ink-2); }
html[data-theme="dark"] body.ui2 .tb-brand-menu .tb-brand-sec { color: #9ca3af; }
html[data-theme="dark"] body.ui2 .app-card,
html[data-theme="dark"] body.ui2 .of-card,
html[data-theme="dark"] body.ui2 .dc-card,
html[data-theme="dark"] body.ui2 .bd-card,
html[data-theme="dark"] body.ui2 .bm-card,
html[data-theme="dark"] body.ui2 .task-panel,
html[data-theme="dark"] body.ui2 .tool-panel,
html[data-theme="dark"] body.ui2 .glass-effect,
html[data-theme="dark"] body.ui2 .glass-strong {
background: var(--dk-surface);
border-color: var(--dk-line);
color: var(--dk-ink);
}
html[data-theme="dark"] body.ui2 .app-card:hover { background: var(--dk-surface-2); }
html[data-theme="dark"] body.ui2 .of-tool,
html[data-theme="dark"] body.ui2 .dc-doc-i {
background: var(--dk-bg-2);
border-color: var(--dk-line);
}
html[data-theme="dark"] body.ui2 .of-tool i,
html[data-theme="dark"] body.ui2 .dc-doc-i i,
html[data-theme="dark"] body.ui2 .app-card .app-desc { color: #9ca3af; }
html[data-theme="dark"] body.ui2 .field,
html[data-theme="dark"] body.ui2 input,
html[data-theme="dark"] body.ui2 textarea,
html[data-theme="dark"] body.ui2 select {
background: var(--dk-surface);
border-color: var(--dk-line);
color: var(--dk-ink);
}
html[data-theme="dark"] body.ui2 .field::placeholder,
html[data-theme="dark"] body.ui2 input::placeholder,
html[data-theme="dark"] body.ui2 textarea::placeholder { color: #6b7280; }
html[data-theme="dark"] body.ui2 .field-label { color: var(--dk-ink-2); }
html[data-theme="dark"] body.ui2 .btn-ghost,
html[data-theme="dark"] body.ui2 .of-btn,
html[data-theme="dark"] body.ui2 .dc-btn,
html[data-theme="dark"] body.ui2 .bd-qbtn,
html[data-theme="dark"] body.ui2 .bm-btn {
background: var(--dk-surface);
border-color: var(--dk-line);
color: var(--dk-ink-2);
}
html[data-theme="dark"] body.ui2 .btn-ghost:hover:not(:disabled) { background: var(--dk-surface-2); color: var(--dk-ink); }
html[data-theme="dark"] body.ui2 .tool-tab {
background: var(--dk-surface);
border-color: var(--dk-line);
color: var(--dk-ink-2);
}
html[data-theme="dark"] body.ui2 .tool-tab.active {
background: var(--dk-brand-weak);
border-color: #4c3a86;
color: var(--dk-brand);
}
html[data-theme="dark"] body.ui2 .of-chip.on,
html[data-theme="dark"] body.ui2 .z-chip.on,
html[data-theme="dark"] body.ui2 .z-cat.on,
html[data-theme="dark"] body.ui2 .dc-chip.on {
background: var(--dk-brand-weak);
border-color: #4c3a86;
color: var(--dk-brand);
}
html[data-theme="dark"] body.ui2 table { color: var(--dk-ink-2); }
html[data-theme="dark"] body.ui2 table th { color: var(--dk-ink); }
html[data-theme="dark"] body.ui2 table th,
html[data-theme="dark"] body.ui2 table td { border-color: var(--dk-line); }
html[data-theme="dark"] body.ui2 table tbody tr:hover { background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] body.ui2 .ch-av { background: var(--dk-surface-2); color: var(--dk-ink-2); }
html[data-theme="dark"] body.ui2 .ch-bub {
background: var(--dk-surface);
border-color: var(--dk-line);
color: var(--dk-ink);
}
html[data-theme="dark"] body.ui2 .ch-row.me .ch-bub { background: var(--dk-brand-weak); border-color: #4c3a86; }
html[data-theme="dark"] body.ui2 .ch-meta { color: #9ca3af; }
html[data-theme="dark"] body.ui2 .modal,
html[data-theme="dark"] body.ui2 .modal-box,
html[data-theme="dark"] body.ui2 .drawer {
background: var(--dk-surface);
border-color: var(--dk-line);
color: var(--dk-ink);
}
html[data-theme="dark"] body.ui2 .toast { background: var(--dk-surface-2); color: var(--dk-ink); }
html[data-theme="dark"] body.ui2 .tb-brand,
html[data-theme="dark"] body.ui2 .tb-brand-btn {
background: var(--dk-surface);
border-color: var(--dk-line);
color: var(--dk-ink-2);
}
html[data-theme="dark"] body.ui2 .topbar [style*="background"],
html[data-theme="dark"] body.ui2 .topbar [style*="background-color"] {
background: var(--dk-surface) !important;
color: var(--dk-ink-2) !important;
border-color: var(--dk-line) !important;
}
html[data-theme="dark"] body.ui2 .topbar [style*="background"]:hover {
background: var(--dk-surface-2) !important;
color: var(--dk-ink) !important;
}
.sidebar-version {
display: inline-block;
margin-top: 6px;
padding: 1px 7px;
border-radius: 999px;
font-size: 10.5px;
line-height: 1.8;
color: #6b7280;
background: rgba(109, 90, 230, .08);
border: 1px solid rgba(109, 90, 230, .14);
font-variant-numeric: tabular-nums;
}
html[data-theme="dark"] .sidebar-version {
color: #9ca3af;
background: rgba(139, 123, 240, .12);
border-color: rgba(139, 123, 240, .22);
}