* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  min-height: 100vh;
  padding-bottom: 40px;
}

.header {
  padding: 40px 20px 30px;
  text-align: center;
}

.title {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.status-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.status-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
}

.status-tag {
  background: rgba(255,200,100,0.9);
  color: #8B4513;
  font-weight: 500;
}

.help-icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
}

.help-icon:hover {
  background: rgba(255,255,255,0.3);
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 标签切换 */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.2);
  padding: 6px;
  border-radius: 12px;
}

.tabs.tabs-row2 {
  margin-bottom: 20px;
}

.tab-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,0.8);
  transition: all 0.2s;
}

.tab-btn:hover {
  background: rgba(255,255,255,0.1);
}

.tab-btn.active {
  background: #fff;
  color: #667eea;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* 光翼数据 */
.wings-data {
  animation: fadeIn 0.3s ease;
}

.wings-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 光翼三列布局 */
.wings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.wings-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.column-title {
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
  padding-bottom: 8px;
  border-bottom: 2px solid #667eea;
  margin-bottom: 4px;
}

.column-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #f59e0b;
  padding: 8px 0 6px;
  margin-top: 12px;
  border-top: 1px dashed #e0e0e0;
}

.wings-stat-card {
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.wings-stat-card.total {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wings-stat-card.oncloak {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.wings-stat-card.normal {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.wings-stat-card.permanent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.wings-stat-card .stat-label {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  margin-bottom: 6px;
}

.wings-stat-card .stat-value {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  word-break: break-all;
}

.wings-note {
  font-size: 12px;
  color: #666;
  padding: 8px 12px;
  background: #f0f9ff;
  border-radius: 8px;
  text-align: center;
}

/* 额外统计信息 */
.wings-extra-stats {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 12px;
  margin-top: 4px;
}

.extra-stat-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: #555;
  border-bottom: 1px dashed #e0e0e0;
}

.extra-stat-item:last-child {
  border-bottom: none;
}

.extra-stat-item.highlight {
  color: #667eea;
  font-weight: 600;
}

.extra-stat-item.highlight span:last-child {
  color: #10b981;
  font-size: 15px;
}

.wings-map-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 13px;
}

.wings-map-item .map-name {
  color: #555;
}

.wings-map-item .map-value {
  color: #333;
  font-weight: 600;
}

/* 未收集光翼 */
.uncollected-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.uncollected-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.uncollected-item {
  padding: 8px 12px;
  background: #fef3c7;
  border-radius: 6px;
  font-size: 12px;
  color: #92400e;
}

@media (max-width: 600px) {
  .wings-grid {
    grid-template-columns: 1fr;
  }
  .uncollected-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: #fff !important;
  border-radius: 16px !important;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s;
  background: #fafafa;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.info-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #856404;
}

.info-tip.tip-pink {
  background: linear-gradient(135deg, #ffe4ec 0%, #ffb6c1 100%);
  color: #9c3353;
}

.tip-icon {
  font-size: 16px;
}

.btn-group {
  display: flex !important;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  flex: 1;
  min-width: 100px;
  padding: 14px 24px;
  border: none;
  border-radius: 8px !important;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102,126,234,0.5);
}

.btn-primary:disabled {
  background: #ccc;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.btn-secondary {
  background: #fff;
  color: #e74c3c;
  border: 1px solid #e0e0e0;
}

.btn-secondary:hover {
  background: #fafafa;
}

.btn-buy {
  background: linear-gradient(135deg, #ff9500 0%, #ff5e3a 100%);
  color: #fff;
  border: none;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,149,0,0.4);
}

/* 结果卡片 */
.result-card {
  padding: 20px;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.result-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.result-status {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
}

.result-status.success {
  background: #d4edda;
  color: #155724;
}

.result-status.error {
  background: #f8d7da;
  color: #721c24;
}

/* Loading */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: #666;
  gap: 12px;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #f0f0f0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 身高数据 */
.height-data {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.data-row.main-height {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.main-height .data-label {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin-bottom: 8px;
}

.main-height .data-value {
  display: block;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}

.main-height .data-desc {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  margin-top: 8px;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .data-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.data-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.data-item .data-label {
  display: block;
  color: #888;
  font-size: 12px;
  margin-bottom: 6px;
}

.data-item .data-value {
  display: block;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

/* 装扮信息 */
.adorn-section {
  border-top: 1px solid #eee;
  padding-top: 16px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.adorn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (max-width: 600px) {
  .adorn-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.adorn-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 13px;
}

.adorn-item .adorn-label {
  color: #888;
}

.adorn-item .adorn-value {
  color: #333;
  font-weight: 500;
}

/* 错误信息 */
.error-msg {
  text-align: center;
  padding: 30px;
  color: #e74c3c;
  font-size: 14px;
}

/* 原始 JSON */
.raw-json {
  margin-top: 16px;
  border-top: 1px solid #eee;
  padding-top: 12px;
}

.raw-json summary {
  cursor: pointer;
  color: #888;
  font-size: 13px;
  padding: 8px 0;
}

.raw-json pre {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 12px;
  margin-top: 8px;
  max-height: 200px;
  overflow-y: auto;
}

/* 弹窗 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  overflow-y: auto;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-weight: 500;
}

.modal-close {
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 20px;
}

.modal-body p {
  margin-bottom: 12px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.modal-body strong {
  color: #333;
}

/* 帮助步骤 */
.help-step {
  margin: 16px 0;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 12px;
}

.help-step .step-text {
  font-size: 13px;
  color: #667eea;
  font-weight: 500;
  margin-bottom: 10px;
}

.help-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
  .header { padding: 30px 16px 24px; }
  .title { font-size: 22px; }
  .card { padding: 20px 16px; }
  .main-height .data-value { font-size: 30px; }
}

/* 每日攻略按钮 */
.daily-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.daily-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.daily-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102,126,234,0.5);
}

.daily-btn:disabled {
  background: #ccc;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.daily-btn:first-child {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 15px rgba(16,185,129,0.4);
}

.daily-btn:first-child:hover {
  box-shadow: 0 6px 20px rgba(16,185,129,0.5);
}

.daily-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.daily-text {
  font-size: 14px;
  font-weight: 500;
}

/* 每日攻略图片 */
.daily-image-container {
  text-align: center;
}

.daily-images-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.daily-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
}

.daily-section .section-header {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #667eea;
}

.daily-image-wrapper {
  text-align: center;
}

.daily-image {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  cursor: zoom-in;
  transition: transform 0.2s;
}

.daily-image:hover {
  transform: scale(1.02);
}

.image-tip {
  margin-top: 12px;
  font-size: 12px;
  color: #888;
  text-align: center;
}

/* 图片放大弹窗 */
.image-modal {
  background: rgba(0,0,0,0.9);
  padding: 0;
}

.image-modal-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
}

.image-modal .modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 32px;
  z-index: 10;
}

.modal-full-image {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .daily-btns {
    grid-template-columns: 1fr;
  }
  .daily-btn {
    padding: 20px 16px;
  }
  .daily-icon {
    font-size: 28px;
  }
}

/* 家居城样式 */
.furniture-data {
  animation: fadeIn 0.3s ease;
}

.furniture-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.status-icon {
  font-size: 24px;
}

.status-text {
  margin-left: 4px;
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 12px;
}

.furniture-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}

.countdown-icon {
  font-size: 20px;
}

.countdown-time {
  font-weight: 700;
  font-size: 16px;
}

.furniture-week {
  padding: 12px 16px;
  background: #f0f9ff;
  border-radius: 10px;
  margin-bottom: 16px;
}

.week-info {
  color: #0369a1;
  font-size: 14px;
}

.furniture-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #667eea;
}

