:root {
  --brand: #F54927;
  --brand-strong: #e13d1d;
  --brand-soft: #fff2ee;
  --brand-soft-2: #ffe5de;
  --brand-line: rgba(245, 73, 39, .18);
  --brand-line-strong: rgba(245, 73, 39, .34);

  --bg: #fff8f6;
  --bg-elev: #ffffff;
  --bg-panel: rgba(255, 255, 255, .88);
  --bg-panel-2: rgba(255, 255, 255, .96);

  --text: #2b211e;
  --text-2: #5d4a45;
  --text-3: #8f7b75;

  --ok: #16a34a;
  --warn: #f59e0b;
  --shadow-sm: 0 8px 18px rgba(52, 30, 24, .08);
  --shadow-md: 0 14px 32px rgba(52, 30, 24, .12);
  --shadow-lg: 0 24px 56px rgba(52, 30, 24, .16);

  --r12: 12px;
  --r14: 14px;
  --r16: 16px;
  --r18: 18px;
  --r20: 20px;
  --r24: 24px;
  --r28: 28px;

  --safe: max(12px, env(safe-area-inset-left));
  --safeR: max(12px, env(safe-area-inset-right));
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(245, 73, 39, .10), transparent 58%),
    radial-gradient(760px 360px at 100% 0%, rgba(245, 73, 39, .08), transparent 50%),
    linear-gradient(180deg, #fffaf8 0%, #fff5f1 42%, #fff8f6 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ========== 顶部栏 ========== */
.esh-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--safeR) 10px var(--safe);
  background: rgba(255, 255, 255, .84);
  border-bottom: 1px solid rgba(245, 73, 39, .10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.esh-topbar-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: .2px;
}

.esh-topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: var(--brand);
  text-decoration: none;
  border: 1px solid rgba(245, 73, 39, .12);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 4px 12px rgba(245, 73, 39, .08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.esh-topbar-link.strong {
  border-color: rgba(245, 73, 39, .22);
  background: linear-gradient(180deg, #fff, #fff5f1);
}

.esh-topbar-link:active {
  transform: translateY(1px) scale(.98);
}

/* ========== 通用布局 ========== */
.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 14px auto 92px;
  padding: 0 var(--safeR) 0 var(--safe);
}

.panel {
  border-radius: var(--r24);
  background: var(--bg-panel);
  border: 1px solid rgba(245, 73, 39, .10);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel.glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88));
}

.panel+.panel {
  margin-top: 14px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.panel-head.tight {
  padding: 14px 16px 10px;
}

.panel-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  color: var(--text);
}

.panel-sub {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-3);
}

.mt {
  margin-top: 10px;
}

.is-hidden {
  display: none !important;
}

.empty {
  padding: 20px 16px 22px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

/* ========== 轮播：保留卡片化风格 ========== */
.esh-carousel {
  padding-bottom: 10px;
}

.carousel-head {
  padding: 16px 16px 10px;
}

.carousel-title {
  font-size: 16px;
  font-weight: 950;
  color: var(--brand);
}

.carousel-sub {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.45;
}

.carousel-stage {
  position: relative;
  padding: 0 10px 12px;
  overflow: hidden;
}

.carousel-layer {
  position: relative;
  height: 230px;
  border-radius: 26px;
}

.carousel-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(76%, 430px);
  height: 230px;
  transform: translateX(-50%);
  border-radius: 24px;
  border: 1px solid rgba(245, 73, 39, .12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 247, 243, .96));
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition:
    transform .55s ease,
    opacity .55s ease,
    filter .55s ease;
  will-change: transform;
  opacity: 0;
  pointer-events: none;
}

.carousel-card.is-left {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
  transform: translateX(calc(-50% - 145px)) scale(.9);
  filter: saturate(.95) brightness(.96);
}

.carousel-card.is-right {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
  transform: translateX(calc(-50% + 145px)) scale(.9);
  filter: saturate(.95) brightness(.96);
}

.carousel-card.is-center {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
  transform: translateX(-50%) scale(1);
  filter: none;
}

