/* 俱乐部会员页面 */

.member-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #fff5f0 0%, #f0faf8 50%, #f5f0ff 100%);
  padding: 20px 16px 40px;
}

.member-card {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.member-card h1 {
  font-size: 22px;
  color: #2d6a4f;
  margin-bottom: 6px;
}

.member-card > p {
  font-size: 14px;
  color: #636e72;
  margin-bottom: 22px;
}

.member-form-hint {
  font-size: 12px;
  color: #95a5a6;
  margin: -12px 0 16px;
  line-height: 1.5;
}

.member-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.member-tabs button {
  flex: 1;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.member-tabs button.active {
  border-color: #FF6B35;
  color: #FF6B35;
  background: #fff5f0;
}

.member-tabs--3 button {
  font-size: 13px;
  padding: 9px 6px;
}

.member-tabs--2 button {
  font-size: 14px;
}

.member-login-identity {
  margin: 4px 0 16px;
  padding: 12px 14px;
  background: #f8faf9;
  border: 1px solid #e8ecea;
  border-radius: 12px;
}

.member-login-identity .member-section-title {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.member-login-identity__text {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #2d5016;
}

.member-panel--hidden {
  display: none !important;
}

.hidden,
[hidden] {
  display: none !important;
}

.member-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  color: #636e72;
}

.member-form input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
}

.member-form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
}

.member-field-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #95a5a6;
}

.member-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #2d3436;
  margin: 8px 0 12px;
  padding-top: 8px;
  border-top: 1px solid #eee;
}

.address-region {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 6px;
  margin: 6px 0 10px;
}

.address-region select {
  flex: 1;
  min-width: 0;
  padding: 10px 4px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 13px;
  background: #fff;
}

.address-region select:disabled {
  background: #f5f5f5;
  color: #999;
}

.member-field-hint--address {
  margin: -6px 0 14px;
}

.code-row {
  display: flex;
  gap: 8px;
}

.code-row input { flex: 1; }

.code-row button {
  flex-shrink: 0;
  padding: 0 14px;
  border: none;
  border-radius: 10px;
  background: #2d6a4f;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.code-row button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.member-form .btn { width: 100%; margin-top: 8px; min-height: 46px; }

.member-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #999;
  font-size: 12px;
}

.member-divider::before,
.member-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e8ecef;
}

.wechat-login-btn {
  width: 100%;
  min-height: 46px;
  border: none;
  border-radius: 12px;
  background: #07c160;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.guest-link {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: #636e72;
  text-decoration: none;
}

.member-benefits {
  margin-top: 24px;
  padding: 16px;
  background: #f8f9fb;
  border-radius: 12px;
}

.member-benefits h3 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #2d3436;
}

.member-benefits li {
  font-size: 13px;
  color: #636e72;
  margin-bottom: 6px;
  list-style: none;
  padding-left: 18px;
  position: relative;
}

.member-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2d6a4f;
}

.member-profile {
  text-align: center;
}

.member-profile__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #FFD23F);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 12px;
  overflow: hidden;
}

.member-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-profile__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  background: #e8f5e9;
  color: #2d6a4f;
  font-size: 12px;
  margin-bottom: 8px;
}

.member-profile__badge--admin {
  background: #fff3e0;
  color: #e65100;
}

.member-profile__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.member-profile__account {
  font-size: 13px;
  color: #636e72;
  margin-bottom: 8px;
}

.member-profile__meta {
  font-size: 13px;
  color: #636e72;
  margin-bottom: 4px;
}

.member-profile__tag {
  display: inline-block;
  font-size: 11px;
  line-height: 1.4;
  padding: 1px 6px;
  border-radius: 4px;
  vertical-align: middle;
}

.member-profile__tag--ok {
  color: #2e7d32;
  background: #e8f5e9;
}

.member-profile__tag--warn {
  color: #e65100;
  background: #fff3e0;
}

.member-profile__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.member-bind-panel {
  margin: 16px 0 4px;
  padding: 14px;
  border-radius: 12px;
  background: #fff8f3;
  border: 1px solid #ffd8c2;
  text-align: left;
}

.member-bind-panel--sync {
  background: #f4f9f8;
  border-color: #c8e6df;
}

.member-bind-panel__title {
  margin: 0 0 6px;
  font-weight: 600;
  color: #2d3436;
}

