/* 现代渐变设计系统 */
:root {
  /* 主色调：现代蓝紫渐变 */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  
  /* 中性色调：优雅灰白系 */
  --bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --card: rgba(255, 255, 255, 0.95);
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --muted: #95a5a6;
  --border: rgba(255, 255, 255, 0.2);
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  
  /* 功能色调：现代柔和色 */
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  --info: #3498db;
  
  /* 圆角系统：更现代的圆角 */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 50%;
  
  /* 间距系统 */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  
  /* 字体系统 */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* 动画变量 */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body { 
  margin: 0; 
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; 
  background: var(--bg);
  background-attachment: fixed;
  color: var(--text); 
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: var(--space-xl) var(--space-lg);
  width: 100%;
  box-sizing: border-box;
}



h2 { 
  font-size: var(--font-size-3xl); 
  font-weight: 700; 
  margin-bottom: var(--space-lg);
  color: var(--text);
  position: relative;
  text-align: center;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 0.25rem;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

/* 头部：现代渐变设计 */
.header {
  background: var(--primary-gradient);
  padding: var(--space-2xl) 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.header h1 {
  margin: 0;
  font-size: var(--font-size-4xl);
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
  color: rgba(255,255,255,0.9);
  margin-top: var(--space-sm);
  font-size: var(--font-size-lg);
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* 底部 */
.footer { border-top: 1px solid var(--border); padding: 10px 0; color: var(--muted); text-align:center; font-size: 11px; }

/* 卡片设计：现代玻璃拟态风格 */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow-hover);
  border-color: rgba(255, 255, 255, 0.3);
}

.card:hover::before {
  opacity: 1;
}

/* 标签样式：现代设计 */
.label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--text);
  font-weight: 600;
  font-size: var(--font-size-base);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* 输入框包装器 */
.input-wrapper {
  position: relative;
  margin-bottom: var(--space-xl);
}

/* 文本区域：现代设计 */
.textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font-size: var(--font-size-base);
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: all var(--transition-normal);
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
}

.textarea:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.textarea::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

/* 清空按钮：现代设计 */
.clear-btn {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px var(--shadow);
  z-index: 10;
}

.clear-btn:hover {
  background: var(--danger);
  color: white;
  transform: translateY(-50%) scale(1.1);
  border-color: var(--danger);
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

.input-wrapper:hover .clear-btn {
  opacity: 1;
}

/* 按钮系统：现代渐变按钮 */
.button {
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
  min-height: 52px;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.button:hover::before {
  left: 100%;
}

.button:active {
  transform: translateY(0);
}

.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

/* 辅助按钮样式：简洁设计 */
.button.secondary {
  background: #718096; /* 灰色单色背景 */
}

.button.secondary:hover {
  background: #4a5568; /* 悬停时稍深色 */
}

/* 按钮组：现代布局 */
.button-group {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
/* 错误消息：现代设计 */
.error {
  margin-top: var(--space-sm);
  color: var(--danger);
  font-size: var(--font-size-sm);
  font-weight: 500;
  background: rgba(231, 76, 60, 0.1);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--danger);
  backdrop-filter: blur(5px);
}

/* 结果网格：现代设计 */
.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 768px) {
  .result-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 结果项：现代设计 */
.result-item {
  background: rgba(255, 255, 255, 0.5);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
} 

/* 图片样式：现代设计 */
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px var(--shadow);
}

/* 链接样式：现代渐变设计 */
/* 链接：现代设计 */
.link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  position: relative;
}

.link:hover {
  color: var(--primary-dark);
}

.link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-normal);
}

.link:hover::after {
  width: 100%;
}

/* 结果区域：现代显示 */
#result_section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .result-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }
}

#result_section.show {
  opacity: 1;
  transform: translateY(0);
}

/* 结果项 */
.result-item {
  position: relative;
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.result-item:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.result-item h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text);
}

.result-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--primary-gradient);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  min-height: 44px;
  line-height: 1.4;
  text-align: center;
  font-size: var(--font-size-sm);
  letter-spacing: 0.3px;
  cursor: pointer;
}

