/* ══════════════════════════════════════
   订单查询页专用样式 query.css
   配合 index.css 共享导航+页脚
   ══════════════════════════════════════ */

.oq { padding-bottom: 80px; background: #fff; }

/* 导航栏透明模式 */
nav.N_bar.N_transparent,
.N_bar.N_transparent {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.04) !important;
}
nav.N_bar.N_transparent.N_scrolled,
.N_bar.N_transparent.N_scrolled {
  background: rgba(255,255,255,.88) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.6) !important;
  backdrop-filter: blur(20px) saturate(1.6) !important;
  border-bottom-color: rgba(0,0,0,.06) !important;
  box-shadow: 0 2px 16px rgba(30,64,175,.08) !important;
}

/* ─── Hero ─── */
.oq-hero {
  position: relative; overflow: hidden;
  background: #f1efff;
  margin-top: -80px; padding: 180px 24px 140px;
  text-align: center;
}
.oq-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../img/dingd.png') center center / cover no-repeat;
  opacity: .2;
}
.oq-hero-complaint { background: #fff1f2; }
.oq-hero-complaint::before { background-image: url('../img/complaint-banner.png'); }
.oq-hero-complaint::after { background: linear-gradient(to bottom, rgba(255,241,242,0) 0%, rgba(255,255,255,.5) 40%, #fff 100%); }

.oq-hero-cq { background: #eef2ff; }
.oq-hero-cq::before { background-image: url('../img/cq-banner.png'); }
.oq-hero-cq::after { background: linear-gradient(to bottom, rgba(238,242,255,0) 0%, rgba(255,255,255,.5) 40%, #fff 100%); }

.oq-hero-cp { background: #fef3f2; }
.oq-hero-cp::before { background-image: url('../img/complaint_pass.png'); }
.oq-hero-cp::after { background: linear-gradient(to bottom, rgba(254,243,242,0) 0%, rgba(255,255,255,.5) 40%, #fff 100%); }

.oq-hero-cd { background: #f0fdf4; }
.oq-hero-cd::before { background-image: url('../img/complaint_detail.png'); }
.oq-hero-cd::after { background: linear-gradient(to bottom, rgba(240,253,244,0) 0%, rgba(255,255,255,.5) 40%, #fff 100%); }
.oq-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 160px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(241,239,255,0) 0%, rgba(255,255,255,.5) 40%, #fff 100%);
}
.oq-hero-glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); opacity: .5; z-index: 1;
}
.oq-glow1 { width: 400px; height: 400px; background: rgba(37,99,235,.08); top: -100px; right: -50px; }
.oq-glow2 { width: 300px; height: 300px; background: rgba(142,58,138,.08); bottom: -80px; left: -60px; }

.oq-hero-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }

.oq-badge {
  display: inline-block;
  padding: 6px 16px; border-radius: 20px;
  background: #fff; color: #2563eb;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.oq-h1 {
  font-size: 42px; font-weight: 800; color: #1e293b;
  letter-spacing: -.5px; line-height: 1.15; margin: 0 0 16px;
}

.oq-hero-desc {
  font-size: 16px; color: #64748b; line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}

/* ─── 导航栏内三按钮 ─── */
.oq-nav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 20px;
  font-size: 14px; font-weight: 600; color: #fff;
  border-radius: 8px; text-decoration: none;
  transition: opacity .15s, transform .1s, box-shadow .15s;
}
.oq-nav-btn:hover { opacity: .9; transform: translateY(-1px); }
.oq-nb-red { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 3px 10px rgba(239,68,68,.25); }
.oq-nb-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 3px 10px rgba(37,99,235,.25); }
.oq-nb-purple { background: linear-gradient(135deg, #6366f1, #4f46e5); box-shadow: 0 3px 10px rgba(99,102,241,.25); }

/* ─── 查询历史 ─── */
.oq-history { margin-top: 16px; }
.oq-hist-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.oq-hist-label { font-size: 12px; font-weight: 600; color: #94a3b8; }
.oq-hist-clear {
  font-size: 12px; color: #94a3b8; background: none; border: none;
  cursor: pointer; transition: color .12s;
}
.oq-hist-clear:hover { color: #ef4444; }
.oq-hist-list { display: flex; flex-wrap: wrap; gap: 8px; }
.oq-hist-item {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px 4px 12px;
  background: #f1f5f9; border-radius: 20px;
  transition: background .12s;
}
.oq-hist-item:hover { background: #e2e8f0; }
.oq-hist-val {
  font-size: 12px; color: #475569; text-decoration: none;
  max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.oq-hist-val:hover { color: #2563eb; }
.oq-hist-del {
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1; color: #94a3b8;
  background: none; border: none; cursor: pointer;
  transition: color .12s, background .12s;
}
.oq-hist-del:hover { color: #ef4444; background: rgba(239,68,68,.1); }

/* ─── 查询表单卡片 ─── */
.oq-form-wrap {
  max-width: 1100px; margin: -64px auto 0;
  padding: 0 24px; position: relative; z-index: 5;
}

.oq-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 36px 28px;
  box-shadow: 0 8px 30px rgba(30,41,59,.07), 0 1px 3px rgba(0,0,0,.04);
}

.oq-form { width: 100%; }
.oq-form-row {
  display: flex; gap: 12px;
}

.oq-input-wrap {
  flex: 1; position: relative;
}
.oq-input-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.oq-input {
  width: 100%; height: 60px; padding: 0 18px 0 52px;
  border: 1px solid #e2e8f0; border-radius: 14px;
  font-size: 16px; color: #1e293b; background: #f8fafc;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.oq-input::placeholder { color: #94a3b8; }
.oq-input:focus {
  border-color: #2563eb;
  border-width: 1px;
  box-shadow: 0 0 0 2px rgba(37,99,235,.08);
  background: #fff;
}

.oq-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 60px; padding: 0 32px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff; font-size: 16px; font-weight: 700;
  border: none; border-radius: 14px; cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37,99,235,.25);
  transition: opacity .15s, box-shadow .15s, transform .1s;
}
.oq-submit:hover {
  opacity: .92; box-shadow: 0 6px 20px rgba(37,99,235,.35); transform: translateY(-1px);
}

.oq-tips {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.oq-tip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #64748b; font-weight: 500;
}

/* ─── 结果区 ─── */
.oq-result {
  max-width: 1100px; margin: 48px auto 0; padding: 0 24px;
}
.oq-result-single {
  display: flex; flex-direction: column; gap: 24px;
}
/* 订单信息卡片 */
.oq-order-card {
  background: #fff; border-radius: 16px;
  padding: 28px; border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.oq-order-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.oq-order-no {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: #1e293b;
}
.oq-order-status {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  background: #ecfdf5; color: #059669;
}

.oq-order-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 20px;
}
.oq-order-item {
  background: #f8fafc; border: 1px solid #f1f5f9;
  border-radius: 12px; padding: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.oq-order-label {
  font-size: 12px; font-weight: 500; color: #94a3b8;
}
.oq-order-val {
  font-size: 15px; font-weight: 600; color: #1e293b;
  word-break: break-all;
}
.oq-order-price { color: #2563eb; font-size: 18px; }

.oq-order-seller {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 14px 16px; margin-bottom: 16px;
  background: #f8fafc; border-radius: 10px;
  font-size: 14px; color: #475569;
}
.oq-qq-val { color: #2563eb; font-weight: 600; cursor: pointer; user-select: all; }
.oq-qq-val:hover { text-decoration: underline; }
.oq-qq-copy {
  display: inline-flex; align-items: center; justify-content: center;
  height: 26px; padding: 0 10px; margin-left: 6px;
  font-size: 12px; font-weight: 600; color: #2563eb;
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 6px;
  cursor: pointer; transition: background .12s, border-color .12s;
}
.oq-qq-copy:hover { background: #dbeafe; border-color: #93c5fd; }
.oq-order-seller-tip {
  font-size: 12px; color: #f59e0b; font-weight: 500;
  display: flex; align-items: center; gap: 4px;
}

.oq-order-actions {
  display: flex; gap: 10px;
}
.oq-order-btn-complaint {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  color: #dc2626; background: #fff;
  border: 1px solid #fca5a5;
  transition: background .15s, border-color .15s;
}
.oq-order-btn-complaint:hover { background: #fef2f2; border-color: #f87171; }

/* 分隔线 */
.oq-card-divider {
  height: 1px; background: #e2e8f0; margin: 20px 0;
}

/* 卡密区（在订单卡片内部） */
.oq-card-inner {
  min-height: 20px; padding: 16px;
  background: #f1f5f9; border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.oq-card-inner:empty { display: none; }
.oq-copy-all {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: auto; padding: 0 32px; height: 42px; margin: 0;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff; font-size: 15px; font-weight: 700;
  border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,99,235,.25);
  transition: opacity .15s, box-shadow .15s, transform .1s;
}
.oq-copy-all:hover { opacity: .92; box-shadow: 0 6px 20px rgba(37,99,235,.35); transform: translateY(-1px); }

.oq-action-bar {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  margin: 16px 0 0; flex-wrap: wrap;
}
.oq-export-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: auto; padding: 0 24px; height: 42px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff; font-size: 15px; font-weight: 700;
  border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(16,185,129,.25);
  transition: opacity .15s, box-shadow .15s, transform .1s;
}
.oq-export-btn:hover { opacity: .92; box-shadow: 0 6px 20px rgba(16,185,129,.35); transform: translateY(-1px); }
.oq-complaint-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: auto; padding: 0 24px; height: 42px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff; font-size: 15px; font-weight: 700;
  border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(239,68,68,.25);
  transition: opacity .15s, box-shadow .15s, transform .1s;
}
.oq-complaint-btn:hover { opacity: .92; box-shadow: 0 6px 20px rgba(239,68,68,.35); transform: translateY(-1px); }

.oq-card-inner:empty + .oq-card-divider { display: none; }

/* 独立卡密结果区（无订单时） */
.oq-card-result {
  background: #fff; border-radius: 16px;
  padding: 28px; min-height: 60px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.oq-card-result:empty { display: none; }

/* 后端返回卡密 HTML 的样式覆盖 */
.oq-card-result p, .oq-card-inner p { margin: 0; padding: 12px 16px; border-bottom: 1px solid #e2e8f0; font-size: 14px; font-weight: 600; color: #1e293b; line-height: 1.6; display: flex; align-items: center; justify-content: space-between; gap: 12px; word-break: break-all; background: #fff; border-radius: 8px; margin-bottom: 6px; }
.oq-card-result p:last-of-type, .oq-card-inner p:last-of-type { margin-bottom: 0; }
.oq-card-result a.clipboard, .oq-card-inner a.clipboard,
.oq-card-result a.btn, .oq-card-inner a.btn,
.oq-card-result p a[data-clipboard-text], .oq-card-inner p a[data-clipboard-text] { 
  display: inline-flex !important; align-items: center; justify-content: center;
  min-width: 56px; height: 30px; padding: 0 14px !important; flex-shrink: 0;
  font-size: 12px !important; font-weight: 600 !important; color: #2563eb !important;
  background: #eff6ff !important; border: 1px solid #bfdbfe !important; border-radius: 6px !important;
  cursor: pointer; text-decoration: none !important;
  transition: background .15s, border-color .15s;
  letter-spacing: 0 !important;
}
.oq-card-result a.clipboard:hover, .oq-card-inner a.clipboard:hover,
.oq-card-result a.btn:hover, .oq-card-inner a.btn:hover,
.oq-card-result p a[data-clipboard-text]:hover, .oq-card-inner p a[data-clipboard-text]:hover { background: #dbeafe !important; border-color: #93c5fd !important; }
.oq-card-result p[style*="color:#e43f52"], .oq-card-inner p[style*="color:#e43f52"],
.oq-card-result p[style*="color: #e43f52"], .oq-card-inner p[style*="color: #e43f52"] { display: none !important; }
.oq-card-result > a[href*="dumpCards"], .oq-card-inner > a[href*="dumpCards"] { display: none !important; }

/* 弹窗内也同样处理 */
.ad-modal-body p { margin: 0; padding: 12px 16px; border-bottom: 1px solid #f1f5f9; font-size: 14px; color: #334155; line-height: 1.6; display: flex; align-items: center; justify-content: space-between; gap: 12px; word-break: break-all; }
.ad-modal-body p:last-of-type { border-bottom: none; }
.ad-modal-body a.clipboard,
.ad-modal-body a.btn,
.ad-modal-body p a[data-clipboard-text] {
  display: inline-flex !important; align-items: center; justify-content: center;
  min-width: 56px; height: 30px; padding: 0 14px !important; flex-shrink: 0;
  font-size: 12px !important; font-weight: 600 !important; color: #2563eb !important;
  background: #eff6ff !important; border: 1px solid #bfdbfe !important; border-radius: 6px !important;
  cursor: pointer; text-decoration: none !important;
  transition: background .15s, border-color .15s;
  letter-spacing: 0 !important;
}
.ad-modal-body a.clipboard:hover,
.ad-modal-body a.btn:hover,
.ad-modal-body p a[data-clipboard-text]:hover { background: #dbeafe !important; border-color: #93c5fd !important; }
.ad-modal-body p[style*="color:#e43f52"],
.ad-modal-body p[style*="color: #e43f52"] { display: none !important; }
.ad-modal-body > a[href*="dumpCards"] { display: none !important; }

/* ─── 免责声明+防骗提醒 ─── */
.oq-notice-card {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 16px; padding: 28px 28px 20px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.oq-notice-block {}
.oq-notice-h {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: #1e293b;
  margin: 0 0 10px;
}
.oq-notice-p {
  font-size: 14px; color: #475569; line-height: 1.8; margin: 0 0 8px;
}
.oq-notice-link {
  color: #2563eb; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.oq-notice-link:hover { color: #1d4ed8; }
.oq-notice-ul {
  list-style: none; padding: 0; margin: 8px 0 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.oq-notice-ul li {
  font-size: 13px; color: #475569; line-height: 1.7;
  padding-left: 16px; position: relative;
}
.oq-notice-ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #f59e0b;
}
.oq-notice-ul li strong { color: #1e293b; }
.oq-notice-warn {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 12px 16px; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 10px;
}
.oq-notice-warn svg { flex-shrink: 0; margin-top: 2px; }
.oq-notice-warn span { font-size: 13px; color: #991b1b; line-height: 1.6; font-weight: 500; }

/* (oq-help 已移除) */

/* ─── Ant Design 风格 Modal 弹窗 ─── */
.ad-modal-mask {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.45);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.ad-modal-mask.ad-modal-open { opacity: 1; visibility: visible; }

.ad-modal {
  position: fixed; z-index: 2001;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.92);
  width: 680px; max-width: 94vw;
  max-height: 85vh;
  background: #fff; border-radius: 12px;
  box-shadow: 0 6px 16px 0 rgba(0,0,0,.08), 0 3px 6px -4px rgba(0,0,0,.12), 0 9px 28px 8px rgba(0,0,0,.05);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s, transform .25s cubic-bezier(.4,0,.2,1);
}
.ad-modal.ad-modal-open {
  opacity: 1; visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.ad-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid #f0f0f0;
}
.ad-modal-title {
  font-size: 18px; font-weight: 700; color: #1e293b;
  margin: 0;
}
.ad-modal-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: none; cursor: pointer;
  color: #94a3b8; border-radius: 6px;
  transition: background .12s, color .12s;
}
.ad-modal-close:hover { background: #f5f5f5; color: #1e293b; }

.ad-modal-body {
  flex: 1; overflow-y: auto;
  padding: 28px 28px 16px;
  font-size: 15px; color: #1e293b; line-height: 1.8;
  word-break: break-all;
}

.ad-modal-notice {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 28px 16px; padding: 14px 16px;
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 10px;
}
.ad-modal-notice svg { flex-shrink: 0; margin-top: 2px; }
.ad-modal-notice p {
  margin: 0; font-size: 12.5px; color: #92400e; line-height: 1.7;
}

.ad-modal-footer {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  padding: 16px 28px;
  border-top: 1px solid #f0f0f0;
}
.ad-modal-btn-copy, .ad-modal-btn-ok {
  height: 40px; padding: 0 20px;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .15s;
  border: none;
}
.ad-modal-btn-copy {
  background: #fff; color: #2563eb;
  border: 1px solid #d9d9d9;
}
.ad-modal-btn-copy:hover { border-color: #2563eb; }
.ad-modal-btn-ok {
  background: #2563eb; color: #fff;
  box-shadow: 0 2px 0 rgba(37,99,235,.1);
}
.ad-modal-btn-ok:hover { background: #1d4ed8; }

/* ─── Hero 小尺寸 ─── */
.oq-hero-sm { padding: 170px 24px 100px; }

/* ─── 订单列表行 ─── */
.oq-order-list { display: flex; flex-direction: column; gap: 10px; }
.oq-order-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; background: #fff; border: 1px solid #e2e8f0;
  border-radius: 12px; text-decoration: none;
  transition: background .12s, box-shadow .12s;
}
.oq-order-row:hover { background: #f8fafc; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.oq-order-row-left { display: flex; flex-direction: column; gap: 4px; }
.oq-order-row-no { font-size: 15px; font-weight: 600; color: #1e293b; }
.oq-order-row-name { font-size: 13px; color: #64748b; }
.oq-order-row-right { display: flex; align-items: center; gap: 12px; }
.oq-order-row-price { font-size: 14px; font-weight: 600; color: #475569; }
.oq-status {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: 20px; font-size: 12px; font-weight: 600;
}
.oq-status-ok { background: #ecfdf5; color: #059669; }
.oq-status-wait { background: #fefce8; color: #ca8a04; }
.oq-status-close { background: #f1f5f9; color: #64748b; }
.oq-status-refund { background: #fef2f2; color: #dc2626; }

@media (max-width: 768px) {
  .oq-order-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .oq-order-row-right { width: 100%; justify-content: space-between; }
}

/* ─── 投诉表单 ─── */
.cp-form-card { max-width: 1100px; }
.cp-form { width: 100%; }
.cp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.cp-field { display: flex; flex-direction: column; gap: 6px; }
.cp-full { margin-bottom: 20px; }
.cp-label { font-size: 13px; font-weight: 600; color: #475569; }
.cp-input, .cp-select, .cp-file {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid #e2e8f0; border-radius: 10px;
  font-size: 14px; color: #1e293b; background: #f8fafc;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.cp-input:focus, .cp-select:focus {
  border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.08); background: #fff;
}
.cp-input::placeholder { color: #94a3b8; }
.cp-select { cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.cp-file { padding: 10px 14px; height: auto; }
.cp-textarea {
  width: 100%; padding: 14px; min-height: 120px;
  border: 1px solid #e2e8f0; border-radius: 10px;
  font-size: 14px; color: #1e293b; background: #f8fafc;
  outline: none; resize: vertical; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.cp-textarea:focus { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.08); background: #fff; }
.cp-textarea::placeholder { color: #94a3b8; }
.cp-card-select { display: flex; gap: 8px; }
.cp-card-select .cp-input { flex: 1; }
.cp-card-btn {
  height: 46px; padding: 0 18px;
  background: #2563eb; color: #fff; font-size: 14px; font-weight: 600;
  border: none; border-radius: 10px; cursor: pointer; white-space: nowrap;
  transition: background .15s;
}
.cp-card-btn:hover { background: #1d4ed8; }
.cp-submit {
  display: flex; align-items: center; justify-content: center;
  width: auto; padding: 0 48px; height: 48px; margin: 0;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff; font-size: 16px; font-weight: 700;
  border: none; border-radius: 12px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,99,235,.25);
  transition: opacity .15s, box-shadow .15s, transform .1s;
}
.cp-submit:hover { opacity: .92; box-shadow: 0 6px 20px rgba(37,99,235,.35); transform: translateY(-1px); }

.cp-btn-group {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap;
}
.cp-reset {
  display: flex; align-items: center; justify-content: center;
  width: auto; padding: 0 36px; height: 48px;
  background: #fff; color: #64748b;
  font-size: 16px; font-weight: 700;
  border: 2px solid #e2e8f0; border-radius: 12px; cursor: pointer;
  transition: all .15s;
}
.cp-reset:hover { color: #ef4444; border-color: #fca5a5; background: #fef2f2; }

@media (max-width: 768px) {
  .cp-grid { grid-template-columns: 1fr; }
  .cp-btn-group { flex-direction: column; }
  .cp-btn-group .cp-submit, .cp-btn-group .cp-reset { width: 100%; }
}

/* ─── Ant Design 标准弹窗系统 ─── */
.antm-mask {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,.45);
  opacity: 0; transition: opacity .2s;
}
.antm-mask.antm-in { opacity: 1; }
.antm-box {
  position: fixed; z-index: 3001;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.92);
  width: 420px; max-width: 94vw; max-height: 85vh;
  background: #fff; border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.08), 0 3px 6px -4px rgba(0,0,0,.12), 0 9px 28px 8px rgba(0,0,0,.05);
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity .2s, transform .22s cubic-bezier(.4,0,.2,1);
}
.antm-box.antm-in { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.antm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px 14px;
}
.antm-title { font-size: 16px; font-weight: 700; color: #1e293b; }
.antm-x {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border: none; background: none; cursor: pointer; border-radius: 6px; color: #94a3b8;
  transition: background .12s, color .12s;
}
.antm-x:hover { background: #f5f5f5; color: #1e293b; }
.antm-body { flex: 1; overflow-y: auto; padding: 8px 24px 20px; }
.antm-foot {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  padding: 12px 24px 18px; border-top: 1px solid #f0f0f0;
}
.antm-btn {
  height: 36px; padding: 0 18px; border-radius: 8px;
  font-size: 14px; font-weight: 500; cursor: pointer; border: none;
  transition: all .15s;
}
.antm-btn-p { background: #2563eb; color: #fff; }
.antm-btn-p:hover { background: #1d4ed8; }
.antm-btn-g { background: #fff; color: #475569; border: 1px solid #d9d9d9; }
.antm-btn-g:hover { color: #2563eb; border-color: #2563eb; }
.antm-prompt-input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid #e2e8f0; border-radius: 8px;
  font-size: 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.antm-prompt-input:focus { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,.08); }

/* Toast 消息 */
.antm-toast {
  position: fixed; top: 40px; left: 50%; transform: translateX(-50%) translateY(-20px);
  z-index: 4000;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  background: #fff; border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.08), 0 3px 6px -4px rgba(0,0,0,.12);
  font-size: 14px; color: #1e293b;
  opacity: 0; transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.antm-toast.antm-in { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Loading */
.antm-loading {
  position: fixed; inset: 0; z-index: 3500;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.6);
  opacity: 0; transition: opacity .2s;
}
.antm-loading.antm-in { opacity: 1; }
.antm-loading-box {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 28px 36px; background: #fff; border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  font-size: 14px; color: #475569;
}
.antm-spinner {
  width: 32px; height: 32px; border: 3px solid #e2e8f0;
  border-top-color: #2563eb; border-radius: 50%;
  animation: antm-spin .7s linear infinite;
}
@keyframes antm-spin { to { transform: rotate(360deg); } }

/* Iframe modal */
.antm-iframe { width: 460px; }
.antm-iframe .antm-body { padding: 0; overflow: hidden; }

/* ─── 验证码弹窗 ─── */
.ad-captcha-modal { width: 420px; }
.ad-captcha-body { text-align: center; padding: 28px 32px 20px; }
.ad-captcha-desc { font-size: 14px; color: #64748b; margin: 0 0 20px; }
.ad-captcha-img-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-bottom: 20px;
}
.ad-captcha-img-wrap img {
  height: 56px; border-radius: 8px; border: 1px solid #e2e8f0;
  cursor: pointer; transition: opacity .15s;
}
.ad-captcha-img-wrap img:hover { opacity: .8; }
.ad-captcha-refresh { font-size: 11px; color: #94a3b8; }
.ad-captcha-input {
  width: 100%; height: 48px; padding: 0 16px; text-align: center;
  border: 1px solid #e2e8f0; border-radius: 10px;
  font-size: 18px; font-weight: 600; letter-spacing: 4px;
  color: #1e293b; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.ad-captcha-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,.1);
}
.ad-captcha-err {
  margin: 10px 0 0; font-size: 13px; color: #dc2626;
  display: none; min-height: 18px;
}

/* ─── 响应式 ─── */
@media (max-width: 992px) {
  .oq-h1 { font-size: 30px; }
  .oq-hero { padding: 60px 20px 100px; }
  .oq-form-wrap { margin-top: -50px; }
  .oq-form-card { padding: 24px 20px 20px; }
  .oq-form-row { flex-direction: column; }
  .oq-submit { width: 100%; }
}

@media (max-width: 768px) {
  .oq-h1 { font-size: 26px; }
  .oq-hero-desc { font-size: 14px; }
  .oq-nav-btn { height: 34px; padding: 0 14px; font-size: 13px; }
  .oq-input { height: 52px; font-size: 14px; }
  .oq-submit { height: 52px; font-size: 15px; }
  .oq-order-grid { grid-template-columns: 1fr 1fr; }
  .oq-order-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .oq-order-card { padding: 20px; }
  .oq-notice-card { padding: 20px 18px 16px; }
  .oq-action-bar { flex-direction: column; }
  .oq-action-bar .oq-copy-all,
  .oq-action-bar .oq-export-btn,
  .oq-action-bar .oq-complaint-btn { width: 100%; }
  .ad-modal { width: 96vw; }
  .ad-modal-notice { margin: 0 16px 12px; }
}

/* ─── 订单服务子导航 ─── */
.oq-hero.has-sub, .oq-hero.oq-hero-sm.has-sub { padding-top: 104px; }
.oq-subnav {
  display: flex; justify-content: center; gap: 14px;
  max-width: 1200px; margin: 0 auto 36px; padding: 0 24px;
  position: relative; z-index: 2;
}
.oq-subnav-item {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 26px 15px; border-radius: 14px; position: relative;
  color: #64748b; font-size: 14.5px; font-weight: 500; text-decoration: none;
  transition: color .18s, background .18s;
}
.oq-subnav-item svg { transition: transform .18s }
.oq-subnav-item:hover { color: #334155; background: rgba(255,255,255,.6) }
.oq-subnav-item:hover svg { transform: translateY(-2px) }
.oq-subnav-item.active { color: #2563eb; font-weight: 600 }
.oq-subnav-item.active::after {
  content: ''; position: absolute; left: 30px; right: 30px; bottom: 4px; height: 3px;
  border-radius: 2px; background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.oq-subnav-item.sn-query svg { color: #2563eb }
.oq-subnav-item.sn-complaint svg { color: #f59e0b }
.oq-subnav-item.sn-track svg { color: #8b5cf6 }
@media (max-width: 992px) {
  .oq-hero.has-sub { padding-top: 84px; }
}
@media (max-width: 768px) {
  .oq-subnav { gap: 4px; margin-bottom: 24px; padding: 0 10px }
  .oq-subnav-item { padding: 10px 14px 13px; font-size: 13px }
  .oq-subnav-item svg { width: 20px; height: 20px }
  .oq-subnav-item.active::after { left: 16px; right: 16px }
}
