/* 众赏帮 · 卡券回收页专属视觉（暖金红，适配首页/大厅风格） */
#coupon-recycle-page {
  background-color: #F7EFE5 !important;
  background-image:
    radial-gradient(circle at 12% 2%, rgba(255, 218, 178, 0.55) 0, rgba(255, 218, 178, 0) 26%),
    radial-gradient(circle at 92% 18%, rgba(246, 193, 145, 0.32) 0, rgba(246, 193, 145, 0) 28%),
    linear-gradient(180deg, #FAF2E8 0%, #F7EFE5 38%, #F5ECE1 100%) !important;
  color: #40261D !important;
  overflow-x: hidden !important;
}

#coupon-recycle-page .text-gray-800,
#coupon-recycle-page .text-gray-700 { color: #3D241B !important; }
#coupon-recycle-page .text-gray-600 { color: #6B4B3C !important; }
#coupon-recycle-page .text-gray-500 { color: #8B6B59 !important; }
#coupon-recycle-page .text-gray-400 { color: #A98A78 !important; }
#coupon-recycle-page [class*="text-[#1E40AF]"],
#coupon-recycle-page [class*="text-[#3B82F6]"] { color: #C93B1C !important; }

/* 顶部导航 */
#coupon-recycle-page > div:first-child {
  background: linear-gradient(120deg, #7B1B10 0%, #A92B17 46%, #D14A22 100%) !important;
  box-shadow: 0 8px 22px rgba(89, 24, 10, 0.20) !important;
  border-bottom: 1px solid rgba(255, 215, 166, 0.30) !important;
}
#coupon-recycle-page > div:first-child > div {
  height: 56px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}
#coupon-recycle-page > div:first-child h1 {
  color: #FFF7EA !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-shadow: 0 1px 2px rgba(64, 14, 4, 0.28);
}
#coupon-recycle-page > div:first-child button[aria-label="返回"] {
  color: #FFE9CF !important;
  background: rgba(255, 244, 226, 0.10) !important;
  border: 1px solid rgba(255, 225, 184, 0.20) !important;
}
#coupon-recycle-page > div:first-child button[class*="pr-1"] {
  color: #FFE7C3 !important;
  font-size: 12px !important;
  line-height: 26px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 243, 224, 0.12) !important;
  border: 1px solid rgba(255, 225, 184, 0.28) !important;
}

/* 回收主视觉 */
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1) {
  position: relative !important;
  overflow: hidden !important;
  padding: 8px 16px 38px !important;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 218, 157, 0.32) 0, rgba(255, 218, 157, 0) 30%),
    radial-gradient(circle at 14% 112%, rgba(255, 183, 116, 0.18) 0, rgba(255, 183, 116, 0) 42%),
    linear-gradient(135deg, #7A1A0F 0%, #A82B15 48%, #CF4A21 100%) !important;
  box-shadow: inset 0 -26px 32px rgba(82, 20, 8, 0.10);
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1)::before,
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1)::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 223, 172, 0.20);
  border-radius: 50%;
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1)::before {
  width: 132px;
  height: 132px;
  left: -44px;
  bottom: -70px;
  box-shadow: 0 0 0 18px rgba(255, 223, 172, 0.04);
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1)::after {
  width: 92px;
  height: 92px;
  right: -30px;
  top: -34px;
  box-shadow: 0 0 0 14px rgba(255, 223, 172, 0.035);
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1) > div:first-child {
  position: relative !important;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 249, 237, 0.15) 0%, rgba(255, 255, 255, 0.045) 100%) !important;
  border: 1px solid rgba(255, 220, 166, 0.32) !important;
  border-radius: 20px !important;
  padding: 16px 16px 15px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 34px rgba(73, 15, 4, 0.16);
  overflow: hidden !important;
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1) > div:first-child::after {
  content: "¥";
  position: absolute;
  right: 10px;
  bottom: -19px;
  font-size: 70px;
  line-height: 1;
  font-weight: 800;
  color: rgba(255, 217, 158, 0.10);
  pointer-events: none;
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1) > div:first-child > div:first-child {
  gap: 8px !important;
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1) > div:first-child > div:first-child svg {
  width: 25px !important;
  height: 25px !important;
  color: #FFD08C !important;
  filter: drop-shadow(0 2px 4px rgba(65, 13, 3, 0.20));
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1) > div:first-child > div:first-child span {
  color: #FFF6E7 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1) > div:first-child p {
  color: #FFE3C4 !important;
  font-size: 11.5px !important;
  line-height: 1.65 !important;
  margin-top: 5px !important;
  max-width: 94%;
}
.cr-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 9px;
  position: relative;
  z-index: 3;
}
.cr-hero-chips span {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 225, 183, 0.30);
  background: rgba(255, 242, 222, 0.10);
  color: #FFE8C9;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.2px;
  margin: 0 6px 6px 0;
}

