/* 个人中心 & 发布藏品 */
.uc-page {
  background: #fff;
  min-height: 100vh;
}

.uc-page.site-nav-page .site-header {
  margin-bottom: 0;
}

/* 个人中心顶栏（无艺术头条等） */
.uc-topnav {
  background: #3d3d3d;
  color: #ccc;
  font-size: 13px;
}

.uc-topnav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.uc-topnav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.uc-topnav-links a {
  color: #ccc;
}

.uc-topnav-links a:hover {
  color: #fff;
}

.uc-topnav-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.uc-topnav-user a {
  color: #fff;
}

.uc-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 16px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

.uc-layout--focus {
  grid-template-columns: 1fr;
  max-width: 920px;
}

.uc-layout--with-wallet {
  grid-template-columns: minmax(0, 1fr) 280px;
  max-width: var(--container);
}

.uc-layout--with-wallet .uc-main {
  min-width: 0;
}

.side-card--wallet .wallet-actions {
  display: block;
}

.side-card--wallet .wallet-actions .btn-recharge {
  width: 100%;
}

/* 用户卡片 */
.uc-profile-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 20px;
  background: #fff;
}

.uc-profile-card--compact {
  padding: 20px 24px;
}

.uc-profile-card--compact .uc-profile-main {
  margin-bottom: 0;
  align-items: center;
}

.uc-profile-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.uc-profile-name-row h1 {
  margin: 0;
}

.uc-vip-tag {
  display: none;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: #8b6914;
  background: linear-gradient(135deg, #fff7e6 0%, #ffe7ba 100%);
  border: 1px solid #ffd591;
  border-radius: 3px;
}

.uc-vip-tag.is-show {
  display: inline-block;
}

.uc-profile-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.5;
}

.uc-stats-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

.uc-stats-inline strong {
  color: var(--primary);
  font-weight: 700;
  margin-left: 4px;
}

.uc-profile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.uc-profile-main {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
}

.uc-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.uc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-profile-info h1 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.uc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.uc-badge {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 2px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.uc-badge.ok {
  border-color: #b7eb8f;
  background: #f6ffed;
  color: var(--primary);
}

.uc-badge.warn {
  border-color: #ffccc7;
  background: #fff2f0;
  color: #cf1322;
}

.uc-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.uc-meta-row strong {
  color: var(--primary);
  font-weight: 700;
}

.uc-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.btn-uc-primary {
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-uc-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn-uc-outline {
  padding: 8px 20px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #fff;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.btn-uc-outline:hover {
  background: #ebf5e8;
}

/* 区块标题 */
.uc-section {
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 20px;
  background: #fff;
}

.uc-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.uc-section-head h2 {
  font-size: 16px;
  font-weight: 700;
}

.uc-section-badge {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  padding: 2px 10px;
  border-radius: 10px;
  line-height: 1.4;
}

.uc-section-head a {
  font-size: 13px;
  color: var(--text-muted);
}

.uc-section-body {
  padding: 16px 20px 20px;
}

/* 藏品网格 */
.uc-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.uc-collection-item {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.uc-collection-item:hover {
  border-color: var(--primary);
}

.uc-collection-item .thumb {
  aspect-ratio: 4/3;
  background: #f5f5f5;
  overflow: hidden;
}

.uc-collection-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-collection-item .info {
  padding: 10px 12px;
}

.uc-collection-item .title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc-collection-item .date {
  font-size: 12px;
  color: var(--text-muted);
}

.uc-collection-item .thumb {
  position: relative;
}

.uc-item-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(50, 157, 21, 0.92);
  color: #fff;
  border-radius: 2px;
}

.uc-item-status {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  color: #999;
}

.uc-thumb-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 12px;
  min-height: 120px;
}

.uc-item-link {
  display: block;
  color: inherit;
}

.uc-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px 12px;
  border-top: 1px solid #f5f5f5;
  font-size: 12px;
}

.uc-item-actions a {
  color: var(--primary);
}

.uc-item-actions .btn-delete-item {
  border: none;
  background: none;
  color: #cf1322;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  padding: 4px 0;
}

.uc-item-actions .btn-delete-item:hover {
  text-decoration: underline;
}

/* 评论互动 */
.uc-comment-inbox {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.uc-comment-group {
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  background: #fafafa;
}

.uc-comment-collection {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text);
}

.uc-comment-collection:hover {
  background: #f9fff7;
}