.member-bind-panel__hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #636e72;
}

.member-bind-panel__field {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #2d3436;
}

.member-bind-panel__field input {
  display: block;
  width: 100%;
  margin-top: 6px;
}

.member-bind-panel__code {
  margin-bottom: 12px;
}

.member-bind-panel .btn {
  width: 100%;
}

.member-msg {
  font-size: 13px;
  color: #c0392b;
  min-height: 18px;
  margin-bottom: 8px;
}

.member-msg.ok { color: #2d6a4f; }

.wechat-login-block--hidden {
  display: none;
}

.wechat-login-hint {
  margin-top: 10px;
  font-size: 12px;
  color: #95a5a6;
  text-align: center;
  line-height: 1.5;
}

.member-form .btn:disabled,
.wechat-login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.member-back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  color: #FF6B35;
  text-decoration: none;
}

.member-card--wide {
  max-width: 520px;
}

.member-avatar-edit {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 8px;
}

.member-avatar-edit__preview {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #FFD23F);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.member-avatar-edit__img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-avatar-edit__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  line-height: 1;
  pointer-events: none;
}

.member-avatar-edit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.member-avatar-edit__upload {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.member-avatar-edit__hint {
  margin-top: 8px;
  text-align: center;
}

.avatar-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.avatar-crop-modal.hidden {
  display: none !important;
}

.avatar-crop-modal__box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.avatar-crop-modal__title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: #2d3436;
  text-align: center;
}

.avatar-crop-modal__stage {
  width: 100%;
  height: min(60vw, 320px);
  max-height: 320px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
}

.avatar-crop-modal__stage img {
  display: block;
  max-width: 100%;
}

.avatar-crop-modal__hint {
  margin: 10px 0 0;
  text-align: center;
}

.avatar-crop-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.avatar-crop-modal__actions .btn {
  width: 100%;
  margin: 0;
  min-height: 44px;
}

.member-admin-desc {
  font-size: 13px;
  color: #95a5a6;
  margin: -8px 0 16px;
}

.member-admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

.member-admin-toolbar--secondary {
  display: block;
  margin-top: -4px;
}

.member-admin-toolbar--secondary .btn {
  width: 100%;
  box-sizing: border-box;
}

.member-admin-toolbar input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
}

.member-admin-toolbar .btn {
  width: 100%;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.member-admin-count {
  font-size: 12px;
  color: #95a5a6;
  margin-bottom: 10px;
}

.member-admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-admin-empty {
  text-align: center;
  color: #95a5a6;
  padding: 24px 0;
  font-size: 14px;
}

.member-admin-item {
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fafafa;
  overflow: hidden;
}

.member-admin-item.is-expanded {
  border-color: #ffd8c2;
  background: #fff;
}

.member-admin-item__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.member-admin-item__main {
  flex: 1;
  min-width: 0;
}

.member-admin-item__toggle {
  flex-shrink: 0;
  font-size: 12px;
  color: #FF6B35;
  white-space: nowrap;
}

.member-admin-item__detail {
  display: none;
  padding: 0 14px 14px;
}

.member-admin-item.is-expanded .member-admin-item__detail {
  display: block;
}

.member-admin-detail-grid {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.member-admin-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
}

.member-admin-detail-row dt {
  margin: 0;
  color: #95a5a6;
  flex-shrink: 0;
}

.member-admin-detail-row dd {
  margin: 0;
  text-align: right;
  color: #2d3436;
  word-break: break-all;
}

.member-admin-detail-loading {
  margin: 0;
  padding: 12px 0 4px;
  font-size: 13px;
  color: #95a5a6;
  text-align: center;
}

.member-admin-item__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.member-admin-item__head strong {
  font-size: 15px;
  color: #2d3436;
}

.member-admin-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #e8f5e9;
  color: #2d6a4f;
}

.member-admin-badge--admin {
  background: #fff3e0;
  color: #e65100;
}

.member-admin-item__meta {
  font-size: 12px;
  color: #636e72;
  margin: 2px 0;
}

.member-admin-item__actions {
  margin-top: 10px;
}

.member-admin-item__actions .btn--sm {
  padding: 6px 12px;
  font-size: 13px;
}

.member-admin-self {
  font-size: 12px;
  color: #95a5a6;
}

