/* content-studio.css v2 — 粉金轻奢风格，全部 st- 前缀隔离 */
.st-wrap { max-width: 720px; margin: 0 auto; padding: 4px 0 20px; }
.st-head { display: flex; align-items: center; gap: 10px; padding: 8px 4px 14px; }
.st-logo { font-size: 28px; }
.st-head h2 { margin: 0; font-size: 19px; color: #1f1f28; }
.st-sub { font-size: 12px; color: #9a8c96; margin-top: 2px; }

.st-card { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 12px; box-shadow: 0 4px 18px rgba(255,77,141,0.08); }
.st-title { font-size: 15px; font-weight: 700; color: #2a2a33; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.st-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4d8d; display: inline-block; }

.st-note-box { position: relative; }
.st-textarea { width: 100%; box-sizing: border-box; border: 1.5px solid #ffe0ec; border-radius: 12px; padding: 12px 46px 12px 12px; font-size: 14px; line-height: 1.5; resize: vertical; background: #fff7fa; color: #333; min-height: 70px; }
.st-textarea:focus { outline: none; border-color: #ff4d8d; }
.st-camera { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; border: none; background: linear-gradient(135deg,#ff6fa5,#ff4d8d); color: #fff; font-size: 17px; cursor: pointer; box-shadow: 0 3px 10px rgba(255,77,141,0.4); }
.st-camera:active { transform: scale(0.94); }

.st-uploads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.st-mat { position: relative; width: 92px; }
.st-mat-media { width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: #f3f3f6; border: 1px solid #ffe0ec; }
.st-thumb { width: 100%; height: 100%; object-fit: cover; }
.st-mat-info { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.st-mat-tag { font-size: 11px; color: #ff4d8d; background: #fff0f6; padding: 1px 6px; border-radius: 6px; }
.st-mat-meta { font-size: 11px; color: #9a8c96; }
.st-mat-del { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; border: none; background: #2a2a33; color: #fff; font-size: 12px; cursor: pointer; }

.st-hint { font-size: 11px; color: #b3a6ad; margin-top: 8px; }

.st-platforms { display: flex; gap: 8px; flex-wrap: wrap; }
.st-platform { flex: 1; min-width: 80px; border: 1.5px solid #ffe0ec; background: #fff7fa; border-radius: 12px; padding: 10px 6px; font-size: 13px; color: #7a6b73; cursor: pointer; }
.st-platform.active { background: linear-gradient(135deg,#ff6fa5,#ff4d8d); color: #fff; border-color: transparent; font-weight: 700; }

.st-opt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5b4f56; padding: 6px 0; }

.st-cost { text-align: center; font-size: 14px; color: #5b4f56; margin: 6px 0 12px; }
.st-cost b { color: #ff4d8d; font-size: 17px; }
.st-cost-sub { font-size: 11px; color: #b3a6ad; }

.st-gen { width: 100%; border: none; border-radius: 14px; padding: 14px; font-size: 16px; font-weight: 700; color: #fff; background: linear-gradient(135deg,#ff6fa5,#ff4d8d); box-shadow: 0 6px 18px rgba(255,77,141,0.4); cursor: pointer; }
.st-gen:active { transform: scale(0.99); }
.st-gen:disabled { opacity: 0.6; }

.st-result { margin-top: 14px; }
.st-loading, .st-err { text-align: center; padding: 18px; font-size: 14px; color: #8a7d84; }
.st-err { color: #d23b3b; }
.st-sec { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 12px; box-shadow: 0 4px 18px rgba(255,77,141,0.06); }
.st-sec-t { font-size: 15px; font-weight: 700; color: #2a2a33; margin-bottom: 10px; }
.st-rec { border-left: 3px solid #ff4d8d; padding: 6px 10px; margin-bottom: 8px; background: #fff7fa; border-radius: 0 10px 10px 0; }
.st-rec-name { font-weight: 700; color: #2a2a33; margin-bottom: 3px; }
.st-rec-sp, .st-rec-sc, .st-rec-st { font-size: 12px; color: #6b5e65; line-height: 1.6; }
.st-field { font-size: 14px; line-height: 1.7; color: #333; margin-bottom: 8px; }
.st-k { display: inline-block; min-width: 42px; color: #ff4d8d; font-weight: 700; margin-right: 6px; }
.st-copy-all { width: 100%; margin-top: 6px; border: 1.5px solid #ff4d8d; background: #fff; color: #ff4d8d; border-radius: 12px; padding: 10px; font-size: 14px; font-weight: 700; cursor: pointer; }
.st-clip { width: 100%; border-radius: 12px; margin-top: 6px; background: #000; }

/* action sheet */
.st-sheet-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: flex-end; z-index: 9999; }
.st-sheet { width: 100%; background: #fff; border-radius: 16px 16px 0 0; padding: 8px; max-width: 720px; margin: 0 auto; }
.st-sheet-btn { width: 100%; border: none; background: #fff; padding: 16px; font-size: 16px; color: #2a2a33; border-bottom: 1px solid #f0f0f3; cursor: pointer; }
.st-sheet-btn:active { background: #fff7fa; }
.st-cancel { color: #ff4d8d; font-weight: 700; border-bottom: none; }

/* confirm modal */
.st-confirm-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.st-confirm { width: 80%; max-width: 320px; background: #fff; border-radius: 16px; padding: 20px; text-align: center; }
.st-confirm-title { font-size: 16px; font-weight: 700; color: #2a2a33; margin-bottom: 10px; }
.st-confirm-body { font-size: 14px; color: #5b4f56; margin-bottom: 18px; }
.st-confirm-body b { color: #ff4d8d; font-size: 18px; }
.st-confirm-actions { display: flex; gap: 10px; }
.st-cancel-btn, .st-ok-btn { flex: 1; border: none; border-radius: 12px; padding: 12px; font-size: 15px; font-weight: 700; cursor: pointer; }
.st-cancel-btn { background: #f0f0f3; color: #5b4f56; }
.st-ok-btn { background: linear-gradient(135deg,#ff6fa5,#ff4d8d); color: #fff; }
