/* FAITH 菲速英文游学 · 新页面共用样式 */
:root {
  --navy: #145c46; --navy-light: #1e8562; --orange: #168a64; --orange-soft: #e7f6ef;
  --gold: #e8fc33; --bg: #eaf1ed; --card: #fff; --cream: #f6faf8;
  --text: #0f172a; --muted: #5b6b66; --border: #dfe8e3;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55; padding-bottom: calc(80px + env(safe-area-inset-bottom)); overflow-x: hidden; }
a { color: inherit; }
.wrap { width: 100%; max-width: 480px; margin: 0 auto; padding: 12px 12px 24px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand b { font-size: 15px; font-weight: 900; color: var(--navy); letter-spacing: .5px; }
.pill { font-size: 12px; font-weight: 700; color: var(--navy); text-decoration: none; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 6px 11px; }
.card { background: var(--card); border-radius: 14px; padding: 14px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(15,23,42,.05); }
.card h2 { font-size: 15.5px; font-weight: 900; color: var(--navy); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card h2 small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.muted { color: var(--muted); font-size: 12px; }
.chip { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--orange-soft); color: var(--navy); margin: 0 4px 4px 0; }
.chip.y { background: var(--gold); }
.chip.g { background: #f1f5f9; color: #475569; }
.seg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex-shrink: 0; font: inherit; font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--card); color: var(--navy); cursor: pointer; }
.seg button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
select, input[type=search] { width: 100%; font: inherit; font-size: 14px; padding: 9px 10px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; color: var(--text); }
.btn { display: block; width: 100%; text-align: center; text-decoration: none; border: none; font: inherit; font-size: 15px; font-weight: 800; padding: 13px; border-radius: 13px; background: var(--gold); color: var(--navy); cursor: pointer; }
.btn.ghost { background: var(--card); border: 1.5px solid var(--navy); }
.note { font-size: 11.5px; color: var(--muted); text-align: center; padding: 8px 4px; }
.foot { text-align: center; font-size: 11.5px; color: var(--muted); padding: 10px 4px; }
.foot b { display: block; color: var(--navy); margin-top: 4px; }
table.t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.t th { text-align: left; font-size: 11.5px; color: var(--muted); font-weight: 700; padding: 6px 4px; border-bottom: 1px solid var(--border); }
table.t td { padding: 8px 4px; border-bottom: 1px dashed var(--border); vertical-align: top; }
table.t td.n { text-align: right; white-space: nowrap; font-weight: 800; color: var(--navy); }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--border); display: flex; justify-content: center; padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { flex: 1; max-width: 110px; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 700; color: #64748b; text-decoration: none; }
.tabbar a .ti { font-size: 19px; line-height: 1; filter: grayscale(1); opacity: .6; }
.tabbar a.active { color: var(--navy); }
.tabbar a.active .ti { filter: none; opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 80; display: none; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: 8px; }
.lightbox div { color: #fff; font-size: 13px; font-weight: 700; margin-top: 10px; text-align: center; }
.lightbox small { color: #94a3b8; font-size: 11.5px; margin-top: 4px; }
.empty { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 8px; }
