/*
  Custom SEO-friendly visual refresh for bqgpc
  - Non-breaking: only overrides existing classes/selectors
  - No functional changes
*/

/* Theme variables */
:root {
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --ink-900: #0f172a;
  --ink-800: #111827;
  --ink-700: #1f2937;
  --ink-600: #374151;
  --ink-300: #d1d5db;
  --ink-200: #e5e7eb;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-12: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 14px rgba(2,6,23,0.08);
  --shadow-lg: 0 12px 24px rgba(2,6,23,0.12);
}

/* Base typography */
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink-700);
  background: var(--bg-page);
  line-height: 1.6;
}

a { color: var(--brand-600); text-decoration-thickness: 2px; text-underline-offset: 2px; }
a:hover { color: var(--brand-500); }

/* Layout containers */
.container.biqunaicc {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Top bar and header */
.topbar {
  background: var(--ink-900);
  color: var(--ink-200);
}
.topbar a { color: var(--ink-200); }
.site-header { border-bottom: 1px solid var(--ink-300); background: linear-gradient(180deg, #fff, rgba(255,255,255,0.96)); }
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.logo a { text-decoration: none; color: var(--ink-900); font-weight: 700; font-size: 22px; }

/* Primary nav */
nav.site-nav { background: linear-gradient(180deg, var(--ink-800), var(--ink-900)); box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06); }
ul.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 10px 0;
}
ul.nav > li > a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: var(--radius-6);
  color: #e5e7eb;
  border: 1px solid transparent;
  transition: all .18s ease;
}
ul.nav > li > a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); box-shadow: var(--shadow-sm); }

/* Search */
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-text.input-key {
  min-width: 260px;
  padding: 8px 10px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-6);
  background: #fff;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.btn-tosearch {
  padding: 8px 14px;
  border-radius: var(--radius-6);
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 4px 10px rgba(37,99,235,0.35);
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}
.btn-tosearch:hover { background: var(--brand-500); box-shadow: 0 6px 14px rgba(37,99,235,0.45); transform: translateY(-1px); }
.input-text.input-key:focus { outline: none; box-shadow: 0 0 0 3px var(--brand-100); border-color: var(--brand-400); }

/* Section headers */
.layout-tit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  padding: 8px 0;
  border-bottom: 2px solid var(--ink-200);
  position: relative;
}
.layout-tit::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--brand-600);
  border-radius: 2px;
  display: inline-block;
}

/* Lists */
.txt-list li { line-height: 1.8; }
.txt-list-row3 li, .txt-list-row5 li { padding: 2px 0; }

/* Cards */
.tp-box { border: 1px solid #f3f4f6; border-radius: var(--radius-10); padding: 12px; background: var(--bg-card); box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .2s ease; }
.tp-box:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.detail-box { border: 1px solid #f3f4f6; border-radius: var(--radius-12); padding: 16px; background: var(--bg-card); box-shadow: var(--shadow-sm); }
.imgbox img { border-radius: var(--radius-8); display: block; width: 100%; height: auto; object-fit: cover; }

/* Read page */
.word_read {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: var(--radius-12);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  font-size: 17px;
  line-height: 1.9;
}
.read_btn a {
  display: inline-block;
  margin: 6px 6px 6px 0;
  padding: 6px 10px;
  border-radius: var(--radius-6);
  background: var(--brand-50);
  color: var(--brand-600);
  border: 1px solid var(--brand-100);
  transition: all .18s ease;
}
.read_btn a:hover { background: var(--brand-100); border-color: var(--brand-200); box-shadow: var(--shadow-sm); }

/* Footer */
.footer { background: var(--ink-900); color: #9ca3af; padding: 18px 0; border-top: none; }
.pc-footer p { line-height: 1.8; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: #e5e7eb; }

/* Responsive tweaks */
@media (max-width: 768px) {
  .input-text.input-key { min-width: 160px; }
  .header { flex-direction: column; align-items: stretch; }
}


