/* 抢单订单卡片 - 逍遥梦布局（星阙数据） */

.flex { display: flex; align-items: center; }
.flexb { display: flex; align-items: center; justify-content: space-between; }
.flexa { display: flex; align-items: center; justify-content: center; }
.myflex { display: flex; align-items: center; }

.dingdan-list {
  padding: 0 0 24rpx;
}

.xym-order-item {
  margin-bottom: 24rpx;
  position: relative;
  overflow: visible;
  border-radius: 30rpx;
  box-shadow: 0 10rpx 28rpx rgba(0, 0, 0, 0.09);
}

/* 平台订单 */
.xym-pingtai-order {
  padding-bottom: 5rpx;
  background: #927a46;
}

.xym-pingtai-head {
  height: 72rpx;
  padding: 0 24rpx;
  background: linear-gradient(50deg, #957c48, #5c4a28);
  border-radius: 30rpx 30rpx 0 0;
}

.xym-head-time {
  font-size: 24rpx;
  color: #fcd270;
}

.xym-head-tag {
  font-size: 22rpx;
  padding: 4rpx 16rpx;
  border-radius: 8rpx;
  font-weight: 600;
  background: rgba(252, 210, 112, 0.22);
  color: #fcd270;
  border: 1rpx solid rgba(252, 210, 112, 0.4);
}

.xym-pingtai-body {
  border-radius: 40rpx 10rpx 30rpx 30rpx;
  padding: 0 20rpx 24rpx;
  background: linear-gradient(to bottom, #3a3220, #cec180);
}

/* 商家订单 */
.xym-shangjia-order {
  padding-bottom: 5rpx;
  background: linear-gradient(to bottom, #fff8e1, #ffe0b2);
  overflow: hidden;
}

.xym-shangjia-body {
  border-radius: 10rpx 10rpx 30rpx 30rpx;
  padding: 0 20rpx 24rpx;
}

.xym-shangjia-head {
  padding: 16rpx 24rpx 8rpx;
}

.xym-shangjia-head .xym-head-time {
  color: #888;
}

.xym-shangjia-head .xym-head-tag {
  background: rgba(255, 255, 255, 0.65);
  color: #492f00;
  border-color: rgba(255, 208, 97, 0.5);
}

.order-con {
  position: relative;
  min-height: 108rpx;
}

.order-row {
  align-items: flex-start;
  padding: 24rpx 10rpx 14rpx;
}

.o-logo {
  width: 88rpx;
  height: 88rpx;
  border-radius: 12rpx;
  margin-right: 14rpx;
  flex-shrink: 0;
  background: #eee;
}

.o-col {
  flex: 1;
  min-width: 0;
  padding-right: 136rpx;
  box-sizing: border-box;
}

.o-goods {
  font-weight: 700;
  font-size: 30rpx;
  line-height: 1.5;
  color: #333;
}

.o-goods.light {
  color: #fff;
}

.line2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.merchant-line {
  display: flex;
  align-items: center;
  padding: 0 10rpx 12rpx;
  gap: 12rpx;
}

.m-avatar-sm {
  width: 56rpx;
  height: 56rpx;
  border-radius: 50%;
  flex-shrink: 0;
  background: #eee;
}

.m-name-sm {
  font-size: 26rpx;
  font-weight: 600;
  color: #333;
}

.zhiding-strip {
  margin: 0 10rpx 12rpx;
  padding: 10rpx 16rpx;
  background: rgba(255, 77, 109, 0.12);
  border-radius: 12rpx;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8rpx;
}

.zhiding-strip-top {
  display: flex;
  align-items: center;
  gap: 10rpx;
  width: 100%;
}

.zhiding-strip-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  width: 100%;
  margin-top: 2rpx;
  gap: 4rpx;
}

.zhiding-strip-tags .tag-root {
  margin: 2rpx 4rpx 2rpx 0;
}

.zhiding-strip.light {
  background: rgba(255, 255, 255, 0.35);
}

.zhiding-strip .zhiding-label {
  font-size: 22rpx;
  color: #ff4d6d;
  font-weight: 700;
  padding: 2rpx 12rpx;
  background: rgba(255, 77, 109, 0.15);
  border-radius: 8rpx;
}

.zhiding-strip .zhiding-avatar {
  width: 40rpx;
  height: 40rpx;
  border-radius: 50%;
}

.zhiding-strip .zhiding-name {
  font-size: 24rpx;
  color: #666;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zhiding-tags-row {
  margin: 8rpx 16rpx 12rpx;
}

.zhiding-tags-row .biaoqian-inline-scroll + .biaoqian-inline-scroll {
  margin-top: 8rpx;
}

/* 金牌卡底部商家条 */
.gold-card .merchant-strip {
  margin: 16rpx 6rpx 0;
  padding: 16rpx 20rpx;
  align-items: center;
  border-radius: 16rpx;
  background: linear-gradient(90deg, #4a3a24 0%, #6b5434 50%, #4a3a24 100%);
}

.gold-card .merchant-strip .m-avatar-sm {
  width: 64rpx;
  height: 64rpx;
  border: 2rpx solid rgba(255, 215, 0, 0.35);
}

.gold-card .merchant-strip .m-info {
  flex: 1;
  min-width: 0;
  margin-left: 12rpx;
}

.gold-card .merchant-strip .m-name-sm {
  color: #f5e6c8;
  font-size: 28rpx;
}

.gold-card .merchant-strip .m-sn-light {
  color: rgba(245, 230, 200, 0.72);
  font-size: 22rpx;
  margin-top: 4rpx;
}

.merchant-foot {
  margin-top: 16rpx;
  padding: 12rpx 10rpx 4rpx;
  align-items: center;
  gap: 12rpx;
}

.merchant-foot .merchant-user {
  flex: 1;
  min-width: 0;
  align-items: center;
}

.merchant-foot .m-info {
  flex: 1;
  min-width: 0;
  margin-left: 12rpx;
}

.gold-card .merchant-foot {
  margin: 16rpx 6rpx 0;
  padding: 16rpx 12rpx;
  border-radius: 16rpx;
  background: linear-gradient(90deg, #4a3a24 0%, #6b5434 50%, #4a3a24 100%);
}

.gold-card .merchant-foot .m-avatar-sm {
  border: 2rpx solid rgba(255, 215, 0, 0.35);
}

.gold-card .merchant-foot .m-name-sm {
  color: #f5e6c8;
}

.gold-card .merchant-foot .m-sn-light {
  color: rgba(245, 230, 200, 0.72);
}

.xym-shangjia-body .merchant-foot {
  padding-top: 8rpx;
}

.gold-card .order-row {
  padding: 8rpx 10rpx 0;
}

.gold-card .gold-inner {
  padding: 16rpx 10rpx 12rpx;
}

.xym-pingtai-body .zhiding-strip .zhiding-name {
  color: #f5e6b8;
}

.reward-badge {
  position: absolute;
  right: 0;
  top: 18rpx;
  font-size: 24rpx;
  padding: 6rpx 20rpx;
  border-radius: 30rpx 10rpx 0 30rpx;
  display: flex;
  align-items: baseline;
  z-index: 3;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08);
}

.reward-badge.normal-reward {
  color: #492f00;
  background: linear-gradient(to bottom, #fae04d, #ffc0a3);
}

.reward-badge.platform-reward {
  color: #fff;
  background: linear-gradient(to right, #dabd83, #704029);
}

.xym-shangjia-body .reward-badge:not(.member-tip) {
  top: 76rpx;
}

.reward-badge.member-tip {
  background: rgba(255, 255, 255, 0.85);
  padding: 8rpx 16rpx;
  border-radius: 20rpx;
  top: 16rpx;
  right: 10rpx;
}

.reward-yen {
  font-size: 28rpx;
}

.reward-num {
  font-weight: 700;
  font-size: 34rpx;
}

.reward-num.dark {
  color: #c00;
}

.reward-tip {
  font-size: 22rpx;
  color: #c0392b;
  font-weight: 600;
}

.reward-yen.sm {
  font-size: 26rpx;
}

.remark-block {
  font-size: 24rpx;
  margin: 8rpx 10rpx 0;
  padding: 12rpx 16rpx;
  border-left: 4rpx solid;
  border-radius: 0 8rpx 8rpx 0;
  overflow: hidden;
}

.remark-block.gold {
  color: #fff;
  border-color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
}

.remark-block.dark {
  color: #666;
  border-color: #87ceeb;
  background: rgba(135, 206, 235, 0.12);
}

.remark-label {
  font-weight: 600;
}

.remark-block.gold .remark-label {
  color: #ffd700;
}

.remark-block.dark .remark-label {
  color: #87ceeb;
}

.xuqiu-tags-row {
  margin: 12rpx 10rpx 0;
  padding-top: 12rpx;
  border-top: 2rpx dotted rgba(255, 255, 255, 0.35);
}

.xym-shangjia-body .xuqiu-tags-row {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.xuqiu-tags-row .xuqiu-label {
  font-size: 22rpx;
  color: #87ceeb;
  margin-bottom: 8rpx;
  display: block;
}

.o-foot {
  margin-top: 18rpx;
  padding: 0 10rpx 8rpx;
}

.o-amt {
  font-size: 26rpx;
  color: #999;
}

.o-amt.light {
  color: #f5e6b8;
}

.btn-bg {
  background: linear-gradient(180deg, #fae04d, #ffc0a3);
  border-radius: 60rpx;
  color: #492f00;
}

.qiangdan {
  color: #492f00;
  width: 180rpx;
  min-width: 100rpx;
  padding: 15rpx 10rpx;
  border: 2rpx solid #fff;
  box-sizing: border-box;
  font-size: 26rpx;
  font-weight: 700;
  flex-shrink: 0;
}

.qiangdan.btn-qiang-brown {
  background: linear-gradient(to right, #7a4a2d 0%, #e4ce94 100%) !important;
  color: #000 !important;
}

.view-more-inline {
  font-size: 22rpx;
  color: #87ceeb;
  margin-left: 4rpx;
}

.biaoqian-inline-scroll {
  width: 100%;
  white-space: nowrap;
}

.biaoqian-inline-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  padding-right: 12rpx;
}

/* 优质商家金牌卡片 — 与逍遥梦 ui-preview 一致 */
.xym-order-item.gold-card {
  margin-bottom: 20rpx;
  border-radius: 30rpx;
  box-shadow: 0 12rpx 32rpx rgba(248, 211, 44, 0.28);
  overflow: hidden;
}

.gold-card {
  padding-bottom: 5rpx;
  position: relative;
  background: linear-gradient(to bottom, #ffecc5, #fffbf3);
}

.gold-head {
  height: 77rpx;
  display: flex;
  align-items: center;
  background: linear-gradient(127deg, #F8D32C 0%, #FFB26A 35%, #FFEE58 70%, #F8D32C 100%);
  border-radius: 32rpx 32rpx 0 0;
}

.kehuduan-banner-wrap,
.gold-banner-wrap {
  margin-left: 46rpx;
}

.gold-banner {
  width: 222rpx;
  height: 70rpx;
  margin-left: -28rpx;
  margin-top: 8rpx;
  display: block;
}

.tag-row {
  flex-wrap: wrap;
  gap: 8rpx;
  margin-top: 10rpx;
}

.tag-pill {
  font-size: 22rpx;
  padding: 4rpx 18rpx;
  border-radius: 10rpx;
}

.tag-pill.tag-youzhi,
.tag-youzhi {
  background: linear-gradient(180deg, #fae04d, #ffc0a3);
  color: #492c00;
  font-size: 24rpx;
  padding: 4rpx 18rpx;
  border-radius: 10rpx;
  margin-right: 10rpx;
  font-weight: 600;
}

.gold-body-wrap {
  border-radius: 10rpx 10rpx 30rpx 30rpx;
  padding: 0 20rpx 20rpx;
  background: linear-gradient(to bottom, #1f1a14 0%, #342b22 38%, #4a3d30 68%, #6b5638 100%);
}

.gold-inner {
  padding: 25rpx 10rpx 10rpx;
  position: relative;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.gold-card .o-goods {
  color: #fff;
}

.gold-card .m-name-sm {
  color: #f5e6c8;
}

.gold-card .merchant-line {
  padding: 0 10rpx;
}

.gold-card .remark-block.dark {
  color: rgba(255, 255, 255, 0.88);
  border-color: #c9a227;
  background: rgba(0, 0, 0, 0.12);
  margin: 12rpx 10rpx 0;
  padding: 8rpx 20rpx;
  border-bottom: 1rpx dotted rgba(255, 255, 255, 0.15);
  padding-bottom: 15rpx;
}

.gold-card .remark-block.dark .remark-label {
  color: #e8c547;
}

.gold-card .merchant-tags-container,
.gold-card .xuqiu-tags-row {
  margin: 10rpx 5rpx 0;
  border-top: 3rpx dotted rgba(255, 255, 255, 0.15);
  padding-top: 16rpx;
}

.gold-card .merchant-strip {
  background: linear-gradient(90deg, #4a3a24 0%, #6b5434 50%, #4a3a24 100%);
  background-image: none;
}

.gold-card .m-name.light-t,
.gold-card .m-name-sm {
  color: #f5e6c8;
}

.gold-card .m-sn.light-sub,
.gold-card .m-sn-light {
  color: rgba(245, 230, 200, 0.72);
}

.gold-card .o-amt-grey {
  color: rgba(255, 255, 255, 0.65);
}

.gold-card .zhiding-strip {
  background: rgba(255, 215, 0, 0.12);
}

.gold-card .zhiding-strip .zhiding-name {
  color: rgba(255, 255, 255, 0.9);
}

.gold-card .zhiding-strip .zhiding-label {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.2);
}

.gold-card .o-amt {
  color: rgba(255, 255, 255, 0.65);
}

.gold-card .reward-badge.normal-reward.gold-reward {
  top: 100rpx;
  box-shadow: 0 4rpx 14rpx rgba(201, 162, 39, 0.35);
  border: 1rpx solid rgba(255, 215, 0, 0.4);
}

.gold-card .merchant-plain {
  margin-top: 20rpx;
  padding: 0 10rpx;
  align-items: center;
}

.gold-card .merchant-plain.flexb .merchant-user {
  flex: 1;
  min-width: 0;
  align-items: center;
}

.gold-card .merchant-plain.flexb .m-info {
  flex: 1;
  min-width: 0;
  margin-left: 12rpx;
}

.gold-card .merchant-plain.flexb .qiangdan {
  flex-shrink: 0;
}

.gold-card .gold-foot-text-only {
  justify-content: flex-start;
}

.gold-card .m-avatar {
  width: 64rpx;
  height: 64rpx;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2rpx solid rgba(255, 215, 0, 0.35);
}

.gold-card .m-name-light {
  color: #f5e6c8;
  font-size: 26rpx;
  font-weight: 700;
}

.line1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gold-card .m-sn-light {
  color: rgba(245, 230, 200, 0.72);
  font-size: 22rpx;
  margin-top: 4rpx;
}

.gold-card .o-amt-grey {
  font-size: 24rpx;
  color: rgba(255, 255, 255, 0.65);
}

.gold-card .kehuduan-foot {
  justify-content: flex-end;
  margin-top: 16rpx;
  padding: 0 10rpx 6rpx;
}

/* 公告条 */
.xym-gonggao-bar {
  display: flex;
  align-items: center;
  background: #fdf9db;
  margin: 0 24rpx 0;
  border-radius: 10rpx;
  padding: 10rpx 16rpx;
}

.xym-gonggao-ico {
  width: 40rpx;
  height: 40rpx;
  flex-shrink: 0;
  margin-right: 12rpx;
}

.xym-gonggao-txt {
  font-size: 24rpx;
  color: #666;
  line-height: 1.5;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
