/* ==========================================================
   丽景小学新闻中心 - 前台样式
   视觉规范参考：东营市丽景小学官网（蓝金配色 / 宋体标题 / 卡片化）
   ========================================================== */

/* ============ 设计令牌 ============ */
:root {
  --blue-900: #163A6B;   /* 深蓝夜幕 */
  --blue-800: #1E4E8C;   /* 主蓝 庄重 */
  --blue-700: #2A63A8;
  --blue-500: #5FA9E0;   /* 晴空 点缀 */
  --blue-50: #EAF3FB;    /* 浅蓝底 */
  --green-500: #6BAF6E;  /* 草绿 生长 */
  --green-50: #EEF6EE;
  --amber-500: #F0A24B;  /* 暖金 晨光 */
  --paper: #F5F8FB;
  --card: #FFFFFF;
  --ink: #233240;
  --ink-2: #5C6E7E;
  --line: #E3EBF2;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(22, 58, 107, .07);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ============ 顶部细条 ============ */
.topbar { background: var(--blue-900); color: #CFE0F2; font-size: 12.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 16px; }
.topbar .addr { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .links { display: flex; gap: 18px; white-space: nowrap; }
.topbar .links a { color: #CFE0F2; font-size: 12.5px; padding: 4px 0; transition: color .2s; }
.topbar .links a:hover { color: #fff; }
@media (max-width: 640px) { .topbar .links { display: none; } }

/* ============ 头部品牌区 ============ */
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; gap: 18px; padding: 16px 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.seal {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%;
  background: var(--blue-800); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25);
}
.brand .name { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--blue-900); letter-spacing: 1px; white-space: nowrap; }
.brand .sub { font-size: 12px; color: var(--ink-2); letter-spacing: 2px; }

.search { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search input {
  width: 200px; height: 38px; border: 1px solid var(--line); border-radius: 20px;
  padding: 0 16px; font-size: 15px; outline: none; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-50); }
.search button { height: 38px; padding: 0 18px; border-radius: 20px; background: var(--blue-800); color: #fff; font-size: 14px; transition: background .2s; }
.search button:hover { background: var(--blue-700); }
@media (max-width: 760px) {
  .search { order: 3; width: 100%; margin-left: 0; }
  .search input { flex: 1; width: auto; }
  .brand .name { font-size: 20px; }
}

/* ============ 主导航 ============ */
.nav { background: var(--blue-800); }
.nav .wrap { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.nav .wrap::-webkit-scrollbar { display: none; }
.nav a {
  color: #E8F1FA; font-size: 15.5px; padding: 15px 18px; white-space: nowrap;
  position: relative; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--blue-900); color: #fff; }
.nav a.is-active { background: var(--blue-900); color: #fff; font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 0;
  height: 3px; background: var(--amber-500); border-radius: 3px 3px 0 0;
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 55%, #2A63A8 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; padding: 56px 20px 60px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; letter-spacing: 3px; color: #BFD8EF; margin-bottom: 16px; }
.hero .kicker::before { content: ""; width: 26px; height: 2px; background: var(--amber-500); }
.hero h1 { font-family: var(--serif); font-size: 38px; font-weight: 700; letter-spacing: 2px; line-height: 1.4; margin-bottom: 14px; }
.hero .motto { font-size: 16.5px; color: #D6E6F5; max-width: 560px; margin-bottom: 30px; }
.hero .stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero .stat .num { font-family: var(--serif); font-size: 32px; font-weight: 700; color: #fff; }
.hero .stat .num small { font-size: 15px; font-family: var(--sans); font-weight: 400; margin-left: 3px; }
.hero .stat .lab { font-size: 13px; color: #BFD8EF; margin-top: 2px; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 380px; height: auto; }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 38px 20px 42px; }
  .hero h1 { font-size: 28px; }
  .hero-art { display: none; }
  .hero .stats { gap: 22px; }
  .hero .stat .num { font-size: 26px; }
}

/* ============ 区块通用 ============ */
.section { padding: 44px 0 8px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; gap: 12px; }
.sec-title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--blue-900); display: flex; align-items: center; gap: 10px; }
.sec-title::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--blue-800); }
.sec-more { font-size: 13.5px; color: var(--ink-2); transition: color .2s; white-space: nowrap; }
.sec-more:hover { color: var(--blue-700); }

/* ============ 快捷入口 ============ */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s; display: block;
}
.quick:hover { transform: translateY(-3px); border-color: var(--blue-500); }
.quick .ico { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.quick .ico svg { width: 28px; height: 28px; }
.quick .t { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.quick .d { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.q-blue { background: var(--blue-50); color: var(--blue-700); }
.q-green { background: var(--green-50); color: var(--green-500); }
.q-amber { background: #FDF1E2; color: var(--amber-500); }
@media (max-width: 760px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ 新闻双栏 ============ */
.news-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel .sec-head { padding: 18px 20px 0; margin-bottom: 6px; }
.panel .sec-title { font-size: 19px; }
.news-list { padding: 8px 20px 16px; }
.news-item { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.news-item:last-child { border-bottom: none; }
.news-item .date { flex: 0 0 58px; text-align: center; background: var(--blue-50); border-radius: 10px; padding: 7px 4px; align-self: center; }
.news-item .date .d { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--blue-800); line-height: 1.2; }
.news-item .date .m { font-size: 11.5px; color: var(--ink-2); }
.news-item .body { flex: 1; min-width: 0; }
.news-item .tt { font-size: 15px; color: var(--ink); transition: color .2s; display: block; }
.news-item .tt:hover { color: var(--blue-700); }
.news-item .meta { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.news-item .sum {
  font-size: 13px; color: var(--ink-2); margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.badge-hot { display: inline-block; font-size: 11px; color: #fff; background: #D9534F; border-radius: 4px; padding: 1px 7px; margin-right: 6px; vertical-align: 1px; }
.badge-doc { display: inline-block; font-size: 11px; color: var(--blue-700); background: var(--blue-50); border-radius: 4px; padding: 1px 7px; margin-right: 6px; vertical-align: 1px; }
@media (max-width: 760px) { .news-cols { grid-template-columns: 1fr; } }

/* 其余栏目区块：两列卡片 */
.block-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .block-grid { grid-template-columns: 1fr; } }

/* ============ 每周工作横条 ============ */
.week-strip {
  background: linear-gradient(120deg, var(--green-50), #F4FAF4);
  border: 1px solid #DCEADB; border-radius: var(--radius); padding: 18px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.week-strip .wt { flex: 0 0 auto; font-family: var(--serif); font-weight: 700; color: #3F7E42; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.week-strip ul { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 4px; list-style: none; }
.week-strip li { font-size: 14px; color: var(--ink); display: flex; gap: 8px; }
.week-strip li::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--green-500); margin-top: 10px; }
.week-strip li a:hover { color: var(--green-500); }

/* ============ 子页面标题带 ============ */
.page-head { background: linear-gradient(135deg, var(--blue-900), var(--blue-800)); color: #fff; padding: 36px 0; }
.page-head .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--serif); font-size: 28px; letter-spacing: 2px; font-weight: 700; }
.page-head p { color: #CFE0F2; font-size: 14px; margin-top: 6px; }
.bread { font-size: 13px; color: #CFE0F2; padding: 0 0 2px; }
.bread a { color: #BFD8EF; }
.bread a:hover { color: #fff; }

/* ============ 栏目列表 ============ */
.col-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin: 18px 0 40px; overflow: hidden; }
.col-item { display: flex; gap: 18px; padding: 20px 24px; border-bottom: 1px dashed var(--line); transition: background .18s; }
.col-item:last-child { border-bottom: none; }
.col-item:hover { background: var(--blue-50); }
.col-item .date { flex: 0 0 64px; text-align: center; background: var(--blue-50); border-radius: 10px; padding: 10px 4px; align-self: center; }
.col-item .date .d { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--blue-800); line-height: 1.2; }
.col-item .date .m { font-size: 11.5px; color: var(--ink-2); }
.col-item .body { flex: 1; min-width: 0; }
.col-item .tt { font-size: 16px; color: var(--ink); font-weight: 600; line-height: 1.6; transition: color .2s; }
.col-item:hover .tt { color: var(--blue-700); }
.col-item .sum { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.col-item .meta { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }

/* 列表缩略图 */
.news-thumb {
  width: 132px; height: 92px; object-fit: cover; border-radius: 8px;
  flex-shrink: 0; border: 1px solid var(--line); background: #f3f4f6;
}
@media (max-width: 640px) { .news-thumb { width: 96px; height: 68px; } }

/* ============ 分页 ============ */
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 6px 0 44px; flex-wrap: wrap; }
.pager a, .pager span.dots {
  height: 38px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; color: var(--ink-2);
  display: inline-flex; align-items: center; transition: border-color .2s, color .2s;
}
.pager a:hover { border-color: var(--blue-500); color: var(--blue-700); }
.pager a.on { background: var(--blue-800); color: #fff; border-color: var(--blue-800); }
.pager .is-disabled { opacity: .45; cursor: not-allowed; }
.pager .page-info { font-size: 13px; color: var(--ink-2); margin-left: 6px; }

/* ============ 通用详情页 ============ */
.detail-article { max-width: 860px; margin: 18px auto 0; }
.article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 34px; }
.article h1 { font-family: var(--serif); font-size: 26px; color: var(--blue-900); line-height: 1.45; margin-bottom: 10px; }
.article-subtitle { font-size: 15px; color: var(--ink-2); margin: 0 0 12px; }
.article .meta {
  font-size: 13px; color: var(--ink-2); padding-bottom: 16px;
  border-bottom: 1px solid var(--line); margin-bottom: 18px;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.article-summary {
  background: var(--blue-50); border-left: 3px solid var(--blue-500);
  border-radius: 0 8px 8px 0; padding: 12px 16px;
  color: #35506b; font-size: 14.5px; margin-bottom: 20px;
}
.article-thumb { max-width: 340px; width: 100%; height: auto; border-radius: 8px; margin-bottom: 16px; border: 1px solid var(--line); }
.attach-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--blue-50); border-radius: 10px; padding: 12px 16px;
  margin: 6px 0 20px; font-size: 13.5px; color: var(--blue-800);
}
.attach-bar .file {
  display: inline-flex; align-items: center; gap: 6px; background: #fff;
  border: 1px solid #C9DEF0; border-radius: 8px; padding: 5px 12px; transition: border-color .2s;
  word-break: break-all;
}
.attach-bar .file:hover { border-color: var(--blue-500); }
.note-box {
  background: #FDF6E9; border: 1px dashed #E6C98A; border-radius: 10px;
  padding: 14px 18px; font-size: 13.5px; color: #8A6420; margin: 10px 0 4px;
}

/* 正文排版 */
.rich-content { font-size: 16px; line-height: 1.95; word-break: break-word; color: var(--ink); }
.rich-content p { margin: 0 0 14px; }
.rich-content img { border-radius: 8px; height: auto; margin: 8px 0; }
.rich-content h2, .rich-content h3 { color: var(--blue-900); font-family: var(--serif); margin: 20px 0 10px; }
.rich-content a { color: var(--blue-700); text-decoration: underline; }
.rich-content ul, .rich-content ol { padding-left: 1.6em; margin: 0 0 14px; }
.rich-content table { border-collapse: collapse; max-width: 100%; margin-bottom: 14px; }
.rich-content table td, .rich-content table th { border: 1px solid var(--line); padding: 6px 10px; }
.rich-content blockquote {
  margin: 0 0 14px; padding: 10px 16px;
  background: var(--blue-50); border-left: 3px solid var(--blue-500); color: #35506b;
}

/* 上一篇 / 下一篇 */
.article-nav { display: flex; justify-content: space-between; gap: 14px; margin: 22px 0 8px; flex-wrap: wrap; }
.article-nav a {
  flex: 1; min-width: 220px; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 18px; font-size: 13.5px; color: var(--ink-2); background: #fff;
  transition: border-color .2s, color .2s;
}
.article-nav a:hover { border-color: var(--blue-500); color: var(--blue-700); }
.article-nav a .lab { font-size: 12px; color: var(--ink-2); display: block; margin-bottom: 2px; }
.article-nav .nav-end {
  flex: 1; min-width: 220px; border: 1px dashed var(--line); border-radius: 10px;
  padding: 14px 18px; font-size: 13.5px; color: #9AA9B6; background: #FAFBFC; opacity: .7;
}
.back-bar { padding: 14px 0 0; }
.back-bar a {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 18px;
  border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; color: var(--ink-2); transition: border-color .2s, color .2s;
}
.back-bar a:hover { border-color: var(--blue-500); color: var(--blue-700); }

/* 相关新闻 */
.related { margin: 26px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px; }
.related h3 { font-family: var(--serif); font-size: 17px; color: var(--blue-900); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.related h3::before { content: ""; width: 6px; height: 18px; border-radius: 3px; background: var(--amber-500); }
.related ul { list-style: none; }
.related li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.related li:last-child { border-bottom: none; }
.related li a:hover { color: var(--blue-700); }

/* ============ 教师风采：名片网格 ============ */
.crumb-bar { padding: 16px 0 2px; font-size: 13px; color: var(--ink-2); }
.crumb-bar a { color: var(--ink-2); transition: color .2s; }
.crumb-bar a:hover { color: var(--blue-700); }

.teacher-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin: 14px 0 30px;
}
.teacher-card {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px;
  transition: transform .2s, border-color .2s;
}
.teacher-card:hover { transform: translateY(-2px); border-color: var(--blue-500); }
.teacher-head { display: flex; align-items: center; gap: 12px; }
.teacher-avatar {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--serif); font-size: 19px; font-weight: 700;
}
.t-blue { background: #3B7AC4; }
.t-green { background: var(--green-500); }
.t-amber { background: var(--amber-500); }
.teacher-name { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.teacher-role { font-size: 12.5px; color: var(--ink-2); }
.teacher-motto {
  font-size: 13.5px; color: var(--ink-2); margin: 14px 0 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.teacher-date { font-size: 12.5px; color: #9AA9B6; }
@media (max-width: 760px) {
  .teacher-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ============ 空状态 ============ */
.empty { color: var(--ink-2); padding: 18px 0 26px; font-size: 14px; }

/* ============ 页脚 ============ */
.site-footer { background: var(--blue-900); color: #BFD0E2; margin-top: 44px; padding: 34px 0 0; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-bottom: 26px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 12px; font-family: var(--serif); }
.site-footer p, .site-footer li { font-size: 13.5px; line-height: 2; }
.site-footer ul { list-style: none; }
.site-footer li a { transition: color .2s; }
.site-footer li a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding: 18px 20px; text-align: center; font-size: 12.5px; color: #8FAFCB; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ============ 错误页 ============ */
.error-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 520px; margin: 60px auto; padding: 40px 30px; text-align: center;
}
.error-box h1 { margin: 0 0 10px; font-size: 22px; color: var(--blue-900); font-family: var(--serif); }
.error-box p { color: var(--ink-2); margin: 0 0 20px; }
.error-box .btn {
  display: inline-block; padding: 9px 24px; border-radius: 20px;
  background: var(--blue-800); color: #fff; font-size: 14px;
}
.error-box .btn:hover { background: var(--blue-700); }

/* ==========================================================
   留言板 /g/
   ========================================================== */
.gb-page { max-width: 860px; margin: 0 auto; padding-top: 22px; }

.gb-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 20px;
}
.gb-card-title { margin: 0 0 14px; font-size: 17px; color: var(--blue-900); font-family: var(--serif); display: flex; align-items: center; gap: 8px; }
.gb-card-title::before { content: ""; width: 6px; height: 18px; border-radius: 3px; background: var(--blue-800); }

.gb-banner {
  background: var(--green-50); border: 1px solid #BFE0C0;
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px;
}
.gb-banner-title { margin: 0 0 6px; font-weight: 600; color: #2F6B32; }
.gb-banner p { margin: 4px 0; }
.gb-banner-tip { color: var(--ink-2); font-size: 13px; }
.gb-code {
  font-family: Consolas, monospace; font-size: 20px; letter-spacing: 2px;
  color: var(--amber-500); background: #fff; padding: 2px 10px;
  border-radius: 6px; border: 1px dashed var(--amber-500);
}

.gb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gb-field { margin-bottom: 14px; }
.gb-field label { display: block; font-size: 14px; margin-bottom: 5px; color: var(--ink); }
.gb-required { color: #D9534F; }
.gb-field input, .gb-field textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--ink);
}
.gb-field input::placeholder, .gb-field textarea::placeholder,
.gb-query input::placeholder { color: #A9B8C5; }
.gb-field input:focus, .gb-field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-50); }
.gb-field textarea { resize: vertical; }
.gb-field-error { color: #D9534F; font-size: 12px; margin-top: 4px; display: block; }
.gb-error {
  background: #FDECEA; border: 1px solid #F5C6C0; color: #B02A37;
  border-radius: 10px; padding: 9px 12px; margin-bottom: 14px; font-size: 14px;
}
.gb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.gb-captcha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gb-captcha label { margin-bottom: 0; }
.gb-captcha-q { font-family: Consolas, monospace; font-weight: 600; color: var(--blue-900); }
.gb-captcha input { width: 90px; }
.gb-submit {
  padding: 10px 34px; border: 0; border-radius: 20px;
  background: var(--blue-800); color: #fff; font-size: 15px;
}
.gb-submit:hover { background: var(--blue-700); }

.gb-query { display: flex; gap: 10px; }
.gb-query input {
  flex: 1; max-width: 260px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit;
}
.gb-query input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-50); }
.gb-query button { padding: 9px 22px; border: 0; border-radius: 10px; background: var(--blue-800); color: #fff; }
.gb-query button:hover { background: var(--blue-700); }
.gb-notfound { color: #D9534F; font-size: 14px; margin: 10px 0 0; }

.gb-message { border-top: 1px solid var(--line); padding: 14px 0; }
.gb-message:first-of-type { border-top: 0; padding-top: 0; }
.gb-message-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.gb-message-title { font-weight: 600; }
.gb-message-head time { color: var(--ink-2); font-size: 13px; margin-left: auto; }
.gb-status { font-size: 12px; padding: 2px 10px; border-radius: 10px; }
.gb-status-pending { background: #FDF1E2; color: #B25E00; }
.gb-status-processing { background: var(--blue-50); color: var(--blue-700); }
.gb-status-resolved { background: var(--green-50); color: #3F7E42; }
.gb-message-content { margin: 0 0 8px; white-space: pre-wrap; word-break: break-word; }
.gb-reply {
  background: var(--blue-50); border-left: 3px solid var(--blue-500);
  border-radius: 0 8px 8px 0; padding: 9px 12px; font-size: 14px; margin-bottom: 6px;
}
.gb-message-code { color: var(--ink-2); font-size: 12px; }

@media (max-width: 900px) {
  .gb-row { grid-template-columns: 1fr; }
  .gb-message-head time { margin-left: 0; }
}
@media (max-width: 640px) {
  .gb-page { padding-top: 16px; }
  .gb-card { padding: 18px 16px; }
  .gb-banner { padding: 14px 16px; }
  .gb-submit { width: 100%; }
}
