/* ========== CSS Variables ========== */
:root {

  /* 品牌主色（玫瑰红 - 更成熟的商业感） */
  --color-primary: #E8547A;
  --color-primary-light: #F2829E;
  --color-primary-bg: #FDF2F5;
  --color-primary-deep: #D63D64;
  --gradient-primary: linear-gradient(135deg, #E8547A 0%, #F2829E 100%);

  /* 中性色 */
  --color-bg-page: #F7F8FA;
  --color-bg-card: #FFFFFF;
  --color-text-1: #1A1A2E;
  --color-text-2: #8C8C9A;
  --color-text-3: #C4C4CC;
  --color-border: #EFEFEF;
  --color-border-light: #F5F5F5;
  --color-text-hint: #ABABAB;

  /* 性别色（降饱和，与品牌色协调） */
  --color-male: #3AAFBF;
  --color-male-bg: #EAF7F9;
  --color-female: #E866B8;
  --color-female-bg: #FCEEF7;

  /* 功能色 */
  --color-success: #34C759;
  --color-warning: #F5A623;
  --color-danger: #E5453D;
  --color-info: #5B8DEF;

  /* 阴影（轻量化，去掉彩色阴影） */
  --shadow-1: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-3: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card-brand: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-primary: 0 4px 12px rgba(232, 84, 122, 0.15);
  --shadow-sheet: 0 -2px 16px rgba(0, 0, 0, 0.08);
  --shadow-nav: 0 1px 0 rgba(0, 0, 0, 0.04);

  /* 圆角 */
  --radius-xs: 4px;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --radius-pill: 9999px;

  /* 磨砂质感 - 仅用于按钮和底部操作栏 */
  --glass-blur: blur(4px);
  --glass-blur-strong: blur(20px);

  /* 字体 */
  --font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

/* ========== Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a, button {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 12px;
}

body {
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--color-bg-page);
  color: var(--color-text-1);
  -webkit-font-smoothing: antialiased;
}

/* ========== Layout ========== */
.page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1rem;
  min-height: 100vh;
  padding-top: 62px;   /* 50px tab-bar + 12px 视觉间距 */
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

/* ========== Header ========== */
.header {
  text-align: center;
  padding: 2rem 0 1.5rem;
}

.app-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.app-desc {
  font-size: 1.1rem;
  color: #999;
}

/* ========== Top Tab Bar ========== */
.top-tab-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  z-index: 100;
  max-width: 48rem;
  margin: 0 auto;
  will-change: transform;
}

.top-tab-item {
  flex: 1;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-1);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}

.top-tab-item.active {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

/* Top Tab Bar - User Icon */
.top-tab-user {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--color-text-1);
  text-decoration: none;
  font-size: 20px;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
  flex-shrink: 0;
}
.top-tab-user:active {
  color: var(--color-primary);
}

/* ========== Profile Page ========== */
.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 16px;
  background: var(--color-bg-card);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card-brand);
  margin-bottom: 12px;
}
.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--color-primary);
  flex-shrink: 0;
  overflow: hidden;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-info {
  flex: 1;
  min-width: 0;
}
.profile-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-1);
  margin-bottom: 4px;
}
.profile-id {
  font-size: 12px;
  color: var(--color-text-2);
}

.profile-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
  padding: 16px;
  margin-bottom: 12px;
}
.profile-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-1);
  margin-bottom: 12px;
}
.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.profile-row:last-child {
  border-bottom: none;
}
.profile-row-label {
  font-size: 14px;
  color: var(--color-text-2);
}
.profile-row-value {
  font-size: 14px;
  color: var(--color-text-1);
  font-weight: 500;
}
.profile-row-action {
  font-size: 13px;
  color: var(--color-primary);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.profile-stats {
  display: flex;
  gap: 0;
}
.profile-stat-item {
  flex: 1;
  text-align: center;
  padding: 12px 0;
}
.profile-stat-item + .profile-stat-item {
  border-left: 1px solid var(--color-border);
}
.profile-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}
.profile-stat-label {
  font-size: 12px;
  color: var(--color-text-2);
  margin-top: 4px;
}