.uc-comment-collection img,
.uc-comment-collection-ph {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
}

.uc-comment-collection-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #bbb;
}

.uc-comment-collection-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc-comment-collection-link {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--primary);
}

.uc-comment-thread {
  padding: 12px 16px 16px;
}

.uc-comment-thread-item + .uc-comment-thread-item {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e8e8e8;
}

.uc-comment-item {
  display: flex;
  gap: 12px;
}

.uc-comment-item--reply {
  margin-top: 10px;
}

.uc-comment-replies {
  margin: 10px 0 0 52px;
  padding-left: 12px;
  border-left: 2px solid #e8e8e8;
}

.uc-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8bc34a, var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.uc-comment-body {
  flex: 1;
  min-width: 0;
}

.uc-comment-meta {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.uc-comment-meta strong {
  color: var(--text);
  margin-right: 6px;
}

.uc-comment-meta time {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}

.uc-tag-owner {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.uc-comment-text {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.uc-btn-reply {
  border: none;
  background: none;
  padding: 0;
  font-size: 12px;
  color: var(--primary);
  cursor: pointer;
  font-family: inherit;
}

.uc-btn-reply:hover {
  text-decoration: underline;
}

.uc-reply-form {
  margin-top: 10px;
}

.uc-reply-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 64px;
  outline: none;
  box-sizing: border-box;
}

.uc-reply-form textarea:focus {
  border-color: var(--primary);
}

.uc-reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.uc-reply-cancel {
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.uc-reply-actions .btn-uc-primary {
  padding: 6px 16px;
  font-size: 13px;
}

.uc-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* 侧栏 */
.uc-sidebar .side-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
}

.uc-sidebar .side-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.wallet-balance {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.wallet-balance .amount {
  font-size: 28px;
  font-weight: 700;
  color: #cf1322;
  display: block;
  margin: 8px 0 16px;
}

.wallet-actions {
  display: flex;
  gap: 10px;
}

.wallet-actions button {
  flex: 1;
  height: 36px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid var(--border);
  background: #fff;
}

.wallet-actions .btn-recharge {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.wallet-actions .btn-recharge:hover {
  background: var(--primary-hover);
}

/* 本站会员侧栏 */
.side-card--membership {
  background: linear-gradient(180deg, #f8fff4 0%, #fff 42%);
  border-color: #c8e6b8;
  position: relative;
  overflow: hidden;
}

.side-card--membership::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 88px;
  height: 88px;
  background: radial-gradient(circle at 100% 0%, rgba(50, 157, 21, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.side-card--membership.is-active {
  background: linear-gradient(180deg, #fffbe6 0%, #fff 50%);
  border-color: #ffe58f;
}

.membership-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(50, 157, 21, 0.15);
}

.membership-head h3 {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 15px;
}

.membership-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  color: var(--text-muted);
  background: #f5f5f5;
  flex-shrink: 0;
}

.side-card--membership.is-active .membership-status {
  color: #8b6914;
  background: #fff7e6;
  border: 1px solid #ffd591;
}

.membership-lead {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 12px;
}

.membership-perks {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.membership-perks li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.membership-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.membership-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.membership-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.membership-price-unit {
  font-size: 13px;
  color: var(--text-muted);
}

.membership-pay-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.45;
}

.btn-membership {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #3aad1a 0%, var(--primary) 55%, #2d8d13 100%);
  box-shadow: 0 4px 12px rgba(50, 157, 21, 0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-membership:hover {
  box-shadow: 0 6px 16px rgba(50, 157, 21, 0.35);
}

.btn-membership:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.membership-active {
  font-size: 13px;
  color: #8b6914;
  text-align: center;
  margin: 0;
  line-height: 1.5;
  padding: 10px 8px;
  background: #fffbe6;
  border-radius: 4px;
  border: 1px solid #ffe58f;
}

.uc-menu-list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px dashed #f0f0f0;
  font-size: 14px;
  color: var(--text-secondary);
}

.uc-menu-list a:last-child {
  border-bottom: none;
}

.uc-menu-list a:hover,
.uc-menu-list a.active {
  color: var(--primary);
}

/* 弹窗 */
.uc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.uc-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.uc-modal {
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 420px;
  padding: 24px;
}

.uc-modal h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.recharge-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.recharge-opt {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  font-size: 15px;
  background: #fff;
  font-family: inherit;
}

.recharge-opt:hover,
.recharge-opt.active {
  border-color: var(--primary);
  color: var(--primary);
  background: #f6ffed;
}

.recharge-custom {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}

.uc-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.uc-modal-actions button {
  padding: 8px 24px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

/* ========== 发布藏品页 ========== */
.publish-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}

.publish-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.publish-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.publish-gate {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 4px;
  border: 1px solid #ffe58f;
  background: #fffbe6;
}

.publish-gate-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #8b6914;
}

.publish-gate-desc {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.publish-form.is-publish-blocked,
#publishForm.is-publish-blocked {
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.publish-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.form-block {
  margin-bottom: 28px;
}

.form-block label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.form-block label .required {
  color: #cf1322;
  margin-left: 4px;
}

.form-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
}

/* 图片上传 */
.form-block--images .form-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.form-block--images .form-block-head label {
  margin-bottom: 0;
}

.image-upload-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 10px;
  background: #f5f5f5;
  border-radius: 999px;
  flex-shrink: 0;
}

.image-upload-count.is-full {
  color: #cf1322;
  background: #fff1f0;
}

.image-upload-panel {
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  padding: 16px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.image-upload-panel.is-dragover {
  border-color: var(--primary);
  background: #f6fff3;
  box-shadow: 0 0 0 3px rgba(50, 157, 21, 0.12);
}

.image-upload-area {
  display: grid;
  grid-template-columns: repeat(auto-fill, 108px);
  gap: 12px;
  max-width: 100%;
}

.image-preview-item {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f0f0f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-preview-item .preview-cover-tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  font-size: 10px;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 3px;
  background: rgba(50, 157, 21, 0.92);
  color: #fff;
  pointer-events: none;
}

.image-preview-item .preview-index {
  position: absolute;
  left: 6px;
  top: 6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.image-preview-item .remove-img {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.image-preview-item:hover .remove-img,
.image-preview-item:focus-within .remove-img {
  opacity: 1;
}

.image-preview-item .remove-img:hover {
  background: #cf1322;
}

/* 避免 .form-block label 覆盖上传按钮布局 */
.form-block label.image-upload-btn {
  display: flex;
  width: 108px;
  height: 108px;
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-size: 13px;
  line-height: 1.4;
  box-sizing: border-box;
}

.image-upload-btn {
  width: 108px;
  height: 108px;
  border: 1px dashed #d0d0d0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.image-upload-btn:hover {
  border-color: var(--primary);
  background: #f6fff3;
  box-shadow: 0 2px 8px rgba(50, 157, 21, 0.1);
}

.image-upload-btn:hover .image-upload-icon {
  color: var(--primary);
}

.image-upload-btn:active {
  transform: scale(0.98);
}

.image-upload-btn.is-hidden {
  display: none;
}

.image-upload-btn-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 12px 8px;
  box-sizing: border-box;
  text-align: center;
}

.image-upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8c8c8c;
  transition: color 0.2s ease;
}

.image-upload-text {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: #666;
  line-height: 1.2;
}

.image-upload-sub {
  display: block;
  font-size: 11px;
  font-weight: normal;
  color: #aaa;
  line-height: 1.2;
}

.image-upload-drag-hint {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  color: #aaa;
}

.image-upload-panel.is-dragover .image-upload-drag-hint {
  color: var(--primary);
  font-weight: 500;
}

.publish-actions .btn-uc-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Quill 编辑器 */
#editor {
  min-height: 280px;
  background: #fff;
}

.ql-toolbar.ql-snow {
  border-radius: 4px 4px 0 0;
  border-color: var(--border);
}

.ql-container.ql-snow {
  border-radius: 0 0 4px 4px;
  border-color: var(--border);
  font-size: 15px;
}

.publish-actions {
  display: flex;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.publish-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 28px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 6px;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
}

.publish-toast.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 992px) {
  .uc-layout,
  .uc-layout--with-wallet {
    grid-template-columns: 1fr;
  }

  .uc-sidebar {
    order: -1;
  }

  .side-card--wallet .wallet-actions .btn-recharge {
    width: auto;
    min-width: 140px;
  }

  .uc-profile-card--compact .uc-profile-main {
    flex-wrap: wrap;
  }

  .uc-profile-actions {
    flex-direction: row;
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
  }

  .uc-collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .uc-collection-grid {
    grid-template-columns: 1fr;
  }

  .uc-profile-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
