* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; height: 100%; background: #0c0d10; color: #f3f4f6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; overflow: hidden; scrollbar-width: thin; scrollbar-color: rgba(148,163,184,.55) transparent; }
body { background: radial-gradient(circle at top left, rgba(99,102,241,.16), transparent 28%), radial-gradient(circle at bottom right, rgba(14,165,233,.10), transparent 32%), #0c0d10; transition: background .25s ease, color .25s ease; overflow: hidden; }
body.theme-light { background: radial-gradient(circle at top left, rgba(59,130,246,.08), transparent 28%), radial-gradient(circle at bottom right, rgba(14,165,233,.06), transparent 32%), #f4f5f8; color: #1f2937; scrollbar-color: rgba(100,116,139,.55) transparent; }
button, input, textarea { font: inherit; }
[v-cloak] { display: none; }
#app, .gv-page { height: 100%; }
.gv-page { display: grid; grid-template-columns: 480px 1fr; height: 100%; min-height: 100%; overflow: hidden; }
.gv-sidebar { padding: 18px; border-right: 1px solid rgba(255,255,255,.08); background: rgba(10,11,15,.72); backdrop-filter: blur(14px); height: 100%; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
body.theme-light .gv-sidebar { background: rgba(255,255,255,.92); border-right-color: rgba(15,23,42,.08); }
.gv-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; flex: 0 0 auto; }
.gv-brand-mark { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #7c3aed, #06b6d4); font-weight: 800; }
.gv-brand-title { font-size: 20px; font-weight: 800; }
.gv-brand-subtitle { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }
body.theme-light .gv-brand-subtitle { color: rgba(15,23,42,.55); }
.gv-panel { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.25); flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; }
body.theme-light .gv-panel { background: rgba(255,255,255,.96); border-color: rgba(15,23,42,.08); box-shadow: 0 20px 60px rgba(15,23,42,.08); }
.gv-panel-title, .gv-section-title { font-weight: 700; margin-bottom: 10px; }
.gv-field { margin-bottom: 8px; }
.gv-field label { display: block; font-size: 12px; color: rgba(255,255,255,.62); margin-bottom: 4px; }
body.theme-light .gv-field label { color: rgba(15,23,42,.72); }
.gv-field textarea { width: 100%; border: 1px solid rgba(255,255,255,.08); background: rgba(10,11,15,.84); color: #fff; border-radius: 14px; padding: 12px 14px; outline: none; resize: vertical; }
body.theme-light .gv-field textarea { background: #fff; color: #111827; border-color: rgba(15,23,42,.14); }
.gv-mode-grid, .gv-model-grid, .gv-size-grid, .gv-count-grid, .gv-chip-grid { display: grid; gap: 10px; }
.gv-mode-grid { grid-template-columns: 1fr; }
.gv-mode-btn, .gv-model-btn, .gv-size-btn, .gv-count-btn, .gv-chip-btn, .gv-secondary, .gv-primary { border: 0; border-radius: 14px; cursor: pointer; }
.gv-mode-btn { text-align: left; padding: 12px 14px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.08); }
body.theme-light .gv-mode-btn { background: rgba(255,255,255,.94); color: #334155; border-color: rgba(15,23,42,.12); }
.gv-mode-btn.active { background: linear-gradient(135deg, #7c3aed, #06b6d4); color: #fff; border-color: transparent; }
.gv-mode-label { display: block; font-weight: 700; margin-bottom: 4px; }
.gv-mode-desc { font-size: 12px; opacity: .72; }
.gv-upload-input { display: none; }
.gv-upload-btn { width: 100%; min-height: 96px; border: 1px dashed rgba(255,255,255,.18); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); color: rgba(255,255,255,.84); border-radius: 16px; cursor: pointer; }
body.theme-light .gv-upload-btn { background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92)); color: #334155; border-color: rgba(15,23,42,.12); }
.gv-upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.gv-endframe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.gv-endframe-card { min-height: 220px; border-radius: 18px; border: 1px solid rgba(255,255,255,.10); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); padding: 12px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
body.theme-light .gv-endframe-card { background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92)); border-color: rgba(15,23,42,.10); }
.gv-endframe-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gv-endframe-card-title { font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.gv-endframe-card-action { border: 0; border-radius: 999px; padding: 8px 12px; cursor: pointer; background: linear-gradient(135deg, rgba(124,58,237,.92), rgba(6,182,212,.92)); color: #fff; font-size: 12px; font-weight: 700; }
.gv-endframe-preview-wrap { position: relative; flex: 1 1 auto; min-height: 160px; border-radius: 16px; overflow: hidden; background: rgba(0,0,0,.18); }
.gv-endframe-preview-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gv-endframe-empty { flex: 1 1 auto; min-height: 160px; display: grid; place-items: center; border-radius: 16px; border: 1px dashed rgba(255,255,255,.14); color: rgba(255,255,255,.46); background: rgba(0,0,0,.10); font-size: 13px; }
body.theme-light .gv-endframe-empty { color: rgba(15,23,42,.46); border-color: rgba(15,23,42,.14); background: rgba(15,23,42,.02); }
.gv-endframe-remove { position: absolute; top: 10px; right: 10px; }
.gv-endframe-meta { margin-top: 10px; }
.gv-upload-item, .gv-upload-add { aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; position: relative; border: 1px dashed rgba(255,255,255,.18); background: rgba(255,255,255,.04); width: 100%; }
body.theme-light .gv-upload-item, body.theme-light .gv-upload-add { border-color: rgba(15,23,42,.18); background: rgba(255,255,255,.96); }
.gv-upload-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gv-upload-remove { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; cursor: pointer; }
body.theme-light .gv-upload-remove { background: rgba(255,255,255,.88); color: #111827; }
.gv-upload-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; color: rgba(255,255,255,.78); }
body.theme-light .gv-upload-add { color: #334155; }
.gv-upload-add-plus { font-size: 30px; line-height: 1; }
.gv-upload-add small { color: rgba(255,255,255,.45); }
body.theme-light .gv-upload-add small { color: rgba(15,23,42,.45); }
.gv-upload-meta { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.52); font-size: 12px; padding: 0 2px; }
body.theme-light .gv-upload-meta { color: rgba(15,23,42,.52); }
.gv-upload-clear-all { border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; }
.gv-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gv-model-btn { padding: 10px 12px; min-height: 52px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.08); text-align: center; }
body.theme-light .gv-model-btn { background: rgba(255,255,255,.94); color: #334155; border-color: rgba(15,23,42,.12); }
.gv-model-btn.active, .gv-count-btn.active, .gv-chip-btn.active { background: linear-gradient(135deg, #7c3aed, #06b6d4); color: #fff; border-color: transparent; }
.gv-model-main { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
.gv-model-label { display: block; font-weight: 700; font-size: 13px; text-align: center; }
.gv-model-desc { display: block; font-size: 12px; opacity: .7; margin-top: 4px; text-align: center; }
.gv-size-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gv-size-btn { min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.06); }
body.theme-light .gv-size-btn { background: rgba(255,255,255,.92); color: #334155; border-color: rgba(15,23,42,.12); }
.gv-size-icon { width: 28px; height: 28px; display: inline-block; position: relative; overflow: hidden; }
.gv-size-icon::before { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.34); border-radius: 4px; }
.gv-size-icon.ratio-1-1::before { width: 14px; height: 14px; }
.gv-size-icon.ratio-3-2::before { width: 16px; height: 11px; }
.gv-size-icon.ratio-4k-916::before { width: 10px; height: 18px; }
.gv-size-icon.ratio-wide::before { width: 18px; height: 10px; }
.gv-size-icon.ratio-4-3::before { width: 16px; height: 12px; }
.gv-size-btn.active .gv-size-icon::before { background: rgba(255,255,255,.82); }
body.theme-light .gv-size-btn.active .gv-size-icon::before { background: rgba(37,99,235,.88); }
.gv-size-label { font-size: 13px; font-weight: 600; }
.gv-count-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gv-count-btn, .gv-chip-btn { padding: 7px 10px; min-height: 38px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.08); font-size: 12px; line-height: 1.2; }
body.theme-light .gv-count-btn, body.theme-light .gv-chip-btn { background: rgba(255,255,255,.92); color: #334155; border-color: rgba(15,23,42,.12); }
.gv-duration-label { font-size: 12px; font-weight: 600; }
.gv-duration-summary { margin-top: 8px; padding: 6px 10px; border-radius: 12px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.4; }
body.theme-light .gv-duration-summary { background: rgba(255,255,255,.9); color: #475569; }
.gv-chip-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gv-more-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.05); color: rgba(255,255,255,.88); border-radius: 14px; padding: 10px 12px; cursor: pointer; text-align: left; box-shadow: 0 0 0 0 rgba(124,58,237,0); transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
body.theme-light .gv-more-toggle { background: rgba(255,255,255,.94); color: #334155; border-color: rgba(15,23,42,.12); }
.gv-more-toggle:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
.gv-more-toggle.active { background: linear-gradient(135deg, rgba(124,58,237,.22), rgba(6,182,212,.18)); border-color: rgba(124,58,237,.35); box-shadow: 0 12px 28px rgba(124,58,237,.10); }
.gv-more-toggle-main { display: flex; flex-direction: column; gap: 2px; }
.gv-more-toggle-title { font-weight: 700; font-size: 13px; }
.gv-more-toggle-subtitle { font-size: 11px; opacity: .68; line-height: 1.3; }
.gv-more-toggle.active .gv-more-toggle-subtitle { opacity: .92; }
.gv-more-toggle-arrow { font-size: 12px; opacity: .85; transition: transform .22s ease; }
.gv-more-toggle.active .gv-more-toggle-arrow { transform: rotate(180deg); }
.gv-more-panel { margin-top: 10px; border-radius: 16px; overflow: hidden; max-height: 0; opacity: 0; transform: translateY(-4px); padding: 0 10px; border: 1px solid rgba(255,255,255,0); background: rgba(255,255,255,.03); transition: max-height .28s ease, opacity .22s ease, transform .22s ease, padding .22s ease, border-color .22s ease, background .22s ease; }
body.theme-light .gv-more-panel { background: rgba(255,255,255,.75); border-color: rgba(15,23,42,0); }
.gv-more-panel.open { max-height: 320px; opacity: 1; transform: translateY(0); padding: 10px; border-color: rgba(255,255,255,.06); }
body.theme-light .gv-more-panel.open { border-color: rgba(15,23,42,.08); }
.gv-more-panel-inner { display: flex; flex-direction: column; gap: 8px; }
.gv-more-subfield:last-child { margin-bottom: 0; }
.gv-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; position: sticky; bottom: 0; z-index: 2; padding-top: 4px; background: linear-gradient(180deg, rgba(12,13,16,0), rgba(12,13,16,.88) 28%, rgba(12,13,16,.96)); }
body.theme-light .gv-actions { background: linear-gradient(180deg, rgba(244,245,248,0), rgba(244,245,248,.88) 28%, rgba(244,245,248,.96)); }
.gv-primary { padding: 14px 16px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #7c3aed, #06b6d4); }
.gv-primary:disabled { opacity: .65; cursor: not-allowed; }
.gv-secondary { padding: 12px 16px; color: #fff; background: rgba(255,255,255,.06); }
.gv-wallet-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gv-wallet-item { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 6px; }
body.theme-light .gv-wallet-item { background: rgba(255,255,255,.94); border-color: rgba(15,23,42,.10); }
.gv-wallet-label { font-size: 12px; color: rgba(255,255,255,.56); }
body.theme-light .gv-wallet-label { color: rgba(15,23,42,.56); }
.gv-wallet-item strong { font-size: 16px; color: #fff; }
body.theme-light .gv-wallet-item strong { color: #111827; }
.gv-hint { margin-top: 12px; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.55); }
body.theme-light .gv-hint { color: rgba(15,23,42,.55); }
.gv-main { padding: 28px; overflow: hidden; height: 100%; }
body.theme-light .gv-main { background: #f4f5f8; color: #111827; }
.gv-hero { display: flex; justify-content: space-between; gap: 16px; align-items: end; padding: 28px; border-radius: 28px; background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(14,165,233,.10)); border: 1px solid rgba(255,255,255,.08); margin-bottom: 22px; }
body.theme-light .gv-hero { background: linear-gradient(135deg, rgba(59,130,246,.10), rgba(14,165,233,.06)); border-color: rgba(15,23,42,.08); }
.gv-kicker { color: #93c5fd; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
body.theme-light .gv-kicker { color: #2563eb; }
.gv-hero h1 { margin: 0 0 10px; font-size: 34px; }
.gv-hero p { margin: 0; color: rgba(255,255,255,.68); max-width: 760px; }
body.theme-light .gv-hero p { color: rgba(17,24,39,.68); }
.gv-status-card { min-width: 220px; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.08); }
body.theme-light .gv-status-card { background: rgba(255,255,255,.92); border-color: rgba(15,23,42,.08); }
.gv-status-card .label { font-size: 12px; color: rgba(255,255,255,.55); }
.gv-status-card .value { font-weight: 700; margin-top: 4px; }
.dot { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.dot.idle { background: #22c55e; }
.dot.live { background: #f59e0b; box-shadow: 0 0 0 6px rgba(245,158,11,.14); }
.gv-content-grid { display: block; height: calc(100% - 160px); min-height: 0; }
.gv-task-board { min-height: 0; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.gv-task-toolbar { display: flex; gap: 10px; margin-bottom: 14px; align-items: center; }
.gv-task-toolbar input { flex: 1; border: 1px solid rgba(255,255,255,.08); background: rgba(10,11,15,.84); color: #fff; border-radius: 14px; padding: 12px 14px; outline: none; }
body.theme-light .gv-task-toolbar input { background: #fff; color: #111827; border-color: rgba(15,23,42,.14); }
.gv-task-toolbar button { border: 0; border-radius: 12px; cursor: pointer; background: linear-gradient(135deg, #7c3aed, #06b6d4); color: #fff; padding: 10px 12px; }
body.theme-light .gv-task-toolbar button { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.gv-task-manage-btn { background: linear-gradient(135deg, #475569, #0f172a) !important; }
.gv-task-manage-btn.active { background: linear-gradient(135deg, #f97316, #ef4444) !important; }
.gv-task-manage-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.24); }
body.theme-light .gv-task-manage-bar { background: rgba(249,115,22,.10); border-color: rgba(249,115,22,.20); }
.gv-task-manage-select-all { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.82); }
body.theme-light .gv-task-manage-select-all { color: #334155; }
.gv-task-manage-count { font-size: 13px; color: rgba(255,255,255,.7); }
body.theme-light .gv-task-manage-count { color: #475569; }
.gv-task-manage-delete { margin-left: auto; border: 0; border-radius: 12px; padding: 10px 14px; cursor: pointer; background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; font-weight: 700; }
.gv-task-manage-delete:disabled { opacity: .55; cursor: not-allowed; }
.gv-task-manage-delete:disabled { opacity: .55; cursor: not-allowed; }
.gv-task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; overflow-y: auto; overflow-x: hidden; flex: 1 1 auto; min-height: 0; padding-right: 6px; align-content: start; }
.gv-task-item { background: rgba(10,11,15,.72); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; overflow: hidden; position: relative; cursor: pointer; display: flex; flex-direction: column; min-height: 520px; width: 100%; }
body.theme-light .gv-task-item { background: rgba(255,255,255,.96); border-color: rgba(15,23,42,.08); }
.gv-task-item:hover { transform: translateY(-4px); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; box-shadow: 0 26px 70px rgba(0,0,0,.22); }
.gv-task-item.running { border-color: rgba(96,165,250,.45); }
.gv-task-item.succeeded { border-color: rgba(34,197,94,.35); }
.gv-task-item.failed { border-color: rgba(239,68,68,.35); }
.gv-task-item.selected { outline: 2px solid rgba(249,115,22,.95); outline-offset: -2px; }
.gv-task-select-mask { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: flex-end; padding: 12px; pointer-events: none; background: linear-gradient(180deg, rgba(249,115,22,.08), transparent 34%); }
.gv-task-select-box { pointer-events: auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 10px; background: rgba(15,23,42,.55); border: 1px solid rgba(255,255,255,.16); }
.gv-task-select-box input { width: 16px; height: 16px; margin: 0; accent-color: #f97316; }
.gv-task-thumb-wrap { position: relative; background: rgba(255,255,255,.04); aspect-ratio: 16 / 9; min-height: 220px; }
.gv-task-thumb-wrap-inner { width: 100%; height: 100%; }
.gv-task-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.gv-task-thumb.placeholder { height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.45); font-weight: 700; font-size: 18px; }
.gv-task-thumb-cover { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; position: relative; padding: 0; border: 0; background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,.14), transparent 36%),
    linear-gradient(180deg, rgba(15,23,42,.10), rgba(15,23,42,.62)); color: #fff; cursor: pointer; overflow: hidden; }
.gv-task-thumb-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(124,58,237,.14), rgba(6,182,212,.10)); }
.gv-task-thumb-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(255,255,255,.08), transparent 58%); }
.gv-task-thumb-cover:hover { filter: brightness(1.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.gv-task-thumb-cover-icon { position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); font-size: 28px; box-shadow: 0 12px 28px rgba(0,0,0,.24), 0 0 0 10px rgba(255,255,255,.05); transition: transform .18s ease, box-shadow .18s ease; }
.gv-task-thumb-cover:hover .gv-task-thumb-cover-icon { transform: scale(1.05); }
.gv-task-thumb-cover-text { position: relative; z-index: 1; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.gv-task-thumb-cover-hint { position: relative; z-index: 1; padding: 4px 10px; border-radius: 999px; font-size: 11px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.12); }
body.theme-light .gv-task-thumb-cover { background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,.34), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.68)); color: #0f172a; }
body.theme-light .gv-task-thumb-cover::before { background: linear-gradient(135deg, rgba(59,130,246,.16), rgba(6,182,212,.12)); }
body.theme-light .gv-task-thumb-cover-icon { background: rgba(255,255,255,.78); color: #2563eb; box-shadow: 0 12px 28px rgba(37,99,235,.14), 0 0 0 10px rgba(37,99,235,.08); }
body.theme-light .gv-task-thumb-cover-hint { color: rgba(15,23,42,.66); background: rgba(255,255,255,.64); }
body.theme-light .gv-task-thumb.placeholder { color: rgba(15,23,42,.42); }
.status-badge-floating { position: absolute; top: 12px; left: 12px; }
.status-badge { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 12px; }
.status-pending { background: rgba(245, 158, 11, .18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, .35); }
.status-running { background: rgba(59, 130, 246, .18); color: #60a5fa; border: 1px solid rgba(59, 130, 246, .35); }
.status-success { background: rgba(34, 197, 94, .18); color: #4ade80; border: 1px solid rgba(34, 197, 94, .35); }
.status-failed { background: rgba(239, 68, 68, .18); color: #f87171; border: 1px solid rgba(239, 68, 68, .35); }
.gv-task-card-body { padding: 18px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; flex: 1 1 auto; min-height: 0; }
.gv-task-card-body.compact { justify-content: initial; }
.gv-task-card-top { min-height: 0; }
.gv-task-card-bottom { display: flex; flex-direction: column; gap: 8px; margin-top: 0; }
.gv-task-prompt-line { color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: 0; }
body.theme-light .gv-task-prompt-line { color: rgba(17,24,39,.92); }
.gv-task-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; line-height: 1.4; margin-top: 6px; }
.gv-task-meta-label { color: rgba(255,255,255,.45); }
.gv-task-meta-value { color: rgba(255,255,255,.62); text-align: right; }
body.theme-light .gv-task-meta-label { color: rgba(15,23,42,.45); }
body.theme-light .gv-task-meta-value { color: rgba(15,23,42,.62); }
.gv-task-footer-state { padding: 14px 0 6px; text-align: center; font-size: 13px; color: rgba(255,255,255,.55); }
body.theme-light .gv-task-footer-state { color: rgba(15,23,42,.55); }
.gv-modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.gv-modal { width: min(1180px, 96vw); max-height: 92vh; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; background: #121318; border: 1px solid rgba(255,255,255,.10); border-radius: 26px; box-shadow: 0 40px 120px rgba(0,0,0,.45); position: relative; }
body.theme-light .gv-modal { background: #fff; border-color: rgba(15,23,42,.08); box-shadow: 0 40px 120px rgba(15,23,42,.18); }
.gv-modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: 22px; cursor: pointer; z-index: 2; }
body.theme-light .gv-modal-close { background: rgba(15,23,42,.06); color: #111827; }
.gv-modal-media { background: #0b0c10; display: flex; align-items: center; justify-content: center; min-height: 620px; position: relative; }
body.theme-light .gv-modal-media { background: #f8fafc; }
.gv-modal-section { padding: 14px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
body.theme-light .gv-modal-section { background: rgba(15,23,42,.04); border-color: rgba(15,23,42,.08); }
.gv-modal-section-result { display: flex; flex-direction: column; min-height: 0; width: 100%; height: 100%; }
.gv-modal-video { width: 100%; height: 100%; min-height: 0; object-fit: contain; display: block; border-radius: 14px; }
.gv-modal-media-empty { color: rgba(255,255,255,.45); display: grid; place-items: center; min-height: 100%; }
body.theme-light .gv-modal-media-empty { color: rgba(15,23,42,.45); }
.gv-modal-reference-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; overflow: auto; padding-right: 2px; }
.gv-modal-reference-item { position: relative; display: block; width: 100%; padding: 0; border: 1px solid rgba(255,255,255,.10); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.03); cursor: zoom-in; }
body.theme-light .gv-modal-reference-item { border-color: rgba(15,23,42,.10); background: rgba(255,255,255,.85); }
.gv-modal-reference-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.gv-modal-reference-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); color: #fff; font-size: 11px; text-align: center; }
body.theme-light .gv-modal-reference-overlay { background: linear-gradient(180deg, transparent, rgba(15,23,42,.72)); }
.gv-modal-side { padding: 24px; overflow: auto; }
.gv-modal-title { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.gv-modal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gv-modal-grid div { padding: 12px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
body.theme-light .gv-modal-grid div { background: rgba(15,23,42,.04); border-color: rgba(15,23,42,.08); }
.gv-modal-grid span { display: block; font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 6px; }
body.theme-light .gv-modal-grid span { color: rgba(15,23,42,.45); }
.gv-modal-grid strong { font-size: 13px; word-break: break-all; }
.gv-modal-section-title { font-weight: 700; margin-bottom: 10px; }
.gv-modal-text { color: rgba(255,255,255,.74); font-size: 13px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
body.theme-light .gv-modal-text { color: rgba(17,24,39,.74); }
.gv-modal-actions { display: flex; gap: 10px; margin-top: 14px; }
.gv-modal-actions button { border: 0; border-radius: 12px; cursor: pointer; background: linear-gradient(135deg, #7c3aed, #06b6d4); color: #fff; padding: 12px 16px; }
body.theme-light .gv-modal-actions button { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.gv-preview-mask { position: fixed; inset: 0; z-index: 85; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 18px; }
.gv-preview-card { position: relative; width: min(92vw, 1080px); max-height: 92vh; background: rgba(17,24,39,.96); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 16px; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
body.theme-light .gv-preview-card { background: rgba(255,255,255,.98); border-color: rgba(15,23,42,.08); }
.gv-preview-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: 22px; cursor: pointer; z-index: 1; }
body.theme-light .gv-preview-close { background: rgba(15,23,42,.06); color: #111827; }
.gv-preview-image { width: 100%; max-height: calc(92vh - 32px); object-fit: contain; display: block; border-radius: 16px; }
.gv-toast-mask { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.38); display: flex; align-items: center; justify-content: center; padding: 16px; }
.gv-toast-card { width: min(420px, 92vw); border-radius: 24px; background: rgba(17,24,39,.96); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 24px 80px rgba(0,0,0,.35); padding: 26px 22px 20px; text-align: center; }
body.theme-light .gv-toast-card { background: rgba(255,255,255,.98); border-color: rgba(15,23,42,.08); }
.gv-toast-card.success .gv-toast-icon { background: linear-gradient(135deg, #22c55e, #06b6d4); }
.gv-toast-card.error .gv-toast-icon { background: linear-gradient(135deg, #ef4444, #f97316); }
.gv-toast-card.balance-insufficient .gv-toast-icon { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.gv-toast-icon { width: 58px; height: 58px; border-radius: 999px; margin: 0 auto 14px; display: grid; place-items: center; color: #fff; font-size: 30px; font-weight: 800; }
.gv-toast-card.balance-insufficient .gv-toast-icon::after { content: '!'; }
.gv-toast-title { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.gv-toast-text { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.72); margin-bottom: 18px; }
body.theme-light .gv-toast-text { color: rgba(17,24,39,.72); }
.gv-toast-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.gv-toast-btn { border: 0; border-radius: 14px; padding: 12px 18px; background: linear-gradient(135deg, #7c3aed, #06b6d4); color: #fff; cursor: pointer; }
.gv-toast-btn.toast-btn-ghost { background: rgba(255,255,255,.08); }
body.theme-light .gv-toast-btn.toast-btn-ghost { background: rgba(15,23,42,.06); color: #111827; }
.gv-task-empty-state { position: relative; min-height: 360px; margin-top: 8px; padding: 38px 28px; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid rgba(96,165,250,.20); background:
    radial-gradient(circle at 50% 0%, rgba(59,130,246,.22), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(168,85,247,.18), transparent 22%),
    radial-gradient(circle at 16% 78%, rgba(6,182,212,.14), transparent 24%),
    linear-gradient(180deg, rgba(7,10,18,.94), rgba(8,12,22,.98)); box-shadow: 0 28px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05); perspective: 1200px; transform-style: preserve-3d; }
.gv-task-empty-state > * { position: relative; z-index: 1; transform: translateZ(0); }
.gv-task-empty-state::before { content: ''; position: absolute; inset: 0; background:
    radial-gradient(circle at 12% 18%, rgba(125,211,252,.55) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 22% 74%, rgba(96,165,250,.40) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 38% 30%, rgba(168,85,247,.42) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 60% 18%, rgba(34,211,238,.42) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 72% 62%, rgba(125,165,250,.38) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 88% 26%, rgba(59,130,246,.42) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 18% 42%, rgba(255,255,255,.24) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 82% 82%, rgba(255,255,255,.20) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 50% 54%, rgba(96,165,250,.24) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.06), transparent 45%);
    background-size: 140px 140px; opacity: .72; animation: gv-empty-particles 20s linear infinite; pointer-events: none; transform: translateZ(-50px) scale(1.18); }
.gv-task-empty-state::after { content: ''; position: absolute; inset: -30%; background:
    linear-gradient(120deg, transparent 46%, rgba(125,211,252,.20) 50%, transparent 54%),
    radial-gradient(circle at 50% 50%, rgba(56,189,248,.14), transparent 58%);
    filter: blur(18px); opacity: .60; animation: gv-empty-scan 6.8s linear infinite; pointer-events: none; transform: translateZ(-20px) scale(1.08); }
.gv-task-empty-icon-wrap { position: relative; z-index: 1; width: 112px; height: 112px; border-radius: 36px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(180deg, rgba(11,15,24,.94), rgba(21,26,38,.86)); border: 1px solid rgba(96,165,250,.26); box-shadow: 0 18px 42px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.03), inset 0 1px 0 rgba(255,255,255,.08); }
.gv-task-empty-icon-wrap::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; background: linear-gradient(135deg, rgba(96,165,250,.95), rgba(168,85,247,.90), rgba(6,182,212,.95)); z-index: -1; filter: blur(12px); opacity: .62; animation: gv-empty-neon 3.6s ease-in-out infinite; }
.gv-task-empty-icon-wrap::after { content: ''; position: absolute; inset: 12px; border-radius: inherit; background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.28), transparent 40%),
    radial-gradient(circle at 68% 68%, rgba(255,255,255,.08), transparent 44%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03); }
.gv-task-empty-icon { font-size: 40px; line-height: 1; position: relative; z-index: 1; filter: drop-shadow(0 0 18px rgba(125,211,252,.60)); }
.gv-task-empty-title { position: relative; z-index: 1; font-size: 24px; font-weight: 800; letter-spacing: .05em; color: #eef2ff; margin-bottom: 10px; text-shadow: 0 0 18px rgba(96,165,250,.26); }
.gv-task-empty-desc { position: relative; z-index: 1; max-width: 400px; font-size: 14px; line-height: 1.8; color: rgba(191,219,254,.74); }
body.theme-light .gv-task-empty-state { border-color: rgba(37,99,235,.14); background:
    radial-gradient(circle at 50% 0%, rgba(59,130,246,.12), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(168,85,247,.10), transparent 22%),
    radial-gradient(circle at 16% 78%, rgba(6,182,212,.08), transparent 24%),
    linear-gradient(180deg, rgba(250,251,255,.98), rgba(242,246,252,.94)); box-shadow: 0 28px 80px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.94); }
body.theme-light .gv-task-empty-state::before { opacity: .40; }
body.theme-light .gv-task-empty-state::after { opacity: .34; }
body.theme-light .gv-task-empty-title { color: #0f172a; text-shadow: none; }
body.theme-light .gv-task-empty-desc { color: rgba(15,23,42,.66); }
body.theme-light .gv-task-empty-icon-wrap { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(241,245,249,.82)); border-color: rgba(37,99,235,.14); box-shadow: 0 18px 42px rgba(15,23,42,.08), 0 0 0 1px rgba(255,255,255,.8), inset 0 1px 0 rgba(255,255,255,.94); }
body.theme-light .gv-task-empty-icon-wrap::before { opacity: .45; }
body.theme-light .gv-task-empty-icon { filter: drop-shadow(0 0 14px rgba(59,130,246,.24)); }
body.theme-light .gv-task-empty-state::before { opacity: .36; }
body.theme-light .gv-task-empty-state::after { opacity: .40; }
body.theme-light .gv-task-empty-title { color: #0f172a; text-shadow: none; }
body.theme-light .gv-task-empty-desc { color: rgba(15,23,42,.66); }
body.theme-light .gv-task-empty-icon-wrap { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(241,245,249,.82)); border-color: rgba(37,99,235,.14); box-shadow: 0 18px 42px rgba(15,23,42,.08), 0 0 0 1px rgba(255,255,255,.8), inset 0 1px 0 rgba(255,255,255,.94); }
body.theme-light .gv-task-empty-icon-wrap::before { opacity: .45; }
body.theme-light .gv-task-empty-icon { filter: drop-shadow(0 0 14px rgba(59,130,246,.24)); }
@keyframes gv-empty-scan { 0% { transform: translateX(-22%) rotate(0deg); } 50% { transform: translateX(0%) rotate(0deg); } 100% { transform: translateX(22%) rotate(0deg); } }
@keyframes gv-empty-neon { 0%,100% { opacity: .45; transform: scale(.96); } 50% { opacity: .95; transform: scale(1.04); } }
@keyframes gv-empty-particles { 0% { background-position: 0 0; } 50% { background-position: 70px 40px; } 100% { background-position: 140px 80px; } }
@keyframes gv-empty-particles { 0% { transform: translate3d(0,0,0); opacity: .52; } 50% { transform: translate3d(18px,-12px,0); opacity: .78; } 100% { transform: translate3d(0,0,0); opacity: .52; } }
@media (max-width: 1560px) { .gv-page { grid-template-columns: 360px 1fr; } .gv-main { padding: 22px; } .gv-task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1200px) { .gv-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1280px) { .gv-task-grid { grid-template-columns: 1fr; } .gv-modal { width: min(1080px, 96vw); } }
@media (max-width: 720px) {
    html, body { overflow: auto; }
    body { overflow: auto; }
    #app, .gv-page { height: auto; min-height: 100%; }
    .gv-page { grid-template-columns: 1fr; overflow: visible; }
    .gv-sidebar { height: auto; max-height: none; overflow: visible; padding: 12px; }
    .gv-main { height: auto; overflow: visible; padding: 12px; }
    .gv-brand { margin-bottom: 12px; }
    .gv-panel { max-height: none; overflow: visible; padding: 12px; border-radius: 18px; }
    .gv-field { margin-bottom: 12px; }
    .gv-model-grid, .gv-size-grid, .gv-count-grid, .gv-chip-grid { gap: 8px; }
    .gv-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gv-size-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gv-count-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gv-chip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gv-upload-grid { grid-template-columns: 1fr; }
    .gv-more-panel.open { max-height: none; }
    .gv-actions { position: static; background: transparent; padding-top: 0; margin-top: 10px; }
    .gv-hint { margin-top: 10px; }
    .gv-content-grid { height: auto; }
    .gv-task-board { height: auto; }
    .gv-task-toolbar { flex-wrap: wrap; }
    .gv-task-toolbar input, .gv-task-toolbar button { width: 100%; }
    .gv-task-manage-bar { align-items: flex-start; }
    .gv-task-manage-delete { width: 100%; margin-left: 0; }
    .gv-task-grid { grid-template-columns: 1fr; overflow: visible; }
    .gv-task-item { min-height: 0; }
    .gv-task-thumb-wrap { min-height: 180px; }
    .gv-task-card-body { padding: 14px; }
    .gv-modal-mask { padding: 0; align-items: stretch; justify-content: stretch; }
    .gv-modal { grid-template-columns: 1fr; width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
    .gv-modal-media { grid-template-columns: 1fr; min-height: 38vh; }
    .gv-modal-side { padding: 16px; }
    .gv-modal-grid { grid-template-columns: 1fr; }
    .gv-modal-reference-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
