* {
  box-sizing: border-box;
}
html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  background: #f5f6fa;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    PingFang SC,
    Hiragino Sans GB,
    Microsoft YaHei,
    sans-serif;
}
.key-cell {
  align-items: center;
  gap: 4px;
  max-width: 240px;
  display: inline-flex;
}
.key-cell .key-text {
  white-space: nowrap;
  -webkit-user-select: text;
  user-select: text;
  cursor: text;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #00000008;
  border-radius: 4px;
  flex: 0 0 160px;
  width: 160px;
  padding: 2px 6px;
  font-family:
    SF Mono,
    Roboto Mono,
    Menlo,
    Consolas,
    monospace;
  font-size: 12px;
  overflow-x: auto;
}
.key-cell .key-text::-webkit-scrollbar {
  display: none;
}
.stat-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  display: grid;
}
.model-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  display: grid;
}
.provider-rail-h {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}
.provider-chip {
  cursor: pointer;
  color: #1f1f1f;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 8px 12px;
  font-size: 14px;
  transition: all 0.15s;
  display: flex;
}
.provider-chip:hover {
  background: #f5f8ff;
  border-color: #adc6ff;
}
.provider-chip.active {
  background: #f0f5ff;
  border-color: #2f54eb;
  box-shadow: inset 0 0 0 1px #2f54eb;
}
.provider-chip-count {
  color: #8c8c8c;
  background: #f5f5f5;
  border-radius: 10px;
  flex-shrink: 0;
  margin-left: 8px;
  padding: 0 8px;
  font-size: 12px;
}
.provider-chip.active .provider-chip-count {
  color: #2f54eb;
  background: #e6efff;
}
.newbie-guide-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 116px;
  padding: 20px 24px;
  overflow: hidden;
  color: #5c0011;
  text-align: left;
  font: inherit;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.9), transparent 25%),
    linear-gradient(120deg, #fff1f0 0%, #fff7e6 54%, #fff 100%);
  border: 1px solid #ffccc7;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(207, 19, 34, 0.1);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.newbie-guide-cta:hover {
  border-color: #ff7875;
  box-shadow: 0 12px 30px rgba(207, 19, 34, 0.16);
  transform: translateY(-2px);
}
.newbie-guide-cta:focus-visible {
  outline: 3px solid rgba(47, 84, 235, 0.28);
  outline-offset: 3px;
}
.newbie-guide-cta-icon {
  display: inline-flex;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: #fff;
  background: linear-gradient(145deg, #ff4d4f, #cf1322);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(207, 19, 34, 0.24);
  font-size: 30px;
}
.newbie-guide-cta-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}
.newbie-guide-cta-kicker {
  color: #cf1322;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.newbie-guide-cta-title {
  color: #1f1f1f;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}
.newbie-guide-cta-description {
  color: #595959;
  font-size: 14px;
  line-height: 1.6;
}
.newbie-guide-cta-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  color: #fff;
  background: #cf1322;
  border-radius: 8px;
  box-shadow: 0 5px 12px rgba(207, 19, 34, 0.2);
  font-size: 15px;
  font-weight: 700;
}
.newbie-guide-cta-action span {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.18s ease;
}
.newbie-guide-cta:hover .newbie-guide-cta-action span {
  transform: translateX(3px);
}
@media (max-width: 600px) {
  .newbie-guide-cta {
    align-items: flex-start;
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }
  .newbie-guide-cta-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 23px;
  }
  .newbie-guide-cta-title {
    font-size: 20px;
  }
  .newbie-guide-cta-description {
    padding-right: 4px;
    font-size: 13px;
  }
  .newbie-guide-cta-action {
    align-self: center;
    min-height: 36px;
    padding: 7px 10px;
    font-size: 13px;
  }
}
@media (max-width: 420px) {
  .newbie-guide-cta {
    flex-wrap: wrap;
  }
  .newbie-guide-cta-copy {
    flex-basis: calc(100% - 62px);
  }
  .newbie-guide-cta-action {
    margin-left: 62px;
  }
}
.video-guide-page {
  padding-bottom: 24px;
}
.video-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.video-guide-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}
.video-guide-card-featured {
  grid-column: 1 / -1;
  border-color: #ffccc7;
  box-shadow: 0 5px 18px rgba(207, 19, 34, 0.09);
}
.video-guide-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 104px;
  padding: 18px 20px 15px;
}
.video-guide-card-featured .video-guide-heading {
  min-height: 0;
  padding: 20px 22px 16px;
  background: #fffafa;
}
.video-guide-step {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  color: #fff;
  background: #cf1322;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.video-guide-copy {
  min-width: 0;
}
.video-guide-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.video-guide-title-row h2 {
  margin: 0;
  color: #1f1f1f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.video-guide-card-featured .video-guide-title-row h2 {
  font-size: 22px;
}
.video-guide-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  color: #cf1322;
  background: #fff1f0;
  border: 1px solid #ffccc7;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}
.video-guide-copy p {
  margin: 6px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 1.65;
}
.video-guide-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0b0d12;
}
.video-guide-card-featured .video-guide-player {
  max-height: 620px;
}
@media (max-width: 760px) {
  .video-guide-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .video-guide-card-featured {
    grid-column: auto;
  }
  .video-guide-heading,
  .video-guide-card-featured .video-guide-heading {
    min-height: 0;
    padding: 16px;
  }
  .video-guide-card-featured .video-guide-title-row h2 {
    font-size: 18px;
  }
}


/* 懒人提示 - 显眼变色漂浮 */
.lazy-tip {
  margin-top: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #ff7a45, #f53f3f, #ff7a45);
  background-size: 200% 200%;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  animation: lazy-tip-glow 2s ease infinite, lazy-tip-float 3s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(245, 63, 63, 0.4);
  position: relative;
  overflow: hidden;
}
.lazy-tip::before {
  content: "🔥";
  margin-right: 6px;
}
.lazy-tip::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: lazy-tip-shine 3s ease-in-out infinite;
}
@keyframes lazy-tip-glow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes lazy-tip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes lazy-tip-shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}
