/* 登录页 */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #EEF3FC 0%, #F5F6F8 100%);
}
.login-box {
  background: #fff; padding: 36px 32px; border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08); width: 340px;
}
.login-box h2 { text-align: center; margin-bottom: 20px; color: #2B55B0; }
.login-box input { margin-bottom: 12px; }
.login-box button { width: 100%; padding: 10px; font-size: 15px; }
.login-box .tip { margin-top: 14px; font-size: 12px; color: #8A9099; text-align: center; }

/* 主布局 */
.topbar {
  height: 56px; background: #fff; border-bottom: 1px solid #DEE3E8;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: sticky; top: 0; z-index: 10;
}
.topbar h1 { font-size: 18px; color: #2B55B0; }
.layout { display: flex; min-height: calc(100vh - 56px); }
.sidebar {
  width: 260px; background: #fff; border-right: 1px solid #DEE3E8;
  padding: 16px; overflow-y: auto;
}
.sidebar .btn-primary { width: 100%; margin-bottom: 16px; }
.activity-list .act-item {
  padding: 12px; border-radius: 8px; cursor: pointer; margin-bottom: 6px;
  border: 1px solid transparent;
}
.activity-list .act-item:hover { background: #F5F7FA; }
.activity-list .act-item.active { background: #EEF3FC; border-color: #3B6FD4; }
.activity-list .act-item .name { font-weight: 600; margin-bottom: 2px; }
.activity-list .act-item .meta { font-size: 12px; color: #8A9099; }
.activity-list .act-item .meta span { margin-right: 8px; }

.content { flex: 1; padding: 24px; overflow-y: auto; }
.empty { color: #8A9099; text-align: center; margin-top: 80px; font-size: 15px; }

/* 活动详情 */
.act-header {
  background: #fff; border-radius: 10px; padding: 20px; margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.act-header h2 { margin-bottom: 6px; }
.act-header .meta { color: #8A9099; font-size: 13px; margin-bottom: 8px; }
.act-header .share-url {
  background: #F5F7FA; padding: 6px 10px; border-radius: 6px;
  font-size: 12px; color: #3B6FD4; word-break: break-all; margin-top: 6px;
}
.act-actions { display: flex; gap: 8px; }

/* 上传区 */
.upload-zone {
  background: #fff; border: 2px dashed #C9D3E0; border-radius: 10px;
  padding: 28px; text-align: center; margin-bottom: 16px; cursor: pointer;
  transition: border-color .15s;
}
.upload-zone:hover { border-color: #3B6FD4; background: #FAFCFF; }
.upload-zone p { color: #8A9099; margin-top: 6px; font-size: 13px; }
.upload-zone input { display: none; }
.upload-progress { margin-top: 10px; font-size: 13px; color: #3A9D5C; }

/* 标签页 */
.tabs { display: flex; gap: 4px; margin-bottom: 14px; }
.tabs .tab {
  padding: 8px 16px; border-radius: 6px; cursor: pointer;
  background: #fff; border: 1px solid #DEE3E8; font-size: 13px;
}
.tabs .tab.active { background: #3B6FD4; color: #fff; border-color: #3B6FD4; }

/* 素材网格 */
.asset-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.asset-card {
  background: #fff; border-radius: 8px; overflow: hidden;
  border: 1px solid #DEE3E8;
}
.asset-card .thumb {
  width: 100%; aspect-ratio: 1; object-fit: cover; background: #EEE;
  display: flex; align-items: center; justify-content: center;
}
.asset-card .thumb img, .asset-card .thumb video {
  width: 100%; height: 100%; object-fit: cover;
}
.asset-card .info { padding: 8px 10px; }
.asset-card .info .name {
  font-size: 12px; color: #4E5969; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px;
}
.asset-card .actions { display: flex; gap: 6px; flex-wrap: wrap; }