.carousel-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #ff7a5d);
  box-shadow: 0 8px 18px rgba(245, 73, 39, .22);
}

.carousel-badge.ghost {
  color: var(--brand);
  background: rgba(255, 255, 255, .90);
  border: 1px solid rgba(245, 73, 39, .16);
  box-shadow: none;
}

.carousel-cover {
  height: 166px;
  background: #f7f2f0;
  overflow: hidden;
}

/* 轮播图片不做额外花哨修饰，只保留基础显示 */
.carousel-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.carousel-body {
  padding: 12px 14px 14px;
}

.carousel-line1 {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  color: var(--text);
}

.carousel-line2 {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-3);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px 0;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(245, 73, 39, .18);
  transition: width .22s ease, background .22s ease;
}

.carousel-dot.active {
  width: 20px;
  background: var(--brand);
}

/* ========== 搜索区 ========== */
.search-panel {
  padding: 14px 16px 12px;
}

.searchline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.searchbox {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(245, 73, 39, .55);
  background: linear-gradient(180deg, #fffaf8, #fff3ef);
  padding: 0 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.search-ico {
  flex: 0 0 auto;
  color: rgba(245, 73, 39, .72);
}

.input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.input::placeholder {
  color: #b59d96;
}

.input-pill {
  padding: 0;
}

.divider-dash {
  margin-top: 12px;
  border-top: 1px dashed rgba(245, 73, 39, .42);
}

/* ========== 按钮 ========== */
.btn {
  appearance: none;
  border: 1px solid rgba(245, 73, 39, .12);
  background: rgba(255, 255, 255, .92);
  color: var(--text);
  border-radius: 14px;
  min-height: 42px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    border-color .18s ease;
}

.btn:active {
  transform: translateY(1px) scale(.99);
}

.btn-primary {
  color: #fff;
  border-color: rgba(245, 73, 39, .24);
  background: linear-gradient(135deg, var(--brand), #ff7a5d);
  box-shadow: 0 10px 20px rgba(245, 73, 39, .18);
  white-space: nowrap;
}

.btn.soft {
  opacity: .98;
}

.btn.ghost {
  color: var(--brand);
  background: #fff;
  border-color: rgba(245, 73, 39, .18);
}

.btn.small {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: 12px;
}

/* ========== 分类标签：七列两行，可横向滑动 ========== */
.chips-grid-scroll {
  margin-top: 12px;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-columns: minmax(84px, calc((100% - 48px) / 7));
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.chips-grid-scroll::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 73, 39, .16);
  background: linear-gradient(180deg, #fff, #fff4f0);
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  min-width: fit-content;
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.chip:hover {
  box-shadow: 0 8px 16px rgba(245, 73, 39, .10);
}

.chip.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), #ff7a5d);
  box-shadow: 0 10px 22px rgba(245, 73, 39, .20);
}

/* ========== 卡片列表：移动端固定两列多行 ========== */
.cards-panel {
  overflow: visible;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 12px 16px;
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

.card-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 22px;
  border: 1px solid rgba(245, 73, 39, .10);
  background: linear-gradient(180deg, #ffffff, #fff6f2);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.card-item:active {
  transform: translateY(1px);
}

.card-cover-wrap {
  position: relative;
  overflow: hidden;
  background: #f7f2f0;
  aspect-ratio: 4 / 3;
}

.card-cover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card-overlay-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: calc(1em + 7px);
  padding: 4px 10px 3px;
  border-radius: 0;
  background: rgba(31, 55, 94, .80);
  color: #F3F752;
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
}

.card-overlay-type {
  color: #F54927;
  font-weight: 500;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  min-width: 0;
}

.card-row1,
.card-row2,
.card-row3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.card-title {
  margin: 0;
  flex: 1;
  min-width: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-id {
  flex: 0 0 auto;
  max-width: 42%;
  color: var(--text-3);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-category {
  display: inline-flex;
  align-items: center;
  max-width: 58%;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(245, 73, 39, .18);
  background: rgba(245, 73, 39, .08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-price {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.4px;
  white-space: nowrap;
}

.card-price.is-buy {
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-price.is-buy .card-price-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
}

.card-price.is-buy .card-price-value {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}

.card-contact {
  display: none;
  margin-top: 2px;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}

.card-contact.show {
  display: block;
}

/* ========== 悬浮发布按钮 ========== */
.fab-publish {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 50;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(245, 73, 39, .16);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fff2ee);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
}

.fab-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

/* ========== 弹窗通用 ========== */
.publish-modal,
.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding:
    max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  background: rgba(50, 26, 19, .42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overscroll-behavior: contain;
}

.publish-modal.show,
.detail-modal.show {
  display: flex;
}

.publish-dialog,
.detail-dialog {
  width: min(960px, 100%);
  max-height: calc(100dvh - 24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(245, 73, 39, .12);
  background: var(--bg-panel-2);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 73, 39, .12);
  border-radius: 14px;
  background: #fff;
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.publish-body,
.detail-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

@media (max-width: 768px) {

  .publish-dialog,
  .detail-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 20px;
  }
}

/* ========== 发布弹窗表单 ========== */
.publish-body {
  padding: 14px 16px 16px;
}

.field-grid {
  display: grid;
  gap: 10px;
}

.field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 760px) {

  .field-grid.two,
  .field-grid.three {
    grid-template-columns: 1fr;
  }
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 800;
}

.publish-body .input,
.select,
.textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(245, 73, 39, .14);
  background: #fff;
  color: var(--text);
  outline: none;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95);
}

.publish-body .input::placeholder,
.textarea::placeholder {
  color: #b59d96;
}

.textarea {
  min-height: 96px;
  line-height: 1.55;
  resize: vertical;
}

.form-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hint {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
}

/* ========== 详情弹窗 ========== */
.detail-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(245, 73, 39, .10);
}

.detail-title {
  font-size: 17px;
  font-weight: 950;
  color: var(--brand);
}

.detail-body {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 14px;
  padding: 14px 16px 16px;
}

@media (max-width: 860px) {
  .detail-body {
    grid-template-columns: 1fr;
  }
}

.detail-gallery {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(245, 73, 39, .10);
  background: linear-gradient(180deg, #fff, #fff7f4);
}

.detail-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f8f3f1;
}

.detail-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.detail-thumbs {
  display: flex;
  gap: 10px;
  padding: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.detail-thumbs::-webkit-scrollbar {
  display: none;
}

.thumb {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(245, 73, 39, .12);
  background: #fff;
  cursor: pointer;
}

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

.thumb.active {
  border-color: rgba(245, 73, 39, .55);
  box-shadow: 0 0 0 3px rgba(245, 73, 39, .10);
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.detail-price {
  color: var(--brand);
  font-size: 30px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.5px;
}

.detail-meta {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
}

.detail-desc {
  padding: 14px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fff7f4);
  border: 1px solid rgba(245, 73, 39, .10);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-row label {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 800;
}

.detail-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-text {
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  word-break: break-all;
}

.detail-tip {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(245, 73, 39, .22);
  background: rgba(245, 73, 39, .05);
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.6;
}

/* ========== 小屏微调 ========== */
@media (max-width: 680px) {
  .wrap {
    margin-top: 12px;
    margin-bottom: 88px;
  }

  .carousel-layer {
    height: 214px;
  }

  .carousel-card {
    width: min(82%, 390px);
    height: 214px;
  }

  .carousel-card.is-left {
    transform: translateX(calc(-50% - 112px)) scale(.9);
  }

  .carousel-card.is-right {
    transform: translateX(calc(-50% + 112px)) scale(.9);
  }

  .carousel-cover {
    height: 150px;
  }

  .searchline {
    gap: 8px;
  }

  .btn-primary {
    padding-left: 12px;
    padding-right: 12px;
  }

  .grid {
    gap: 10px;
    padding: 10px 10px 14px;
  }

  .card-body {
    gap: 8px;
    padding: 10px;
  }

  .card-title {
    font-size: 14px;
  }

  .card-price {
    font-size: 20px;
  }

  .card-id {
    font-size: 10px;
  }

  .chip {
    font-size: 12px;
    min-height: 36px;
  }
}

/* ========== 超小屏兜底：仍保持两列 ========== */
@media (max-width: 390px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .card-price {
    font-size: 18px;
  }

  .card-actions {
    gap: 6px;
  }

  .btn {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ========== 后台管理页专用：布局与移动端优化 ========== */
.admin-body {
  padding: 0 16px 16px;
}

.admin-body .field-grid {
  gap: 12px;
}

.admin-body .field {
  min-width: 0;
}

.admin-body .field label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.admin-body .input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(245, 73, 39, .16);
  background: linear-gradient(180deg, #ffffff, #fff7f4);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 4px 12px rgba(245, 73, 39, .05);
}

.admin-body .input:focus {
  border-color: rgba(245, 73, 39, .42);
  box-shadow:
    0 0 0 4px rgba(245, 73, 39, .10),
    inset 0 1px 0 rgba(255, 255, 255, .98);
}

.admin-body .input::placeholder {
  color: #b59d96;
}

.admin-body .form-row {
  margin-top: 14px;
}

.admin-body .form-row .btn {
  min-width: 118px;
}

/* 统计卡片区 */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.stat {
  min-width: 0;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(245, 73, 39, .12);
  background: linear-gradient(180deg, #ffffff, #fff7f4);
  box-shadow: 0 8px 18px rgba(245, 73, 39, .06);
}

.stat .k {
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.stat .v {
  margin-top: 8px;
  color: var(--brand);
  font-size: 26px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.5px;
}

/* 后台工具栏 */
.toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px 14px;
}

/* 后台筛选标签 */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.chips .chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  flex: 0 0 auto;
}

/* 后台列表单独控制，不沿用前台双列 */
#adminList.grid {
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0 16px 16px;
}

#adminList .card-item {
  border-radius: 20px;
  overflow: hidden;
}

#adminList .card-cover-wrap {
  aspect-ratio: 16 / 9;
}

#adminList .card-body {
  padding: 14px;
  gap: 10px;
}

#adminList .card-title {
  font-size: 16px;
  line-height: 1.4;
}

