/* 电商上新包增强功能 · 跟随网站 G 风格 */
.launch-ratios { grid-template-columns: repeat(4, 1fr) !important; }

.lp-ai-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 2px; }
.lp-ai-row .launch-hint { margin: 0; }

.lp-badge-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.lp-badge-row label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 650; }

.lp-check { margin-top: 4px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--ink, #141414); background: #ffe9a8; color: #141414; font-size: 14px; line-height: 1.6; }
.lp-check p { margin: 0 0 6px; }
.lp-check ul { margin: 0 0 10px; padding-left: 20px; }

.lp-listing { margin-top: 4px; padding: 12px 16px; border-radius: 16px; border: 2px solid var(--ink, #141414); background: var(--card, #fff); }
.lp-listing summary { cursor: pointer; font-weight: 800; min-height: 32px; display: flex; align-items: center; }
.lp-listing p { margin: 8px 0; font-size: 15px; line-height: 1.6; }

.lp-set-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.lp-set-picker button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--ink, #141414); background: var(--card, #fff); color: var(--ink, #141414); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.lp-set-picker button[aria-pressed="true"] { background: var(--ink, #141414); color: var(--bg, #f4f1ea); }

.launch-footer #lp-open-platform { min-height: 40px !important; }

.lp-dialog { width: min(620px, calc(100% - 32px)) !important; max-height: calc(100vh - 40px); overflow-y: auto; }
.lp-dialog p { line-height: 1.7; }
.lp-dialog .launch-export-options label { font-size: 15px; }
.lp-radio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 4px 12px; }
.lp-radio-list label { display: block; margin: 8px 0; }
.lp-radio-list small, .lp-radio-grid small { display: block; margin-left: 26px; color: var(--muted, #4d4d4d); font-size: 13px; }
.lp-field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 700; }
.lp-field small { font-weight: 400; color: var(--muted, #4d4d4d); }
.lp-inline { display: inline-flex; align-items: center; gap: 8px; margin: 6px 16px 6px 0; font-size: 14px; font-weight: 600; }
.lp-inline select { width: auto !important; min-width: 120px; }
.lp-subtitle { margin: 18px 0 6px; font-size: 16px; font-weight: 900; }

.lp-copy-items { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.lp-copy-item { padding: 12px 14px; border-radius: 14px; border: 2px solid var(--hair, #d9d3c6); background: var(--field, #fffdf8); }
.lp-copy-item-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-copy-item-head strong { font-size: 14px; }
.lp-copy-item p { margin: 6px 0 0 !important; color: var(--ink, #141414) !important; font-size: 15px; }

.lp-scene-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.lp-scene-item { display: flex; flex-direction: column; gap: 8px; }
.lp-scene-item canvas { width: 100%; height: auto; border-radius: 14px; border: 2px solid var(--ink, #141414); }
.lp-scene-item .launch-button { min-height: 38px !important; padding: 0 12px !important; font-size: 13px !important; }

.lp-batch-section { padding: 4px 0 14px; border-bottom: 2px dashed var(--hair, #d9d3c6); }
.lp-batch-section:last-of-type { border-bottom: 0; }
.lp-file-button { display: inline-flex; align-items: center; cursor: pointer; }
.lp-batch-drafts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 12px; max-height: 180px; overflow-y: auto; margin: 6px 0; }
.lp-batch-drafts label { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lp-batch-export-row { display: flex; flex-wrap: wrap; align-items: center; }

@media (max-width: 760px) {
  .launch-ratios { grid-template-columns: repeat(2, 1fr) !important; }
  .lp-set-picker { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .lp-set-picker button { flex: none; }
  .launch-workspace, .launch-editor { min-width: 0; max-width: 100%; }
  .launch-workspace > * { min-width: 0; max-width: 100%; }
  .launch-toolbar, .launch-footer { flex-wrap: wrap; }
  .launch-views { overflow-x: auto; flex-wrap: nowrap; }
  .launch-views button { flex: none; }
  .lp-ai-row .launch-button, .lp-scene-open { min-height: 40px; }
}

/* ===== 电脑紧凑尺寸（自动生成，只对鼠标设备、宽屏生效）===== */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
.lp-check { padding: 14px 14px; }
.lp-check ul { padding-left: 17px; }
.lp-listing { padding: 12px 14px; }
.lp-listing p { font-size: 14px; }
.lp-set-picker button { min-height: 32px; }
.launch-footer #lp-open-platform { min-height: 32px !important; }
.lp-dialog .launch-export-options label { font-size: 14px; }
.lp-subtitle { font-size: 15px; }
.lp-copy-item p { font-size: 14px; }

}