.furniture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.furniture-item {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: #f8f9fa;
  border-radius: 10px;
  text-align: center;
}

.furniture-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.furniture-price {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}

.furniture-price.candle {
  background: #fef3c7;
  color: #92400e;
}

.furniture-price.heart {
  background: #fce7f3;
  color: #be185d;
}

.no-data {
  text-align: center;
  padding: 20px;
  color: #888;
  font-size: 14px;
}

@media (max-width: 480px) {
  .furniture-grid {
    grid-template-columns: 1fr;
  }
}

/* 悬浮按钮 - 小陈老家 */
.floating-btn {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 70px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: all 0.3s;
  z-index: 100;
}

.floating-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}

.float-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.float-text {
  font-size: 10px;
  color: #fff;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

/* 状态弹窗 */
.status-modal-content {
  max-width: 500px;
}

.status-query-section {
  margin-bottom: 16px;
}

.status-query-btn {
  width: 100%;
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.status-item-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: #f8f9fa;
  border-radius: 10px;
  text-align: center;
}

.status-item-card .status-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.status-item-card .status-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  word-break: break-all;
}

.status-value.status-ok {
  color: #10b981;
}

.status-value.status-error {
  color: #ef4444;
}

.status-text {
  padding: 16px;
  background: #f8f9fa;
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.status-time {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #888;
  text-align: center;
}

/* ========== 手机端适配 ========== */
@media (max-width: 768px) {
  /* 标签栏 - 两行都适用 */
  .tabs,
  .tabs.tabs-row2 {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px;
    gap: 6px;
  }
  
  .tabs::-webkit-scrollbar,
  .tabs.tabs-row2::-webkit-scrollbar {
    display: none;
  }
  
  .tabs .tab-btn,
  .tabs.tabs-row2 .tab-btn {
    flex: 0 0 auto;
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
    min-width: fit-content;
  }
  
  /* 悬浮按钮 */
  .floating-btn {
    right: 10px;
    width: 50px;
    height: 60px;
  }
  
  .float-icon {
    font-size: 20px;
  }
  
  .float-text {
    font-size: 9px;
  }
  
  /* 状态弹窗 */
  .status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  /* 头部 */
  .header {
    padding: 24px 12px 20px;
  }
  
  .title {
    font-size: 20px;
    margin-bottom: 16px;
  }
  
  /* 容器 */
  .container {
    padding: 0 12px;
  }
  
  /* 卡片 */
  .card {
    padding: 16px;
    border-radius: 12px;
  }
  
  /* 表单 */
  .form-input {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .info-tip {
    padding: 10px 12px;
    font-size: 12px;
  }
  
  /* 按钮 */
  .btn {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .btn-group {
    flex-direction: column;
    gap: 10px;
  }
  
  /* 光翼三列变单列 */
  .wings-grid {
    grid-template-columns: 1fr;
  }
  
  .wings-stat-card {
    padding: 14px;
  }
  
  .wings-stat-card .stat-value {
    font-size: 16px;
  }
  
  .column-title {
    font-size: 13px;
  }
  
  .wings-map-item {
    padding: 8px 10px;
    font-size: 12px;
  }
  
  .uncollected-item {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  /* 身高数据 */
  .data-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .data-item {
    padding: 12px 10px;
  }
  
  .data-item .data-label {
    font-size: 11px;
  }
  
  .data-item .data-value {
    font-size: 16px;
  }
  
  .main-height .data-value {
    font-size: 28px;
  }
  
  /* 装扮 */
  .adorn-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  
  .adorn-item {
    padding: 8px 10px;
    font-size: 12px;
  }
  
  /* 每日攻略 */
  .daily-btns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .daily-btn {
    padding: 18px 14px;
  }
  
  .daily-icon {
    font-size: 26px;
  }
  
  .daily-text {
    font-size: 13px;
  }
  
  /* 家居城 */
  .furniture-grid {
    grid-template-columns: 1fr;
  }
  
  .furniture-status {
    padding: 12px;
    font-size: 14px;
  }
  
  .furniture-countdown {
    padding: 12px;
    font-size: 13px;
  }
  
  .furniture-item {
    padding: 12px;
  }
  
  .furniture-name {
    font-size: 13px;
  }
  
  /* 弹窗 */
  .modal-content {
    max-width: 95vw;
    margin: 10px;
  }
  
  .modal-header {
    padding: 14px 16px;
    font-size: 15px;
  }
  
  .modal-body {
    padding: 16px;
  }
  
  /* 图片弹窗 */
  .image-modal-content {
    max-width: 98vw;
  }
  
  .modal-full-image {
    max-width: 98vw;
    max-height: 85vh;
  }
  
  /* 结果卡片 */
  .result-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .result-title {
    font-size: 15px;
  }
  
  /* 原始JSON */
  .raw-json pre {
    font-size: 11px;
    padding: 10px;
  }
}

@media (max-width: 400px) {
  .title {
    font-size: 18px;
  }
  
  .tab-btn {
    padding: 8px 10px;
    font-size: 12px;
  }
  
  .card {
    padding: 14px;
  }
  
  .data-grid {
    gap: 6px;
  }
  
  .data-item {
    padding: 10px 8px;
  }
  
  .main-height .data-value {
    font-size: 24px;
  }
  
  .wings-stat-card .stat-value {
    font-size: 14px;
  }
  
  .floating-btn {
    right: 8px;
    width: 45px;
    height: 55px;
  }
  
  .float-icon {
    font-size: 18px;
  }
  
  .float-text {
    font-size: 8px;
  }
}


/* ========== 新功能样式 ========== */

/* 公告样式 */
.announcement-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.announcement-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
}

.section-header {
  font-size: 15px;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #667eea;
}

.announcement-text {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  white-space: pre-wrap;
}

.announcement-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #e0e0e0;
}

.announcement-item:last-child {
  border-bottom: none;
}

.item-label {
  color: #666;
  font-size: 13px;
}

.item-value {
  color: #333;
  font-weight: 500;
  font-size: 13px;
}

.calendar-image-container {
  text-align: center;
  margin-top: 12px;
}

.calendar-image {
  max-width: 100%;
  border-radius: 10px;
  cursor: zoom-in;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.calendar-image:hover {
  transform: scale(1.02);
}

/* 活动货币样式 */
.currency-content {
  padding: 8px 0;
}

.currency-text {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  background: #f8f9fa;
  padding: 16px;
  border-radius: 10px;
}

.currency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.currency-item {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 10px;
  text-align: center;
}

.currency-label {
  font-size: 12px;
  color: #92400e;
  margin-bottom: 6px;
}

.currency-value {
  font-size: 18px;
  font-weight: 700;
  color: #78350f;
}

.currency-btn:first-child {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.currency-btn:first-child:hover {
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

/* 季节样式 */
.season-content {
  padding: 8px 0;
}

.season-text {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  padding: 16px;
  border-radius: 10px;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.season-item {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-radius: 10px;
  text-align: center;
}

.season-label {
  font-size: 12px;
  color: #9d174d;
  margin-bottom: 6px;
}

.season-value {
  font-size: 16px;
  font-weight: 600;
  color: #831843;
  word-break: break-all;
}

/* 活动复刻样式 */
.event-content {
  padding: 8px 0;
}

.event-text {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  padding: 16px;
  border-radius: 10px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.event-item {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  border-radius: 10px;
  text-align: center;
}

.event-label {
  font-size: 12px;
  color: #6d28d9;
  margin-bottom: 6px;
}

.event-value {
  font-size: 16px;
  font-weight: 600;
  color: #5b21b6;
  word-break: break-all;
}

.event-btn:first-child {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.event-btn:first-child:hover {
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* 新功能手机端适配 */
@media (max-width: 768px) {
  .tabs.tabs-row2 {
    margin-bottom: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px;
  }
  
  .tabs.tabs-row2::-webkit-scrollbar {
    display: none;
  }
  
  .tabs.tabs-row2 .tab-btn {
    flex: 0 0 auto;
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .currency-grid,
  .season-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }
  
  .announcement-section {
    padding: 12px;
  }
  
  .section-header {
    font-size: 14px;
  }
  
  .announcement-text,
  .currency-text,
  .season-text,
  .event-text {
    font-size: 13px;
    padding: 12px;
  }
}

@media (max-width: 400px) {
  .currency-item,
  .season-item,
  .event-item {
    padding: 12px;
  }
  
  .currency-value {
    font-size: 16px;
  }
  
  .season-value,
  .event-value {
    font-size: 14px;
  }
}

/* 信息卡片样式 */
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-card {
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  border-left: 4px solid #667eea;
}

.info-card.msg-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}

.info-card.highlight-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-left: none;
}

.info-card.highlight-card .card-label {
  color: rgba(255,255,255,0.8);
}

.info-card.highlight-card .card-value {
  color: #fff;
  font-size: 18px;
}

.card-label {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.card-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

/* 季节内容特殊样式 */
.season-content .info-cards {
  gap: 12px;
}

.season-content .info-card.msg-card {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-left-color: #ec4899;
}

/* 活动内容特殊样式 */
.event-content .info-cards {
  gap: 12px;
}

.event-content .info-card.msg-card {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  border-left-color: #8b5cf6;
}

/* 货币内容特殊样式 */
.currency-content .info-cards {
  gap: 12px;
}

.currency-content .info-card.msg-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left-color: #f59e0b;
}

/* 公告内容特殊样式 */
.announcement-section .info-cards {
  gap: 10px;
}

.announcement-section .info-card.msg-card {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-left-color: #10b981;
}

@media (max-width: 600px) {
  .info-card {
    padding: 10px 12px;
  }
  
  .info-card.msg-card {
    font-size: 13px;
  }
  
  .card-value {
    font-size: 14px;
  }
}


/* ========== 公告样式优化 ========== */
.announce-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  padding: 12px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
}

.announce-title.xiaomi {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  margin-top: 16px;
}

.announce-content {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  padding: 16px;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid #667eea;
}

.announce-content.xiaomi {
  border-left-color: #ff6b35;
}

.announce-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #ddd, transparent);
  margin: 20px 0;
}

/* ========== 货币样式优化 ========== */
.currency-info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  border-left: 4px solid #f59e0b;
}

.currency-icon {
  font-size: 32px;
}

.currency-msg {
  font-size: 15px;
  color: #78350f;
  font-weight: 500;
  line-height: 1.6;
}

/* ========== 活动指南样式 ========== */
.event-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  padding: 12px 16px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  border-radius: 10px;
  margin-bottom: 16px;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-item {
  padding: 14px 16px;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid #8b5cf6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.event-item.expired {
  opacity: 0.6;
  border-left-color: #9ca3af;
}

.event-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.event-time {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.time-label {
  color: #888;
}

.time-value {
  color: #333;
}

.event-remaining {
  font-size: 13px;
  color: #10b981;
  font-weight: 500;
  padding: 6px 10px;
  background: #ecfdf5;
  border-radius: 6px;
  display: inline-block;
}

.event-remaining.expired {
  color: #9ca3af;
  background: #f3f4f6;
}

/* ========== 旅行先祖复刻样式 ========== */
.ancestor-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  border-radius: 10px;
  margin-bottom: 12px;
}

.ancestor-content {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  padding: 16px;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-radius: 10px;
  border-left: 4px solid #ec4899;
}

.ancestor-time {
  font-size: 12px;
  color: #888;
  text-align: right;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e0e0e0;
}

/* 手机端适配 */
@media (max-width: 600px) {
  .announce-title,
  .event-title,
  .ancestor-title {
    font-size: 14px;
    padding: 10px 14px;
  }
  
  .announce-content,
  .ancestor-content {
    font-size: 13px;
    padding: 12px;
  }
  
  .currency-info-card {
    padding: 16px;
  }
  
  .currency-icon {
    font-size: 28px;
  }
  
  .currency-msg {
    font-size: 14px;
  }
  
  .event-item {
    padding: 12px;
  }
  
  .event-name {
    font-size: 13px;
  }
  
  .event-remaining {
    font-size: 12px;
  }
}


/* 货币图鉴图片样式 */
.currency-image-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #e0e0e0;
}

.currency-image-section .section-header {
  font-size: 14px;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f59e0b;
}

.currency-image-container {
  text-align: center;
}

.currency-image {
  max-width: 100%;
  border-radius: 10px;
  cursor: zoom-in;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.currency-image:hover {
  transform: scale(1.02);
}


/* 活动指南文字样式 */
.guide-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-section-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  padding: 10px 14px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  border-radius: 8px;
  margin-top: 8px;
}

.guide-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #ddd, transparent);
  margin: 8px 0;
}

.guide-event-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  padding: 10px 14px;
  background: #f8f9fa;
  border-left: 4px solid #8b5cf6;
  border-radius: 0 8px 8px 0;
}

.guide-countdown {
  font-size: 13px;
  color: #10b981;
  font-weight: 500;
  padding: 8px 14px;
  background: #ecfdf5;
  border-radius: 6px;
  margin-left: 16px;
}

.guide-countdown.expired {
  color: #9ca3af;
  background: #f3f4f6;
}

.guide-time {
  font-size: 12px;
  color: #666;
  padding: 6px 14px;
  margin-left: 16px;
}

.guide-text {
  font-size: 14px;
  color: #333;
  line-height: 1.7;
  padding: 6px 14px;
}

@media (max-width: 600px) {
  .guide-section-title {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  .guide-event-name {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .guide-countdown {
    font-size: 12px;
    padding: 6px 12px;
    margin-left: 12px;
  }
  
  .guide-text {
    font-size: 13px;
    padding: 4px 12px;
  }
}

/* Toast 提示框 */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: #fff;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toast-icon {
  font-size: 40px;
}

.toast-text {
  text-align: left;
}

.toast-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.toast-desc {
  font-size: 14px;
  color: #666;
}

@media (max-width: 600px) {
  .toast {
    padding: 20px 24px;
    width: calc(100% - 48px);
    max-width: 320px;
  }
  
  .toast-icon {
    font-size: 32px;
  }
  
  .toast-title {
    font-size: 16px;
  }
  
  .toast-desc {
    font-size: 13px;
  }
}


/* ========== 页脚样式 ========== */
.site-footer {
  margin-top: 60px;
  padding: 0 16px 40px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.footer-main {
  text-align: center;
  margin-bottom: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  font-size: 28px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.footer-title {
  font-size: 20px;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-desc {
  font-size: 14px;
  color: #888;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(102, 126, 234, 0.15);
  border-bottom: 1px solid rgba(102, 126, 234, 0.15);
}

.footer-link-label {
  font-size: 13px;
  color: #999;
  font-weight: 500;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.footer-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.footer-link:active {
  transform: translateY(-1px);
}

.link-icon {
  font-size: 16px;
}

.link-text {
  letter-spacing: 0.5px;
}

.link-arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.footer-link:hover .link-arrow {
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 20px;
  text-align: center;
}

.footer-copyright {
  font-size: 12px;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-divider {
  color: #ddd;
}

/* 页脚响应式 */
@media (max-width: 600px) {
  .site-footer {
    margin-top: 40px;
    padding: 0 12px 30px;
  }
  
  .footer-content {
    padding: 24px 20px;
    border-radius: 16px;
  }
  
  .footer-logo {
    font-size: 24px;
  }
  
  .footer-title {
    font-size: 18px;
  }
  
  .footer-desc {
    font-size: 13px;
  }
  
  .footer-link {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .footer-copyright {
    font-size: 11px;
    flex-direction: column;
    gap: 4px;
  }
  
  .footer-divider {
    display: none;
  }
}

@media (max-width: 400px) {
  .footer-content {
    padding: 20px 16px;
  }
  
  .footer-brand {
    flex-direction: column;
    gap: 6px;
  }
  
  .footer-title {
    font-size: 16px;
  }
}