/* 分类导航与卡片 */
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(2) {
  position: relative !important;
  z-index: 5 !important;
  margin-top: -20px !important;
}
#coupon-recycle-page .bg-white {
  background: linear-gradient(180deg, #FFFDFA 0%, #FFF7ED 100%) !important;
  border-color: #EFDCC7 !important;
  box-shadow: 0 10px 26px rgba(113, 44, 19, 0.07), inset 0 1px 0 #FFFFFF !important;
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(2) > div {
  border-radius: 20px !important;
  border: 1px solid #EED8C0 !important;
  box-shadow: 0 14px 30px rgba(105, 39, 16, 0.12), inset 0 1px 0 #FFFFFF !important;
  padding: 2px 4px !important;
}
#coupon-recycle-page div[class*="overflow-x-auto"] {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
#coupon-recycle-page div[class*="overflow-x-auto"]::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
#coupon-recycle-page div[class*="overflow-x-auto"] button {
  min-width: 68px !important;
  padding: 8px 5px 7px !important;
  border-radius: 14px !important;
  color: #7D5C4B !important;
}
#coupon-recycle-page div[class*="overflow-x-auto"] button > div {
  width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;
  background: #F7EDE0 !important;
  color: #B66E46 !important;
  box-shadow: inset 0 1px 0 #FFFCF6;
}
#coupon-recycle-page div[class*="overflow-x-auto"] button > span {
  font-size: 9.5px !important;
  line-height: 16px !important;
  white-space: nowrap !important;
}
#coupon-recycle-page div[class*="overflow-x-auto"] button[class*="bg-[#EFF6FF]"] {
  background: linear-gradient(180deg, #FFF1E0 0%, #FFE9D5 100%) !important;
  color: #A92B15 !important;
  box-shadow: inset 0 0 0 1px rgba(206, 78, 35, 0.14);
}
#coupon-recycle-page div[class*="overflow-x-auto"] button[class*="bg-[#EFF6FF]"] > div {
  background: linear-gradient(135deg, #E05A2C 0%, #B92A13 100%) !important;
  color: #FFE6C4 !important;
  box-shadow: 0 6px 12px rgba(166, 45, 19, 0.20);
}
#coupon-recycle-page div[class*="overflow-x-auto"] button[class*="bg-[#EFF6FF]"] > span {
  font-weight: 700 !important;
}

/* 区块标题 */
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(n+3) {
  margin-top: 23px !important;
}
#coupon-recycle-page[data-mode="recycle"] h2 {
  position: relative !important;
  padding-left: 13px !important;
  color: #3E241A !important;
  font-size: 15px !important;
  line-height: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
}
#coupon-recycle-page[data-mode="recycle"] h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 16px;
  margin-top: -8px;
  border-radius: 3px;
  background: linear-gradient(180deg, #F2B45E 0%, #D2481F 100%);
  box-shadow: 0 1px 4px rgba(192, 68, 26, 0.20);
}
#coupon-recycle-page[data-mode="recycle"] div[class*="justify-between"][class*="mb-3"] span {
  color: #9B704F !important;
  background: #FFF4E5 !important;
  border: 1px solid #F1DCC5 !important;
  border-radius: 999px !important;
  padding: 3px 9px !important;
  font-size: 10px !important;
  line-height: 15px !important;
  white-space: nowrap;
}

/* 卡券类型 */
#coupon-recycle-page .grid.grid-cols-2 {
  grid-gap: 10px !important;
  gap: 10px !important;
}
#coupon-recycle-page .grid.grid-cols-2 > button {
  position: relative !important;
  min-height: 104px;
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid #F0DDC8 !important;
  background: linear-gradient(180deg, #FFFDF9 0%, #FFF8EE 100%) !important;
  box-shadow: 0 7px 16px rgba(111, 43, 18, 0.05), inset 0 1px 0 #FFFFFF !important;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
#coupon-recycle-page .grid.grid-cols-2 > button[class*="border-[#3B82F6]"] {
  border-color: #D64B23 !important;
  background: linear-gradient(180deg, #FFF9F0 0%, #FFEBD8 100%) !important;
  box-shadow: 0 11px 24px rgba(178, 56, 23, 0.13), inset 0 0 0 1px rgba(214, 75, 35, 0.20) !important;
}
#coupon-recycle-page .grid.grid-cols-2 > button > div[class*="w-10"][class*="h-10"] {
  width: 42px !important;
  height: 42px !important;
  padding: 5px !important;
  border-radius: 12px !important;
  background: #FFF8ED !important;
  border: 1px solid #EFD9C2 !important;
  box-shadow: inset 0 1px 0 #FFFFFF;
}
#coupon-recycle-page .grid.grid-cols-2 > button > div[class*="w-10"] svg {
  color: #B8663D !important;
}
#coupon-recycle-page .grid.grid-cols-2 > button > div[class*="text-sm"] {
  font-size: 13.5px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
  color: #40261D !important;
}
#coupon-recycle-page .grid.grid-cols-2 > button > div[class*="text-xs"] {
  color: #A07F6B !important;
  font-size: 10.5px !important;
  line-height: 16px !important;
  margin-top: 3px !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}
