/* ==========================================================================
   富丽雅官网原型 - 全局共享样式
   主色 #2ab39f (Teal/绿松石色)
   字体：中文思源黑体 / 英文 Inter
   断点：桌面≥1200 / 平板768-1199 / 移动≤767
   ========================================================================== */

:root {
  --primary: #2ab39f;
  --primary-dark: #1f8e7f;
  --primary-light: #e6f7f4;
  --primary-lighter: #f0faf8;
  --text: #1f2937;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-dark: #111827;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Source Han Sans', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 14px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ===== 通用容器 ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-fluid { max-width: 100%; padding: 0 24px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius);
  font-weight: 500; font-size: 14px;
  transition: all .2s; white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--border); background: #fff; color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--text-light); }
.btn-ghost:hover { color: var(--primary); }
.btn-danger { color: var(--danger); }
.btn-danger:hover { background: #fef2f2; }
.btn-success { color: var(--success); }
.btn-success:hover { background: #ecfdf5; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 12px 28px; font-size: 16px; }

/* ===== 标签 ===== */
.tag {
  display: inline-flex; align-items: center;
  padding: 2px 10px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500;
}
.tag-primary { background: var(--primary-light); color: var(--primary-dark); }
.tag-success { background: #ecfdf5; color: var(--success); }
.tag-warning { background: #fffbeb; color: var(--warning); }
.tag-info { background: #eff6ff; color: #3b82f6; }
.tag-purple { background: #f5f3ff; color: #8b5cf6; }
.tag-pink { background: #fdf2f8; color: #ec4899; }
.tag-gray { background: var(--bg-soft); color: var(--text-light); }

/* ===== 卡片 ===== */
.card {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-body { padding: 20px; }

/* ==========================================================================
   公共组件：顶部导航
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--primary); }
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800;
}
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  padding: 8px 16px; border-radius: var(--radius);
  font-weight: 500; color: var(--text);
  transition: all .2s;
}
.nav-menu a:hover { color: var(--primary); background: var(--primary-light); }
.nav-menu a.active { color: var(--primary); background: var(--primary-light); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-full);
  overflow: hidden; font-size: 13px;
}
.lang-switch button,
.lang-switch a { padding: 6px 14px; color: var(--text-light); }
.lang-switch button.active,
.lang-switch a.active { background: var(--primary); color: #fff; }
.nav-toggle { display: none; font-size: 24px; }

@media (max-width: 1024px) {
  .nav-menu, .nav-actions .lang-switch { display: none; }
  .nav-toggle { display: block; }
}

/* ==========================================================================
   公共组件：悬浮侧边栏
   ========================================================================== */
.floating-sidebar {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; gap: 12px;
}
.floating-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--primary); cursor: pointer;
  transition: all .2s; position: relative;
}
.floating-btn:hover { background: var(--primary); color: #fff; transform: scale(1.05); }
.floating-btn .badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--danger); color: #fff; font-size: 10px;
  padding: 2px 5px; border-radius: var(--radius-full);
}

/* ==========================================================================
   公共组件：页脚
   ========================================================================== */
.site-footer { background: var(--bg-dark); color: #9ca3af; padding: 60px 0 24px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.footer-brand-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-col li { margin-bottom: 10px; font-size: 13px; }
.footer-col a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item .fc-icon { font-size: 16px; line-height: 1.5; margin-top: 1px; }
.footer-contact-item .fc-text { font-size: 13px; color: #9ca3af; line-height: 1.7; }
.footer-contact-item .fc-text strong { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; }
.footer-contact-item .fc-text a,
.footer-inline-btn {
  color: #d1d5db; font-size: 13px; line-height: 1.7; text-align: left;
}
.footer-contact-item .fc-text a:hover,
.footer-inline-btn:hover { color: var(--primary); }
.footer-inline-btn { background: none; border: none; padding: 0; cursor: pointer; }
.footer-bottom {
  border-top: 1px solid #374151; padding-top: 24px;
  display: flex; justify-content: space-between; font-size: 13px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ==========================================================================
   通用区块
   ========================================================================== */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-title { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 48px; font-size: 15px; }

/* Banner */
.banner {
  position: relative; min-height: 480px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff; overflow: hidden;
}
.banner-content { position: relative; z-index: 2; max-width: 720px; }
.banner h1 { font-size: 44px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.banner p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; }
.banner::after {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
@media (max-width: 768px) {
  .banner { min-height: 380px; }
  .banner h1 { font-size: 28px; }
  .banner p { font-size: 15px; }
}

/* 面包屑 */
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--text-light); margin: 24px 0; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-lighter); }

/* ==========================================================================
   后台布局
   ========================================================================== */
.admin-layout { display: flex; min-height: 100vh; background: var(--bg-soft); }
.admin-sidebar {
  width: 240px; background: #fff; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.admin-logo { padding: 20px 24px; border-bottom: 1px solid var(--border); font-size: 17px; font-weight: 700; color: var(--primary); }
.admin-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.admin-nav-group { margin-bottom: 20px; }
.admin-nav-group-title { font-size: 11px; color: var(--text-lighter); text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 12px; font-weight: 600; }
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius);
  color: var(--text); font-size: 14px; margin-bottom: 2px;
  transition: all .15s;
}
.admin-nav-item:hover { background: var(--bg-soft); color: var(--primary); }
.admin-nav-item.active { background: var(--primary); color: #fff; }
.admin-nav-item .icon { width: 18px; text-align: center; }
.admin-sidebar-foot { padding: 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-lighter); }
.admin-logout-link { color: var(--danger); font-size: 12px; }

.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
  height: 64px; background: #fff; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: sticky; top: 0; z-index: 50;
}
.admin-content { flex: 1; padding: 24px; }
.admin-topbar-actions { display: flex; align-items: center; gap: 12px; }
.admin-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.admin-badge {
  background: var(--danger); color: #fff; font-size: 10px;
  padding: 1px 5px; border-radius: 9999px; margin-left: 4px;
}

/* 页面头部（后台） */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.page-title { font-size: 22px; font-weight: 700; }
.page-subtitle { color: var(--text-light); font-size: 13px; margin-top: 4px; }
.page-actions { display: flex; gap: 8px; align-items: center; }
.filter-bar {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  background: #fff; padding: 16px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.filter-bar .form-input,
.filter-bar .form-select { width: auto; min-width: 160px; }
.filter-bar .search-input { flex: 1; min-width: 240px; }
.admin-split-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.quick-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quick-link-btn { justify-content: flex-start; }
.showcase-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.showcase-card {
  display: block; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: #fff;
  text-decoration: none; color: inherit; transition: all .2s; box-shadow: var(--shadow-sm);
}
.showcase-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.showcase-card-icon { font-size: 22px; margin-bottom: 10px; }
.showcase-card-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.showcase-card-subtitle { font-size: 12px; color: var(--text-light); line-height: 1.7; min-height: 40px; }
.showcase-card-action { margin-top: 12px; font-size: 12px; color: var(--primary); font-weight: 600; }
.trend-overview { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 14px; }
.trend-number { font-size: 30px; font-weight: 800; color: var(--text); line-height: 1; }
.trend-highlight { font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.trend-chart-card {
  border: 1px solid var(--border-light); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,252,1));
  padding: 8px 8px 0; min-height: 240px;
}
.trend-chart { width: 100%; height: 220px; display: block; }
.trend-labels { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 10px 4px 0; text-align: center; }
.metric-row { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.metric-row:last-child { margin-bottom: 0; }
.table-thumb {
  width: 60px; height: 60px; border-radius: 6px; overflow: hidden;
  background: var(--bg-soft); border: 1px solid var(--border-light);
}
.table-thumb img { width: 100%; height: 100%; object-fit: cover; }
.table-title { font-weight: 700; color: var(--text); }
.table-subtitle { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.table-status-on { color: var(--success); font-weight: 600; }
.table-status-off { color: var(--text-lighter); font-weight: 600; }
.product-status-toggle {
  display: inline-flex; align-items: center; justify-content: center; min-width: 76px;
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff;
  cursor: pointer; transition: all .2s;
}
.product-status-toggle:hover { border-color: var(--primary); transform: translateY(-1px); }
.product-status-toggle.table-status-on { background: #ecfdf5; border-color: #86efac; }
.product-status-toggle.table-status-off { background: #f8fafc; border-color: #cbd5e1; }
.admin-table-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 16px 0; flex-wrap: wrap;
}
.tool-card-title { font-size: 17px; margin-bottom: 16px; }
.tool-option {
  border: 1px solid var(--border); border-radius: 8px; padding: 16px; margin-bottom: 12px;
}
.tool-option:last-child { margin-bottom: 0; }

/* 后台登录 */
.admin-login-page {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.admin-login-card {
  background: #fff; border-radius: 16px; padding: 40px; max-width: 420px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.admin-login-logo { text-align: center; margin-bottom: 32px; }
.admin-login-logo .mark {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 12px;
}
.admin-login-logo h1 { font-size: 20px; margin-bottom: 4px; }
.admin-login-logo p { color: var(--text-light); font-size: 13px; }
.captcha-row { display: flex; gap: 12px; }
.captcha-img {
  width: 120px; height: 42px; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: monospace; font-size: 18px; letter-spacing: 4px; color: var(--primary);
  cursor: pointer; user-select: none;
}
.login-foot { text-align: center; margin-top: 24px; font-size: 12px; color: var(--text-lighter); }
.back-home { position: fixed; top: 20px; left: 20px; color: rgba(255,255,255,0.9); font-size: 13px; }
.back-home a { color: #fff; text-decoration: underline; }

/* ===== 表格 ===== */
.data-table {
  width: 100%; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.data-table table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: var(--bg-soft); padding: 12px 16px; text-align: left;
  font-size: 13px; font-weight: 600; color: var(--text-light);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--primary-lighter); }
.data-table .col-actions { white-space: nowrap; }

/* ===== 表单 ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px; font-family: inherit;
  transition: all .15s; background: #fff;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--text-lighter); margin-top: 4px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
@media (max-width: 1024px) { .admin-split-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .admin-layout { display: block; }
  .admin-sidebar { width: 100%; position: static; height: auto; }
  .admin-topbar { padding: 12px 16px; height: auto; flex-wrap: wrap; gap: 12px; }
  .admin-content { padding: 16px; }
  .admin-topbar-search { width: 100%; }
  .admin-topbar-search .form-input { width: 100% !important; }
  .quick-link-grid { grid-template-columns: 1fr; }
  .showcase-card-grid { grid-template-columns: 1fr; }
}

/* ===== 上传组件 ===== */
.upload-area {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 32px; text-align: center; color: var(--text-light);
  transition: all .2s; cursor: pointer;
}
.upload-area:hover { border-color: var(--primary); background: var(--primary-lighter); color: var(--primary); }
.upload-area .icon { font-size: 32px; margin-bottom: 8px; }

.editor-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.editor-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(135deg, rgba(225,29,72,0.06), rgba(255,255,255,0.96)); margin-bottom: 16px;
}
.editor-hero-title { font-size: 16px; font-weight: 700; color: var(--text); }
.editor-hero-subtitle { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.editor-hero-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.editor-section-card { margin-bottom: 16px; box-shadow: none; border: 1px solid var(--border); }
.editor-section-title { font-size: 15px; margin-bottom: 16px; }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.editor-span-full { grid-column: 1 / -1; }
.editor-helper-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .editor-hero { flex-direction: column; align-items: flex-start; }
  .editor-grid { grid-template-columns: 1fr; }
}

.image-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: #fff;
}
.image-card img { width: 100%; height: 120px; object-fit: cover; background: var(--bg-soft); }
.image-card .actions { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; }
.image-card .actions button { background: rgba(0,0,0,0.5); color: #fff; width: 26px; height: 26px; border-radius: 4px; font-size: 13px; }

/* ===== 分页 ===== */
.pagination { display: flex; gap: 4px; justify-content: center; padding: 24px 0; }
.pagination button,
.pagination a {
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--border); background: #fff; border-radius: var(--radius);
  font-size: 13px; color: var(--text); display: inline-flex; align-items: center; justify-content: center;
}
.pagination button:hover,
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination button.active,
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination button:disabled,
.pagination a.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ===== 统计卡片（Dashboard） ===== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.stat-card {
  background: #fff; border-radius: var(--radius-lg); padding: 20px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
}
.stat-card .label { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.stat-card .value { font-size: 28px; font-weight: 700; color: var(--text); }
.stat-card .delta { font-size: 12px; margin-top: 6px; }
.stat-card .delta.up { color: var(--success); }
.stat-card .delta.down { color: var(--danger); }
.stat-card .icon { font-size: 20px; color: var(--primary); }
@media (max-width: 1024px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stat-grid { grid-template-columns: 1fr; } }

/* ===== 开关 ===== */
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--border); border-radius: var(--radius-full); transition: .2s;
}
.switch-slider::before {
  content: ''; position: absolute; height: 18px; width: 18px;
  left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .2s;
}
.switch input:checked + .switch-slider { background: var(--primary); }
.switch input:checked + .switch-slider::before { transform: translateX(20px); }

/* ===== 提示框 ===== */
.alert {
  padding: 12px 16px; border-radius: var(--radius); font-size: 13px;
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px;
}
.alert-info { background: #eff6ff; color: #1e40af; }
.alert-warning { background: #fffbeb; color: #92400e; }
.alert-success { background: #ecfdf5; color: #065f46; }

/* ===== Tabs ===== */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tabs button {
  padding: 10px 18px; font-size: 14px; font-weight: 500;
  color: var(--text-light); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ===== 占位图样式（用 CSS 渐变模拟，避免依赖外部图片） ===== */
.placeholder-img {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-weight: 600; font-size: 13px;
  text-align: center; padding: 16px;
}
.placeholder-img.dark {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: rgba(255,255,255,0.9);
}

/* ===== 原型水印（仅原型用） ===== */
.prototype-note {
  position: fixed; bottom: 16px; left: 16px; z-index: 200;
  background: rgba(17,24,39,0.9); color: #fff; font-size: 12px;
  padding: 6px 12px; border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   工具类
   ========================================================================== */
.text-primary { color: var(--primary); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.hidden { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.strength-click-card {
  width: 100%; text-align: left; cursor: pointer; transition: all .2s;
}
.strength-card-slot {
  display: flex; flex-direction: column; gap: 12px; align-self: start;
}
.strength-click-card:hover,
.strength-click-card.active {
  border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.strength-click-card.active { background: var(--primary-lighter); }
.strength-card-action { margin-top: 12px; font-size: 12px; color: var(--primary); font-weight: 600; }
.strength-detail-panel {
  border: 1px solid var(--border); background: linear-gradient(135deg, rgba(42,179,159,0.06), #fff);
}
.strength-inline-detail {
  width: 100%; border-top: 3px solid rgba(42,179,159,0.18); padding: 18px 18px 16px;
}
.strength-detail-label { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; }
.strength-detail-value { font-size: 22px; font-weight: 800; color: var(--primary-dark); line-height: 1.15; }
.strength-detail-title { font-size: 18px; margin: 8px 0 6px; color: var(--text); line-height: 1.35; }
.strength-detail-copy { font-size: 14px; line-height: 1.8; margin: 0; }

.news-card-grid > .card { height: 100%; }

.timeline-chart {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  padding: 12px 6px 0; align-items: start;
}
.timeline-chart::before {
  content: ''; position: absolute; left: 7%; right: 7%; top: 62px; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(31,142,127,0.22), rgba(42,179,159,0.95) 22%, rgba(42,179,159,0.95) 78%, rgba(31,142,127,0.22));
  box-shadow: 0 8px 22px rgba(42,179,159,0.18);
}
.timeline-chart::after {
  content: ''; position: absolute; left: 7%; right: 7%; top: 64px; height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.78), rgba(255,255,255,0.2));
}
.timeline-node { position: relative; padding-top: 8px; }
.timeline-year { font-size: 22px; font-weight: 800; color: var(--primary-dark); margin-bottom: 16px; letter-spacing: 0.02em; }
.timeline-dot {
  width: 18px; height: 18px; border-radius: 50%; background: var(--primary);
  border: 4px solid #fff; box-shadow: 0 0 0 5px rgba(42,179,159,0.18), 0 10px 18px rgba(42,179,159,0.24); position: relative; z-index: 1;
}
.timeline-dot::after {
  content: ''; position: absolute; left: 50%; top: 18px; transform: translateX(-50%);
  width: 2px; height: 18px; background: linear-gradient(180deg, rgba(42,179,159,0.7), rgba(42,179,159,0));
}
.timeline-content {
  margin-top: 18px; padding: 20px; border: 1px solid rgba(42,179,159,0.12); border-radius: 18px; background: linear-gradient(180deg, #fff, rgba(240,250,248,0.82));
  min-height: 148px; box-shadow: 0 12px 28px rgba(15,23,42,0.06); position: relative;
}
.timeline-content::before {
  content: ''; position: absolute; left: 22px; top: -10px; width: 18px; height: 18px; transform: rotate(45deg);
  background: #fff; border-left: 1px solid rgba(42,179,159,0.12); border-top: 1px solid rgba(42,179,159,0.12);
}
@media (max-width: 1024px) {
  .timeline-chart { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-chart::before { display: none; }
  .timeline-chart::after { display: none; }
}
@media (max-width: 640px) {
  .timeline-chart { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v2 升级样式（2026-06-23 用户反馈：简洁大气 + 顶部双行 + 黑色线条侧边栏）
   覆盖上方旧规则，新页面优先用 v2 类名
   ========================================================================== */

/* ===== 顶部双行导航 ===== */
.site-header-v2 { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 1px 8px rgba(0,0,0,0.04); }
.header-row-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.header-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.header-brand .logo-mark { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 20px; flex-shrink: 0; }
.header-brand .brand-text { line-height: 1.3; }
.header-brand .brand-name { font-size: 17px; font-weight: 700; color: var(--text); }
.header-brand .brand-name .en { font-size: 12px; color: var(--text-light); font-weight: 500; margin-left: 6px; }

/* 椭圆形搜索条 */
.header-search { flex: 1; max-width: 480px; position: relative; }
.header-search input { width: 100%; height: 44px; border: 2px solid var(--border); border-radius: 9999px; padding: 0 48px 0 20px; font-size: 14px; background: var(--bg-soft); transition: all .2s; }
.header-search input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-light); }
.header-search .search-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-admin-link { min-height: 40px; white-space: nowrap; }

/* 大气语言切换按钮 */
.lang-switch-v2 { display: inline-flex; border: 2px solid var(--primary); border-radius: 9999px; overflow: hidden; }
.lang-switch-v2 button, .lang-switch-v2 a { padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--primary); background: #fff; transition: all .15s; }
.lang-switch-v2 button.active, .lang-switch-v2 a.active { background: var(--primary); color: #fff; }

/* 第二行菜单导航（与 logo 对齐） */
.header-row-menu { border-top: 1px solid var(--border-light); }
.header-row-menu .nav-menu-v2 { display: flex; align-items: center; gap: 0; height: 52px; }
.header-row-menu .nav-menu-v2 a { padding: 0 22px; height: 100%; display: flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--text); position: relative; transition: color .15s; }
.header-row-menu .nav-menu-v2 a:hover { color: var(--primary); }
.header-row-menu .nav-menu-v2 a.active { color: var(--primary); font-weight: 600; }
.header-row-menu .nav-menu-v2 a.active::after { content: ''; position: absolute; bottom: 0; left: 22px; right: 22px; height: 3px; background: var(--primary); border-radius: 3px 3px 0 0; }

@media (max-width: 1024px) {
  .header-search { display: none; }
  .header-row-menu { display: none; }
}

@media (max-width: 640px) {
  .header-row-top { gap: 12px; }
  .header-actions { width: 100%; justify-content: space-between; }
  .header-admin-link { padding-left: 14px; padding-right: 14px; }
  .lang-switch-v2 button, .lang-switch-v2 a { padding-left: 14px; padding-right: 14px; }
}

/* ===== 统一 Banner（除首页外，所有内页 banner 高度一致 240px，只显示图片）===== */
.banner-unified { position: relative; height: 240px; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.banner-unified .banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.banner-unified::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,142,127,0.5), rgba(42,179,159,0.2)); }

/* ===== 黑色线条大气侧边栏 ===== */
.floating-sidebar-v2 { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.floating-btn-v2 { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,0.55); backdrop-filter: blur(12px) saturate(180%); -webkit-backdrop-filter: blur(12px) saturate(180%); border: none; box-shadow: 0 4px 16px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; transition: all .2s; position: relative; }
.floating-btn-v2:hover { background: rgba(31,41,55,0.85); transform: scale(1.06); }
.floating-btn-v2:hover svg { stroke: #fff; }
.floating-btn-v2:hover .fb-label { color: #fff; }
.floating-btn-v2 svg { width: 22px; height: 22px; stroke: #1f2937; transition: stroke .2s; }
.floating-btn-v2 .fb-label { font-size: 9px; color: #1f2937; font-weight: 600; transition: color .2s; }
.floating-btn-v2 .fb-badge { position: absolute; top: -4px; right: -4px; background: var(--danger); color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 9999px; }
.floating-btn-v2.image-btn { width: 58px; height: 58px; padding: 0; overflow: hidden; background: #fff; border: 1px solid rgba(15,23,42,.08); }
.floating-btn-v2.image-btn:hover { background: #fff; transform: scale(1.06); }
.floating-btn-v2.image-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.floating-btn-v2.is-disabled { opacity: .75; }
.floating-action-label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(8px);
  background: rgba(15,23,42,0.92); color: #fff; padding: 6px 10px; border-radius: 9999px;
  font-size: 12px; line-height: 1; white-space: nowrap; opacity: 0; pointer-events: none; transition: all .2s;
  box-shadow: 0 8px 20px rgba(15,23,42,.18);
}
.floating-btn-v2:hover .floating-action-label,
.floating-btn-v2:focus-visible .floating-action-label { opacity: 1; transform: translateY(-50%) translateX(0); }

.site-support-modal {
  position: fixed; inset: 0; background: rgba(15,23,42,.48); z-index: 120;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.site-support-modal.hidden { display: none; }
.site-support-dialog {
  width: min(640px, 100%); background: #fff; border-radius: 20px; box-shadow: 0 24px 48px rgba(15,23,42,.18);
  overflow: hidden;
}
.site-image-dialog {
  width: min(1080px, 100%); max-height: 90vh; background: #0f172a; border-radius: 20px;
  box-shadow: 0 24px 48px rgba(15,23,42,.3); overflow: hidden; position: relative; padding: 18px;
}
.site-image-dialog img {
  width: 100%; max-height: calc(90vh - 72px); object-fit: contain; display: block; border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.site-image-caption {
  color: rgba(255,255,255,.88); font-size: 13px; line-height: 1.7; padding: 12px 8px 2px;
}
.site-image-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(15,23,42,.72); color: #fff; font-size: 24px; line-height: 1;
}
.site-support-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 22px 24px 16px; border-bottom: 1px solid var(--border);
}
.site-support-head h3 { font-size: 18px; color: var(--text); margin-bottom: 4px; }
.site-support-subtitle { font-size: 13px; color: var(--text-light); line-height: 1.7; }
.site-support-body { padding: 20px 24px; }
.site-support-copy p { color: var(--text); line-height: 1.9; margin-bottom: 14px; }
.site-support-list { display: grid; gap: 10px; }
.site-support-list div {
  border: 1px solid var(--border-light); background: var(--bg-soft); border-radius: 12px;
  padding: 12px 14px; line-height: 1.8; color: var(--text);
}
.site-support-actions {
  display: flex; justify-content: flex-end; gap: 10px; padding: 0 24px 24px;
}
.site-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(16px);
  background: rgba(15,23,42,.92); color: #fff; padding: 10px 16px; border-radius: 9999px;
  font-size: 13px; line-height: 1.4; z-index: 130; opacity: 0; pointer-events: none; transition: all .2s;
  box-shadow: 0 12px 28px rgba(15,23,42,.22);
}
.site-toast.hidden { display: none; }
.site-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.site-toast.success { background: rgba(22,163,74,.94); }
.site-toast.warning { background: rgba(217,119,6,.94); }
@media (max-width: 768px) {
  .floating-sidebar-v2 { right: 10px; gap: 8px; }
  .floating-btn-v2.image-btn { width: 52px; height: 52px; }
  .floating-action-label { display: none; }
  .site-support-head,
  .site-support-body,
  .site-support-actions { padding-left: 18px; padding-right: 18px; }
  .site-support-actions { flex-direction: column; }
  .site-support-actions .btn { width: 100%; justify-content: center; }
}

/* ===== 主标题 + 小标题结构 ===== */
.section-header-block { text-align: center; margin-bottom: 40px; }
.section-header-block .sh-title { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 8px; position: relative; display: inline-block; }
.section-header-block .sh-title::after { content: ''; display: block; width: 48px; height: 3px; background: var(--primary); margin: 10px auto 0; border-radius: 2px; }
.section-header-block .sh-subtitle { font-size: 14px; color: var(--text-light); }

/* ===== 简洁大气产品卡（4列竖版图）===== */
.product-card-v2 { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); transition: all .2s; border: 1px solid var(--border-light); }
.product-card-v2:hover { box-shadow: 0 8px 24px rgba(42,179,159,0.12); transform: translateY(-3px); border-color: var(--primary); }
.product-card-v2 .pc-img { aspect-ratio: 3/4; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 48px; overflow: hidden; }
.product-card-v2 .pc-body { padding: 12px 14px; }
.product-card-v2 .pc-tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 9999px; background: var(--primary-light); color: var(--primary-dark); margin-bottom: 6px; }
.product-card-v2 .pc-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.4; }
.product-card-v2 .pc-desc { font-size: 12px; color: var(--text-light); }
.products-card-meta { margin-top: 10px; font-size: 12px; color: var(--primary-dark); font-weight: 600; }
.products-side-list { display: grid; gap: 6px; }
.products-side-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 12px; border-radius: 8px; color: var(--text); transition: all .2s;
}
.products-side-link:hover { background: var(--primary-lighter); color: var(--primary-dark); }
.products-side-link.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
.products-list { display: grid; gap: 16px; }
.products-list-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: stretch;
  background: #fff; border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .2s;
}
.products-list-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.products-list-thumb { min-height: 220px; background: var(--bg-soft); }
.products-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.products-list-body { padding: 18px 18px 16px; }
.products-list-meta {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px;
  font-size: 12px; color: var(--text-light);
}
.cases-filter-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 13px;
  transition: all .2s;
}
.cases-filter-chip span { font-size: 12px; opacity: .8; }
.cases-filter-chip.active { background: var(--primary); color: #fff; }
.front-article-list { display: flex; flex-direction: column; gap: 24px; }
.front-article-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 0; overflow: hidden;
}
.front-article-thumb { min-height: 200px; background: var(--bg-soft); }
.front-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.front-card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.front-card-meta {
  margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--text-light);
}
.front-empty-state { text-align: center; padding: 42px 24px; }
.front-empty-state h3 { font-size: 22px; margin-bottom: 10px; }
.front-click-card { cursor: pointer; }
.front-click-card:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px;
}
.front-card-inline-link {
  margin-top: 12px; font-size: 13px; color: var(--primary); font-weight: 600;
}
.front-image-link { position: relative; display: block; }
.front-image-link-badge {
  position: absolute; right: 14px; bottom: 14px; background: rgba(15,23,42,.78); color: #fff;
  padding: 7px 12px; border-radius: 9999px; font-size: 12px; line-height: 1;
}
.detail-gallery-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
}
.detail-gallery-thumb {
  position: relative; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff;
  cursor: pointer; transition: all .2s;
}
.detail-gallery-thumb:hover { border-color: var(--primary); transform: translateY(-1px); }
.detail-gallery-thumb.is-active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(42,179,159,.14); }
.detail-gallery-thumb img { width: 100%; height: 90px; object-fit: cover; display: block; }
.detail-main-preview {
  position: relative; overflow: hidden; border-radius: 16px; margin-bottom: 12px; display: block;
}
.detail-main-preview-badge {
  position: absolute; right: 14px; bottom: 14px; background: rgba(15,23,42,.72); color: #fff;
  padding: 7px 12px; border-radius: 9999px; font-size: 12px; line-height: 1;
}
.detail-figure-card {
  break-inside: avoid; margin-bottom: 20px; cursor: pointer;
}
.detail-figure-card .placeholder-img,
.detail-figure-card img { transition: transform .25s; }
.detail-figure-card:hover .placeholder-img,
.detail-figure-card:hover img { transform: scale(1.02); }
.detail-cta-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(135deg, rgba(42,179,159,.08), #fff);
}
.front-cta-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(135deg, rgba(42,179,159,.08), #fff);
}
@media (max-width: 768px) {
  .products-list-card { grid-template-columns: 1fr; }
  .products-list-thumb { min-height: 200px; }
  .front-article-card { grid-template-columns: 1fr; }
  .front-article-thumb { min-height: 190px; }
  .detail-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-cta-panel { flex-direction: column; align-items: flex-start; }
  .front-cta-panel { flex-direction: column; align-items: flex-start; }
}

/* ===== 证书查看角标 ===== */
.cert-view-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.6); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 9999px; display: flex; align-items: center; gap: 3px; cursor: pointer; }
.cert-view-badge:hover { background: var(--primary); }

/* ===== 图文卡片（车间展示等，图下有文字描述）===== */
.figure-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); transition: all .2s; }
.figure-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-2px); }
.figure-card .fc-figure-img { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.figure-card .fc-figure-caption { padding: 12px 14px; }
.figure-card .fc-figure-caption h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.figure-card .fc-figure-caption p { font-size: 12px; color: var(--text-light); line-height: 1.5; }

.text-danger { color: var(--danger); }
.space-y-4 > * + * { margin-top: 16px; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }

.admin-media-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.admin-media-card {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm);
}
.admin-media-preview { position: relative; aspect-ratio: 1 / 1; background: var(--bg-soft); }
.admin-media-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-media-delete {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(239,68,68,0.92); color: #fff; font-size: 18px; line-height: 1;
}
.admin-media-body { padding: 14px; }
.admin-media-meta {
  display: flex; gap: 10px; flex-wrap: wrap; font-size: 11px; color: var(--text-lighter);
}
@media (max-width: 1200px) {
  .admin-media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .admin-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .admin-media-grid { grid-template-columns: 1fr; }
}
