Files
AIcreat/app/static/style.css
2026-04-28 18:36:38 +08:00

2589 lines
43 KiB
CSS

:root {
color-scheme: light;
--bg: #fff7ed;
--surface: #ffffff;
--surface-2: #fffaf3;
--surface-3: #fff1dc;
--line: #ead7bf;
--line-strong: #dfbf98;
--text: #2d1f17;
--muted: #7d6552;
--faint: #a38b76;
--accent: #ff7a1a;
--accent-2: #d9560b;
--accent-soft: #fff0dc;
--warn: #b45309;
--danger: #b42318;
--shadow: 0 22px 60px rgba(144, 73, 15, 0.13);
--shadow-soft: 0 10px 28px rgba(144, 73, 15, 0.09);
--radius: 8px;
--control-h: 36px;
}
* {
box-sizing: border-box;
}
[hidden] {
display: none !important;
}
html {
min-width: 320px;
}
body {
margin: 0;
background:
radial-gradient(circle at 18% 8%, rgba(255, 203, 128, 0.32), transparent 260px),
radial-gradient(circle at 85% 18%, rgba(255, 122, 26, 0.12), transparent 320px),
linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0, rgba(255, 247, 237, 0) 280px),
var(--bg);
color: var(--text);
font-family: Inter, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
min-height: 100vh;
letter-spacing: 0;
}
body:not(.simple-page) {
height: 100vh;
overflow: hidden;
}
button,
input,
select,
textarea {
font: inherit;
}
a {
color: inherit;
}
.product-shell {
min-height: 100vh;
display: grid;
grid-template-columns: 232px minmax(0, 1fr);
}
.side-nav {
background:
radial-gradient(circle at 50% 0%, rgba(255, 210, 143, 0.24), transparent 180px),
linear-gradient(180deg, #3b2417 0%, #25160f 100%);
color: #fffaf0;
padding: 14px 12px;
display: flex;
flex-direction: column;
gap: 18px;
min-height: 0;
}
.side-brand {
padding: 4px 4px 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.brand-lockup {
display: flex;
align-items: center;
gap: 11px;
min-width: 0;
}
.logo-mark {
width: 38px;
height: 38px;
flex: 0 0 auto;
border-radius: 10px;
box-shadow: 0 12px 26px rgba(133, 55, 10, 0.24);
}
.side-brand h1 {
margin: 0;
font-size: 21px;
line-height: 1.2;
font-weight: 800;
}
.side-brand p {
margin: 8px 0 0;
color: #aeb8c7;
font-size: 12px;
line-height: 1.55;
}
.nav-group {
display: grid;
gap: 6px;
}
.nav-label {
padding: 0 10px;
color: #c9a98a;
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
}
.nav-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px;
border-radius: var(--radius);
color: #f0d9bf;
text-decoration: none;
font-size: 14px;
font-weight: 700;
}
.nav-item::before {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: #9f7b5e;
}
.nav-item.is-active {
color: #fff8ec;
background: rgba(255, 122, 26, 0.18);
}
.nav-item.is-active::before {
background: #ffad42;
box-shadow: 0 0 0 4px rgba(255, 173, 66, 0.2);
}
.side-footer {
margin-top: auto;
padding: 12px;
border-radius: var(--radius);
background: rgba(255, 222, 176, 0.12);
color: #ead0b2;
font-size: 12px;
line-height: 1.55;
}
.workspace {
min-width: 0;
height: 100vh;
overflow: hidden;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
}
.topbar {
min-height: 62px;
padding: 10px 16px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
border-bottom: 1px solid var(--line);
background: rgba(255, 252, 247, 0.88);
backdrop-filter: blur(14px);
}
.topbar-compact {
min-height: 44px;
padding-top: 4px;
padding-bottom: 4px;
justify-content: flex-end;
}
.page-title h2,
.brand h1 {
margin: 0;
font-size: 20px;
line-height: 1.2;
font-weight: 850;
}
.page-title p,
.brand .muted {
margin: 2px 0 0;
font-size: 12px;
}
.topbar-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
flex-wrap: wrap;
}
.wechat-account-switch {
min-width: 250px;
display: grid;
grid-template-columns: auto minmax(150px, 1fr);
align-items: center;
gap: 4px 8px;
padding: 4px 8px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: rgba(255, 255, 255, 0.86);
}
.wechat-account-label {
margin: 0;
color: var(--muted);
font-size: 12px;
font-weight: 750;
white-space: nowrap;
}
.wechat-account-status {
grid-column: 1 / -1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-height: 14px;
}
.wechat-account-status:empty {
display: none;
}
.topbar-select {
min-width: 0;
width: 100%;
padding: 0;
border: 0;
border-radius: 0;
color: var(--text);
background: transparent;
font-size: 13px;
font-weight: 750;
padding-right: 20px;
background-image:
linear-gradient(45deg, transparent 50%, #8a6f58 50%),
linear-gradient(135deg, #8a6f58 50%, transparent 50%);
background-position:
calc(100% - 12px) calc(50% - 2px),
calc(100% - 7px) calc(50% - 2px);
background-size:
5px 5px,
5px 5px;
background-repeat: no-repeat;
}
.topbar-select:focus {
box-shadow: none;
}
.layout {
min-height: 0;
padding: 10px 14px 12px;
display: grid;
grid-template-columns: minmax(360px, 0.78fr) minmax(460px, 1.22fr);
grid-template-rows: auto minmax(0, 1fr);
gap: 10px;
overflow: hidden;
}
.workflow-strip {
grid-column: 1 / -1;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
}
.metric-card {
min-width: 0;
padding: 12px 14px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: rgba(255, 255, 255, 0.84);
box-shadow: var(--shadow-soft);
}
.metric-label {
color: var(--muted);
font-size: 12px;
font-weight: 750;
}
.metric-value {
margin-top: 6px;
overflow: hidden;
color: var(--text);
text-overflow: ellipsis;
white-space: nowrap;
font-size: 16px;
font-weight: 850;
}
.panel,
.simple-panel {
min-height: 0;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow);
}
.panel {
overflow: hidden;
display: flex;
flex-direction: column;
}
.panel-scroll {
min-height: 0;
overflow: auto;
padding: 10px;
}
.input-panel .panel-scroll {
overflow: visible;
padding: 8px;
}
.input-panel .form-section {
padding: 6px 0 8px;
}
.panel-head {
padding: 10px 10px 8px;
border-bottom: 1px solid var(--line);
background: linear-gradient(180deg, #fff, #fbfcfe);
}
.panel-head h2 {
margin: 0;
font-size: 16px;
line-height: 1.2;
}
.panel-head p {
margin: 2px 0 0;
}
.form-section {
padding: 8px 0 10px;
border-bottom: 1px solid var(--line);
}
.form-section:first-child {
padding-top: 0;
}
.form-section:last-child {
border-bottom: 0;
padding-bottom: 0;
}
.section-kicker {
margin: 0 0 6px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
color: var(--muted);
font-size: 12px;
font-weight: 850;
}
.section-kicker::before {
content: "";
width: 7px;
height: 22px;
border-radius: 999px;
background: var(--accent);
}
.section-kicker span:first-child {
margin-right: auto;
}
.muted {
color: var(--muted);
}
.small {
margin: 0 0 6px;
font-size: 12px;
}
.meta {
color: var(--faint);
font-size: 12px;
font-weight: 700;
}
label {
display: block;
margin: 6px 0 3px;
color: #344054;
font-size: 12px;
font-weight: 750;
}
.field-head {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 12px;
}
.field-head label {
min-width: 0;
}
input,
select,
textarea,
button {
width: 100%;
border: 1px solid var(--line-strong);
border-radius: var(--radius);
padding: 7px 9px;
color: var(--text);
background: #fff;
font-size: 13px;
min-height: var(--control-h);
transition:
border-color 0.18s ease,
box-shadow 0.18s ease,
background-color 0.18s ease,
transform 0.18s ease;
}
select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
padding-right: 34px;
background-image:
linear-gradient(45deg, transparent 50%, #8a6f58 50%),
linear-gradient(135deg, #8a6f58 50%, transparent 50%),
linear-gradient(180deg, #ffffff, #ffffff);
background-position:
calc(100% - 16px) calc(50% - 2px),
calc(100% - 11px) calc(50% - 2px),
0 0;
background-size:
6px 6px,
6px 6px,
100% 100%;
background-repeat: no-repeat;
}
select:hover {
border-color: var(--accent);
}
select:disabled {
color: var(--faint);
border-color: var(--line);
background-image:
linear-gradient(45deg, transparent 50%, #c4af98 50%),
linear-gradient(135deg, #c4af98 50%, transparent 50%),
linear-gradient(180deg, #f8f3ec, #f8f3ec);
cursor: not-allowed;
}
.ui-select {
background-color: #fffdf8;
font-weight: 700;
}
textarea {
resize: vertical;
line-height: 1.6;
min-height: 90px;
}
input::placeholder,
textarea::placeholder {
color: #9aa4b2;
}
input:focus,
select:focus,
textarea:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.16);
}
button {
margin-top: 6px;
cursor: pointer;
font-weight: 850;
line-height: 1.2;
}
button:hover {
transform: translateY(-1px);
}
button:disabled {
cursor: not-allowed;
opacity: 0.62;
transform: none;
}
button.primary {
border-color: var(--accent);
color: #fff;
background: linear-gradient(180deg, #ff922e, #ff6b16);
box-shadow: 0 12px 24px rgba(255, 107, 22, 0.24);
}
button.primary:hover {
background: var(--accent-2);
}
button.danger {
border-color: #dc2626;
color: #fff;
background: #dc2626;
box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
}
button.danger:hover {
background: #b91c1c;
}
button.secondary,
.subtle-btn {
border-color: var(--line-strong);
color: var(--text);
background: #fff;
}
button.secondary:hover,
.subtle-btn:hover,
.subtle-link:hover {
background: var(--surface-3);
}
.topbar-btn {
width: auto;
margin-top: 0;
white-space: nowrap;
min-height: var(--control-h);
}
.icon-btn {
width: var(--control-h);
min-width: var(--control-h);
min-height: var(--control-h);
height: var(--control-h);
padding: 0;
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid var(--line-strong);
border-radius: var(--radius);
background: #fff;
color: var(--text);
text-decoration: none;
font-size: 15px;
font-weight: 800;
line-height: 1;
cursor: pointer;
}
.icon-btn:hover {
background: var(--surface-3);
transform: translateY(-1px);
}
.subtle-link {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: var(--control-h);
padding: 8px 12px;
border: 1px solid var(--line-strong);
border-radius: var(--radius);
color: var(--text);
background: #fff;
text-decoration: none;
font-size: 13px;
font-weight: 850;
transition:
background-color 0.18s ease,
transform 0.18s ease;
}
.subtle-link:hover {
transform: translateY(-1px);
}
.grid2 {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
align-items: stretch;
}
.actions > button,
.actions > .subtle-link {
min-height: var(--control-h);
}
.actions-inline {
display: flex;
justify-content: flex-end;
align-items: stretch;
gap: 8px;
flex-wrap: wrap;
}
.actions-inline > button,
.actions-inline > .subtle-link {
min-height: var(--control-h);
}
.check-row {
margin-top: 8px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.check-label {
margin: 0;
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--muted);
font-size: 13px;
font-weight: 750;
}
.check-label input[type="checkbox"],
.multi-dropdown-option input[type="checkbox"] {
width: 16px;
height: 16px;
margin: 0;
accent-color: var(--accent);
}
.multi-field {
min-width: 0;
}
.multi-field .field-head label {
margin-top: 0;
}
.multi-dropdown {
position: relative;
width: 100%;
}
.multi-dropdown > summary {
list-style: none;
cursor: pointer;
border: 1px solid var(--line-strong);
border-radius: var(--radius);
padding: 7px 9px;
background: #fff;
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
}
.multi-dropdown > summary::-webkit-details-marker {
display: none;
}
.multi-dropdown > summary::after {
content: "";
width: 8px;
height: 8px;
border-right: 2px solid var(--faint);
border-bottom: 2px solid var(--faint);
transform: rotate(45deg) translateY(-2px);
flex-shrink: 0;
}
.multi-dropdown[open] > summary {
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.16);
}
.multi-dropdown[open] > summary::after {
transform: rotate(225deg) translateY(-1px);
}
.multi-dropdown-text {
flex: 1;
min-width: 0;
overflow: hidden;
color: var(--text);
text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px;
font-weight: 700;
}
.multi-dropdown-body {
position: absolute;
z-index: 20;
width: 100%;
margin-top: 4px;
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 6px;
background: var(--surface);
max-height: 180px;
overflow-y: auto;
box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}
.multi-dropdown-option {
width: auto;
margin: 0;
padding: 6px 8px;
display: flex;
align-items: center;
gap: 8px;
border-radius: 6px;
cursor: pointer;
font-size: 13px;
font-weight: 650;
}
.multi-dropdown-option:hover {
background: var(--accent-soft);
}
.multi-extra {
margin-top: 4px;
}
.target-chars-inline {
display: flex;
align-items: stretch;
flex-direction: column;
gap: 8px;
min-width: 0;
}
.target-chars-inline #targetBodyChars {
width: 100%;
flex: 0 0 auto;
}
.target-chars-quick {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
flex-wrap: wrap;
overflow: visible;
}
.target-char-chip,
button.target-char-chip {
width: auto;
min-width: 54px;
margin-top: 0;
padding: 5px 8px;
flex: 0 0 auto;
border-radius: 999px;
border-color: var(--line-strong);
color: #344054;
background: #fff;
font-size: 12px;
line-height: 1.2;
box-shadow: none;
}
.target-char-chip.is-active {
border-color: var(--accent);
color: var(--accent-2);
background: var(--accent-soft);
}
.cover-tools {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 8px;
align-items: center;
}
.image-model-banner {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
margin: 8px 0;
padding: 10px 12px;
border: 1px solid rgba(255, 122, 26, 0.24);
border-radius: var(--radius);
background: linear-gradient(135deg, #fff8ed, #fff0dc);
}
.image-model-banner div {
display: grid;
gap: 2px;
min-width: 0;
}
.image-model-banner strong {
color: var(--text);
font-size: 13px;
}
.image-model-banner span {
overflow: hidden;
color: var(--muted);
text-overflow: ellipsis;
white-space: nowrap;
font-size: 12px;
}
.image-model-banner a {
flex: 0 0 auto;
color: var(--accent-2);
text-decoration: none;
font-size: 12px;
font-weight: 850;
}
.image-model-banner a:hover {
text-decoration: underline;
}
.cover-mode-switch {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-bottom: 8px;
}
.cover-mode-btn {
margin-top: 0;
min-height: 34px;
border: 1px solid var(--line-strong);
background: #fff;
color: var(--text);
}
.cover-mode-btn.is-active {
border-color: var(--accent);
background: var(--accent-soft);
color: var(--accent-2);
}
.cover-ai-box {
display: grid;
gap: 10px;
padding: 12px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface-2);
}
.cover-ai-copy {
display: grid;
gap: 3px;
}
.cover-ai-copy strong {
color: var(--text);
font-size: 13px;
}
.cover-ai-copy span {
color: var(--muted);
font-size: 12px;
line-height: 1.5;
}
.cover-auto-check {
margin-top: 0;
}
.cover-preview-wrap {
width: 100%;
max-width: 480px;
}
.cover-preview {
display: block;
width: 100%;
aspect-ratio: 900 / 383;
object-fit: cover;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-soft);
}
.cover-tools button,
.poster-actions-row button {
width: auto;
margin-top: 0;
white-space: nowrap;
}
.body-split {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(260px, 0.92fr);
gap: 12px;
align-items: stretch;
min-height: 0;
}
.body-split textarea {
min-height: 180px;
max-height: 250px;
}
.preview-panel {
min-width: 0;
display: flex;
flex-direction: column;
}
.markdown-preview {
flex: 1;
min-height: 180px;
max-height: 250px;
overflow: auto;
padding: 10px 12px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fffdf8;
color: #253044;
font-size: 14px;
line-height: 1.7;
}
.markdown-preview h2 {
margin: 1em 0 0.5em;
color: #111827;
font-size: 1.14rem;
}
.markdown-preview h3 {
margin: 0.9em 0 0.4em;
font-size: 1.03rem;
}
.markdown-preview p {
margin: 0.55em 0;
}
.markdown-preview ul,
.markdown-preview ol {
margin: 0.45em 0 0.65em 1.2em;
padding: 0;
}
.markdown-preview li {
margin: 0.25em 0;
}
.poster-tools {
margin-top: 8px;
padding: 8px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface-2);
}
.poster-actions-row {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 8px;
align-items: center;
}
.poster-auto-check {
justify-content: flex-start;
}
.poster-preview-list {
display: grid;
grid-template-columns: 1fr;
gap: 8px;
max-height: 170px;
overflow: auto;
padding-right: 2px;
}
.billing-list {
max-height: 260px;
}
.billing-table-wrap {
overflow: auto;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
}
.billing-table {
width: 100%;
border-collapse: collapse;
min-width: 760px;
font-size: 13px;
}
.billing-table th,
.billing-table td {
padding: 10px 12px;
border-bottom: 1px solid var(--line);
text-align: left;
vertical-align: middle;
}
.billing-table thead th {
position: sticky;
top: 0;
z-index: 1;
background: #fff8ed;
color: var(--muted);
font-weight: 800;
font-size: 12px;
}
.billing-table tbody tr:hover {
background: var(--surface-2);
}
.billing-table .mono {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 12px;
}
.billing-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 64px;
padding: 2px 8px;
border-radius: 999px;
font-size: 12px;
font-weight: 800;
}
.billing-badge.pending {
color: #b54708;
background: #fffaeb;
}
.billing-badge.paid {
color: #027a48;
background: #ecfdf3;
}
.billing-badge.failed {
color: #b42318;
background: #fef3f2;
}
.billing-badge.closed {
color: #475467;
background: #f2f4f7;
}
.billing-table td.in {
color: #027a48;
font-weight: 700;
}
.billing-table td.out {
color: #b42318;
font-weight: 700;
}
.poster-card {
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 8px;
display: grid;
grid-template-columns: 76px minmax(0, 1fr);
gap: 10px;
align-items: center;
background: #fff;
}
.poster-thumb {
width: 76px;
height: 106px;
object-fit: cover;
border: 1px solid #dbe5f3;
border-radius: 6px;
background: var(--surface-3);
}
.poster-meta {
min-width: 0;
}
.poster-topline {
color: var(--accent-2);
font-size: 12px;
font-weight: 850;
}
.poster-excerpt {
margin: 5px 0 0;
color: #475569;
font-size: 12px;
line-height: 1.45;
}
.poster-link {
margin-top: 6px;
display: inline-block;
color: var(--accent-2);
text-decoration: none;
font-size: 12px;
font-weight: 800;
}
.poster-link:hover {
text-decoration: underline;
}
.status {
min-height: 20px;
margin: 6px 0 0;
color: var(--accent-2);
font-size: 13px;
font-weight: 750;
}
.publish-actions {
position: sticky;
bottom: 0;
margin: 0 -16px -16px;
padding: 8px 10px;
border-top: 1px solid var(--line);
background: rgba(255, 255, 255, 0.92);
backdrop-filter: blur(10px);
}
.simple-page {
overflow: auto;
}
.simple-wrap {
width: min(1040px, calc(100% - 36px));
margin: 34px auto;
}
.simple-panel {
overflow: hidden;
}
.simple-head {
padding: 22px 24px;
border-bottom: 1px solid var(--line);
background: linear-gradient(180deg, #fff, #f8fafc);
}
.simple-brand-lockup .logo-mark {
width: 42px;
height: 42px;
box-shadow: 0 10px 24px rgba(19, 31, 53, 0.14);
}
.simple-head h1,
.simple-head h2 {
margin: 0;
font-size: 24px;
line-height: 1.2;
}
.simple-head p {
margin: 8px 0 0;
}
.simple-body {
padding: 20px 24px 24px;
background: #fffaf3;
}
.settings-grid {
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
gap: 18px;
}
.settings-nav {
padding: 12px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface-2);
align-self: start;
}
.settings-nav a,
.settings-nav span {
display: block;
padding: 10px;
border-radius: 6px;
color: var(--muted);
text-decoration: none;
font-size: 13px;
font-weight: 800;
}
.settings-nav span {
color: var(--text);
background: var(--accent-soft);
box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
}
.settings-content {
min-width: 0;
display: grid;
gap: 14px;
}
.settings-section {
padding: 0;
border-bottom: 0;
}
.settings-section:last-child {
padding-bottom: 0;
border-bottom: 0;
}
.settings-card {
padding: 14px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-soft);
}
.model-image-config {
display: grid;
gap: 8px;
margin-bottom: 12px;
padding: 12px;
border: 1px solid rgba(255, 122, 26, 0.28);
border-radius: var(--radius);
background: linear-gradient(135deg, #fffaf3, #fff0dc);
}
.model-image-config strong,
.model-image-config span {
display: block;
}
.model-image-config strong {
color: var(--text);
font-size: 14px;
}
.model-image-config span {
margin-top: 4px;
color: var(--muted);
font-size: 12px;
line-height: 1.5;
}
.settings-layout {
grid-template-columns: minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr);
}
.settings-panel {
min-height: 0;
}
.settings-panel-scroll {
padding: 12px;
}
.guide-layout {
grid-template-columns: minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr);
}
.guide-panel {
min-height: 0;
}
.guide-scroll {
padding: 14px;
}
.guide-hero {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 18px;
padding: 18px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: linear-gradient(135deg, #ffffff 0%, #fff0dc 100%);
box-shadow: var(--shadow-soft);
}
.guide-eyebrow {
margin: 0 0 8px;
color: var(--accent-2);
font-size: 12px;
font-weight: 850;
}
.guide-hero h2 {
margin: 0;
font-size: 26px;
line-height: 1.2;
}
.guide-hero p {
max-width: 680px;
margin: 8px 0 0;
line-height: 1.65;
}
.guide-hero-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: flex-end;
}
.guide-grid {
margin-top: 14px;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.guide-card,
.guide-checklist,
.guide-faq {
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-soft);
}
.guide-card {
padding: 14px;
display: flex;
flex-direction: column;
min-height: 210px;
opacity: 0;
transform: translateY(8px);
animation: guideCardIn 0.45s ease forwards;
}
.guide-grid .guide-card:nth-child(1) {
animation-delay: 0.05s;
}
.guide-grid .guide-card:nth-child(2) {
animation-delay: 0.12s;
}
.guide-grid .guide-card:nth-child(3) {
animation-delay: 0.19s;
}
.guide-grid .guide-card:nth-child(4) {
animation-delay: 0.26s;
}
.guide-grid .guide-card:nth-child(5) {
animation-delay: 0.33s;
}
.guide-grid .guide-card:nth-child(6) {
animation-delay: 0.4s;
}
.guide-step {
width: 42px;
height: 30px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
color: var(--accent-2);
background: var(--accent-soft);
font-size: 12px;
font-weight: 900;
animation: guidePulse 2.2s ease-in-out infinite;
}
@keyframes guideCardIn {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes guidePulse {
0%,
100% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.16);
}
50% {
transform: scale(1.05);
box-shadow: 0 0 0 8px rgba(255, 122, 26, 0);
}
}
.guide-card h3,
.guide-section-head h3 {
margin: 12px 0 8px;
font-size: 16px;
}
.guide-card p {
margin: 0;
color: var(--muted);
font-size: 13px;
line-height: 1.65;
}
.guide-link {
margin-top: auto;
padding-top: 12px;
color: var(--accent-2);
text-decoration: none;
font-size: 13px;
font-weight: 850;
}
.guide-link:hover {
text-decoration: underline;
}
.guide-checklist,
.guide-faq {
margin-top: 14px;
padding: 16px;
}
.guide-section-head {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 12px;
margin-bottom: 10px;
}
.guide-section-head h3 {
margin: 0;
}
.checklist-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.checklist-grid .check-label {
padding: 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface-2);
}
.guide-faq details {
border-top: 1px solid var(--line);
padding: 12px 0;
}
.guide-faq details:first-of-type {
border-top: 0;
}
.guide-faq summary {
cursor: pointer;
color: var(--text);
font-weight: 850;
}
.guide-faq p {
margin: 8px 0 0;
color: var(--muted);
font-size: 13px;
line-height: 1.65;
}
.upgrade-layout {
grid-template-columns: minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr);
}
.upgrade-panel {
min-height: 0;
}
.upgrade-scroll {
padding: 10px;
}
.upgrade-hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: linear-gradient(135deg, #fff, #fff0dc);
box-shadow: var(--shadow-soft);
}
.upgrade-hero h2 {
margin: 0;
font-size: 22px;
}
.upgrade-hero p {
max-width: 620px;
margin: 6px 0 0;
line-height: 1.55;
font-size: 13px;
}
.upgrade-balance-card {
min-width: 160px;
padding: 12px;
border-radius: 12px;
background: linear-gradient(135deg, #ffb23f, #ff6b16);
color: #fff;
box-shadow: 0 18px 40px rgba(255, 107, 22, 0.22);
}
.upgrade-balance-card span,
.upgrade-balance-card small {
display: block;
color: rgba(255, 255, 255, 0.82);
font-size: 12px;
}
.upgrade-balance-card strong {
display: block;
margin-top: 4px;
font-size: 28px;
line-height: 1;
}
.upgrade-grid {
margin-top: 10px;
display: grid;
grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
gap: 10px;
}
.upgrade-plans-stack {
display: grid;
gap: 10px;
}
.upgrade-plan-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
align-items: stretch;
}
.upgrade-tabbar {
display: inline-flex;
gap: 6px;
padding: 2px;
border: 1px solid var(--line);
border-radius: 8px;
background: #fffdf9;
width: fit-content;
}
.upgrade-tab {
display: inline-flex;
align-items: center;
justify-content: center;
margin: 0;
min-height: 24px;
padding: 0 10px;
border-radius: 6px;
border: 1px solid transparent;
background: transparent;
color: var(--muted);
font-size: 11px;
font-weight: 800;
line-height: 1;
white-space: nowrap;
}
.upgrade-tab.is-active {
border-color: #ffca97;
background: #fff0de;
color: #9b3f00;
}
.upgrade-plan {
height: 100%;
padding: 12px;
border: 1px solid rgba(255, 122, 26, 0.42);
border-radius: var(--radius);
background: linear-gradient(180deg, #fff, #fff8ed);
box-shadow: 0 10px 24px rgba(255, 107, 22, 0.18);
display: grid;
align-content: start;
gap: 8px;
}
.upgrade-plan.is-highlighted {
border-color: #4a2f1f;
background: linear-gradient(180deg, #3c2619, #2b1a12);
box-shadow: 0 14px 30px rgba(38, 20, 12, 0.3);
}
.upgrade-plan.is-highlighted .plan-head h3,
.upgrade-plan.is-highlighted p,
.upgrade-plan.is-highlighted ul {
color: #f8e9da;
}
.upgrade-plan.is-highlighted .plan-head span {
background: rgba(255, 173, 66, 0.2);
color: #ffd39f;
}
.plan-head {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
}
.plan-head h3 {
margin: 0;
font-size: 16px;
}
.plan-head span {
display: inline-flex;
width: fit-content;
flex: 0 0 auto;
padding: 5px 10px;
border-radius: 999px;
background: var(--accent-soft);
color: var(--accent-2);
font-size: 12px;
font-weight: 850;
white-space: nowrap;
}
.upgrade-plan p {
margin: 0;
color: var(--muted);
line-height: 1.45;
font-size: 13px;
}
.plan-price {
margin: 0;
display: inline-flex;
justify-self: start;
width: fit-content;
max-width: 100%;
align-items: baseline;
padding: 4px 10px;
border-radius: 999px;
background: linear-gradient(180deg, #fff2de, #ffe2bf);
color: #b43f00;
font-size: 28px;
font-weight: 900;
letter-spacing: 0.2px;
box-shadow: 0 10px 24px rgba(255, 107, 22, 0.18);
}
.upgrade-plan.is-highlighted .plan-price {
display: inline-flex;
align-items: baseline;
padding: 4px 10px;
border-radius: 999px;
background: linear-gradient(180deg, #ffcf90, #ffb766);
color: #5a2a05;
font-size: 28px;
letter-spacing: 0.2px;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}
.upgrade-plan.is-highlighted .upgrade-toggle-row label {
color: #f8e9da;
}
.upgrade-plan.is-highlighted .ui-select {
border-color: #7a553c;
background-color: #f8e9da;
color: #2d1f17;
}
.upgrade-plan ul {
margin: 0 0 0 16px;
padding: 0;
color: var(--muted);
line-height: 1.55;
font-size: 12px;
}
.upgrade-toggle-row {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 12px;
align-items: center;
margin-bottom: 10px;
}
.upgrade-toggle-row label {
margin: 0;
}
.upgrade-wallet {
margin-top: 10px;
}
.upgrade-stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.upgrade-stats div {
padding: 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface-2);
}
.upgrade-stats span,
.upgrade-stats strong {
display: block;
}
.upgrade-stats span {
color: var(--muted);
font-size: 12px;
}
.upgrade-stats strong {
margin-top: 4px;
color: var(--text);
font-size: 17px;
}
.upgrade-recharge {
margin-top: 8px;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
gap: 8px;
align-items: center;
}
.upgrade-recharge button {
width: auto;
margin-top: 0;
white-space: nowrap;
min-height: 36px;
}
.upgrade-plan button.secondary,
.upgrade-recharge button.secondary {
border-color: #ffb57a;
background: #fff6ec;
color: #9b3f00;
font-weight: 900;
}
.upgrade-plan button.secondary:hover,
.upgrade-recharge button.secondary:hover {
background: #ffe9d3;
}
.upgrade-purchase-card {
padding: 0;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-soft);
align-self: start;
position: sticky;
top: 8px;
overflow: hidden;
}
.upgrade-purchase-card > *:not(.purchase-head) {
margin-left: 12px;
margin-right: 12px;
}
.purchase-section {
margin-top: 10px;
}
.purchase-head {
padding: 12px;
border-bottom: 1px solid var(--line);
background: var(--surface-2);
display: grid;
gap: 4px;
}
.upgrade-purchase-card h3 {
margin: 0;
font-size: 16px;
}
.upgrade-purchase-card .muted.small {
margin: 0;
line-height: 1.45;
}
.purchase-row {
display: grid;
gap: 4px;
padding: 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface-2);
}
.purchase-row span {
color: var(--muted);
font-size: 12px;
}
.purchase-row strong {
color: var(--text);
font-size: 15px;
line-height: 1.3;
}
.purchase-meta-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.purchase-qty {
display: grid;
gap: 6px;
}
.purchase-qty > span {
color: var(--muted);
font-size: 12px;
font-weight: 750;
}
.purchase-qty .tiny {
margin: 0;
}
.purchase-info {
display: grid;
gap: 3px;
margin-top: 8px;
}
.purchase-static-text {
margin: 0;
color: var(--text);
font-size: 12px;
line-height: 1.45;
word-break: break-word;
}
.purchase-stepper {
display: grid;
grid-template-columns: 42px minmax(0, 1fr) 42px;
gap: 8px;
align-items: center;
}
.purchase-stepper button {
margin-top: 0;
min-height: 36px;
padding: 0;
}
.purchase-stepper input {
text-align: center;
font-weight: 800;
}
.pay-channel-group {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.pay-channel-option {
margin: 0;
min-height: 34px;
border: 1px solid var(--line);
border-radius: 10px;
background: #fff;
color: var(--muted);
font-weight: 800;
}
.pay-channel-option[data-channel="wechat"] {
border-color: #b7e8c9;
color: #1f9d55;
background: #f4fdf7;
}
.pay-channel-option[data-channel="alipay"] {
border-color: #b8d8ff;
color: #1677ff;
background: #f3f8ff;
}
.pay-channel-option[data-channel="wechat"].is-active {
border-color: #07c160;
color: #056a35;
background: #eafaf1;
box-shadow: 0 8px 18px rgba(7, 193, 96, 0.2);
}
.pay-channel-option[data-channel="alipay"].is-active {
border-color: #1677ff;
color: #0d4fb8;
background: #ebf3ff;
box-shadow: 0 8px 18px rgba(22, 119, 255, 0.2);
}
.purchase-summary {
display: grid;
gap: 8px;
}
.purchase-summary-row {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 10px;
padding: 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface-2);
}
.purchase-summary span {
color: var(--muted);
font-size: 12px;
}
.purchase-summary strong {
color: var(--accent-2);
font-size: 18px;
font-weight: 900;
}
.purchase-action {
margin-bottom: 12px;
}
.upgrade-purchase-card #vipRechargeBtn {
margin-top: 0;
margin-bottom: 0;
min-height: 40px;
border-radius: 10px;
}
@media (max-width: 860px) {
.upgrade-hero {
align-items: flex-start;
flex-direction: column;
}
.upgrade-balance-card {
width: 100%;
}
.upgrade-grid,
.upgrade-stats,
.upgrade-recharge {
grid-template-columns: 1fr;
}
.upgrade-plan-grid,
.pay-channel-group {
grid-template-columns: 1fr;
}
.purchase-meta-grid {
grid-template-columns: 1fr;
}
.upgrade-purchase-card {
position: static;
}
.upgrade-recharge button {
width: 100%;
}
}
.section-title {
margin: 0 0 12px;
font-size: 16px;
}
.auth-card {
width: min(720px, calc(100% - 36px));
margin: 8vh auto 0;
}
.auth-page {
height: 100vh;
overflow: hidden;
background:
radial-gradient(circle at 18% 18%, rgba(255, 183, 77, 0.34), transparent 300px),
radial-gradient(circle at 78% 12%, rgba(255, 122, 26, 0.2), transparent 360px),
linear-gradient(135deg, #fffaf2 0%, #fff1df 52%, #ffe2bd 100%);
}
.auth-shell {
width: min(1180px, calc(100% - 36px));
height: calc(100vh - 40px);
max-height: 760px;
margin: 20px auto;
display: grid;
grid-template-columns: minmax(0, 1.08fr) 430px;
gap: 18px;
align-items: stretch;
}
.auth-showcase,
.auth-panel {
border: 1px solid rgba(223, 191, 152, 0.78);
border-radius: 24px;
background: rgba(255, 255, 255, 0.72);
box-shadow: 0 26px 80px rgba(144, 73, 15, 0.14);
backdrop-filter: blur(18px);
}
.auth-showcase {
position: relative;
overflow: hidden;
padding: 26px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 18px;
}
.auth-showcase::before {
content: "";
position: absolute;
inset: auto -90px -110px auto;
width: 280px;
height: 280px;
border-radius: 50%;
background: radial-gradient(circle, rgba(255, 122, 26, 0.3), rgba(255, 122, 26, 0));
pointer-events: none;
}
.auth-brand-lockup {
position: relative;
z-index: 1;
}
.auth-logo {
width: 54px;
height: 54px;
border-radius: 16px;
}
.auth-brand-lockup h1 {
margin: 0;
font-size: 24px;
line-height: 1.15;
}
.auth-brand-lockup p {
margin: 6px 0 0;
color: var(--muted);
font-size: 13px;
}
.auth-hero-copy {
position: relative;
z-index: 1;
max-width: 660px;
}
.auth-kicker {
margin: 0 0 10px;
color: var(--accent-2);
font-size: 12px;
font-weight: 900;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.auth-hero-copy h2 {
margin: 0;
color: #2d1f17;
font-size: clamp(34px, 4.5vw, 52px);
line-height: 1.06;
letter-spacing: 0;
}
.auth-hero-copy p:last-child {
max-width: 540px;
margin: 12px 0 0;
color: var(--muted);
font-size: 15px;
line-height: 1.6;
}
.auth-preview-card {
position: relative;
z-index: 1;
max-width: 620px;
border: 1px solid rgba(223, 191, 152, 0.88);
border-radius: 18px;
background: rgba(255, 255, 255, 0.76);
box-shadow: 0 22px 54px rgba(144, 73, 15, 0.16);
overflow: hidden;
}
.auth-preview-top {
height: 42px;
padding: 0 16px;
display: flex;
align-items: center;
gap: 8px;
border-bottom: 1px solid var(--line);
background: rgba(255, 250, 243, 0.86);
}
.auth-preview-top span {
width: 10px;
height: 10px;
border-radius: 50%;
background: #ffad42;
}
.auth-preview-top span:nth-child(2) {
background: #ff7a1a;
}
.auth-preview-top span:nth-child(3) {
background: #e33d18;
}
.auth-preview-body {
padding: 14px;
display: grid;
gap: 12px;
}
.auth-preview-cover {
min-height: 112px;
display: grid;
grid-template-columns: 82px minmax(0, 1fr);
gap: 14px;
align-items: center;
padding: 14px;
border-radius: 16px;
background: linear-gradient(135deg, #ffb23f, #ff6b16);
color: #fff;
}
.auth-preview-cover img {
width: 74px;
height: 74px;
border-radius: 20px;
box-shadow: 0 16px 32px rgba(114, 45, 6, 0.24);
}
.auth-preview-cover strong {
display: block;
font-size: 22px;
}
.auth-preview-cover p {
margin: 8px 0 0;
color: rgba(255, 255, 255, 0.84);
}
.auth-preview-lines {
display: grid;
gap: 10px;
}
.auth-preview-lines i {
display: block;
height: 12px;
border-radius: 999px;
background: #f2dec4;
}
.auth-preview-lines i:nth-child(2) {
width: 78%;
}
.auth-preview-lines i:nth-child(3) {
width: 58%;
}
.auth-preview-steps {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
.auth-preview-steps span {
padding: 10px;
border-radius: 12px;
background: var(--surface-2);
color: var(--accent-2);
text-align: center;
font-size: 13px;
font-weight: 850;
}
.auth-feature-row {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
}
.auth-feature-row div {
padding: 12px;
border: 1px solid rgba(223, 191, 152, 0.76);
border-radius: 16px;
background: rgba(255, 255, 255, 0.62);
}
.auth-feature-row strong,
.auth-feature-row span {
display: block;
}
.auth-feature-row strong {
color: var(--text);
font-size: 14px;
}
.auth-feature-row span {
margin-top: 4px;
color: var(--muted);
font-size: 12px;
line-height: 1.5;
}
.auth-panel {
padding: 28px;
align-self: center;
}
.auth-panel-head h2 {
margin: 0;
font-size: 28px;
}
.auth-panel-head p {
margin: 8px 0 0;
color: var(--muted);
line-height: 1.7;
}
.auth-form {
margin-top: 22px;
display: grid;
gap: 12px;
}
.auth-form input {
min-height: 46px;
border-radius: 14px;
padding: 11px 13px;
background: rgba(255, 255, 255, 0.88);
}
.auth-form .actions {
margin-top: 4px;
}
.auth-form .actions button {
min-height: 46px;
border-radius: 14px;
}
.auth-link {
color: var(--accent-2);
text-decoration: none;
font-size: 13px;
font-weight: 850;
}
.auth-link:hover {
text-decoration: underline;
}
.auth-footnote {
margin-top: 18px;
padding: 12px;
border-radius: 14px;
background: var(--accent-soft);
color: var(--muted);
font-size: 12px;
line-height: 1.6;
}
@media (max-width: 1180px) {
.product-shell {
grid-template-columns: 200px minmax(0, 1fr);
}
.layout {
grid-template-columns: 1fr;
overflow: auto;
}
body:not(.simple-page),
.workspace {
height: auto;
min-height: 100vh;
overflow: auto;
}
.panel {
min-height: 0;
}
.auth-shell {
grid-template-columns: 1fr;
height: auto;
max-height: none;
}
.auth-panel {
align-self: stretch;
}
.auth-page {
height: auto;
min-height: 100vh;
overflow: auto;
}
}
@media (max-width: 860px) {
.product-shell {
display: block;
}
.side-nav {
min-height: auto;
display: block;
padding: 14px 18px;
}
.side-brand {
padding-bottom: 12px;
}
.nav-group,
.side-footer {
display: none;
}
.topbar {
padding: 16px 18px;
align-items: stretch;
flex-direction: column;
}
.topbar-actions,
.wechat-account-switch {
width: 100%;
}
.layout {
padding: 14px 18px 22px;
}
.workflow-strip {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid2,
.body-split,
.settings-grid,
.guide-grid,
.checklist-grid {
grid-template-columns: 1fr;
}
.guide-hero {
align-items: flex-start;
flex-direction: column;
}
.guide-hero-actions {
justify-content: flex-start;
}
.cover-tools,
.poster-actions-row {
grid-template-columns: 1fr;
}
.cover-tools button,
.poster-actions-row button {
width: 100%;
}
.actions-inline {
justify-content: flex-start;
}
.auth-shell {
width: calc(100% - 28px);
margin: 14px auto;
}
.auth-showcase,
.auth-panel {
border-radius: 18px;
padding: 22px;
}
.auth-feature-row,
.auth-preview-steps {
grid-template-columns: 1fr;
}
.auth-preview-cover {
grid-template-columns: 72px minmax(0, 1fr);
}
.auth-preview-cover img {
width: 68px;
height: 68px;
}
}
@media (max-width: 560px) {
.workflow-strip,
.actions {
grid-template-columns: 1fr;
}
.target-chars-inline {
align-items: stretch;
flex-direction: column;
}
.target-chars-inline #targetBodyChars {
width: 100%;
flex-basis: auto;
}
.simple-wrap,
.auth-card {
width: calc(100% - 24px);
margin-top: 18px;
}
.simple-head,
.simple-body {
padding: 18px;
}
.auth-showcase,
.auth-panel {
padding: 18px;
}
.auth-hero-copy h2 {
font-size: 32px;
}
.auth-form .actions {
grid-template-columns: 1fr;
}
}
.ui-dialog-root {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 9999;
}
.ui-dialog-overlay {
position: fixed;
inset: 0;
display: grid;
place-items: center;
padding: 16px;
background: rgba(17, 24, 39, 0.45);
pointer-events: auto;
}
.ui-dialog {
width: min(420px, calc(100vw - 32px));
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow);
padding: 14px;
}
.ui-dialog-title {
margin: 0;
font-size: 16px;
}
.ui-dialog-message {
margin-top: 8px;
color: var(--muted);
font-size: 13px;
line-height: 1.6;
white-space: pre-wrap;
}
.ui-dialog-input {
margin-top: 10px;
display: none;
}
.ui-dialog-actions {
margin-top: 12px;
display: flex;
justify-content: flex-end;
gap: 8px;
}
.ui-dialog-btn {
width: auto;
min-width: 92px;
margin-top: 0;
}