/* 平台后台：租户列表 / 积分充值 / 积分规则。只用系统字体与 CSS 变量，不依赖外部资源。 */
:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --line: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --primary: #1d4ed8;
  --primary-weak: #e8eefc;
  --danger: #dc2626;
  --ok: #047857;
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 -apple-system, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
}

a { color: var(--primary); text-decoration: none; }
[hidden] { display: none !important; }

/* ---------------- 登录 ---------------- */
.login {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 360px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.login-card h1 { margin: 0 0 4px; font-size: 20px; }
.login-sub { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.login-card label { display: block; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.login-card input { display: block; width: 100%; margin-top: 6px; }
.form-err { min-height: 18px; margin: 0 0 12px; color: var(--danger); font-size: 12px; }

/* ---------------- 表单控件 ---------------- */
input, select, textarea {
  width: 100%;
  padding: 8px 10px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-weak);
}

input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font: inherit;
  color: var(--text);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { border-color: #cbd5e1; background: #f9fafb; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary { color: #fff; background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: #1a45c0; border-color: #1a45c0; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-weak); border-color: transparent; }
.btn-sm { padding: 4px 10px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- 骨架 ---------------- */
.app { display: flex; min-height: 100%; }

.side {
  width: 208px;
  flex: 0 0 208px;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  color: #cbd5e1;
  padding: 18px 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: #38bdf8; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  padding: 9px 10px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 14px;
}
.nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav a.is-on { background: var(--primary); color: #fff; }

.side-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.side-foot #meName { flex: 1; color: #94a3b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot .btn-ghost { color: #cbd5e1; }
.side-foot .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.main { flex: 1; min-width: 0; padding: 22px 26px 40px; }
.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.topbar h2 { margin: 0; font-size: 18px; }
.topbar-actions { margin-left: auto; display: flex; gap: 8px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.tip {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 500; background: #fafbfc; white-space: nowrap; }
tbody tr:hover { background: #fafbfc; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.cell-sub { color: var(--muted); font-size: 12px; }
.cell-actions { white-space: nowrap; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

.tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: #eef2f7;
  color: #475569;
}
.tag-ok { background: #e7f6ee; color: var(--ok); }
.tag-off { background: #fdecec; color: var(--danger); }

/* ---------------- 工具条与分页 ---------------- */
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar .search { max-width: 320px; }

.pager { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.pager .spacer { flex: 1; }

/* ---------------- 弹窗 ---------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.45);
}

.modal-card {
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.24);
}

.modal-card.modal-wide { max-width: 720px; }
.modal-card textarea { font-family: inherit; line-height: 1.6; resize: vertical; }

.modal-card h3 { margin: 0 0 4px; font-size: 16px; }
.modal-sub { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 5px; font-size: 13px; color: var(--muted); }
.field-hint { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

/* ---------------- 提示 ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 60;
  max-width: 80vw;
  padding: 10px 16px;
  color: #fff;
  background: rgba(17, 24, 39, 0.92);
  border-radius: 999px;
  font-size: 13px;
}

.toast.is-err { background: rgba(185, 28, 28, 0.94); }

/* ---------------- 充值页 ---------------- */
.charge-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.pick-list { max-height: 420px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; }
.pick-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.pick-item:last-child { border-bottom: 0; }
.pick-item:hover { background: #fafbfc; }
.pick-item.is-on { background: var(--primary-weak); }
.pick-item .grow { flex: 1; min-width: 0; }
.pick-item b { display: block; font-weight: 600; }
.pick-item span { color: var(--muted); font-size: 12px; }
.charge-balance { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.charge-balance b { color: var(--text); font-size: 18px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }

/* ---------------- 规则页 ---------------- */
.rule-group td { background: #fafbfc; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.rule-cost { width: 92px; }
.rule-flag { display: flex; align-items: center; gap: 6px; }

/* ---------------- 平台目录 / 发布管理 ---------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip {
  padding: 5px 12px;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.chip b { font-weight: 600; color: var(--text); }
.chip.is-on { color: var(--primary); border-color: var(--primary); background: var(--primary-weak); }
.chip.is-on b { color: var(--primary); }

.catalog-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 18px; align-items: start; }
.catalog-col { min-width: 0; }
.block-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.block-head h3 { margin: 0; font-size: 14px; }
.block-head .btn { margin-left: auto; }
.block-title { margin: 20px 0 6px; font-size: 14px; }
.posts-filter { flex-wrap: wrap; }
.posts-filter input, .posts-filter select { max-width: 240px; }
.cell-link { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--primary); }
.readonly-text { margin: 0; padding: 9px 12px; border-radius: 8px; background: #f7f8fa; color: var(--text); font-size: 13px; line-height: 1.6; }
.state-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.state-opt {
  padding: 6px 14px;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.state-opt:hover { border-color: #b9cdf5; color: var(--text); }
.state-opt.is-on { color: var(--primary); border-color: var(--primary); background: var(--primary-weak); }

/* ---------------- 消耗清单 / OSS 管理 ---------------- */
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.filter-row input, .filter-row select { width: auto; max-width: 220px; }
.filter-row .search { min-width: 220px; }
.filter-sep { color: var(--muted); font-size: 13px; }
.stat-line { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.stat-line b { color: var(--text); font-variant-numeric: tabular-nums; }
.cell-detail { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-name { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.delta-out { color: var(--danger); font-variant-numeric: tabular-nums; }
.delta-in { color: var(--ok); font-variant-numeric: tabular-nums; }
.oss-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr); gap: 18px; align-items: start; }
.oss-col { min-width: 0; }

/* ---------------- 发布内容编辑页 ---------------- */
.post-edit { max-width: 980px; }
.post-edit .post-title-input {
  width: 100%;
  margin-bottom: 14px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  outline: none;
}
.post-edit .post-title-input:focus { border-color: #b9cdf5; box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1); }
.post-edit .cell-sub { margin-top: 10px; }

/* ---------------- 富文本编辑器（与 user.css 的 .rte 同源） ---------------- */
.rte {
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.rte:focus-within { border-color: #b9cdf5; box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1); }
.rte-bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  border-bottom: 1px solid #edf0f6;
  background: #fbfcfe;
}
.rte-tool {
  padding: 6px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  color: #475467;
  cursor: pointer;
}
.rte-tool:hover { background: #eef2fa; color: #101828; }
.rte-tool.is-on { background: #e6efff; color: var(--primary); }
.rte-b { font-weight: 800; }
.rte-i { font-style: italic; }
.rte-u { text-decoration: underline; }
.rte-sep { width: 1px; height: 16px; margin: 0 4px; background: #e2e8f2; }
.rte-pop { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #edf0f6; background: #f7f9fd; }
.rte-pop[hidden] { display: none; }
.rte-pop input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid #e0e6f0; border-radius: 8px; font-family: inherit; font-size: 12.5px; outline: none; }
.rte-pop input:focus { border-color: #b9cdf5; }
.rte-body {
  min-height: 460px;
  max-height: 66vh;
  padding: 18px 20px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.85;
  color: #344054;
  outline: none;
}
.rte-body[hidden] { display: none; }
.rte-body:empty::before { content: attr(data-placeholder); color: #b3bac8; }
.rte-body h2 { margin: 22px 0 10px; font-size: 19px; font-weight: 650; line-height: 1.5; color: #101828; }
.rte-body h3 { margin: 18px 0 8px; font-size: 16px; font-weight: 650; line-height: 1.55; color: #1f2a44; }
.rte-body h2:first-child, .rte-body h3:first-child { margin-top: 0; }
.rte-body p { margin: 0 0 12px; }
.rte-body ul, .rte-body ol { margin: 0 0 12px; padding-left: 22px; }
.rte-body li { margin-bottom: 4px; }
.rte-body blockquote { margin: 0 0 12px; padding: 8px 14px; border-left: 3px solid #93c5fd; border-radius: 0 8px 8px 0; background: #f5f9ff; color: #475467; }
.rte-body img { max-width: 100%; border-radius: 10px; }
.rte-body a { color: var(--primary); text-decoration: underline; }
.rte-source { display: block; width: 100%; min-height: 460px; padding: 16px 18px; border: 0; outline: none; resize: vertical; background: #fbfcfe; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7; color: #334155; }
.rte-source[hidden] { display: none; }
.rte-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; border-top: 1px solid #edf0f6; background: #fbfcfe; font-size: 11.5px; color: #98a2b3; }
.rte-hint { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rte-foot [data-rte-count] { flex: none; white-space: nowrap; }

/* ---------------- 模板管理 ---------------- */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; }

.tpl-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.tpl-card:hover { border-color: #cfd8e6; box-shadow: 0 14px 26px -22px rgba(15, 23, 42, 0.5); }
.tpl-card.is-off { background: #fbfcfd; }
.tpl-card.is-off .tpl-thumb { filter: grayscale(1); opacity: 0.55; }
.tpl-card.is-off .tpl-desc { color: #98a2b3; }

/* 缩略图：白纸 + tone 主色画版式，四套尾部排列在 admin.js 里轮换 */
.tpl-thumb {
  --thumb-accent: #2563eb;
  --thumb-bg: #eef4ff;
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 104px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--thumb-bg));
}
.tpl-thumb.tone-0 { --thumb-accent: #2563eb; --thumb-bg: #eef4ff; }
.tpl-thumb.tone-1 { --thumb-accent: #1e3a8a; --thumb-bg: #e9eef9; }
.tpl-thumb.tone-2 { --thumb-accent: #0284c7; --thumb-bg: #eaf6fd; }
.tpl-thumb.tone-3 { --thumb-accent: #475569; --thumb-bg: #f1f4f8; }
.tpl-thumb.tone-4 { --thumb-accent: #9b2c2c; --thumb-bg: #fbf3ec; }
.tpl-thumb.tone-5 { --thumb-accent: #38bdf8; --thumb-bg: #0b1220; background: linear-gradient(180deg, #121a2b, #0b1220); }
.tpl-thumb.tone-6 { --thumb-accent: #111; --thumb-bg: #f3f2f0; }
.tpl-thumb.tone-7 { --thumb-accent: #12386b; --thumb-bg: #eef2f8; }
.tpl-thumb.tone-8 { --thumb-accent: #6d5efc; --thumb-bg: #f5f2ff; }
.tpl-thumb.tone-9 { --thumb-accent: #ff5c33; --thumb-bg: #fff3ee; }
.tpl-thumb.tone-10 { --thumb-accent: #1d4ed8; --thumb-bg: #e8f0ff; }
.tpl-thumb.tone-11 { --thumb-accent: #ff8a3d; --thumb-bg: #1b2027; background: linear-gradient(180deg, #262d36, #14171c); }

.adt-bar { display: flex; align-items: center; gap: 3px; }
.adt-bar i { width: 12px; height: 3px; border-radius: 2px; background: var(--thumb-accent); opacity: 0.35; }
.adt-bar i:first-child { width: 8px; height: 8px; border-radius: 2px; opacity: 1; }
.adt-hero { display: flex; flex-direction: column; gap: 4px; margin-top: 2px; }
.adt-hero b { width: 68%; height: 7px; border-radius: 2px; background: var(--thumb-accent); }
.adt-hero i { width: 42%; height: 4px; border-radius: 2px; background: var(--thumb-accent); opacity: 0.4; }
.adt-cols { margin-top: auto; display: flex; gap: 4px; }
.adt-cols b { flex: 1; height: 18px; border-radius: 3px; background: var(--thumb-accent); opacity: 0.22; }
.adt-cols b:first-child { opacity: 0.4; }
.adt-cols.adt-two b { height: 22px; }
.adt-rows { margin-top: auto; display: flex; flex-direction: column; gap: 3px; }
.adt-rows i { height: 4px; border-radius: 2px; background: var(--thumb-accent); opacity: 0.3; }
.adt-rows i:first-child { opacity: 0.55; }

.tpl-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px 14px 14px; }
.tpl-head { display: flex; align-items: center; gap: 8px; }
.tpl-head strong { font-size: 14px; font-weight: 650; }
.tpl-head .tag { margin-left: auto; }
.tpl-desc { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.tpl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tpl-tag { padding: 1px 8px; border-radius: 999px; background: #f2f5fb; color: #5b6b85; font-size: 11.5px; }
.tpl-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.tpl-use { color: var(--muted); font-size: 12px; }

/* 开关按钮：role=switch，开着就是绿底 + 拉杆靠右 */
.switch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4f5f7;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.switch i {
  position: relative;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 0.16s ease;
}
.switch i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.16s ease;
}
.switch:hover { border-color: #cdd7e6; }
.switch.is-on { color: var(--ok); background: #eaf7f0; border-color: #bfe6d3; }
.switch.is-on i { background: #10b981; }
.switch.is-on i::after { transform: translateX(12px); }
.switch[disabled] { opacity: 0.6; cursor: default; }

/* ---------------- 接口管理 ---------------- */
.api-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.api-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.api-tab:hover { border-color: #cdd7e6; background: #f8fafc; }
.api-tab b { font-weight: 500; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.api-tab.is-on {
  background: #eef2f7;
  border-color: #cbd5e1;
  color: #0f172a;
  font-weight: 500;
}
.api-tab.is-on b { color: #475569; }
.api-desc { margin: 0 0 14px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.api-m { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.api-m code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #0f172a;
}
.m-tag {
  display: inline-block;
  min-width: 40px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  background: #eef2f7;
  color: #475569;
}
.m-get { background: #e8f1fb; color: #1d4ed8; }
.m-post { background: #e7f6ee; color: #0f766e; }
.m-put { background: #fff4e5; color: #b45309; }
.m-del { background: #fdecec; color: #b91c1c; }
.m-rpc { background: #ede9fe; color: #5b21b6; }
.tag-warn { background: #fff4e5; color: #b45309; }
tr.api-group td {
  background: #fafbfc;
  border-top: 2px solid var(--line);
  font-weight: 500;
  padding: 8px 12px;
}
tr.api-group .cell-sub { font-weight: 400; }

@media (max-width: 880px) {
  .app { flex-direction: column; }
  .side { width: auto; flex: 0 0 auto; flex-direction: row; align-items: center; gap: 12px; padding: 12px; }
  .brand { padding: 0; }
  .nav { flex-direction: row; flex-wrap: wrap; }
  .side-foot { margin: 0 0 0 auto; border: 0; padding: 0; }
  .main { padding: 16px; }
  .charge-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .oss-grid { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
