:root {
  --brand: #ff6a3d;
  --brand-d: #e85a2f;
  --ink: #23262b;
  --sub: #6b7280;
  --line: #e8eaee;
  --bg: #f6f7f9;
  --card: #ffffff;
  --ok: #1f9d5b;
  --warn: #d98a1a;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(20, 23, 28, 0.07);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.view { display: none; padding-bottom: 48px; }
.view.active { display: block; }
.btn {
  display: inline-block; background: var(--brand); color: #fff; border: none; cursor: pointer;
  padding: 11px 22px; border-radius: 10px; font-size: 15px; font-weight: 600; transition: .15s;
}
.btn:hover { background: var(--brand-d); }
.btn.ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.ghost:hover { background: #fff3ee; }
.btn.block { display: block; width: 100%; }
.btn-mini {
  display: inline-block; background: var(--brand); color: #fff; padding: 7px 14px; border-radius: 8px;
  font-size: 13px; cursor: pointer; border: 1.5px solid var(--brand); font-weight: 600;
}
.btn-mini.ghost { background: #fff; color: var(--brand); }
.btn-mini.ghost:hover { background: #fff3ee; }
.link { color: var(--brand); font-weight: 600; }
.muted { color: var(--sub); font-size: 13.5px; }
.empty { color: var(--sub); padding: 40px 0; text-align: center; }

/* 顶部 */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { border-radius: 9px; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.mainnav { display: flex; gap: 6px; margin-left: 6px; }
.mainnav a { padding: 8px 16px; border-radius: 8px; font-weight: 600; color: var(--sub); }
.mainnav a.on, .mainnav a:hover { color: var(--brand); background: #fff3ee; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.cart-link { position: relative; display: inline-flex; }
.cart-count {
  position: absolute; top: -6px; right: -8px; background: var(--brand); color: #fff;
  font-size: 11px; min-width: 17px; height: 17px; line-height: 17px; text-align: center; border-radius: 9px; padding: 0 4px;
}
.hi { color: var(--sub); font-size: 13.5px; }

/* 首页 */
.hero { display: flex; align-items: center; gap: 40px; padding: 46px 20px 30px; }
.hero-txt h1 { font-size: 34px; line-height: 1.35; margin: 0 0 14px; font-weight: 800; }
.hero-sub { color: var(--sub); max-width: 520px; margin: 0 0 22px; }
.hero-cta { display: flex; gap: 14px; }
.hero-stat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 26px; color: var(--brand); }
.stat span { color: var(--sub); font-size: 13px; }
.blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.block-ic { color: var(--brand); margin-bottom: 10px; }
.block-ic .icon { width: 40px; height: 40px; }
.block h3 { margin: 6px 0 8px; font-size: 19px; }
.block p { color: var(--sub); margin: 0 0 12px; }

.sec { margin-top: 34px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.sec-head h2 { font-size: 22px; margin: 0; }
.more { color: var(--brand); font-weight: 600; font-size: 14px; }
.sec.nohead { margin-top: 24px; }

/* 卡片网格 */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .18s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20,23,28,.1); }
.card-img { height: 178px; background-size: cover; background-position: center; background-color: #eef0f3; }
.card-body { padding: 13px 14px 16px; }
.card-cat { display: inline-block; font-size: 12px; color: var(--brand); background: #fff3ee; padding: 2px 9px; border-radius: 20px; margin-bottom: 7px; }
.card-name { font-weight: 700; font-size: 15px; line-height: 1.45; height: 42px; overflow: hidden; }
.card-price { margin-top: 8px; }
.card-price b { color: var(--brand); font-size: 18px; }
.card-price s { color: var(--sub); font-size: 13px; margin-left: 8px; }
.card-act { display: flex; gap: 8px; margin-top: 11px; }
.cbtn {
  flex: 1; padding: 7px 0; border-radius: 8px; font-size: 12.5px; font-weight: 700; cursor: pointer;
  background: #fff; color: var(--brand); border: 1.5px solid var(--brand); transition: .15s; font-family: inherit;
}
.cbtn:hover { background: #fff3ee; }
.cbtn.solid { background: var(--brand); color: #fff; }
.cbtn.solid:hover { background: var(--brand-d); }
.card-meta { display: flex; gap: 12px; color: var(--sub); font-size: 12.5px; margin-top: 8px; }
.info-grid .card-img { height: 160px; }

/* 商城筛选 */
.mall-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.search { flex: 1; min-width: 220px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; }
.cats { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--sub); padding: 7px 15px; border-radius: 20px; cursor: pointer; font-size: 13.5px; font-weight: 600; }
.chip.on, .chip:hover { border-color: var(--brand); color: var(--brand); background: #fff3ee; }

/* 详情 */
.detail { display: grid; grid-template-columns: 1fr 1.08fr 0.62fr; gap: 30px; margin-top: 28px; align-items: start; }
.detail-side { position: sticky; top: 84px; }
.detail-left .main-img { height: 420px; background-size: cover; background-position: center; border-radius: var(--radius); background-color: #eef0f3; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 74px; height: 74px; border-radius: 10px; background-size: cover; background-position: center; border: 2px solid transparent; cursor: pointer; background-color: #eef0f3; }
.thumb.on { border-color: var(--brand); }
.detail-right h1 { font-size: 25px; margin: 6px 0 12px; }
.d-cat { color: var(--brand); font-size: 13px; font-weight: 600; }
.d-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { background: #f0f2f5; color: var(--sub); font-size: 12.5px; padding: 4px 11px; border-radius: 20px; }
.d-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.d-price b { color: var(--brand); font-size: 28px; }
.d-price s { color: var(--sub); }
.d-price .stock { color: var(--sub); font-size: 13px; margin-left: auto; }
.d-desc { color: #444; margin-bottom: 16px; }
/* 商家店铺卡 */
.shop-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.shop-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.shop-ava { width: 46px; height: 46px; border-radius: 12px; background: #fff3ee; color: var(--brand); font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shop-title b { display: block; font-size: 14.5px; line-height: 1.4; }
.shop-tag { display: inline-block; font-size: 11px; color: var(--ok); background: #e7f6ee; padding: 1px 8px; border-radius: 20px; margin-top: 4px; }
.shop-row { display: flex; gap: 12px; padding: 9px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.shop-row:last-of-type { border-bottom: none; }
.shop-row span { color: var(--sub); width: 60px; flex-shrink: 0; }
.shop-row b { font-weight: 600; word-break: break-all; }
.shop-tip { margin-top: 10px; background: #fff3ee; color: var(--brand-d); padding: 9px 12px; border-radius: 9px; font-size: 12.5px; }
.d-actions { display: flex; gap: 12px; margin-bottom: 20px; }
.spec { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec td { padding: 9px 12px; border: 1px solid var(--line); }
.spec td:first-child { background: #fafbfc; color: var(--sub); width: 130px; }

/* 信息详情 */
.info-detail .pub-box { background: #fafbfc; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-top: 18px; }
.pub-row { display: flex; gap: 12px; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.pub-row:last-child { border-bottom: none; }
.pub-row span { color: var(--sub); width: 72px; }
.pub-row b { font-weight: 600; }
.pub-row.rej b { color: var(--warn); }
.login-tip { margin-top: 14px; background: #fff3ee; color: var(--brand-d); padding: 11px 14px; border-radius: 10px; font-size: 13.5px; }
.st { font-size: 12px; padding: 2px 9px; border-radius: 20px; font-weight: 600; }
.st-a { background: #e7f6ee; color: var(--ok); }
.st-p { background: #fdf3e2; color: var(--warn); }
.st-r { background: #fdecec; color: #d6453a; }

/* 购物车 */
.cart-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: none; }
.cart-img { width: 64px; height: 64px; border-radius: 9px; background-size: cover; background-position: center; background-color: #eef0f3; }
.cart-info { flex: 1; }
.cart-info b { display: block; }
.cart-info span { color: var(--sub); font-size: 12.5px; }
.cart-price { color: var(--brand); font-weight: 700; }
.cart-foot { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 18px; }
.cart-foot b { color: var(--brand); font-size: 22px; }

/* 登录注册 */
.auth { display: flex; justify-content: center; padding: 48px 20px; }
.auth-card { width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.auth-card h2 { margin: 0 0 20px; text-align: center; }
.field { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; margin-bottom: 14px; font-family: inherit; }
.field.area { min-height: 130px; resize: vertical; }
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--sub); margin-bottom: 16px; }
.agree input { margin-top: 4px; }
.auth-tip { text-align: center; font-size: 13.5px; color: var(--sub); margin-top: 8px; }
.auth-demo { font-size: 12px; color: var(--sub); background: #fafbfc; border-radius: 8px; padding: 9px 12px; margin-top: 14px; text-align: center; }

/* 个人中心 */
.me { display: grid; grid-template-columns: 250px 1fr; gap: 24px; margin-top: 26px; }
.me-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); align-self: start; }
.me-top { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.me-verified { display: inline-flex; align-items: center; gap: 4px; background: #e7f6ee; color: var(--ok); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 20px; }
.me-verified svg { width: 13px; height: 13px; }
.clickable { cursor: pointer; }
.mpost-info b.clickable:hover { color: var(--brand); }
.me-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.me-name { font-weight: 700; margin: 12px 0 18px; font-size: 16px; }
.me-name .role { font-style: normal; font-size: 11px; background: #e7f6ee; color: var(--ok); padding: 2px 8px; border-radius: 20px; margin-left: 6px; }
.me-menu { display: flex; flex-direction: column; gap: 4px; }
.me-menu a { padding: 10px 13px; border-radius: 9px; color: var(--sub); font-weight: 600; cursor: pointer; font-size: 14px; }
.me-menu a.on, .me-menu a:hover { background: #fff3ee; color: var(--brand); }
.me-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); min-height: 360px; }
.me-main h2 { margin: 0 0 18px; }
.me-main h3.sub { margin: 26px 0 12px; font-size: 17px; }
.me-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.me-stats .stat b { font-size: 22px; }
.me-cta { display: flex; gap: 12px; margin-top: 22px; }
.me-cta .btn { min-width: 130px; text-align: center; }

/* 收货地址 */
.addr-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.addr-card { background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.addr-card.def { border-color: var(--brand); background: #fff7f4; }
.addr-top { display: flex; align-items: center; gap: 10px; }
.addr-top b { font-size: 14.5px; }
.addr-top span { color: var(--sub); font-size: 13px; }
.addr-def { font-style: normal; font-size: 11px; background: var(--brand); color: #fff; padding: 2px 8px; border-radius: 20px; margin-left: auto; }
.addr-detail { margin: 8px 0 10px; font-size: 13.5px; color: var(--ink); }
.addr-act { display: flex; gap: 8px; }
.addr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.addr-form > div { display: flex; flex-direction: column; gap: 5px; }
.addr-form .wide { grid-column: 1 / -1; }
.addr-form span { color: var(--sub); font-size: 12.5px; }
.addr-form input { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-size: 14px; outline: none; }
.addr-form input:focus { border-color: var(--brand); }
.addr-form-act { display: flex; gap: 12px; }

/* 购物车地址选择 */
.cart-addr { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.cart-addr h3 { margin: 0 0 12px; font-size: 16px; }
.addr-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.addr-opt { display: flex; gap: 10px; align-items: flex-start; background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.addr-opt input { margin-top: 3px; accent-color: var(--brand); }
.addr-opt.on { border-color: var(--brand); background: #fff7f4; }
.addr-opt-body b { display: block; font-size: 14px; }
.addr-opt-body b .addr-def { margin-left: 8px; }
.addr-opt-body em { font-style: normal; font-size: 13px; color: var(--sub); display: block; margin-top: 4px; }
.order-addr { margin-top: 8px; font-size: 13px; color: var(--sub); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kv > div { background: #fafbfc; border-radius: 10px; padding: 13px 15px; }
.kv span { display: block; color: var(--sub); font-size: 12.5px; }
.kv b { font-size: 15px; }
.mpost { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mpost:last-child { border-bottom: none; }
.mpost-img { width: 60px; height: 60px; border-radius: 9px; background-size: cover; background-position: center; background-color: #eef0f3; }
.mpost-info { flex: 1; }
.mpost-info b { display: block; font-size: 14.5px; }
.mpost-info span { color: var(--sub); font-size: 12.5px; }
.mpost-info .rej { color: var(--warn); display: block; }
.mpost-act { display: flex; gap: 8px; }
.mt { margin-top: 16px; }
.order { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.order-top { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--sub); }
.order-top b { color: var(--ink); font-size: 14px; }
.order-top i { margin-left: auto; font-style: normal; color: var(--warn); }
.order-items { margin: 8px 0; font-size: 14px; }
.order-total { text-align: right; color: var(--brand); font-weight: 700; }

/* 充值 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 10px; }
.plan { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.plan.on, .plan:hover { border-color: var(--brand); }
.plan-name { font-weight: 700; font-size: 17px; }
.plan-price { color: var(--brand); font-size: 30px; font-weight: 800; margin: 10px 0 4px; }
.plan-price span { font-size: 14px; color: var(--sub); }
.plan-quota { color: var(--sub); margin-bottom: 10px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 16px; text-align: left; }
.plan ul li { padding: 5px 0 5px 20px; position: relative; font-size: 13.5px; color: #444; }
.plan ul li:before { content: ""; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.plan.coin .plan-price { font-size: 24px; }
.notice { background: #fafbfc; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.notice p { margin: 0 0 11px; color: #444; font-size: 14px; }
.notice p:last-child { margin-bottom: 0; }

/* 发布表单 */
.pub-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); max-width: 760px; }
.pub-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.quota-bar { background: #fff3ee; color: var(--brand-d); padding: 11px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 18px; }
.quota-bar b { color: var(--brand); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.imgpool { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-top: 6px; }
.pool-img { height: 58px; border-radius: 8px; background-size: cover; background-position: center; border: 2px solid transparent; cursor: pointer; background-color: #eef0f3; }
.pool-img.on { border-color: var(--brand); }
.pub-act { display: flex; gap: 12px; margin-top: 6px; }

/* 后台 */
.admin-list { display: flex; flex-direction: column; gap: 14px; }
.apost { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.apost-img { width: 96px; height: 96px; border-radius: 10px; background-size: cover; background-position: center; flex-shrink: 0; background-color: #eef0f3; }
.apost-info { flex: 1; }
.apost-info b { font-size: 15.5px; }
.apost-info .cat { display: inline-block; color: var(--brand); background: #fff3ee; padding: 1px 9px; border-radius: 20px; font-size: 12px; margin: 0 10px; }
.apost-info .meta { color: var(--sub); font-size: 12.5px; display: block; margin: 4px 0 8px; }
.apost-info p { font-size: 13.5px; color: #555; margin: 0; max-height: 60px; overflow: hidden; }
.apost-act { display: flex; flex-direction: column; gap: 8px; justify-content: center; }

/* 页脚 */
.site-foot { background: #1f2329; color: #c9ced6; margin-top: 40px; padding: 36px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.25fr 1.15fr 0.65fr 1fr; gap: 28px; }
.foot-in b { color: #fff; font-size: 16px; }
.foot-in p { margin: 6px 0 0; font-size: 13px; line-height: 1.7; }
.foot-in span { color: #8b93a0; font-size: 13px; display: block; margin-bottom: 4px; }
.foot-addr { color: #9aa2ad; }
.foot-link { color: #c9ced6; text-decoration: underline; text-underline-offset: 3px; }
.foot-link:hover { color: #fff; }

/* 关于我们 */
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.about-card h3 { margin: 0 0 14px; font-size: 20px; }
.about-card > p { color: #444; margin: 0 0 12px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 6px; }
.about-grid > div { background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; padding: 12px 15px; }
.about-grid span { display: block; color: var(--sub); font-size: 12.5px; }
.about-grid b { font-size: 14px; font-weight: 600; word-break: break-all; }
.about-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.about-blocks > div { background: #fff7f4; border: 1px solid #ffe0d5; border-radius: var(--radius); padding: 18px 20px; }
.about-blocks h4 { margin: 0 0 8px; color: var(--brand-d); font-size: 16px; }
.about-blocks p { margin: 0; color: #555; font-size: 13.5px; }

/* 提示 */
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px); background: rgba(35,38,43,.94); color: #fff; padding: 11px 22px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 响应式 */
@media (max-width: 1080px) {
  .detail { grid-template-columns: 1fr 1fr; }
  .detail-side { grid-column: 1 / -1; position: static; }
}
/* 商品详情长图区 */
.plong { margin-top: 36px; }
.plong-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 20px; }
.plong-head h2 { margin: 0 0 10px; font-size: 20px; }
.plong-head p { margin: 0; color: var(--sub); font-size: 14px; line-height: 1.9; }
.plong-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.plong-poster { position: relative; min-height: 380px; border-radius: 12px; background-size: cover; background-position: center; overflow: hidden; }
.plong-poster span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: 16px; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.62)); }
.plong-txt { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; }
.plong-txt h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.4; }
.plong-txt p { margin: 0 0 14px; color: var(--sub); font-size: 13px; line-height: 1.8; }
.plong-img { width: 100%; min-height: 300px; border-radius: 8px; background-size: cover; background-position: center; }
.plong-img.solo { min-height: 380px; border: 1px solid var(--line); }

/* 管理后台 */
.ad { display: grid; grid-template-columns: 240px 1fr; gap: 26px; margin-top: 28px; align-items: start; }
.ad-side { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 16px; position: sticky; top: 20px; }
.ad-avatar { width: 56px; height: 56px; border-radius: 14px; background: #1e3a34; color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ad-id { margin: 12px 0 16px; }
.ad-id b { display: block; font-size: 15px; }
.ad-id span { font-size: 12px; color: var(--sub); }
.ad-menu { display: flex; flex-direction: column; gap: 4px; }
.ad-menu a { display: flex; align-items: center; padding: 11px 13px; border-radius: 9px; color: var(--sub); font-weight: 600; cursor: pointer; font-size: 14px; }
.ad-menu a.on { background: #1e3a34; color: #fff; }
.ad-menu a:not(.on):hover { background: #f3f5f7; color: var(--ink); }
.ad-badge { font-style: normal; margin-left: auto; background: #fde8e8; color: #d64545; font-size: 11px; min-width: 18px; text-align: center; padding: 1px 5px; border-radius: 12px; }
.ad-menu a.on .ad-badge { background: rgba(255,255,255,.2); color: #fff; }
.ad-title h2 { margin: 0 0 4px; }
.ad-title p { margin: 0 0 18px; color: var(--sub); font-size: 13px; }
.ad-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ad-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.ad-ic svg { width: 15px; height: 15px; color: var(--brand); }
.ad-label { font-size: 12px; color: var(--sub); display: flex; align-items: center; gap: 5px; }
.ad-stat b { font-size: 22px; line-height: 1.1; }
.apost-uava { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

@media (max-width: 900px) {
  .grid, .plans { grid-template-columns: repeat(2, 1fr); }
  .hero { flex-direction: column; align-items: flex-start; }
  .detail, .blocks, .me { grid-template-columns: 1fr; }
  .plong-grid { grid-template-columns: 1fr; }
  .ad { grid-template-columns: 1fr; }
  .ad-side { position: static; }
  .ad-stats { grid-template-columns: repeat(2, 1fr); }
  .me-stats { grid-template-columns: repeat(2, 1fr); }
  .addr-list, .addr-opts, .addr-form { grid-template-columns: 1fr; }
  .detail-left .main-img { height: 300px; }
  .kv { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .imgpool { grid-template-columns: repeat(5, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .about-grid, .about-blocks { grid-template-columns: 1fr; }
  .mainnav { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .hero-txt h1 { font-size: 26px; }
  .foot-in { grid-template-columns: 1fr; }
  .apost { flex-direction: column; }
}
