:root { color-scheme: light; --bg: #f6f7f9; --surface: #ffffff; --surface-soft: #faf5f7; --line: #e5dce1; --text: #242229; --muted: #706b73; --primary: #cc5f91; --primary-strong: #af477a; --accent: #277d78; --ok: #3f9b72; --shadow: 0 10px 28px rgba(48, 39, 44, 0.09); } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); background: var(--bg); color: var(--text); font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif; letter-spacing: 0; } button, input, select { font: inherit; } button { cursor: pointer; } .sidebar { min-height: 100vh; border-right: 1px solid var(--line); background: #ffffff; padding: 22px 18px; position: sticky; top: 0; overflow-y: auto; } .brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; } .brand-mark { width: 46px; height: 46px; display: grid; place-items: center; background: var(--primary); color: white; border-radius: 8px; font-weight: 700; } .brand h1, .brand p, .panel h2, .section-head h2, .section-head p { margin: 0; } .brand h1 { font-size: 19px; font-weight: 750; } .brand p, .section-head p { color: var(--muted); font-size: 13px; margin-top: 3px; } .nav { display: grid; gap: 8px; margin-bottom: 22px; } .nav-button, .ghost-button, .primary-button { border: 1px solid var(--line); border-radius: 10px; min-height: 40px; padding: 0 14px; background: var(--surface); color: var(--text); } .nav-button { text-align: left; font-weight: 650; } .nav-button.active, .primary-button { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 8px 18px rgba(204, 95, 145, 0.2); } .primary-button:hover { background: var(--primary-strong); } .ghost-button:hover, .nav-button:hover { border-color: var(--primary); color: var(--primary); } .danger-button:hover { border-color: var(--accent); color: var(--accent); } .panel { border-top: 1px solid var(--line); padding-top: 18px; } .plugin-panel { margin-bottom: 18px; } .panel h2 { font-size: 14px; margin-bottom: 12px; } .compact-nav { margin-bottom: 0; } .tag-list { display: flex; flex-wrap: wrap; gap: 8px; } .tag-chip { border: 1px solid var(--line); background: #fff7fb; border-radius: 999px; padding: 6px 10px; color: var(--muted); max-width: 100%; } .tag-chip.active { color: white; background: var(--accent); border-color: var(--accent); } .main { min-width: 0; padding: 24px 30px 40px; } .welcome-card { border: 1px solid var(--line); border-radius: 8px; background: #ffffff; box-shadow: var(--shadow); padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; } .welcome-card h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.22; } .welcome-card p { margin: 0; color: var(--muted); max-width: 660px; line-height: 1.7; } .eyebrow { color: var(--primary) !important; font-size: 13px; font-weight: 750; margin-bottom: 6px !important; } .quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; } .quick-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); min-height: 132px; padding: 18px; text-align: left; box-shadow: 0 8px 22px rgba(130, 66, 98, 0.08); } .quick-card:hover { border-color: var(--primary); transform: translateY(-1px); } .quick-card strong, .quick-card span { display: block; } .quick-card strong { font-size: 17px; margin-bottom: 8px; } .quick-card span { color: var(--muted); font-size: 13px; line-height: 1.55; } .help-steps { display: grid; gap: 12px; } .help-steps article { border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.86); padding: 16px; display: flex; gap: 14px; align-items: flex-start; } .help-steps b { width: 30px; height: 30px; border-radius: 999px; background: #ffe3ef; color: var(--primary); display: grid; place-items: center; } .help-steps strong, .help-steps span { display: block; } .help-steps span { color: var(--muted); margin-top: 4px; } .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; } .search-wrap { display: grid; grid-template-columns: minmax(220px, 420px) 150px; gap: 10px; width: min(100%, 610px); } .search-wrap input, .search-wrap select, .follow-form input, .x-media-form input, .x-media-form select { height: 42px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); padding: 0 12px; min-width: 0; } .toolbar-actions { display: flex; gap: 10px; } .status-line { min-height: 32px; color: var(--muted); font-size: 13px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(240, 213, 226, 0.8); border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; } .view { display: none; } .view.active { display: block; } .hidden { display: none !important; } .section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; } .section-head h2 { font-size: 24px; } .artwork-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; } .artwork-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; box-shadow: 0 8px 22px rgba(130, 66, 98, 0.08); } .thumb-button { border: 0; padding: 0; width: 100%; aspect-ratio: 1 / 1; background: #dde5ec; display: block; } .thumb-button img { width: 100%; height: 100%; object-fit: cover; display: block; } .thumb-placeholder { height: 100%; display: grid; place-items: center; color: var(--muted); padding: 16px; text-align: center; } .artwork-meta { padding: 10px; display: grid; gap: 7px; } .artwork-title { font-weight: 650; line-height: 1.35; min-height: 38px; } .artwork-sub { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .card-actions { display: flex; gap: 8px; } .small-button { border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); min-height: 30px; padding: 0 9px; color: var(--text); } .small-button.active { background: var(--accent); border-color: var(--accent); color: white; } .pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px 0 0; } .artist-list { display: grid; gap: 10px; } .artist-row { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-height: 66px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; } .artist-row strong { display: block; } .artist-row span { color: var(--muted); font-size: 13px; } .follow-form { display: grid; grid-template-columns: 160px minmax(180px, 320px) 110px; gap: 10px; margin-bottom: 16px; } .import-strip { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 12px; display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; gap: 10px; align-items: center; margin-bottom: 16px; } .import-strip strong, .import-strip span { display: block; } .import-strip span, .x-actions { color: var(--muted); font-size: 13px; } .file-button { border: 1px solid var(--line); border-radius: 8px; min-height: 38px; padding: 0 14px; display: inline-grid; place-items: center; background: var(--surface-soft); color: var(--text); cursor: pointer; } .file-button input { display: none; } .x-media-form { display: grid; grid-template-columns: minmax(220px, 1fr) 150px 120px; gap: 10px; margin-bottom: 14px; } #xMediaForm { grid-template-columns: minmax(220px, 1fr) 150px 110px 120px; } .x-actions { min-height: 38px; display: flex; align-items: center; gap: 14px; margin-bottom: 14px; } .x-actions label { display: flex; align-items: center; gap: 6px; } .x-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; } .x-media-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; position: relative; } .x-local-head { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px; } .x-check { position: absolute; z-index: 2; left: 8px; top: 8px; min-height: 30px; display: flex; align-items: center; gap: 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.92); padding: 4px 8px; font-size: 12px; } .x-thumb { width: 100%; aspect-ratio: 1 / 1; background: #101820; display: grid; place-items: center; } .x-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } .x-thumb video { width: 100%; height: 100%; object-fit: contain; background: #101820; display: block; } .video-tile { width: 100%; height: 100%; display: grid; place-items: center; color: white; background: #223140; font-weight: 700; } .detail-dialog { width: min(980px, calc(100vw - 36px)); max-height: calc(100vh - 36px); border: 0; border-radius: 14px; padding: 0; box-shadow: var(--shadow); } .detail-dialog::backdrop { background: rgba(9, 18, 28, 0.5); } .dialog-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 20px 20px 0; } .dialog-head strong, .dialog-head span { display: block; } .dialog-head span { color: var(--muted); margin-top: 4px; } .dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 20px 0; } .sync-result { background: #fff7fa; border: 1px solid var(--line); border-radius: 8px; color: var(--text); margin: 18px 20px 20px; max-height: 260px; overflow: auto; padding: 12px; white-space: pre-wrap; } .close-button { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); z-index: 2; } .detail-layout { display: grid; grid-template-columns: minmax(260px, 52%) minmax(260px, 1fr); min-height: 520px; } .detail-media { background: #101820; display: grid; place-items: center; padding: 20px; } .detail-media img { max-width: 100%; max-height: 72vh; object-fit: contain; } .detail-info { padding: 28px; overflow: auto; } .detail-info h2 { margin: 0 0 8px; font-size: 26px; } .detail-info p { color: var(--muted); } .detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; } .empty { border: 1px dashed var(--line); border-radius: 14px; padding: 34px; background: var(--surface); color: var(--muted); text-align: center; } @media (max-width: 860px) { body { grid-template-columns: 1fr; } .sidebar { position: static; min-height: auto; } .quick-grid { grid-template-columns: 1fr; } .welcome-card { align-items: stretch; flex-direction: column; } .toolbar, .section-head, .artist-row { align-items: stretch; flex-direction: column; } .search-wrap, .follow-form, .import-strip, .x-media-form { grid-template-columns: 1fr; } .toolbar-actions { flex-wrap: wrap; } .detail-layout { grid-template-columns: 1fr; } }