#coupon-recycle-page .grid.grid-cols-2 > button div.absolute {
  top: 8px !important;
  right: 8px !important;
  width: 21px !important;
  height: 21px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #E05A2C 0%, #B62B13 100%) !important;
  box-shadow: 0 3px 8px rgba(166, 44, 18, 0.22);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#coupon-recycle-page .grid.grid-cols-2 > button div.absolute svg {
  width: 12px !important;
  height: 12px !important;
  color: #FFF5E7 !important;
  fill: #FFF5E7 !important;
}

/* 面值卡片 */
#coupon-recycle-page .space-y-2\.5 > button {
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid #F0DDC8 !important;
  background: linear-gradient(180deg, #FFFDF9 0%, #FFF8EF 100%) !important;
  box-shadow: 0 7px 18px rgba(109, 42, 18, 0.055), inset 0 1px 0 #FFFFFF !important;
}
#coupon-recycle-page .space-y-2\.5 > button[class*="border-[#3B82F6]"] {
  border-color: #D64B23 !important;
  background: linear-gradient(180deg, #FFF9F0 0%, #FFEBD8 100%) !important;
  box-shadow: 0 10px 24px rgba(178, 56, 23, 0.13), inset 0 0 0 1px rgba(214, 75, 35, 0.20) !important;
}
#coupon-recycle-page .space-y-2\.5 > button > div[class*="w-14"][class*="h-14"] {
  width: 54px !important;
  height: 54px !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, #FAEBD8 0%, #EFD2B3 100%) !important;
  border: 1px solid #E8CEB1 !important;
  color: #6B3B24 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 4px 10px rgba(127,52,20,.06);
}
#coupon-recycle-page .space-y-2\.5 > button[class*="border-[#3B82F6]"] > div[class*="w-14"][class*="h-14"] {
  background: linear-gradient(145deg, #B93219 0%, #7F1D0F 100%) !important;
  border-color: #A92A14 !important;
  color: #FFE8C9 !important;
  box-shadow: 0 7px 14px rgba(137, 35, 16, 0.20);
}
#coupon-recycle-page .space-y-2\.5 > button > div[class*="w-14"] span:first-child {
  font-size: 10px !important;
  opacity: .72 !important;
}
#coupon-recycle-page .space-y-2\.5 > button > div[class*="w-14"] span:last-child {
  font-size: 17px !important;
  font-weight: 800 !important;
  margin-top: 2px;
}
#coupon-recycle-page .space-y-2\.5 > button > div:nth-child(2) > div:first-child span:first-child {
  color: #C93B1C !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px;
}
#coupon-recycle-page .space-y-2\.5 > button > div:nth-child(2) > div:first-child span:last-child {
  color: #A36E4B !important;
  background: #FFF3E3 !important;
  border: 1px solid #F1D8BC !important;
  border-radius: 999px !important;
  padding: 1px 6px !important;
  font-size: 9.5px !important;
  line-height: 14px !important;
}
#coupon-recycle-page .space-y-2\.5 > button > div:nth-child(2) > div:nth-child(2) {
  color: #8B6B59 !important;
  font-size: 10.5px !important;
  margin-top: 7px !important;
}
#coupon-recycle-page .space-y-2\.5 > button > div:nth-child(2) > div:nth-child(2) span {
  color: #8B6B59 !important;
  white-space: nowrap;
}
#coupon-recycle-page .space-y-2\.5 > button > div:nth-child(2) > div:nth-child(2) svg {
  color: #C38B65 !important;
}
#coupon-recycle-page .space-y-2\.5 > button > div:nth-child(2) > div:nth-child(3) {
  color: #A88774 !important;
  font-size: 10.5px !important;
  margin-top: 4px !important;
}
#coupon-recycle-page .space-y-2\.5 > button > div:last-child {
  width: 18px !important;
  height: 18px !important;
  border-width: 1px !important;
  border-color: #D9BEAA !important;
  background: #FFFDF8 !important;
}
#coupon-recycle-page .space-y-2\.5 > button[class*="border-[#3B82F6]"] > div:last-child {
  border-color: #D64B23 !important;
  background: linear-gradient(135deg, #E05A2C 0%, #B92B13 100%) !important;
  box-shadow: 0 3px 8px rgba(170, 47, 20, 0.20);
}
#coupon-recycle-page .space-y-2\.5 > button > div:last-child svg {
  width: 11px !important;
  height: 11px !important;
}