.result-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  color: white;
}

.link-text {
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.5;
}

.copy-feedback {
  color: var(--success);
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.copy-feedback.show {
  opacity: 1;
}

.qr-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  min-height: 240px;
  position: relative;
}

.qr-container img {
  max-width: 220px;
  max-height: 220px;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
}

/* 底部：现代设计 */
.footer {
  background: rgba(255, 255, 255, 0.8);
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0;
  color: var(--text-light);
  text-align: center;
  font-size: var(--font-size-sm);
  backdrop-filter: blur(10px);
  margin-top: var(--space-2xl);
}

.footer-subtitle {
  margin-top: var(--space-sm);
  font-size: var(--font-size-xs);
  color: var(--text-light);
  opacity: 0.8;
}

/* 步骤卡片：现代设计 */
#steps_section .grid {
  gap: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 4px 16px var(--shadow);
  backdrop-filter: blur(5px);
  padding: 15px;
  min-height: 280px;
  text-align: center;
}

.step-card.loaded {
  min-height: auto;  /* 图片加载后恢复自动高度 */
}

.step-card.loaded {
  min-height: auto;  /* 图片加载后恢复自动高度 */
}

#steps_section.show .step-card {
  opacity: 1;
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 步骤卡片图片样式：现代设计 */
.step-card img {
  width: 100%;
  border-radius: 0;
  display: block;
  border: none;
  box-shadow: none;
}

.step-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px var(--shadow-hover);
  border-color: rgba(255, 255, 255, 0.3);
}

/* 步骤图片容器 */
.step-image {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 3;
}

.step-number {
  display: none;
}

/* 骨架屏：现代加载效果 */
.skeleton {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.6) 0%, 
    rgba(240, 244, 248, 0.8) 40%, 
    rgba(255, 255, 255, 0.6) 80%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border: 1px solid var(--border);
  z-index: 1;
  pointer-events: none;  /* 防止骨架屏阻挡点击 */
}

.step-card.loaded .skeleton {
  display: none;
}

@keyframes shimmer {
  0% { 
    background-position: 200% 0; 
  }
  100% { 
    background-position: -200% 0; 
  }
}

/* 移动端骨架屏显示 - 修复显示逻辑 */
@media (max-width: 480px) {
  .skeleton {
    display: block;
  }
  /* 确保图片加载后骨架屏隐藏 */
  .step-card.loaded .skeleton {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .skeleton { display: block; }
  .header h1 { font-size: 22px; }
  .subtitle { font-size: 14px; }
  .button { padding: 10px 16px; font-size: 15px; }
  .container { padding: 12px 16px; }
  .card { padding: 16px; margin-top: 14px; }
  .grid { gap: 16px; }
  .textarea { padding: 14px; font-size: 16px; }
  h2 { font-size: 20px; margin-top: 0; }
  h3 { font-size: 16px; margin-bottom: 8px; }
  .header { padding: 28px 0; }
}

/* 移动端友好：减小阴影与留白 */
@media (max-width: 480px) {
  /* 骨架屏占位高度，保证未加载时布局稳定 */
  #steps_section .step-card { min-height: 180px; }
  #steps_section .step-card.loaded { min-height: auto; }
  /* 改善移动端点击区域 */
  .button, .link { min-height: 44px; }
  .link { padding: 8px 12px; }
}

/* 平板适配：现代响应式设计 */
@media (min-width: 481px) and (max-width: 768px) {
  .container { 
    padding: var(--space-lg) var(--space-xl); 
  }
  .header { 
    padding: var(--space-2xl) 0; 
  }
  #steps_section .grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: var(--space-lg);
  }
  .header h1 {
    font-size: var(--font-size-3xl);
  }
  .step-image {
    height: 180px;
  }
}

/* 按钮和链接样式：现代设计 */
.button, .link { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: var(--space-sm); 
}

.button i, .link i { 
  font-size: 1.2em; 
  transition: transform 0.3s ease;
}

