* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background: #f2f2f7;
  color: #1d1d1f;
  line-height: 1.45;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 20px;
}

.wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  color: #1d1d1f;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.page-title i {
  color: #007aff;
}

.section-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e2e7;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
}

.btn-primary {
  background: #007aff;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #0062cc;
}

.btn-small {
  background: #007aff;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-small:hover {
  background: #0066cc;
  box-shadow: 0 2px 4px rgba(0, 122, 255, 0.2);
}
.btn-small:disabled {
  background: #c9c9c9 !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
  transform: none !important;
  box-shadow: none !important;
}

.btn-generate {
  background: #1d1d1f;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-generate:hover {
  background: #333333;
}

.input-field {
  width: 100%;
  background: #f9f9fb;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}

.input-field:focus {
  border-color: #007aff;
  background: #ffffff;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-card-wrapper {
  position: relative;
  padding-right: 0px;
}

.hero-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e2e7;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.hero-index {
  font-size: 16px;
  font-weight: 600;
  color: #007aff;
}
.hero-delete-btn-text {
  padding: 5px 14px;
  border-radius: 10px;
  background: #ff3b30;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.hero-delete-btn-text:hover {
  background: #e03024;
}

.hero-id-row {
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f2;
}

.skin-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skin-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
}

.skin-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.empty-tip {
  color: #86868b;
  font-size: 14px;
  padding: 20px;
  text-align: center;
  background: #f9f9fb;
  border-radius: 12px;
}

.skin-item {
  position: relative;
  padding-right: 0px;
}

.skin-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.skin-index {
  font-size: 16px;
  font-weight: 600;
  color: #007aff;
}
.skin-delete-btn-text {
  padding: 5px 14px;
  border-radius: 10px;
  background: #ff3b30;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.skin-delete-btn-text:hover {
  background: #e03024;
}

.skin-card {
  background: #f9f9fb;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  color: #86868b;
  font-weight: 500;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
}

.toggle {
  width: 50px;
  height: 28px;
  background: #c5c5c7;
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  transition: all 0.24s ease;
}

.toggle.on {
  background: #007aff;
}

.toggle-circle {
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: 0.24s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.toggle.on .toggle-circle {
  transform: translateX(22px);
}

.hero-delete-btn,
.skin-delete-btn {
  display: none !important;
}

.info-card {
  background: #eef7ff;
  border: 1px solid #d3e5fd;
  border-radius: 18px;
  padding: 22px 26px;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #007aff;
}

.hidden {
  display: none !important;
}

/* 常驻状态条 - 默认灰色背景 */
.status-bar {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
  background: #f2f2f7;
  color: #555;
}
.status-bar.success {
  background: #e6f7e6;
  color: #098509;
}
.status-bar.error {
  background: #ffebee;
  color: #c52222;
}
.status-bar.loading {
  background: #e6f0ff;
  color: #0066cc;
}