.member-admin-more {
  margin-top: 14px;
  text-align: center;
}

.member-admin-more.hidden {
  display: none;
}

.member-admin-toolbar--filters {
  flex-wrap: wrap;
  gap: 8px;
}

.member-admin-toolbar--filters select,
.member-admin-toolbar--filters input {
  flex: 1 1 120px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #dfe6e9;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
}

.reg-admin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 4px;
}

.reg-admin-stats__item {
  background: #f8faf9;
  border: 1px solid #e0ece6;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.reg-admin-stats__item strong {
  display: block;
  font-size: 22px;
  color: #2d6a4f;
  line-height: 1.2;
}

.reg-admin-stats__item span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #636e72;
}

.event-admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.event-admin-card {
  display: block;
  padding: 16px 16px 14px;
  border: 1px solid #e0ece6;
  border-radius: 14px;
  background: #f8faf9;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, background .15s ease;
}

.event-admin-card:active,
.event-admin-card:hover {
  border-color: #2d6a4f;
  background: #f1f8f4;
}

.event-admin-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #1b4332;
  line-height: 1.35;
}

.event-admin-card__desc {
  margin-top: 6px;
  font-size: 13px;
  color: #636e72;
  line-height: 1.4;
}

.event-admin-card__action {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #2d6a4f;
}

.reg-clear-confirm {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.reg-clear-confirm.hidden { display: none; }
.reg-clear-confirm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.reg-clear-confirm__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 12px 24px;
  padding: 20px 16px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.reg-clear-confirm__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: #c0392b;
}
.reg-clear-confirm__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #636e72;
}
.reg-clear-confirm__actions {
  display: flex;
  gap: 10px;
}
.reg-clear-confirm__actions .btn {
  flex: 1;
}

.reg-admin-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

.reg-admin-badge--paid {
  background: #d8f3dc;
  color: #1b4332;
}

.reg-admin-badge--unpaid {
  background: #fff3cd;
  color: #856404;
}

.reg-admin-badge--active {
  background: #e8f5e9;
  color: #2d6a4f;
}

.reg-admin-badge--cancelled {
  background: #fde8e8;
  color: #922b21;
}

.reg-admin-table-wrap {
  overflow-x: auto;
  margin-top: 10px;
  border: 1px solid #e8ecef;
  border-radius: 10px;
}

.reg-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 720px;
}

.reg-admin-table th,
.reg-admin-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #eef1f3;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
}

.reg-admin-table th {
  background: #f5f7f8;
  color: #636e72;
  font-weight: 600;
}

.reg-admin-detail-grid {
  margin-bottom: 4px;
}

.reg-admin-empty {
  margin: 8px 0 0;
  color: #636e72;
  font-size: 13px;
}

.reg-admin-interest {
  min-width: 160px;
  line-height: 1.45;
}

.reg-admin-interest__item {
  margin: 0 0 4px;
  color: #2d3436;
}

.reg-admin-interest__item span {
  display: inline-block;
  min-width: 2em;
  margin-right: 4px;
  color: #636e72;
}

