/* 插件安装页 · 按官网图二还原 */
.plugin-page {
  padding: 28px 0 48px;
  background: #f3f5f9;
}
.plugin-hero {
  text-align: center;
  margin-bottom: 22px;
}
.plugin-hero h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  color: #1f2937;
}
.plugin-hero p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

.plugin-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef2f7;
  overflow: hidden;
  padding: 28px 32px 22px;
}

.plugin-intro h2 {
  margin: 0 0 10px;
  font-size: 20px;
  text-align: left;
}
.intro-p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}
.intro-ul {
  margin: 0 0 28px;
  padding-left: 18px;
  color: #334155;
  font-size: 14px;
  line-height: 1.9;
}
.intro-ul strong { font-weight: 700; color: #1f2937; }

.install-block {
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}
.install-title {
  margin: 22px 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
}
.install-sub {
  margin: 0 0 22px;
  color: #94a3b8;
  font-size: 14px;
}

.browser-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  margin: 0 auto 28px;
  max-width: 920px;
}
.browser-item {
  position: relative;
  width: 92px;
  padding: 18px 8px 12px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.browser-item:hover {
  background: #f8fafc;
}
.browser-item.active {
  border-color: #2f7cf6;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(47, 124, 246, 0.08);
}
.browser-item .rec {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #2f7cf6;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  display: none;
}
.browser-item[data-b="chrome"] .rec,
.browser-item[data-b="edge"] .rec {
  display: inline-block;
}
.browser-ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.browser-ico img,
.browser-ico svg {
  width: 44px;
  height: 44px;
  display: block;
}
.browser-name {
  font-size: 13px;
  color: #334155;
  line-height: 1.2;
}

.steps-title {
  margin: 8px 0 18px;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}
.steps-list {
  list-style: none;
  margin: 0 auto 18px;
  padding: 0;
  max-width: 760px;
  text-align: left;
}
.steps-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 14px;
  font-size: 14px;
  color: #334155;
  line-height: 1.7;
}
.steps-list .n {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2f7cf6;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.steps-list .t { flex: 1; }
.steps-list code {
  display: inline-block;
  padding: 1px 6px;
  margin: 0 2px;
  background: #f1f5f9;
  border-radius: 4px;
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  font-size: 12.5px;
  color: #0f172a;
}

.tip-box {
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #3f6212;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.tip-ico {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1.4;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 8px 0 28px;
}
.cta-row .btn {
  min-width: 148px;
  border-radius: 8px;
  padding: 11px 22px;
}
.cta-row .btn.ghost {
  border-radius: 8px;
}

.plugin-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, #eaf2ff, #f3f8ff);
  border: 1px solid #d6e6ff;
}
.banner-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #2f7cf6;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.banner-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.banner-text strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 2px;
}
.banner-text span {
  display: block;
  font-size: 12px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.banner-btn {
  border-radius: 8px !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.faq-wrap {
  margin-top: 28px;
}
.faq-wrap h2 {
  text-align: center;
  margin: 0 0 16px;
  font-size: 24px;
}

@media (max-width: 720px) {
  .plugin-card { padding: 20px 16px 16px; }
  .browser-item { width: 78px; padding: 16px 4px 10px; }
  .browser-name { font-size: 12px; }
  .plugin-banner { flex-wrap: wrap; }
  .banner-text span { white-space: normal; }
  .banner-btn { width: 100%; }
}