/* 面值保持单列，保证 320/390/480 宽都不横向溢出 */

/* 提交表单 */
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(5) > div:nth-child(2) {
  border-radius: 18px !important;
  padding: 16px !important;
  border: 1px solid #EFDBC6 !important;
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(5) > div:nth-child(2) label {
  color: #6B4B3C !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
#coupon-recycle-page input {
  height: 46px !important;
  padding: 0 13px !important;
  border-radius: 12px !important;
  border: 1px solid #E9D4BF !important;
  background: #FFFBF5 !important;
  color: #3D241B !important;
  font-size: 14px !important;
  box-shadow: inset 0 1px 2px rgba(112, 52, 25, 0.035) !important;
}
#coupon-recycle-page input:focus {
  border-color: #D05227 !important;
  box-shadow: 0 0 0 3px rgba(208, 82, 39, 0.12) !important;
  outline: none !important;
}
#coupon-recycle-page input::placeholder { color: #B69B8A !important; }
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(5) > div:nth-child(2) > div:nth-child(3) {
  border-top: 1px dashed #EAD4BE !important;
  margin-top: 14px !important;
  padding-top: 14px !important;
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(5) > div:nth-child(2) > div:nth-child(3) span:first-child {
  color: #7B5A48 !important;
  font-size: 12px !important;
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(5) > div:nth-child(2) > div:nth-child(3) span:last-child {
  color: #C93B1C !important;
  font-size: 25px !important;
  font-weight: 800 !important;
  letter-spacing: -0.4px;
}
#coupon-recycle-page button[class*="shadow-blue-500"] {
  height: 52px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #E25327 0%, #B82A12 100%) !important;
  color: #FFF9EF !important;
  border: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  box-shadow: 0 12px 26px rgba(175, 53, 22, 0.28), inset 0 1px 0 rgba(255,255,255,.20) !important;
}
#coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(5) > div:nth-child(4) {
  color: #A18472 !important;
  font-size: 10.5px !important;
  line-height: 1.6 !important;
}

/* 通用主按钮（去回收、查看订单等） */
#coupon-recycle-page button[class*="from-[#1E40AF]"] {
  background: linear-gradient(135deg, #E25327 0%, #B82A12 100%) !important;
  color: #FFF9EF !important;
  border-color: transparent !important;
  box-shadow: 0 10px 22px rgba(175, 53, 22, 0.22) !important;
}
#coupon-recycle-page button[class*="from-[#1E40AF]"] span,
#coupon-recycle-page button[class*="from-[#1E40AF]"] svg { color: #FFF9EF !important; }

/* 提交成功 */
#coupon-recycle-page[data-mode="success"] > div:nth-child(2) > div {
  border-radius: 22px !important;
  padding: 28px 20px 22px !important;
  border: 1px solid #EFDAC4 !important;
  box-shadow: 0 16px 36px rgba(112, 42, 17, 0.10), inset 0 1px 0 #FFF !important;
}
#coupon-recycle-page[data-mode="success"] div[class*="from-green-400"] {
  background: linear-gradient(135deg, #F4B960 0%, #D45B24 100%) !important;
  box-shadow: 0 14px 28px rgba(179, 74, 27, 0.24) !important;
}
#coupon-recycle-page[data-mode="success"] h2 {
  color: #3D241B !important;
  font-size: 22px !important;
  letter-spacing: 1px;
}
#coupon-recycle-page[data-mode="success"] > div:nth-child(2) > div > p {
  color: #8D6B59 !important;
  font-size: 12px !important;
}
#coupon-recycle-page[data-mode="success"] [class*="bg-[#EFF6FF]"] {
  background: linear-gradient(180deg, #FFF8EE 0%, #FFF2E2 100%) !important;
  border: 1px solid #F0D8BF !important;
  border-radius: 16px !important;
}
#coupon-recycle-page[data-mode="success"] [class*="text-[#1E40AF]"] { color: #C93B1C !important; }
#coupon-recycle-page[data-mode="success"] button[class*="border-gray-200"] {
  border-color: #E5CDB7 !important;
  color: #7A5846 !important;
  background: #FFFDF9 !important;
}