/* 卡片悬停效果：现代设计 */
.card:hover { 
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow-hover);
}

/* 加载动画：现代设计 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.button.loading i.bx-loader { 
  animation: spin 1s linear infinite; 
}

/* 现代加载状态 */
.button.loading {
  position: relative;
  overflow: hidden;
}

.button.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: loading-shine 1.5s infinite;
}

@keyframes loading-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}



/* 移动端滑动优化：现代设计 */

.skeleton {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.6) 25%, rgba(240,244,248,0.8) 50%, rgba(255,255,255,0.6) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  z-index: 1;
  border-radius: var(--radius-lg);
}

.lazy-img {
  position: relative;
  z-index: 3;  /* 提高图片层级 */
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 100%;
  height: auto;
  display: block;
}

.loaded .lazy-img {
  opacity: 1;
}

.loaded .skeleton {
  display: none;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.clear-btn {
  position: absolute;
  right: var(--space-sm);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.clear-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--danger);
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(231, 76, 60, 0.3);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.2);
}

.footer {
  text-align: center;
  padding: 15px 0;
  color: var(--text-light);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(5px);
  margin-top: 40px;
}

.footer p {
  font-size: 12px;
}

.footer p {
  margin: 0;
  font-weight: 500;
}

/* 动画效果：现代设计 */
.show {
  opacity: 1;
  transform: translateY(0);
  transition: all var(--transition-slow);
}

/* 按钮和链接图标动画 */
.button i, .link i {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.button:hover i, .link:hover i {
  transform: scale(1.1);
}

/* 卡片悬停效果 */
.card:hover {
  border-color: rgba(102, 126, 234, 0.3);
}

/* 加载动画：现代设计 */
@keyframes loading-shine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.button.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 100%);
  animation: loading-shine 1.5s ease-in-out infinite;
  border-radius: var(--radius-lg);
}

/* 按钮和链接图标动画 */
.button i, .link i {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.button:hover i, .link:hover i {
  transform: scale(1.1);
}

/* 卡片悬停效果 */
.card:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

/* 移动端适配：现代响应式设计 */
@media (max-width: 480px) {
  .container {
    padding: 8px 12px;
    max-width: 100%;
  }
  
  .header {
    padding: 16px 0 12px;
    margin-bottom: 12px;
  }
  
  .header h1 {
    font-size: 18px;
  }
  
  .header .subtitle {
    font-size: 12px;
    margin-top: 6px;
  }
  
  .card {
    padding: 16px;
    margin-bottom: 10px;
  }
  
  .grid {
    gap: 10px;
  }
  
  .button, .link {
    width: 100%;
    justify-content: center;
  }
  
  .textarea {
    font-size: 14px;
    padding: 10px 36px 10px 12px;
    min-height: 80px;
  }
  
  .button-group {
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
  }
  
  .step-image {
    height: auto;
    aspect-ratio: 750 / 500;
    margin-bottom: 8px;
  }
  
  .step-number {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  .step-card h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  
  .step-card p {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .input-wrapper {
    margin-bottom: 10px;
  }
  
  .clear-btn {
    right: 8px;
  }
  
  h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
  
  .label {
    margin-bottom: 8px;
    font-size: 14px;
  }
  
  /* ===== 移动端适配 ===== */
  .result-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }
  .result-item {
    padding: 16px 12px;
    text-align: center;
    min-height: 200px;
    width: 100%;
    box-sizing: border-box;
  }
  .result-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    justify-content: center;
    word-wrap: break-word;
  }
  .result-link {
    font-size: 13px;
    padding: 10px 12px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 260px;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
  }
  .copy-feedback {
    font-size: 11px;
    justify-content: center;
    margin-top: 8px;
  }
  .qr-container {
    max-width: 220px;
    margin: 0 auto;
    padding: 16px;
    min-height: 220px;
    width: 100%;
    box-sizing: border-box;
  }
  .qr-container img {
    max-width: 210px;
    max-height: 210px;
    width: auto;
    height: auto;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* 移动端结果项统一样式 */
  .result-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
}