#adminList .card-row1,
#adminList .card-row2,
#adminList .card-row3 {
  gap: 10px;
}

#adminList .card-actions {
  flex-wrap: wrap;
}

#adminList .card-actions .btn {
  flex: 1 1 calc(50% - 5px);
  min-width: 110px;
}

/* 面板头部在后台更稳一点 */
main.wrap>.panel>.panel-head {
  padding-bottom: 12px;
}

/* 平板 */
@media (min-width: 760px) {
  .admin-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #adminList.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 桌面 */
@media (min-width: 1080px) {
  #adminList.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .toolbar {
    gap: 14px;
  }
}

/* 手机端优化 */
@media (max-width: 760px) {
  .wrap {
    margin-top: 12px;
    margin-bottom: 28px;
  }

  .panel {
    border-radius: 22px;
  }

  .panel-head {
    padding: 15px 14px 10px;
  }

  .admin-body {
    padding: 0 14px 14px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }

  .stat {
    padding: 12px 11px;
    border-radius: 16px;
  }

  .stat .v {
    font-size: 23px;
  }

  .toolbar {
    gap: 10px;
    padding: 0 14px 12px;
  }

  .chips {
    gap: 8px;
  }

  .chips .chip {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  #adminList.grid {
    gap: 12px;
    padding: 0 14px 14px;
  }

  #adminList .card-cover-wrap {
    aspect-ratio: 4 / 3;
  }

  #adminList .card-body {
    padding: 12px;
  }

  #adminList .card-title {
    font-size: 15px;
  }

  #adminList .card-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* 超小屏再收紧一点 */
@media (max-width: 390px) {
  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat .v {
    font-size: 21px;
  }

  .chips .chip {
    min-height: 36px;
    padding: 0 11px;
  }

  .admin-body .input {
    min-height: 44px;
    padding: 0 12px;
  }
}