/* 我的订单 */
#coupon-recycle-page[data-mode="orders"] > div:nth-child(2) > div:first-child {
  background: linear-gradient(180deg, #FFFDF9 0%, #FFF8EF 100%) !important;
  border-bottom: 1px solid #EED9C3 !important;
  box-shadow: 0 4px 12px rgba(116, 47, 20, 0.05);
  padding: 0 8px !important;
}
#coupon-recycle-page[data-mode="orders"] > div:nth-child(2) > div:first-child button {
  color: #8A6A58 !important;
  font-size: 12px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
#coupon-recycle-page[data-mode="orders"] > div:nth-child(2) > div:first-child button[class*="text-[#1E40AF]"] {
  color: #B92D14 !important;
  font-weight: 700 !important;
}
#coupon-recycle-page[data-mode="orders"] > div:nth-child(2) > div:first-child button div[class*="bg-[#1E40AF]"] {
  background: linear-gradient(90deg, #F2B45E 0%, #D2481F 100%) !important;
  width: 24px !important;
  height: 3px !important;
  border-radius: 99px !important;
}
#coupon-recycle-page[data-mode="orders"] > div:nth-child(2) > div:nth-child(2) > div:first-child {
  border-radius: 18px !important;
  border: 1px solid #EFDAC4 !important;
}
#coupon-recycle-page[data-mode="orders"] > div:nth-child(2) > div:nth-child(2) > div:first-child svg {
  color: #C79B77 !important;
}
#coupon-recycle-page[data-mode="orders"] > div:nth-child(2) > div:nth-child(2) > div:first-child p {
  color: #9A7A66 !important;
}
#coupon-recycle-page[data-mode="orders"] .bg-white {
  border-radius: 18px !important;
}
#coupon-recycle-page[data-mode="orders"] > div:nth-child(2) > div:nth-child(2) > div:nth-child(n+2) > div {
  border: 1px solid #EFDAC4 !important;
  box-shadow: 0 8px 20px rgba(112, 42, 17, 0.06) !important;
}
#coupon-recycle-page[data-mode="orders"] .text-xs.text-gray-400 {
  color: #A18472 !important;
}
#coupon-recycle-page[data-mode="orders"] [class*="text-[#1E40AF]"] { color: #C93B1C !important; }
#coupon-recycle-page[data-mode="orders"] button[class*="text-[#3B82F6]"] { color: #B92D14 !important; }

/* 小屏微调 */
@media (max-width: 360px) {
  #coupon-recycle-page > div:first-child > div { height: 52px !important; }
  #coupon-recycle-page > div:first-child h1 { font-size: 15px !important; letter-spacing: .6px !important; }
  #coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1) { padding-left: 12px !important; padding-right: 12px !important; }
  #coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1) > div:first-child { padding: 14px !important; border-radius: 17px !important; }
  #coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1) > div:first-child > div:first-child span { font-size: 15.5px !important; }
  #coupon-recycle-page[data-mode="recycle"] > div:nth-child(2) > div:nth-child(1) > div:first-child p { font-size: 10.5px !important; }
  #coupon-recycle-page .grid.grid-cols-2 { gap: 8px !important; }
  #coupon-recycle-page .grid.grid-cols-2 > button { min-height: 100px; padding: 10px !important; }
  #coupon-recycle-page .grid.grid-cols-2 > button > div[class*="w-10"] { width: 38px !important; height: 38px !important; }
  #coupon-recycle-page .space-y-2\.5 > button { padding: 10px !important; }
  #coupon-recycle-page .space-y-2\.5 > button > div[class*="w-14"] { width: 48px !important; height: 48px !important; }
  #coupon-recycle-page .space-y-2\.5 > button > div:nth-child(2) > div:first-child span:first-child { font-size: 18px !important; }
}


/* 窄屏分类改为三列两行，全部类型直接可见 */
@media (max-width: 430px) {
  #coupon-recycle-page div[class*="overflow-x-auto"] {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-gap: 6px !important;
    gap: 6px !important;
    overflow: visible !important;
    padding: 8px 6px !important;
  }
  #coupon-recycle-page div[class*="overflow-x-auto"] button {
    min-width: 0 !important;
    width: 100% !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}