/* ========== Sheet Popup ========== */
.sheet-mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.sheet-mask.show {
  display: block;
  opacity: 1;
}
.sheet-popup {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-bg-card);
  border-radius: var(--radius-l) var(--radius-l) 0 0;
  box-shadow: var(--shadow-sheet);
  z-index: 9001;
  padding: 20px 16px 32px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-width: 48rem;
  margin: 0 auto;
}
.sheet-popup.show {
  transform: translateY(0);
}
.sheet-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-1);
  text-align: center;
  margin-bottom: 20px;
}
.sheet-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-text-2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sheet-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  padding: 0 12px;
  font-size: 15px;
  color: var(--color-text-1);
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.sheet-input:focus {
  border-color: var(--color-primary);
}
.sheet-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.sheet-input-row .sheet-input {
  flex: 1;
  margin-bottom: 0;
}
.sheet-sms-btn {
  flex-shrink: 0;
  width: 110px;
  height: 44px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s;
}
.sheet-sms-btn:disabled {
  border-color: var(--color-text-3);
  color: var(--color-text-3);
  cursor: not-allowed;
}
.sheet-submit-btn {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: var(--radius-s);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  margin-top: 8px;
}
.sheet-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.sheet-tip {
  font-size: 12px;
  color: var(--color-text-2);
  text-align: center;
  margin-top: 12px;
}