.reg-admin-interest__item:last-child {
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .reg-admin-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.reg-checkin-panel {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid #c8e6c9;
  border-radius: 12px;
  background: #f1f8f4;
}
.reg-checkin-panel.hidden { display: none; }
.reg-checkin-panel__title { margin: 0 0 8px; font-size: 18px; color: #1b4332; }
.reg-checkin-panel__desc { margin: 0 0 12px; font-size: 13px; color: #555; line-height: 1.5; }
.reg-checkin-panel__qr-wrap { display: flex; justify-content: center; margin: 12px 0; }
.reg-checkin-panel__url { font-size: 12px; word-break: break-all; color: #2d6a4f; margin: 0 0 6px; }
.reg-checkin-panel__meta { font-size: 12px; color: #666; margin: 0 0 8px; }
.reg-checkin-panel__stats { font-size: 12px; color: #2d6a4f; margin: 0 0 12px; line-height: 1.5; }
.reg-checkin-panel__qr { display: block; border-radius: 8px; }
.reg-checkin-panel__qr-fallback { font-size: 12px; color: #856404; padding: 12px; }

.reg-checkin-progress {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid #d7e3f4;
  border-radius: 12px;
  background: #f7faff;
}
.reg-checkin-progress__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.reg-checkin-progress__title {
  margin: 0;
  font-size: 18px;
  color: #1b4332;
}
.reg-checkin-progress__summary {
  margin: 0 0 12px;
  font-size: 13px;
  color: #2d6a4f;
  line-height: 1.5;
}
.reg-checkin-progress__list {
  display: grid;
  gap: 12px;
}
.reg-checkin-team {
  border: 1px solid #e0e7ef;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.reg-checkin-team__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  user-select: none;
}
.reg-checkin-team__swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}
.reg-checkin-team__swatch--light {
  border-color: #bbb;
}
.reg-checkin-team__meta {
  flex: 1;
  min-width: 0;
}
.reg-checkin-team__name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1b4332;
}
.reg-checkin-team__sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: #666;
}
.reg-checkin-team__counts {
  font-size: 13px;
  font-weight: 600;
  color: #2d6a4f;
  white-space: nowrap;
}
.reg-checkin-team__counts--warn { color: #c62828; }
.reg-checkin-team__body {
  display: none;
  padding: 0 14px 14px;
  border-top: 1px solid #eef2f6;
}
.reg-checkin-team.is-open .reg-checkin-team__body { display: block; }
.reg-checkin-team__section {
  margin-top: 12px;
}
.reg-checkin-team__section-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #455a64;
}
.reg-checkin-team__names {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.reg-checkin-team__names li {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eceff1;
  color: #37474f;
}
.reg-checkin-team__names li.is-done {
  background: #e8f5e9;
  color: #2e7d32;
}
.reg-checkin-team__names li.is-pending {
  background: #fff3e0;
  color: #ef6c00;
}
.reg-checkin-team__empty {
  margin: 0;
  font-size: 12px;
  color: #999;
}

.reg-checkin-save-sheet {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.reg-checkin-save-sheet.hidden { display: none; }
.reg-checkin-save-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.reg-checkin-save-sheet__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 20px 16px 16px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.reg-checkin-save-sheet__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #666;
  padding: 4px 8px;
}
.reg-checkin-save-sheet__title {
  margin: 0 0 8px;
  font-size: 17px;
  color: #1b4332;
}
.reg-checkin-save-sheet__hint {
  margin: 0 0 12px;
  font-size: 14px;
  color: #2d6a4f;
}
.reg-checkin-save-sheet__qr {
  display: block;
  margin: 0 auto 12px;
  border-radius: 8px;
  -webkit-touch-callout: default;
  user-select: none;
}
.reg-checkin-save-sheet__url,
.reg-checkin-save-sheet__meta {
  font-size: 11px;
  color: #666;
  word-break: break-all;
  margin: 0 0 6px;
  line-height: 1.5;
}
.reg-checkin-save-sheet__download { margin-top: 8px; width: 100%; }

@media print {
  body.reg-checkin-print-mode .member-back,
  body.reg-checkin-print-mode .member-admin-toolbar,
  body.reg-checkin-print-mode .reg-admin-stats,
  body.reg-checkin-print-mode .member-msg,
  body.reg-checkin-print-mode .member-admin-count,
  body.reg-checkin-print-mode .reg-admin-list,
  body.reg-checkin-print-mode .member-admin-more,
  body.reg-checkin-print-mode #reg-checkin-print-btn,
  body.reg-checkin-print-mode .reg-checkin-panel__stats {
    display: none !important;
  }
  body.reg-checkin-print-mode .reg-checkin-panel {
    display: block !important;
    border: none;
    background: #fff;
    margin: 0;
    padding: 0;
  }
  body.reg-checkin-print-mode .reg-checkin-panel.hidden {
    display: block !important;
  }
  body.reg-checkin-print-mode .member-card {
    box-shadow: none;
    border: none;
    max-width: none;
    padding: 0;
  }
}

/* 好物订单 */
.shop-order-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.shop-order-detail__title {
  font-size: 14px;
  font-weight: 600;
  color: #2d3436;
  margin: 14px 0 8px;
}

.shop-order-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-order-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f8faf9;
  border: 1px solid #e8ecea;
  border-radius: 10px;
}

.shop-order-item__thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.shop-order-item__emoji {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.shop-order-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shop-order-item__info strong {
  font-size: 14px;
  color: #2d3436;
}

.shop-order-item__variant {
  font-size: 12px;
  color: #2d6a4f;
  font-weight: 600;
}

.shop-order-item__info span {
  font-size: 12px;
  color: #636e72;
}

.shop-order-item__subtotal {
  font-size: 14px;
  font-weight: 600;
  color: #2d6a4f;
  flex-shrink: 0;
}

.reg-admin-badge--ship-pending {
  background: #fff3e0;
  color: #e65100;
}

.reg-admin-badge--shipped {
  background: #e3f2fd;
  color: #1565c0;
}

/* 好物订单管理 - 查询与操作区 */
.shop-admin-panel {
  background: #f8faf9;
  border: 1px solid #e8ecea;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.shop-admin-filters__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shop-admin-filters__row + .shop-admin-filters__row {
  margin-top: 8px;
}

.shop-admin-filters__row--search {
  grid-template-columns: minmax(0, 1fr) 72px;
}

.shop-admin-select,
.shop-admin-search {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #dfe6e9;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}

.shop-admin-search-btn {
  width: 100%;
  padding: 10px 0;
  font-size: 14px;
}

.shop-admin-panel--actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shop-order-select-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #636e72;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
}

.shop-order-select-all span {
  white-space: nowrap;
}

.shop-order-select-all input {
  width: 18px;
  height: 18px;
  accent-color: #2d6a4f;
  flex-shrink: 0;
}

.shop-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.shop-admin-actions .btn--sm {
  padding: 8px 12px;
  font-size: 13px;
  white-space: nowrap;
  width: auto;
}

.shop-order-card__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
}

.shop-order-card__body {
  flex: 1;
  min-width: 0;
}

.shop-order-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.shop-order-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.shop-order-card__badges .reg-admin-badge {
  white-space: nowrap;
}

.shop-order-card__toggle {
  border: 0;
  background: transparent;
  color: #FF6B35;
  font-size: 13px;
  white-space: nowrap;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.shop-order-card__no {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #2d3436;
  word-break: break-all;
  line-height: 1.4;
}

.shop-order-card__grid {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 4px 10px;
  font-size: 13px;
}

.shop-order-card__label {
  color: #95a5a6;
}

.shop-order-card__value {
  color: #2d3436;
  word-break: break-all;
}

.shop-order-card__detail {
  padding: 0 12px 12px 50px;
}

.shop-order-card--member .shop-order-card__body--member {
  padding: 12px;
}

.shop-order-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #2d3436;
  line-height: 1.4;
}

.shop-order-card__detail--member {
  padding: 0 12px 12px;
}

.shop-order-check {
  flex: 0 0 24px;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.shop-order-check--placeholder {
  visibility: hidden;
}

.shop-order-check__input {
  width: 18px;
  height: 18px;
  accent-color: #2d6a4f;
}

@media (max-width: 420px) {
  .shop-admin-panel--actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-admin-actions {
    justify-content: flex-start;
  }

  .shop-order-card__detail {
    padding-left: 12px;
  }
}

.shop-order-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.shop-order-toolbar__input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 14px;
}

.shop-order-toolbar__select {
  flex: 0 0 auto;
  padding: 10px 12px;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
}

.shop-order-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shop-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
}

.shop-pay-modal__panel {
  position: relative;
  width: min(100%, 360px);
  padding: 28px 24px 24px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.shop-pay-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #636e72;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.shop-pay-modal h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #2d3436;
}

.shop-pay-modal__amount {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--c-text-light);
}

.shop-pay-modal__amount strong {
  font-size: 22px;
  color: var(--c-primary);
}

.shop-pay-modal__qr {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  margin-bottom: 12px;
}

.shop-pay-modal__qr canvas {
  border-radius: 8px;
}

.shop-pay-modal__hint,
.shop-pay-modal__status,
.shop-pay-modal__order {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-light);
}

.shop-pay-modal__status {
  margin-top: 8px;
  color: #2d6a4f;
}

.shop-pay-modal__order {
  margin-top: 8px;
  font-size: 12px;
  word-break: break-all;
}

.shop-pay-modal__check {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background: #07c160;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.shop-pay-modal__check:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.shop-pay-modal__error {
  margin: 0;
  font-size: 13px;
  color: #d63031;
}

