/* open.aikex.ink — 易支付 index3 扩展 */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes openFadeInUp {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes openFadeInDown {
  from { opacity: 0; transform: translate3d(0, -16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes openFadeInLeft {
  from { opacity: 0; transform: translate3d(-20px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes openFadeInRight {
  from { opacity: 0; transform: translate3d(20px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.open-flap-ready { will-change: transform, opacity; }
.open-flap-instant { animation: none !important; visibility: visible !important; }

@media (max-width: 992px) {
  .nav.open-nav-visible { display: block !important; }
}

/* 首屏以下区块延迟绘制，滚动更丝滑 */
.open-steps-section,
.open-steps-grid,
.product-box,
.ysbox,
.case-box,
.bg-grey,
.nop-box .guangdiv,
.nop-box .ggchidiv {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

/* 压缩版背景图（替换 epay 原大图，视觉一致） */
.guangdiv { background-image: url(/static/img/opt/guangbg.jpg) !important; }
.ggchidiv { background-image: url(/static/img/opt/ggbg.jpg) !important; }

/* 轮播第1屏：OAuth 中控主视觉 */
.slide1.open-slide-oauth {
  background: url(/static/img/opt/tech-hero.jpg) center/cover no-repeat !important;
}
.slide1.open-slide-oauth::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 48, 0.52);
  z-index: 1;
  pointer-events: none;
}
.slide1.open-slide-oauth .inner { z-index: 2; position: relative; }

/* 轮播第3屏：三步接入（与第1/2屏同款左右卡片，不用双图堆叠） */
.slide8.open-slide-oauth {
  background: url(/static/epay/images/banbg2.jpg) center/cover no-repeat !important;
}
.slide8.open-slide-oauth .inner { z-index: 2; position: relative; }

/* 三步流程图（正文区） */
.open-steps-strip {
  max-width: 1000px;
  margin: 0 auto 28px;
  padding: 0 15px;
}
.open-steps-strip img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(16, 139, 237, 0.12);
  display: block;
}
.open-steps-grid {
  max-width: 1000px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 15px;
}
.open-step-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 16px 14px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.open-step-card .num {
  display: inline-block;
  width: 28px; height: 28px; line-height: 28px;
  border-radius: 50%;
  background: #108bed; color: #fff;
  font-size: 14px; font-weight: 700; margin-bottom: 8px;
}
.open-step-card h4 { margin: 0 0 6px; font-size: 15px; color: #0f1830; font-weight: 600; }
.open-step-card p { margin: 0; font-size: 12px; line-height: 1.65; color: #666; }

/* 产品说明区小图 */
.productmsg-item img.open-oauth-icon {
  max-width: 130px;
  max-height: 96px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin: 0 auto 8px;
}
.productmsg-item span {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #108bed;
  background: #f0f7ff;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
  word-break: break-all;
}
.productmsg-item h6 { margin-top: 4px; }

.open-steps-section { padding-top: 8px !important; padding-bottom: 10px !important; }
.open-steps-section .tit { margin-bottom: 18px; }
.open-skill-index-hint {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px 8px;
  text-align: center;
  font-size: 14px;
  color: #666;
}
.open-skill-index-hint a { color: #108bed; font-weight: 600; }

/* 文档页静态头图 */
.open-docs-banner {
  height: 200px;
  background: url(/static/img/opt/tech-docs.jpg) center/cover no-repeat;
  position: relative;
}
.open-docs-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,.75), rgba(16,139,237,.35));
}
.open-docs-banner .inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
}
.open-docs-banner h1 {
  margin: 0;
  font-size: 30px;
  color: #fff;
  font-weight: 700;
}
.open-docs-banner p {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,.9);
}

/* 登录页 — 与首页/文档同风格头图 + 内容区 */
.open-auth-banner {
  height: 180px;
  background: url(/static/epay/images/banbg2.jpg) center/cover no-repeat;
  position: relative;
}
.open-auth-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,.82), rgba(16,139,237,.4));
}
.open-auth-banner .inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
}
.open-auth-banner h1 {
  margin: 0;
  font-size: 28px;
  color: #fff;
  font-weight: 700;
}
.open-auth-banner p {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,.88);
}
.open-auth-page-wrap {
  padding: 32px 15px 56px;
  background: #f7f7f7;
  min-height: 420px;
}
.open-auth-page-wrap .container {
  max-width: 960px;
}

/* 标准提示条（对齐易支付风格，不用大图） */
.open-strict-bar {
  max-width: 1000px;
  margin: 0 auto 20px;
  background: #fff7e6;
  border: 1px solid #ffd591;
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #ad6800;
}
.open-strict-bar strong { color: #d46b08; }

.open-domain-panel {
  max-width: 1000px;
  margin: 0 auto 30px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.open-domain-panel h3 { margin: 0 0 6px; font-size: 17px; color: #0f1830; }
.open-domain-panel .sub { font-size: 13px; color: #666; margin-bottom: 12px; }
.open-domain-row { display: flex; gap: 10px; flex-wrap: wrap; }
.open-domain-row input {
  flex: 1; min-width: 200px; height: 38px; border: 1px solid #ddd;
  border-radius: 4px; padding: 0 12px; font-size: 14px;
}
.open-domain-row button {
  height: 38px; padding: 0 20px; border: none; border-radius: 4px;
  background: #108bed; color: #fff; font-size: 14px; cursor: pointer;
}
.open-domain-result { margin-top: 12px; padding: 10px 12px; border-radius: 4px; font-size: 13px; line-height: 1.6; display: none; }
.open-domain-result.ok { display: block; background: #f6ffed; border: 1px solid #b7eb8f; color: #389e0d; }
.open-domain-result.fail { display: block; background: #fff2f0; border: 1px solid #ffccc7; color: #cf1322; }

/* 正文区科技配图：固定比例、不撑爆版面 */
.open-tech-shot {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.open-tech-shot.contain {
  object-fit: contain;
  max-height: 240px;
  background: #f7f9fc;
  padding: 8px;
}

.open-doc-nav a:hover { background: #108bed; color: #fff; }
.open-doc-nav a.open-doc-nav-skill {
  background: linear-gradient(135deg, #108bed 0%, #0a6ecf 100%);
  color: #fff;
  font-weight: 600;
}
.open-doc-nav a.open-doc-nav-skill:hover { opacity: 0.92; }

/* AI Skill 页 */
.open-skill-banner::before {
  background: linear-gradient(90deg, rgba(10,22,40,.82), rgba(16,139,237,.45));
}
.open-skill-hero { text-align: center; margin-bottom: 28px; }
.open-skill-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, #108bed, #0a6ecf);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.open-skill-hero h2 { margin: 0 0 10px; font-size: 26px; color: #0f1830; font-weight: 700; }
.open-skill-lead { max-width: 720px; margin: 0 auto; font-size: 15px; line-height: 1.75; color: #555; }
.open-skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.open-skill-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 18px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.open-skill-card h3 { margin: 0 0 10px; font-size: 15px; color: #0f1830; }
.open-skill-card ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.75; color: #555; }
.open-skill-card code { font-size: 12px; }
.open-skill-downloads { list-style: none; padding-left: 0 !important; }
.open-skill-downloads li { margin-bottom: 6px; }
.open-skill-downloads a { color: #108bed; font-weight: 500; text-decoration: none; }
.open-skill-downloads a:hover { text-decoration: underline; }
.open-skill-block .open-skill-step {
  display: flex;
  gap: 14px;
  text-align: left;
  margin-bottom: 16px;
  max-width: none;
}
.open-skill-step .num { flex-shrink: 0; margin-bottom: 0; }
.open-skill-step h4 { margin: 0 0 8px; font-size: 15px; color: #0f1830; }
.open-skill-step p { margin: 0 0 8px; font-size: 13px; line-height: 1.7; color: #555; }
.open-skill-prompt { font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
.open-skill-copy-btn {
  margin-top: 10px;
  height: 36px;
  padding: 0 18px;
  border: none;
  border-radius: 4px;
  background: #108bed;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}
.open-skill-copy-btn:hover { background: #0a7ad4; }
.nav-item-a.open-nav-active {
  color: #108bed !important;
  font-weight: 700;
}
/* 顶栏：登录文字 + 注册按钮，避免三个蓝钮挤在 140px 里溢出到轮播 */
.header .open-header-reg {
  width: auto !important;
  min-width: 0;
  background: none !important;
  overflow: visible;
}
.header .open-header-reg .log-b {
  float: none;
  display: inline-block;
  margin: 22px 0 0;
  padding: 6px 18px;
  line-height: 24px;
  font-size: 14px;
  white-space: nowrap;
}
.header .open-nav-user {
  padding-left: 8px;
  padding-right: 8px;
}

/* 顶栏 · 已登录账号下拉 */
.open-header-acct-li {
  width: auto !important;
  min-width: 0;
  position: relative;
  overflow: visible !important;
}
.open-acct-wrap { position: relative; display: inline-block; }
.open-acct-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 4px 10px 4px 4px;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 999px;
  cursor: pointer; font: inherit; line-height: 1.2;
  transition: border-color .15s, box-shadow .15s, background .15s;
  max-width: 220px;
}
.open-acct-trigger:hover, .open-acct-wrap.is-open .open-acct-trigger {
  border-color: #108bed; background: #f0f7ff; box-shadow: 0 2px 8px rgba(16,139,237,.12);
}
.open-acct-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #108bed, #0ea5e9); color: #fff;
  font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.open-acct-avatar.lg { width: 44px; height: 44px; font-size: 18px; }
.open-acct-avatar-img {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: block;
}
.open-acct-avatar-img.lg { width: 44px; height: 44px; }
.open-acct-name {
  font-size: 14px; font-weight: 600; color: #1a2332;
  max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.open-acct-badge {
  font-size: 10px; padding: 2px 6px; border-radius: 999px; font-weight: 700; font-style: normal;
}
.open-acct-badge.ok { background: #dcfce7; color: #166534; }
.open-acct-badge.warn { background: #fef3c7; color: #92400e; }
.open-acct-caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid #94a3b8; margin-left: 2px; flex-shrink: 0;
  transition: transform .2s;
}
.open-acct-wrap.is-open .open-acct-caret { transform: rotate(180deg); }
.open-acct-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15,24,48,.12); z-index: 1000; padding: 8px 0;
  animation: openAcctIn .2s ease;
}
.open-acct-wrap.is-open .open-acct-menu { display: block; }
@keyframes openAcctIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.open-acct-menu-head {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 10px;
  border-bottom: 1px solid #f1f5f9; margin-bottom: 4px;
}
.open-acct-menu-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.open-acct-menu-meta strong { font-size: 14px; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.open-acct-menu-meta span { font-size: 12px; color: #94a3b8; }
.open-acct-menu-meta em { font-size: 11px; margin-top: 2px; }
.open-acct-menu a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; font-size: 14px; color: #334155; text-decoration: none;
  transition: background .12s, color .12s;
}
.open-acct-menu a small { color: #94a3b8; font-size: 12px; }
.open-acct-menu a:hover { background: #f0f7ff; color: #108bed; }
.open-acct-menu-divider { height: 1px; background: #f1f5f9; margin: 6px 0; }
.open-acct-logout { color: #dc2626 !important; }
.open-acct-logout:hover { background: #fef2f2 !important; color: #dc2626 !important; }
.open-acct-dot {
  display: inline-block; min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px;
  font-style: normal; font-size: 10px; font-weight: 700; background: #ef4444; color: #fff;
  border-radius: 999px; text-align: center; margin-left: auto;
}

/* 商户中心顶栏内的账号下拉 */
.open-user-account .open-acct-trigger { margin-top: 0; max-width: none; }
.open-user-account .open-acct-name { max-width: 120px; }

@media (max-width: 768px) {
  .open-acct-name, .open-acct-badge { display: none; }
  .open-acct-trigger { padding: 4px; margin-top: 14px; }
  .open-user-account .open-acct-trigger { margin-top: 0; }
  .open-acct-menu { right: -8px; min-width: 220px; }
}
.open-skill-install-details { margin: 8px 0; font-size: 13px; }
.open-skill-install-details summary {
  cursor: pointer; color: #108bed; font-weight: 600; padding: 4px 0;
}
.open-skill-copy-mini { margin-top: 6px; }
.open-skill-mini-ol {
  margin: 8px 0; padding-left: 20px; font-size: 13px; line-height: 1.75; color: #666;
}
.open-skill-teaser {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f4ff 100%) !important;
  border-color: #91caff !important;
  padding: 18px 20px !important;
}
.open-skill-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.open-skill-teaser-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 6px;
  background: #108bed;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.open-skill-teaser-btn:hover { background: #0a7ad4; color: #fff; }

/* Skill 页 · 大白话版 */
.open-skill-plain { margin-bottom: 24px; text-align: center; }
.open-skill-plain h2 { font-size: 20px; color: #0f1830; margin: 0 0 10px; }
.open-skill-plain p { font-size: 15px; line-height: 1.75; color: #555; max-width: 680px; margin: 0 auto 8px; }
.open-skill-plain-em { color: #108bed !important; font-weight: 500; }
.open-skill-download-box {
  background: #fff;
  border: 2px solid #108bed;
  border-radius: 10px;
  padding: 22px 20px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(16,139,237,.1);
}
.open-skill-download-box h3 { margin: 0 0 14px; font-size: 17px; color: #0f1830; }
.open-skill-download-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.open-skill-dl-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #108bed;
  color: #fff !important;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.open-skill-dl-primary:hover { background: #0a7ad4; color: #fff; }
.open-skill-dl-secondary {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #555 !important;
  text-decoration: none;
  font-size: 14px;
  background: #fafafa;
}
.open-skill-dl-hint { margin: 12px 0 0; font-size: 13px; color: #888; }
.open-skill-method { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px dashed #eee; }
.open-skill-method:last-child { border-bottom: none; }
.open-skill-method h4 { margin: 0 0 8px; font-size: 15px; color: #0f1830; }
.open-skill-cmd {
  background: #1e1e1e; color: #d4d4d4; padding: 12px 14px;
  border-radius: 6px; font-size: 13px; overflow-x: auto; margin: 8px 0;
}
.open-skill-ol { padding-left: 22px; line-height: 1.85; font-size: 14px; color: #555; }
.open-skill-ol ul { margin: 6px 0; padding-left: 18px; }
.open-skill-tip {
  background: #f6ffed; border: 1px solid #b7eb8f;
  border-radius: 6px; padding: 12px 14px; font-size: 13px; line-height: 1.7; color: #389e0d;
}
.open-skill-copy-btn-lg { padding: 0 24px; height: 40px; font-size: 14px; }
.open-skill-copy-btn-xl {
  width: 100%;
  height: 44px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
}

/* Skill 页 · 简化三步版 */
.open-skill-simple { max-width: 720px; }
.open-skill-step-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid #e8ecf1; border-radius: 10px;
  padding: 20px 18px; margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.open-skill-step-main { border-color: #91caff; background: #fafcff; }
.open-skill-step-flash {
  animation: openSkillFlash 1.4s ease;
}
@keyframes openSkillFlash {
  0%, 100% { box-shadow: none; }
  35% { box-shadow: 0 0 0 3px rgba(16, 139, 237, 0.35); }
}
.open-skill-step-num {
  flex-shrink: 0; width: 36px; height: 36px; line-height: 36px;
  text-align: center; border-radius: 50%; background: #108bed; color: #fff;
  font-size: 18px; font-weight: 700;
}
.open-skill-step-body { flex: 1; min-width: 0; }
.open-skill-step-body h2 { margin: 0 0 8px; font-size: 17px; color: #0f1830; }
.open-skill-step-body > p { margin: 0 0 12px; font-size: 14px; line-height: 1.65; color: #666; }
.open-skill-textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px;
  border: 1px solid #ddd; border-radius: 6px; font-size: 13px; line-height: 1.6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical; min-height: 200px; background: #fff;
}
.open-skill-textarea:focus { border-color: #108bed; outline: none; box-shadow: 0 0 0 2px rgba(16,139,237,.15); }
.open-skill-action-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.open-skill-btn-primary {
  height: 42px; padding: 0 24px; border: none; border-radius: 6px;
  background: #108bed; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
}
.open-skill-btn-primary:hover { background: #0a7ad4; }
.open-skill-btn-primary:disabled { opacity: .65; cursor: wait; }
.open-skill-btn-secondary {
  height: 36px; padding: 0 16px; border: 1px solid #ddd; border-radius: 6px;
  background: #fff; color: #555; font-size: 13px; cursor: pointer; margin-top: 8px;
}
.open-skill-action-hint { font-size: 13px; color: #888; }
.open-skill-two-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.open-skill-path {
  background: #f8f9fb; border: 1px solid #eee; border-radius: 8px; padding: 14px;
}
.open-skill-path h3 { margin: 0 0 8px; font-size: 15px; color: #0f1830; }
.open-skill-path p { margin: 0 0 8px; font-size: 13px; line-height: 1.65; color: #666; }
.open-skill-path-note { font-size: 12px !important; color: #999 !important; margin-top: 10px !important; }
.open-skill-more {
  margin-top: 8px; padding: 12px 14px; background: #fafafa; border-radius: 6px;
  font-size: 13px; color: #666; line-height: 1.65;
}
.open-skill-more summary { cursor: pointer; font-weight: 600; color: #555; }

/* 复制引导区 */
.open-copy-guide {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 2px solid #108bed;
  border-radius: 12px;
  padding: 22px 20px 18px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(16,139,237,.12);
}
.open-copy-guide h2 { margin: 0 0 8px; font-size: 20px; color: #0f1830; text-align: center; }
.open-copy-guide-lead { text-align: center; font-size: 14px; line-height: 1.75; color: #555; margin: 0 0 18px; }
.open-copy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.open-copy-card {
  background: #fff; border: 1px solid #e8ecf1; border-radius: 8px;
  padding: 16px 14px; display: flex; flex-direction: column;
}
.open-copy-card-primary { border-color: #91caff; background: #f0f7ff; }
.open-copy-step {
  display: inline-block; font-size: 11px; color: #888; text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: 6px;
}
.open-copy-card h3 { margin: 0 0 8px; font-size: 15px; color: #0f1830; }
.open-copy-card p { margin: 0 0 auto; font-size: 13px; line-height: 1.65; color: #666; flex: 1; }
.open-copy-howto {
  font-size: 13px; line-height: 1.75; color: #666;
  background: #fffbe6; border: 1px solid #ffe58f; border-radius: 6px; padding: 10px 14px;
}
.open-copy-toast {
  position: fixed; top: 90px; right: 20px; z-index: 10000;
  max-width: 360px; padding: 12px 16px;
  background: #52c41a; color: #fff; font-size: 14px; line-height: 1.5;
  border-radius: 8px; box-shadow: 0 6px 20px rgba(82,196,26,.35);
  opacity: 0; transform: translateY(-10px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.open-copy-toast.show { opacity: 1; transform: translateY(0); }
.open-skill-file-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0; }
.open-skill-file-table th, .open-skill-file-table td { padding: 8px 10px; border: 1px solid #eee; text-align: left; }
.open-skill-file-table th { background: #fafafa; }
.open-skill-flow-ol { font-size: 14px; }
.open-skill-flow-ol li { margin-bottom: 8px; }

.open-skill-copy-btn-lg { padding: 0 24px; height: 40px; font-size: 14px; }

.open-doc-wrap { max-width: 1000px; margin: 0 auto; padding: 0 15px 40px; }
.open-doc-nav {
  background: #fff; border: 1px solid #eee; border-radius: 4px;
  padding: 10px 14px; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px;
}
.open-doc-nav a {
  padding: 5px 10px; border-radius: 4px; font-size: 13px; color: #555;
  text-decoration: none; background: #f7f7f7;
}
.open-doc-nav a:hover { background: #108bed; color: #fff; }
.open-doc-block {
  background: #fff; border: 1px solid #eee; border-radius: 4px;
  padding: 22px 24px; margin-bottom: 14px;
}
.open-doc-block h2 { margin: 0 0 10px; font-size: 18px; color: #0f1830; border-bottom: 1px solid #eee; padding-bottom: 8px; }
.open-doc-block h3 { margin: 14px 0 6px; font-size: 15px; color: #333; }
.open-doc-block p, .open-doc-block li { font-size: 14px; line-height: 1.75; color: #555; }
.open-doc-block pre {
  background: #2b2b2b; color: #f8f8f2; padding: 12px; border-radius: 4px;
  overflow-x: auto; font-size: 12px; line-height: 1.55; margin: 8px 0;
}
.open-doc-block code { background: #f0f9eb; color: #389e0d; padding: 2px 6px; border-radius: 3px; font-size: 13px; }
.open-doc-block table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.open-doc-block th, .open-doc-block td { padding: 8px 10px; border: 1px solid #eee; text-align: left; }
.open-doc-block th { background: #fafafa; }
.open-doc-tip {
  margin: 12px 0 0; padding: 12px 14px; background: #f0f7ff; border: 1px solid #bfdbfe;
  border-radius: 8px; font-size: 13px; line-height: 1.65; color: #1e40af;
}

.open-error-wrap { min-height: 50vh; padding: 80px 15px 40px; background: #f7f7f7; }
.open-error-box {
  max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid #ffccc7;
  border-radius: 4px; padding: 24px 22px;
}
.open-error-box h1 { text-align: center; font-size: 18px; color: #cf1322; margin: 0 0 10px; }
.open-error-domain { text-align: center; font-family: monospace; padding: 8px; background: #fff2f0; color: #cf1322; border-radius: 4px; margin: 10px 0; word-break: break-all; font-size: 13px; }
.open-error-actions { text-align: center; margin-top: 16px; }
.open-error-actions a { display: inline-block; margin: 4px; padding: 8px 18px; border-radius: 4px; text-decoration: none; font-size: 14px; }
.open-error-actions .btn-primary { background: #108bed; color: #fff; }
.open-error-actions .btn-default { background: #f7f7f7; color: #555; border: 1px solid #ddd; }
.open-error-msg { text-align: center; color: #666; font-size: 14px; margin: 12px 0; line-height: 1.6; }

.open-notfound-wrap { background: linear-gradient(180deg, #f0f7ff, #f7f7f7); }
.open-notfound-box { border-color: #d6e4ff; }
.open-notfound-code {
  text-align: center; font-size: 48px; font-weight: 800; color: #108bed;
  line-height: 1; margin-bottom: 8px; letter-spacing: 2px;
}
.open-notfound-desc { text-align: center; color: #666; font-size: 14px; margin: 0 0 4px; }

.header-logo-text {
  display: block; line-height: 80px; font-size: 22px; font-weight: 700;
  color: #108bed; text-decoration: none; padding-left: 4px;
}
.header-logo-text span { color: #0f1830; font-weight: 400; }

@media (max-width: 768px) {
  .open-docs-banner { height: 160px; }
  .open-docs-banner h1 { font-size: 22px; }
  .open-auth-banner { height: 140px; }
  .open-auth-banner h1 { font-size: 22px; }
  .open-steps-grid { grid-template-columns: 1fr; }
  .open-skill-grid { grid-template-columns: 1fr; }
  .open-copy-cards { grid-template-columns: 1fr; }
  .open-skill-two-paths { grid-template-columns: 1fr; }
  .open-skill-teaser-inner { flex-direction: column; align-items: flex-start; }
  .open-steps-strip img { max-height: 160px; }
  .banwuleft, .banwuright { position: static !important; width: 100% !important; margin-top: 16px; }
  .open-tech-shot { max-height: 200px; }
}