/* ========== Card ========== */
.card {
  background: var(--color-bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.card-text {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  font-size: 1.1rem;
  color: #555;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #999999;
}

/* ========== Gender Toggle ========== */
.sex-toggle {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin: 1rem 0;
}

.sex-toggle label {
  display: block;
  padding: 0.6rem 2rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #e0e0e0;
  color: #999;
  transition: all 0.2s;
  text-align: center;
}

.sex-toggle input[type="radio"] {
  display: none;
}

.sex-toggle input[type="radio"]:checked + label {
  border-color: var(--color-male);
  color: var(--color-male);
  background: var(--color-male-bg);
}

.sex-toggle input[type="radio"][value="2"]:checked + label {
  border-color: var(--color-female);
  color: var(--color-female);
  background: var(--color-female-bg);
}

/* ========== City Input ========== */
.city-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 0.8rem;
  font-size: 1rem;
  outline: none;
  margin-bottom: 1rem;
}

.city-input:focus {
  border-color: var(--color-male);
  box-shadow: 0 0 0 3px rgba(58, 175, 191, 0.1);
}

/* ========== Cost Display ========== */
.cost-display {
  text-align: center;
  padding: 0.8rem;
  color: #ff9800;
  font-size: 1rem;
  background: #fff8e1;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* ========== Button ========== */
.btn {
  display: block;
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn:active {
  opacity: 0.8;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 1.4rem;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 500;
  background: #f5f5f5;
  color: #555;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s;
}

.btn-back:active {
  opacity: 0.75;
}

.btn-primary {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #FFFFFF;
  font-weight: 500;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-primary);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 84, 122, 0.2);
}

.btn-primary:active {
  opacity: 0.85;
  transform: scale(0.98);
  transition: all 0.1s ease;
}

.btn-secondary {
  background: #f0f0f0;
  color: #666;
}

.btn-draw {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  margin: 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-draw:active {
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(232, 84, 122, 0.2);
}

/* ========== Note Card ========== */
.note-card {
  background: var(--color-bg-card);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.note-card .note-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.note-card .note-content {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-1);
  margin-bottom: 1rem;
}

/* ========== Image Gallery ========== */
.img-gallery {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.img-gallery img {
  width: calc(33.33% - 6px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-s);
  cursor: pointer;
}

/* ========== Action Buttons ========== */
.action-btns {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
}

.action-btns .btn {
  flex: 1;
}

.btn-skip {
  background: #f0f0f0;
  color: #999;
}

.btn-like {
  background: var(--gradient-primary);
  color: #fff;
}

/* ========== Tags ========== */
.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
  font-size: 0.85rem;
  background: #f0f0f0;
  color: #666;
}

.tag-male {
  background: var(--color-male-bg);
  color: var(--color-male);
}

.tag-female {
  background: var(--color-female-bg);
  color: var(--color-female);
}

.tag.selected-male {
  border-color: var(--color-male);
  color: var(--color-male);
  background: var(--color-male-bg);
}

.tag.selected-female {
  border-color: var(--color-female);
  color: var(--color-female);
  background: var(--color-female-bg);
}

.tag-pending {
  background: #fff8e1;
  color: #f57f17;
}

.tag-approved {
  background: #e8f5e9;
  color: #2e7d32;
}

.tag-rejected {
  background: #ffebee;
  color: #c62828;
}

/* ========== Publish Form ========== */
.publish-form {
  padding: 0;
}

.publish-form textarea {
  width: 100%;
  min-height: 10rem;
  padding: 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 0.8rem;
  font-size: 1rem;
  resize: vertical;
  outline: none;
  font-family: inherit;
  margin-bottom: 0.3rem;
}

.publish-form textarea:focus {
  border-color: var(--color-male);
  box-shadow: 0 0 0 3px rgba(58, 175, 191, 0.1);
}

.char-counter {
  text-align: right;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1rem;
}

.image-upload-area {
  border: 2px dashed #e0e0e0;
  border-radius: 0.8rem;
  padding: 1.5rem;
  text-align: center;
  color: #999;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.image-upload-area:active {
  border-color: var(--color-male);
}

.image-preview {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.image-preview .preview-item {
  position: relative;
  width: 5rem;
  height: 5rem;
}

.image-preview .preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.image-preview .preview-item .remove-btn {
  position: absolute;
  top: -0.3rem;
  right: -0.3rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #666;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-s);
  font-size: 1rem;
  color: var(--color-text-1);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-male);
  box-shadow: 0 0 0 3px rgba(17, 184, 203, 0.1);
}

.contact-types {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.contact-types label {
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid #e0e0e0;
  color: #666;
  transition: all 0.2s;
}

.contact-types input[type="radio"] {
  display: none;
}

.contact-types input[type="radio"]:checked + label {
  border-color: var(--color-male);
  color: var(--color-male);
  background: var(--color-male-bg);
}

/* ========== Package Cards ========== */
.pkg-grid {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.pkg-card {
  flex: 1;
  background: #fff;
  border-radius: 1rem;
  padding: 1.2rem 0.8rem;
  text-align: center;
  border: 2px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.2s;
}

.pkg-card:active {
  border-color: var(--color-male);
  background: var(--color-male-bg);
}

.pkg-card .pkg-coins {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff9800;
}

.pkg-card .pkg-unit {
  font-size: 0.9rem;
  color: #999;
}

.pkg-card .pkg-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ff9800;
  margin-top: 0.5rem;
}

/* ========== Menu List ========== */
.menu-list {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.15rem 0.6rem rgba(0, 0, 0, 0.06);
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: #333;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:active {
  background: #f9f9f9;
}

.menu-item .menu-text {
  font-size: 1.05rem;
}

.menu-item .menu-arrow {
  color: #ccc;
  font-size: 1rem;
}

/* ========== Modal ========== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 85%;
  width: 20rem;
  text-align: center;
}

.modal-content .modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.modal-content .modal-text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.modal-content .contact-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  padding: 0.8rem;
  background: #f5f5f5;
  border-radius: 0.5rem;
  margin: 1rem 0;
  word-break: break-all;
}

/* ========== Empty State ========== */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #ccc;
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 0.8rem;
  line-height: 1;
  color: #ccc;
}

.empty-state .empty-text {
  font-size: 1rem;
}

/* ========== Success Page ========== */
.success-icon {
  width: 4rem;
  height: 4rem;
  background: #4caf50;
  border-radius: 50%;
  margin: 1.5rem auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

/* ========== Section Title ========== */
.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.8rem;
  padding: 0.5rem 0;
}

/* ========== Item List ========== */
.item-list .list-item {
  background: #fff;
  border-radius: 0.8rem;
  padding: 1rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-list .list-item .item-main {
  flex: 1;
}

.item-list .list-item .item-title {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.3rem;
}

.item-list .list-item .item-sub {
  font-size: 0.85rem;
  color: #999;
}

/* ========== Loading ========== */
.loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 0.25rem solid #f0f0f0;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== Toast ========== */
.toast {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  z-index: 10000;
  max-width: 80%;
  text-align: center;
}

.toast-success {
  background: rgba(76, 175, 80, 0.9);
}

.toast-error {
  background: rgba(244, 67, 54, 0.9);
}

/* ========== Homepage Info Row ========== */
.info-row {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.info-box {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  gap: 8px;
  text-decoration: none;
  background: var(--color-bg-card);
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
}

.info-box:active {
  opacity: 0.8;
}

.info-box-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.info-box-text {
  font-size: 13px;
  white-space: nowrap;
}

.info-box-value {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.info-box-coin {
  background: rgba(255, 107, 138, 0.15);
  color: #fff;
}

.info-box-note {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #FFFFFF;
}

/* ========== Blind Box Grid ========== */
.box-grid {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.box-card {
  flex: 1;
  background: var(--color-bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 270px;
  display: flex;
  flex-direction: column;
}

.box-visual {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.box-visual-male {
  background: linear-gradient(180deg, rgba(58, 175, 191, 0.15) 0%, rgba(58, 175, 191, 0.03) 100%);
  color: var(--color-male);
}

.box-visual-female {
  background: linear-gradient(180deg, rgba(232, 102, 184, 0.15) 0%, rgba(232, 102, 184, 0.03) 100%);
  color: var(--color-female);
}

.box-label {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  padding: 6px 0;
}

.box-label-male {
  color: var(--color-male);
}

.box-label-female {
  color: var(--color-female);
}

.box-actions {
  background: #fff;
  border-radius: 10px;
  margin: 0 8px 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-store,
.btn-draw-box {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s;
}

.btn-store {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-primary);
}

.btn-draw-box {
  background: var(--color-bg-card);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-store:active,
.btn-draw-box:active {
  transform: scale(0.98);
}

/* ========== Free Badge ========== */
.free-badge {
  display: inline-block;
  background: var(--color-success);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-align: center;
  margin: 0 auto 4px;
}

.box-card {
  position: relative;
}

.box-card .free-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  margin: 0;
}

/* ========== Box Visual Icon (glow effect) ========== */
.box-visual-icon {
  filter: drop-shadow(0 0 10px currentColor);
}

/* ========== Feed Avatar Icon ========== */
.feed-avatar-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feed-avatar-male {
  background: var(--color-male-bg);
  color: var(--color-male);
}

.feed-avatar-female {
  background: var(--color-female-bg);
  color: var(--color-female);
}

/* ========== Homepage Responsive ========== */
@media (max-width: 360px) {
  .box-card {
    min-height: 250px;
  }
  .box-visual {
    height: 90px;
    font-size: 3rem;
  }  .box-actions {
    margin: 0 5px 8px;
    padding: 8px 5px;
  }
  .btn-store,
  .btn-draw-box {
    height: 38px;
    font-size: 12px;
  }
  .info-box {
    padding: 8px 10px;
  }
  .info-box-text {
    font-size: 12px;
  }
}

/* ========== Banner Carousel ========== */
.banner-carousel {
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  background: var(--color-bg-card);
  box-shadow: var(--shadow-card);
}

.banner-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease;
}

.banner-slide {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-slide-1 {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.banner-slide-2 {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #FFB8CB 100%);
}

.banner-slide-3 {
  background: linear-gradient(135deg, #FFB8CB 0%, var(--color-primary-light) 100%);
}

.banner-content {
  text-align: center;
  color: #fff;
}

.banner-emoji {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 6px;
  opacity: 0.9;
}

.banner-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.banner-desc {
  font-size: 13px;
  opacity: 0.85;
}

.banner-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}

.banner-dot.active {
  width: 16px;
  background: #fff;
}

/* ========== Feed Section ========== */
.feed-section {
  margin-top: 16px;
}

/* Feed card内的图片缩略图（广场列表中比详情页小） */
.feed-item-card .img-gallery {
  margin-top: 8px;
  margin-bottom: 0;
}

.feed-item-card .img-gallery img {
  width: 4.5rem;
  height: 4.5rem;
}

.feed-section-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  padding-left: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feed-filter-btn {
  font-size: 12px;
  color: var(--color-text-2);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.feed-filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.feed-refresh-btn {
  font-size: 12px;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb, 255, 105, 135), 0.08);
  border: 1px solid rgba(var(--color-primary-rgb, 255, 105, 135), 0.2);
  border-radius: 12px;
  padding: 3px 10px;
  cursor: pointer;
}

.feed-item-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.feed-item-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.feed-sex-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.feed-sex-male {
  background: var(--color-male-bg);
  color: var(--color-male);
}

.feed-sex-female {
  background: var(--color-female-bg);
  color: var(--color-female);
}

.feed-city {
  font-size: 12px;
  color: #999;
}

.feed-item-body {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.feed-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.feed-body-right {
  flex: 1;
  min-width: 0;
}

.feed-nickname {
  font-size: 13px;
  font-weight: 600;
  color: #576b95;
  margin-bottom: 4px;
}

.feed-text {
  font-size: 14px;
  color: var(--color-text-1);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feed-time {
  font-size: 12px;
  color: #bbb;
}

.feed-action-btn {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
}

.feed-action-btn:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  transform: scale(1.05);
}

.feed-views {
  font-size: 11px;
  color: #bbb;
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: auto;
  white-space: nowrap;
}

.feed-load-more {
  text-align: center;
  padding: 16px 0;
  font-size: 13px;
  color: #bbb;
}

.feed-action-btn:active {
  transform: scale(0.95);
}

/* ========== Half-Screen Sheet ========== */
.sheet-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 48rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-sheet);
  max-height: 85vh;
  z-index: 9001;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sheet-panel::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  background: #E0E0E0;
  border-radius: 9999px;
  margin: 12px auto 0;
  flex-shrink: 0;
}

.sheet-panel.show {
  transform: translateY(0);
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px 16px 0 0;
  flex-shrink: 0;
}

.sheet-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-1);
}

.sheet-close {
  width: 28px;
  height: 28px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.sheet-close:active {
  background: #e0e0e0;
}

.sheet-body {
  padding: 20px 16px;
  overflow-y: auto;
  flex: 1;
}

.sheet-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  color: #999;
  font-size: 14px;
}

.sheet-loading .loading-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid #f0f0f0;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

.sheet-match-result {
  text-align: center;
  padding: 20px 0;
}

.sheet-match-result .modal-title {
  margin-bottom: 12px;
}

.sheet-match-result .contact-value {
  margin: 12px 0;
}

/* ========== Publish Sheet (vp_ph style) ========== */
.pub-form {
  border: 2px solid #000;
  border-radius: 10px;
  padding: 10px;
}

.pub-props {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pub-prop {
  display: inline-block;
  font-size: 12px;
  line-height: 16px;
  color: #999;
  border-radius: 3px;
  padding: 4px 8px;
  background: #f4f4f4;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pub-prop.on {
  background: #000;
  color: #fff;
}

.pub-prop input {
  display: none;
}

.pub-textarea {
  display: block;
  width: 100%;
  height: 70px;
  border: none;
  outline: none;
  resize: none;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.5;
  padding: 10px 0;
  background: transparent;
  color: #333;
}

.pub-textarea::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.pub-uploader {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pub-uploader .preview-item {
  position: relative;
  width: 76px;
  height: 76px;
}

.pub-uploader .preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.pub-uploader .preview-item .remove-btn {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #666;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-upload-btn {
  width: 76px;
  height: 76px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ccc;
  cursor: pointer;
  background: #fff;
  -webkit-tap-highlight-color: transparent;
}

.pub-upload-btn:active {
  background: #f9f9f9;
}

.pub-contact-row {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pub-contact-select {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  padding-right: 8px;
  flex-shrink: 0;
  cursor: pointer;
}

.pub-contact-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
  color: #333;
  min-width: 0;
}

.pub-contact-input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.pub-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}

.pub-check-square {
  display: flex;
  align-items: center;
  height: 45px;
  padding: 0 10px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #ccc;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}

.pub-check-square.on {
  border-color: #000;
  background: #000;
  color: #fff;
}

.pub-submit-btn {
  flex: 1;
  display: block;
  height: 45px;
  line-height: 45px;
  border: 2px solid #000;
  background: #000;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s;
}

.pub-submit-btn:active {
  opacity: 0.7;
}

@media (max-width: 360px) {
  .pub-check-square {
    font-size: 12px;
    padding: 0 8px;
    height: 40px;
  }
  .pub-submit-btn {
    height: 40px;
    line-height: 40px;
    font-size: 13px;
  }
}

/* ========== Gender Context Classes (60-30-10 Rule) ========== */
/* Apply gender-specific colors to secondary elements based on context */
.context-male .btn-secondary {
  border: 2px solid var(--color-male);
  color: var(--color-male);
}

.context-male .btn-secondary:hover {
  background: var(--color-male-bg);
}

.context-female .btn-secondary {
  border: 2px solid var(--color-female);
  color: var(--color-female);
}

.context-female .btn-secondary:hover {
  background: var(--color-female-bg);
}

/* Link text uses gender color in context */
.link-text {
  color: var(--color-male);
  text-decoration: none;
  transition: opacity 0.2s;
}

.link-text:active {
  opacity: 0.7;
}

.context-female .link-text {
  color: var(--color-female);
}

/* ========== Draw Filter (vp_ph style) ========== */
.draw-filter {
  background: #f4f4f4;
  border-radius: 10px;
  margin-bottom: 15px;
}

.draw-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.draw-filter-label {
  font-size: 14px;
  color: #333;
}

.draw-switch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 52px;
  height: 32px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  outline: none;
  border-radius: 16px;
  background-color: #e0e0e0;
  cursor: pointer;
  transition: background-color 0.2s, border 0.2s;
  flex-shrink: 0;
}

.draw-switch::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease;
}

.draw-switch:checked {
  border-color: #07c160;
  background-color: #07c160;
}

.draw-switch:checked::before {
  transform: translateX(20px);
}

.draw-submit-btn {
  display: block;
  height: 45px;
  line-height: 45px;
  border: none;
  background: var(--gradient-primary);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s;
}

.draw-submit-btn:active {
  opacity: 0.7;
}

/* ========== Draw City Options ========== */
.draw-city-options {
  display: flex;
  gap: 8px;
  padding: 0 16px 14px;
}

.draw-city-opt {
  flex: 1;
  height: 40px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s;
}

.draw-city-opt.active {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
  color: var(--color-primary);
}

/* ========== Draw Package Buttons ========== */
.draw-pkg-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.draw-pkg-row::-webkit-scrollbar {
  display: none;
}

.draw-pkg-btn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-m);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 80px;
}

.draw-pkg-btn:active {
  transform: scale(0.96);
  background: var(--color-primary-bg);
}

.draw-pkg-btn.selected {
  background: var(--color-primary-bg);
  border: 2px solid var(--color-primary);
}

.draw-pkg-label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.draw-pkg-btn.selected .draw-pkg-label {
  color: var(--color-primary-deep);
}

.draw-pkg-price {
  font-size: 12px;
  color: #666;
}

.draw-pkg-btn.selected .draw-pkg-price {
  color: var(--color-primary);
}

/* ========== Notes Tab Switcher ========== */
.notes-tab {
  display: flex;
  border: 1.5px solid var(--color-border);
  border-radius: 2rem;
  overflow: hidden;
  margin: 0.8rem 0 1.2rem;
  background: #fff;
}

.notes-tab-item {
  flex: 1;
  text-align: center;
  padding: 0.6rem 0;
  font-size: 14px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, color 0.2s;
}

.notes-tab-item.selected {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ========== Notes Feed Item Card ========== */
.notes-feed-item {
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.notes-feed-item .nfi-text {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notes-feed-item .nfi-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.notes-feed-item .nfi-time {
  font-size: 12px;
  color: #bbb;
  flex: 1;
}

.notes-feed-item .nfi-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.notes-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #ccc;
  font-size: 1rem;
}

/* ========== Lucide Icon Styling ========== */
[data-lucide] {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.info-box-icon [data-lucide] {
  width: 1.4rem;
  height: 1.4rem;
}

.box-visual-icon [data-lucide] {
  width: 4rem;
  height: 4rem;
  filter: drop-shadow(0 0 10px currentColor);
}

.feed-avatar [data-lucide] {
  width: 16px;
  height: 16px;
}

/* ========== Fallback for browsers without backdrop-filter support ========== */
@supports not (backdrop-filter: blur(10px)) {
  .sheet-panel {
    background: rgba(255, 255, 255, 0.98);
  }

  .top-tab-bar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
}

/* ========== Skeleton Loading ========== */
@keyframes skeleton-pulse {
  0% { opacity: 0.6; }
  50% { opacity: 0.3; }
  100% { opacity: 0.6; }
}

.skeleton {
  background: var(--color-border);
  border-radius: var(--radius-s);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.skeleton-line {
  height: 14px;
  background: var(--color-border);
  border-radius: 4px;
  margin-bottom: 8px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-full { width: 100%; }
.skeleton-line.h-8 { height: 8px; }

.skeleton-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-border);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* ========== Image Lightbox ========== */
.img-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.img-lightbox img {
  max-width: 92%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-s);
}

/* ========== Reduced motion support ========== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.pay-method-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-method-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fafafa;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
  width: 100%;
  font-family: inherit;
}

.pay-method-item:active {
  background: #f0f0f0;
}

.pay-method-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pay-method-icon-wxpay {
  background: #07C160;
}

.pay-method-icon-alipay {
  background: #1677FF;
}

.pay-method-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.pay-method-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.pay-method-arrow {
  margin-left: auto;
  color: #ccc;
  font-size: 14px;
}

/* 多张连抽徽章 */
.multi-draw-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-warning));
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 8px;
  position: absolute;
  top: 0;
  right: 0;
  line-height: 1.6;
}

/* 套餐纸条列表卡片 */
.pkg-feed-item {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.pkg-content {
  font-size: 13px;
  color: #333;
  line-height: 1.4em;
  overflow: hidden;
  transition: max-height 0.2s ease;
}
