/**
 * ls.css — 赶蛙教育 PC 站公共样式
 * 抽离自 app/view/common/header.html + footer.html (2026-09-05)
 * 版本 ?v=20260905
 */

/* ============ header 公共 UI (顶栏/布局/卡片/响应式) ============ */

  :root {
    /* ===== LightSNS 原始变量(不改变) ===== */
    --ls-header-height: 68px;
    --ls-primary: #3b82f6;
    --ls-primary-hover: #2563eb;
    --ls-width: 1280px;
    --ls-border-radius: 10px;
    --ls-radius: 10px;
    --ls-radius-md: 8px;
    --ls-radius-full: 100px;
    --ls-border-radius-avatar: 100px;
    --ls-border-radius-btn: 4px;
    --ls-border-radius-img: 4px;
    --ls-transition: all .2s ease;
    --ls-bg: #f4f5f7;
    --ls-bg-white: #ffffff;
    --ls-bg-light: #f6f8fb;
    --ls-bg-hover: #f0f1f3;
    --ls-text: #202124;
    --ls-text-primary: #202124;
    --ls-text-secondary: #5f6368;
    --ls-text-muted: #7f7f7f;
    --ls-border: rgba(0, 0, 0, .08);
    --ls-border-light: rgba(0, 0, 0, .06);
    --ls-green: #24b47e;
    --ls-pink: #ff3e86;
    --ls-orange: #ffaa00;
    --ls-blue: #3385ff;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--ls-bg); color: var(--ls-text); font-size: 14px; }
  a { text-decoration: none; color: inherit; }

  /* ===== 顶部导航 (LightSNS) ===== */
  .ls-header {
    position: fixed; top: 0; left: 0; right: 0; height: var(--ls-header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--ls-border-light);
    z-index: 10000;
  }
  .ls-header-inner {
    max-width: 1400px; height: 100%; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .ls-header-left { display: flex; align-items: center; gap: 28px; }
  .ls-logo { display: flex; align-items: center; gap: 10px; }
  .ls-logo-img { height: 36px; max-width: 200px; object-fit: contain; border-radius: 8px; display: block; }
  .ls-logo-icon {
    width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800;
  }
  .ls-logo-text { font-size: 20px; font-weight: 700; color: var(--ls-text); }
  .ls-logo-text b { color: var(--ls-primary); }
  .ls-main-nav { display: flex; align-items: center; gap: 2px; }
  .ls-nav-item { position: relative; }
  .ls-nav-item > a {
    display: flex; align-items: center; gap: 6px; padding: 8px 14px;
    font-size: 14px; font-weight: 500; color: var(--ls-text-secondary);
    border-radius: var(--ls-radius-md); transition: var(--ls-transition);
  }
  .ls-nav-item > a:hover { color: var(--ls-primary); background: rgba(59,130,246,.1); }
  .ls-nav-item.active > a { color: var(--ls-primary); background: rgba(59,130,246,.1); font-weight: 600; }
  .ls-nav-badge {
    min-width: 17px; height: 17px; line-height: 17px; padding: 0 5px; border-radius: var(--ls-radius-full);
    background: var(--ls-pink); color: #fff; font-size: 11px; text-align: center;
  }
  .ls-header-right { display: flex; align-items: center; gap: 14px; }
  .ls-search-box {
    display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
    background: var(--ls-bg-light); border: 1px solid var(--ls-border); border-radius: var(--ls-radius-md);
    transition: var(--ls-transition);
  }
  .ls-search-box:focus-within { border-color: var(--ls-primary); background: #fff; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
  .ls-search-box input { border: none; outline: none; background: transparent; font-size: 14px; width: 190px; color: var(--ls-text); }
  .ls-search-box i { color: var(--ls-text-muted); font-style: normal; }
  .ls-btn {
    display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 20px;
    border-radius: var(--ls-border-radius-btn); font-size: 14px; font-weight: 600; cursor: pointer;
    border: none; transition: var(--ls-transition);
  }
  .ls-btn-primary { background: var(--ls-primary); color: #fff; }
  .ls-btn-primary:hover { background: var(--ls-primary-hover); }
  .ls-btn-ghost { background: rgba(59,130,246,.1); color: var(--ls-primary); }
  .ls-btn-ghost:hover { background: rgba(59,130,246,.18); }
  .ls-icon-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: var(--ls-radius-md);
    color: var(--ls-text-secondary); cursor: pointer; transition: var(--ls-transition);
  }
  .ls-icon-btn:hover { background: var(--ls-bg-hover); color: var(--ls-primary); }
  .ls-bell-badge {
    position: absolute; top: 1px; right: 1px; min-width: 16px; height: 16px; line-height: 16px;
    padding: 0 4px; border-radius: 100px; background: var(--ls-pink); color: #fff;
    font-size: 10px; text-align: center; border: 2px solid #fff; box-sizing: content-box;
  }
  .ls-user { display: flex; align-items: center; }
  .ls-user-trigger { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 6px; border-radius: var(--ls-radius-md); }
  .ls-user-trigger:hover { background: var(--ls-bg-light); }
  .ls-avatar {
    width: 36px; height: 36px; border-radius: var(--ls-border-radius-avatar); overflow: hidden; flex-shrink: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; font-weight: 700;
  }
  .ls-avatar img { width: 100%; height: 100%; object-fit: cover; }

  /* ===== 主体布局 (顶栏 + 左侧导航 + 内容 + 右侧) ===== */
  .ls-body { padding-top: calc(var(--ls-header-height) + 24px); }
  .ls-layout { max-width: var(--ls-width); margin: 0 auto; padding: 0 24px; display: flex; gap: 24px; align-items: flex-start; }

  /* 左侧导航栏 */
  .ls-sidebar { width: 240px; flex-shrink: 0; position: sticky; top: calc(var(--ls-header-height) + 24px); }
  .ls-sidebar .ls-card { padding: 0; overflow: hidden; }
  .ls-sidebar .ls-user-card { padding: 20px; text-align: center; border-bottom: 1px solid var(--ls-border-light); }
  .ls-sidebar .ls-user-card .ls-avatar { width: 56px; height: 56px; margin: 0 auto; font-size: 22px; }
  .ls-sidebar .ls-user-card .ls-uname { margin-top: 10px; font-size: 15px; font-weight: 600; }
  .ls-sidebar .ls-user-card .ls-utags { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
  .ls-sidebar .ls-user-card .ls-ustats { display: flex; justify-content: center; gap: 22px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ls-border-light); }
  .ls-sidebar .ls-user-card .ls-ustats a { text-align: center; }
  .ls-sidebar .ls-user-card .ls-ustats b { display: block; font-size: 16px; color: var(--ls-text); }
  .ls-sidebar .ls-user-card .ls-ustats span { display: block; font-size: 12px; color: var(--ls-text-muted); margin-top: 2px; }
  .ls-sidebar .ls-user-card .ls-uvip { font-size: 11px; padding: 2px 10px; border-radius: var(--ls-radius-full); font-weight: 600; }
  .ls-sidebar .ls-user-card .ls-uvip.vip { background: linear-gradient(135deg,#f7c948,#f5a623); color: #6b4d00; }
  .ls-sidebar .ls-user-card .ls-uvip.lv { background: rgba(59,130,246,.1); color: var(--ls-primary); }

  /* 左侧菜单 */
  .ls-menu { padding: 10px; display: flex; flex-direction: column; }
  .ls-menu-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    font-size: 14px; color: var(--ls-text-secondary); border-radius: var(--ls-radius-md);
    transition: var(--ls-transition); margin-bottom: 2px;
  }
  .ls-menu-item i { font-size: 18px; opacity: .7; font-style: normal; width: 22px; text-align: center; }
  .ls-menu-item:hover { color: var(--ls-text-primary); background: var(--ls-bg-hover); }
  .ls-menu-item.active { color: var(--ls-primary); background: rgba(59,130,246,.1); font-weight: 600; }
  .ls-menu-item.active i { opacity: 1; }
  .ls-menu-count { margin-left: auto; font-size: 11px; color: var(--ls-text-muted); background: var(--ls-bg-hover); padding: 2px 8px; border-radius: var(--ls-radius-full); }
  .ls-menu-divider { height: 1px; background: var(--ls-border-light); margin: 8px 4px; }
  .ls-menu-item.logout { color: var(--ls-text-muted); }
  .ls-menu-item.logout:hover { color: var(--ls-pink); background: rgba(255,62,134,.06); }

  /* 卡片 */
  .ls-card { background: var(--ls-bg-white); border-radius: var(--ls-border-radius); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
  .ls-main { flex: 1; min-width: 0; }

  /* 动态卡片 */
  .feed-card { background: var(--ls-bg-white); border-radius: var(--ls-border-radius); padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
  .feed-head { display: flex; align-items: center; }
  .feed-avatar { width: 44px; height: 44px; border-radius: var(--ls-border-radius-avatar); flex-shrink: 0; background: linear-gradient(135deg,#6366f1,#8b5cf6); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; overflow: hidden; }
  .feed-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .feed-info { margin-left: 12px; flex: 1; min-width: 0; }
  .feed-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; cursor: pointer; }
  .vip-tag { background: linear-gradient(135deg,#f7c948,#f5a623); color: #6b4d00; font-size: 10px; padding: 1px 8px; border-radius: 4px; font-weight: 600; }
  .lv-tag { color: var(--ls-primary); background: rgba(59,130,246,.1); font-size: 10px; padding: 1px 8px; border-radius: 4px; }
  .feed-meta { font-size: 12px; color: var(--ls-text-muted); margin-top: 3px; }
  .feed-content { margin-top: 12px; font-size: 15px; line-height: 1.7; word-break: break-all; }
  .topic { color: var(--ls-primary); cursor: pointer; }
  .feed-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
  .feed-images.one { grid-template-columns: 1fr; max-width: 320px; }
  .feed-images.one img { aspect-ratio: 4/3; }
  .feed-images img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--ls-border-radius-img); background: #f0f0f0; cursor: pointer; }
  .feed-actions { display: flex; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ls-border-light); }
  .action { display: flex; align-items: center; color: var(--ls-text-secondary); font-size: 13px; margin-right: 28px; cursor: pointer; background: none; border: none; font-family: inherit; }
  .action:hover { color: var(--ls-primary); }
  .action .ic { margin-right: 6px; font-size: 16px; }
  .action.liked { color: #c2185b; }

  /* 右侧 */
  .ls-aside { width: 300px; position: sticky; top: calc(var(--ls-header-height) + 24px); flex-shrink: 0; }
  .panel { background: var(--ls-bg-white); border-radius: var(--ls-border-radius); padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
  .panel-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; }
  .panel-title::before { content: ''; width: 4px; height: 16px; background: var(--ls-primary); border-radius: 2px; margin-right: 8px; }
  .hot-topic { display: flex; align-items: center; padding: 8px 6px; cursor: pointer; border-radius: var(--ls-radius-md); }
  .hot-topic:hover { background: var(--ls-bg-light); }
  .hot-topic .rank { width: 22px; height: 22px; border-radius: 6px; background: var(--ls-bg-light); color: var(--ls-text-muted); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-right: 10px; }
  .hot-topic:nth-child(2) .rank { background: rgba(59,130,246,.1); color: var(--ls-primary); }
  .hot-topic .t-name { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hot-topic .t-count { font-size: 12px; color: var(--ls-text-muted); }
  .suggest-user { display: flex; align-items: center; padding: 10px 0; }
  .suggest-user .s-avatar { width: 40px; height: 40px; border-radius: var(--ls-border-radius-avatar); margin-right: 10px; background: linear-gradient(135deg,#24b47e,#3b82f6); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 700; overflow: hidden; flex-shrink: 0; }
  .suggest-user .s-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .suggest-user .s-info { flex: 1; min-width: 0; }
  .suggest-user .s-name { font-size: 14px; font-weight: 600; cursor: pointer; }
  .suggest-user .s-sig { font-size: 12px; color: var(--ls-text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .s-follow { background: #fff; border: 1px solid var(--ls-primary); color: var(--ls-primary); font-size: 12px; padding: 5px 16px; border-radius: var(--ls-border-radius-btn); cursor: pointer; transition: var(--ls-transition); }
  .s-follow:hover { background: rgba(59,130,246,.1); }
  .s-follow.followed { border-color: var(--ls-border); color: var(--ls-text-muted); background: none; }

  /* Tab / 通用 */
  .ls-tabs { display: flex; background: #fff; border-radius: var(--ls-border-radius); padding: 4px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
  .ls-tab { flex: 1; text-align: center; padding: 10px 0; border-radius: var(--ls-radius-md); color: var(--ls-text-secondary); font-size: 14px; }
  .ls-tab.active { background: rgba(59,130,246,.1); color: var(--ls-primary); font-weight: 600; }
  .empty { text-align: center; padding: 80px 0; color: var(--ls-text-muted); }
  .empty .em { font-size: 50px; margin-bottom: 12px; }
  .load-more { text-align: center; padding: 18px; color: var(--ls-text-muted); font-size: 13px; }
  .toast { position: fixed; top: calc(var(--ls-header-height) + 12px); left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.78); color: #fff; padding: 10px 24px; border-radius: 8px; font-size: 14px; z-index: 99999; opacity: 0; transition: opacity .3s; pointer-events: none; }
  .toast.show { opacity: 1; }
  .btn-primary { background: var(--ls-primary); color: #fff; border: none; padding: 10px 30px; border-radius: var(--ls-border-radius-btn); font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--ls-transition); }
  .btn-primary:hover { background: var(--ls-primary-hover); }
  .btn-outline { background: #fff; border: 1px solid var(--ls-border); color: var(--ls-text-secondary); padding: 9px 26px; border-radius: var(--ls-border-radius-btn); font-size: 14px; cursor: pointer; }

  /* ===== 移动端: 汉堡菜单按钮 ===== */
  .ls-hamburger {
    display: none; width: 38px; height: 38px;
    border: none; background: none; cursor: pointer;
    align-items: center; justify-content: center;
    font-size: 20px; color: var(--ls-text);
    border-radius: var(--ls-radius-md); transition: var(--ls-transition);
    flex-shrink: 0;
  }
  .ls-hamburger:hover { background: var(--ls-bg-hover); }
  .ls-hamburger svg { width: 22px; height: 22px; }

  /* ===== 移动端: 抽屉式导航 ===== */
  .ls-drawer-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.5); z-index: 10001;
    opacity: 0; transition: opacity .3s ease;
  }
  .ls-drawer-overlay.active { display: block; opacity: 1; }
  .ls-drawer {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 280px; max-width: 85vw; background: #fff;
    z-index: 10002; transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    box-shadow: 2px 0 16px rgba(0,0,0,.15);
    display: flex; flex-direction: column;
  }
  .ls-drawer.active { transform: translateX(0); }
  .ls-drawer-header {
    padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--ls-border-light); flex-shrink: 0;
  }
  .ls-drawer-header .ls-logo { font-size: 18px; font-weight: 700; }
  .ls-drawer-close {
    width: 32px; height: 32px; border: none; background: none;
    font-size: 22px; cursor: pointer; color: var(--ls-text-muted);
    border-radius: var(--ls-radius-md); display: flex; align-items: center; justify-content: center;
  }
  .ls-drawer-close:hover { background: var(--ls-bg-hover); }
  .ls-drawer .ls-card { flex: 1; overflow-y: auto; box-shadow: none; border-radius: 0; }
  .ls-drawer .ls-menu { padding: 8px; }

  /* ===== 移动端: 底部导航栏 ===== */
  .ls-bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    height: 56px; background: rgba(255,255,255,.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--ls-border-light); z-index: 9999;
    justify-content: space-around; align-items: center;
  }
  .ls-bottom-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 10px; color: var(--ls-text-muted); text-decoration: none;
    padding: 4px 10px; border-radius: var(--ls-radius-md);
    transition: var(--ls-transition); position: relative;
  }
  .ls-bottom-nav-item i { font-size: 20px; font-style: normal; line-height: 1; }
  .ls-bottom-nav-item.active { color: var(--ls-primary); }
  .ls-bottom-nav-item .ls-bn-badge {
    position: absolute; top: -2px; right: 0; min-width: 15px; height: 15px;
    line-height: 15px; padding: 0 4px; border-radius: 100px;
    background: var(--ls-pink); color: #fff; font-size: 9px; text-align: center;
  }
  .ls-bottom-nav-item.publish {
    width: 46px; height: 46px; background: var(--ls-primary); color: #fff;
    border-radius: 50%; justify-content: center; margin-top: -18px;
    box-shadow: 0 2px 10px rgba(59,130,246,.35); font-size: 22px;
  }
  .ls-bottom-nav-item.publish i { font-size: 22px; }

  /* ===== 响应式断点 ===== */
  @media (max-width: 1200px) {
    .ls-aside { display: none; }
    .ls-layout { max-width: 100%; }
  }
  @media (max-width: 900px) {
    :root { --ls-header-height: 56px; }
    /* 顶栏 */
    .ls-hamburger { display: flex; }
    .ls-main-nav { display: none; }
    .ls-header-inner { padding: 0 12px; gap: 8px; }
    .ls-header-left { gap: 8px; }
    .ls-logo-text { font-size: 18px; }
    .ls-header-right { gap: 8px; }
    .ls-search-box { display: none; }
    .ls-header-right .ls-btn-primary { padding: 0 12px; font-size: 13px; height: 34px; }
    .ls-user-trigger > span:last-child { display: none; }
    .ls-avatar { width: 32px; height: 32px; font-size: 13px; }
    .ls-icon-btn { width: 34px; height: 34px; }

    /* 布局 */
    .ls-body { padding-top: calc(56px + 12px); padding-bottom: 64px; }
    .ls-layout { padding: 0 12px; gap: 0; }
    .ls-sidebar { display: none; }

    /* 底部导航 */
    .ls-bottom-nav { display: flex; }

    /* 动态卡片 */
    .feed-card { padding: 14px; margin-bottom: 10px; }
    .feed-avatar { width: 38px; height: 38px; font-size: 14px; }
    .feed-info { margin-left: 10px; }
    .feed-name { font-size: 14px; }
    .feed-content { font-size: 14px; line-height: 1.65; margin-top: 10px; }
    .feed-images { gap: 4px; margin-top: 10px; }
    .feed-actions { margin-top: 12px; padding-top: 10px; margin-right: -6px; flex-wrap: wrap; gap: 6px 0; }
    .action { margin-right: 16px; font-size: 12px; }
    .action .ic { font-size: 15px; }

    /* 卡片/面板 */
    .panel { padding: 14px; margin-bottom: 10px; }
    .ls-card { border-radius: 8px; }

    /* Tab */
    .ls-tabs { margin-bottom: 10px; }
    .ls-tab { font-size: 13px; padding: 8px 0; }

    /* 页脚 */
    .ls-footer-layout { grid-template-columns: 1fr; gap: 20px; padding: 0 16px; }
    .ls-footer-profile, .ls-footer-map, .ls-footer-feature-panel {
      border: none; padding: 0;
    }
    .ls-footer { margin-top: 32px; }

    /* 举报弹窗 */
    .modal-box { width: 100%; max-width: 360px; }

    /* 空状态 */
    .empty { padding: 48px 0; }
    .empty .em { font-size: 40px; }
  }
  @media (max-width: 600px) {
    .ls-logo-text { display: none; }
    .ls-logo-icon { width: 32px; height: 32px; font-size: 16px; }
    .feed-images { grid-template-columns: repeat(2, 1fr); }
    .feed-images.one { max-width: 200px; }
    .feed-images.one img { aspect-ratio: 4/3; }
    .ls-header-right .ls-btn-primary { display: none; }
    .ls-bottom-nav-item span:not(.ls-bn-badge) { display: none; }
    .ls-bottom-nav-item i { font-size: 22px; }
    .ls-bottom-nav { height: 52px; }
    .ls-body { padding-bottom: 60px; }
  }
  @media (max-width: 380px) {
    .ls-header-right .ls-btn-ghost { padding: 0 10px; font-size: 12px; height: 32px; }
    .feed-images { grid-template-columns: 1fr 1fr; }
  }

/* ============ footer 公共 UI (页脚/举报弹窗/资源分类) ============ */

  /* 底部 LightSNS 风格 */
  .ls-footer { margin-top: 48px; position: relative; z-index: 1; }
  .ls-footer-wave { height: 60px; margin-bottom: -1px; overflow: hidden; pointer-events: none; position: relative; }
  .ls-footer-wave-svg { display: block; width: 100%; height: 60px; position: relative; }
  .ls-footer-wave-stack use { animation: ls-wave-drift 25s cubic-bezier(.55,.5,.45,.5) infinite; }
  .ls-footer-wave-stack use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
  .ls-footer-wave-stack use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
  .ls-footer-wave-stack use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
  .ls-footer-wave-stack use:nth-child(4) { animation-delay: -5s; animation-duration: 16s; }
  @keyframes ls-wave-drift { 0% { transform: translate3d(-90px, 0, 0); } 100% { transform: translate3d(85px, 0, 0); } }

  .ls-footer-stage { background: #fff; padding-top: 10px; }
  .ls-footer-layout {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 10px auto; max-width: var(--ls-width); padding: 0 24px;
  }
  .ls-footer-profile { padding-right: 22px; border-right: 1px solid var(--ls-border); }
  .ls-footer-title-row { display: flex; align-items: center; gap: 14px; }
  .ls-footer-logo-icon {
    width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-size: 18px; font-weight: 800;
  }
  .ls-footer-logo-img { height: 36px; max-width: 180px; object-fit: contain; border-radius: 8px; display: inline-block; }
  .ls-footer-title-row h2 { color: var(--ls-text); font-size: 20px; margin: 0; }
  .ls-footer-summary { color: var(--ls-text-muted); margin: 16px 0 0; font-size: 13px; line-height: 1.8; }
  .ls-footer-heading { font-size: 15px; font-weight: 700; color: var(--ls-text); margin: 4px 0 14px; }
  .ls-footer-map { padding-left: 22px; }
  .ls-footer-map-links { display: flex; flex-direction: column; gap: 10px; }
  .ls-footer-map-links a { color: var(--ls-text-muted); font-size: 13px; transition: all .2s; }
  .ls-footer-map-links a:hover { color: var(--ls-primary); transform: translateX(3px); }
  /* 网站简介(独立栏, 位于快捷导航右侧) */
  .ls-footer-about { padding-left: 22px; }
  .ls-footer-heading-link { color: var(--ls-text); text-decoration: none; transition: color .2s; }
  .ls-footer-heading-link:hover { color: var(--ls-primary); }
  .ls-footer-about-summary {
    color: var(--ls-text-muted); font-size: 13px; line-height: 1.8;
    margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .ls-footer-about-more { color: var(--ls-primary); font-size: 13px; text-decoration: none; font-weight: 600; }
  .ls-footer-about-more:hover { text-decoration: underline; }
  .ls-footer-feature-panel { padding-left: 22px; border-left: 1px solid var(--ls-border); }
  /* 欢迎扫码关注: 三张二维码一行等分布局, 不分行 */
  .ls-footer-qr-list { display: flex; gap: 12px; }
  .ls-footer-qr { flex: 1; min-width: 0; text-align: center; }
  .ls-footer-qr img {
    width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px;
    border: 1px solid var(--ls-border); background: #fff; display: block;
  }
  .ls-footer-qr i {
    display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--ls-text-muted);
  }
  /* 版权 + 备案号：同一行居中排列，窄屏自动换行 */
  .ls-footer-bottom {
    border-top: 1px solid var(--ls-border-light); padding: 20px 24px;
    color: var(--ls-text-muted); font-size: 13px; line-height: 1.9; text-align: center;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 0;
  }
  .ls-footer-bottom .ls-copy-item { display: inline-flex; align-items: center; }
  /* 分隔符挂在行尾, 换行时下一行开头保持干净 */
  .ls-footer-bottom .ls-copy-item:not(:last-child)::after {
    content: '·'; margin: 0 10px; color: var(--ls-border); font-weight: 700;
  }
  .ls-footer-bottom a { color: var(--ls-text-muted); transition: color .2s; }
  .ls-footer-bottom a:hover { color: var(--ls-primary); }
  @media (max-width: 900px) {
    .ls-footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .ls-footer-profile, .ls-footer-map, .ls-footer-about, .ls-footer-feature-panel { padding: 0; border: 0; }
    .ls-footer-bottom { gap: 6px 14px; }
    .ls-footer-bottom .ls-copy-item:not(:last-child)::after { display: none; }
  }
  @media (max-width: 600px) {
    .ls-footer-stage { padding-top: 0; }
    .ls-footer-wave { height: 40px; }
    .ls-footer-wave-svg { height: 40px; }
    .ls-footer-layout { grid-template-columns: 1fr; }
  }

  /* 举报弹窗 */
  .modal-mask { position: fixed; inset: 0; background: rgba(15,23,42,.45); display: none; align-items: center; justify-content: center; z-index: 99998; padding: 16px; }
  .modal-box { width: 420px; max-width: 100%; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(15,23,42,.25); animation: reportPop .2s ease; }
  @keyframes reportPop { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
  .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--ls-border-light); font-size: 16px; font-weight: 700; color: var(--ls-text); }
  .modal-close { font-size: 24px; line-height: 1; color: var(--ls-text-muted); cursor: pointer; }
  .modal-close:hover { color: var(--ls-pink); }
  .modal-body { padding: 18px 20px; }
  .modal-body .field { margin-bottom: 16px; }
  .modal-body .field:last-child { margin-bottom: 0; }
  .modal-body label { display: block; font-size: 13px; font-weight: 600; color: var(--ls-text-secondary); margin-bottom: 8px; }
  .report-input { width: 100%; padding: 10px 12px; border: 1px solid var(--ls-border); border-radius: 10px; font-size: 14px; outline: none; font-family: inherit; color: var(--ls-text); background: #fff; box-sizing: border-box; }
  .report-input:focus { border-color: var(--ls-primary); box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
  textarea.report-input { resize: vertical; min-height: 88px; }
  .modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--ls-border-light); }

  /* 资源分类(右侧栏第一个面板) */
  .res-cat-panel .res-cat-side { display: flex; flex-direction: column; gap: 4px; }
  .res-side-cat {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 12px; border-radius: 8px; text-decoration: none;
    font-size: 14px; color: var(--ls-text-secondary); transition: var(--ls-transition);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .res-side-cat:hover { background: var(--ls-bg-light); color: var(--ls-primary); }
  .res-side-cat.active { background: rgba(59,130,246,.1); color: var(--ls-primary); font-weight: 600; }
