/* Only inventory promotion controls. Keep signed-photo events and public-search badges unchanged. */
.d51-inventory-hot-native [data-testid^="inventory-promotion-"]:not([data-testid="inventory-promotion-quota"]) {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  line-height: normal;
  white-space: nowrap;
}
.d51-inventory-hot-native [data-testid^="inventory-promotion-"]:not([data-testid="inventory-promotion-quota"]) > button,
.d51-inventory-hot-native .inventory-verified-preview .spot-verification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  width: 56px;
  min-width: 56px;
  height: 28px !important;
  padding: 0 !important;
  border: 1px solid !important;
  border-radius: 6px !important;
  background: #fff !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 26px !important;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.d51-inventory-hot-native [data-testid^="inventory-promotion-"] > button[aria-pressed] {
  color: #C43D3D !important;
  border-color: #F2C7C4 !important;
}
.d51-inventory-hot-native [data-testid^="inventory-promotion-"] > button[aria-pressed="true"] {
  background: #FFF3F2 !important;
  font-weight: 600 !important;
}
.d51-inventory-hot-native [data-testid^="inventory-promotion-"] > button[aria-pressed]:hover:not(:disabled) {
  background: #FFF3F2 !important;
  border-color: #E6AAA7 !important;
}
.d51-inventory-hot-native [data-testid^="inventory-promotion-"]:not([data-testid="inventory-promotion-quota"]) > button:not([aria-pressed]),
.d51-inventory-hot-native .inventory-verified-preview .spot-verification-badge {
  color: #16803C !important;
  border-color: #C8E4D0 !important;
}
.d51-inventory-hot-native [data-testid^="inventory-promotion-"]:not([data-testid="inventory-promotion-quota"]) > button:not([aria-pressed]):hover:not(:disabled),
.d51-inventory-hot-native .inventory-verified-preview .spot-verification-badge:hover {
  background: #F0F8F2 !important;
  border-color: #A9CFB3 !important;
}
.d51-inventory-hot-native .inventory-verified-preview .spot-verification-badge {
  background: #F0F8F2 !important;
  font-size: 0 !important;
  font-weight: 600 !important;
}
.d51-inventory-hot-native .inventory-verified-preview .spot-verification-badge::after {
  content: "已核验";
  font-size: 12px;
  line-height: 26px;
}
.d51-inventory-hot-native [data-testid^="inventory-promotion-"]:not([data-testid="inventory-promotion-quota"]) > button:focus-visible,
.d51-inventory-hot-native .inventory-verified-preview .spot-verification-badge:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.d51-inventory-hot-native [data-testid^="inventory-promotion-"]:not([data-testid="inventory-promotion-quota"]) > button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.d51-inventory-hot-native [data-testid^="inventory-promotion-"] > button[data-long-label="true"] { font-size: 11px !important; }
.d51-inventory-hot-native [data-testid="inventory-promotion-quota"] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding: 0;
  color: #7B8693;
  font-size: 12px;
  line-height: 28px;
}
.d51-inventory-hot-native [data-testid="inventory-promotion-quota"] .inventory-quota-label { margin-right: 4px; color: #697686; }
.d51-inventory-hot-native [data-testid="inventory-promotion-quota"] .inventory-quota-available { display: inline-flex; align-items: baseline; gap: 6px; color: #637182; }
.d51-inventory-hot-native [data-testid="inventory-promotion-quota"] .inventory-quota-available strong { color: #26394B; font-size: 18px; font-weight: 650; letter-spacing: -.25px; font-variant-numeric: tabular-nums; }
.d51-inventory-hot-native [data-testid="inventory-promotion-quota"] .inventory-quota-separator { color: #C0C7CE; margin: 0 2px; }
.d51-inventory-hot-native [data-testid="inventory-promotion-quota"] .inventory-quota-detail { color: #85909C; font-variant-numeric: tabular-nums; }
.d51-inventory-hot-native [data-testid="inventory-promotion-quota"] .inventory-quota-rules { margin-left: 5px; border: 0; background: none; padding: 0 2px; color: #687B8E; font-size: 12px; line-height: 28px; cursor: pointer; }
.d51-inventory-hot-native [data-testid="inventory-promotion-quota"] .inventory-quota-rules:hover { color: #185FA5; text-decoration: underline; }
@media (max-width: 900px) {
  .d51-inventory-hot-native [data-testid="inventory-promotion-quota"] { gap: 5px; font-size: 11px; }
  .d51-inventory-hot-native [data-testid="inventory-promotion-quota"] .inventory-quota-rules { font-size: 11px; margin-left: 3px; }
}
