/* ============================================================
   中青-资源库 · Python 版新增样式
   ------------------------------------------------------------
   style.css 里的变量与通用组件（topbar / side / card / tag /
   field / btn）全部复用，这里只补旧站没有的：分页、详情大图、
   案例时间轴、登录页、用户中心。
   ============================================================ */

/* ---------- 顶栏微调 ---------- */
a.brand { text-decoration: none; color: inherit; }
a.brand:hover .brand-name { color: var(--gold-2); }
.topbar .who {
  font-size: 13px; color: var(--text-dim); white-space: nowrap;
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
}
.topbar .who:hover { border-color: var(--line-2); }

/* 国旗小图：列表里的国家标签、侧栏国家项 */
.fl-img {
  width: 17px; height: 12px; object-fit: cover; border-radius: 2px;
  vertical-align: -1px; margin-right: 5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}

/* ---------- 侧栏列表 ---------- */
.side-list { display: flex; flex-direction: column; gap: 1px; }
.side-list .cat-item { width: 100%; box-sizing: border-box; }
.side-list .cat-item .n { margin-left: auto; }

/* ---------- 筛选条 ---------- */
.filter-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-form .field { width: 150px; }

/* ---------- 卡片：整块可点 ---------- */
a.card { display: block; color: inherit; text-decoration: none; }
a.card h3 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 分页 ---------- */
.pager {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin: 26px 0 8px; justify-content: center;
}
.pg-btn {
  min-width: 34px; height: 32px; padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--panel); color: var(--text-dim);
  font-size: 13px; text-decoration: none; transition: .15s;
}
.pg-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.pg-btn.on {
  background: var(--gold); border-color: var(--gold);
  color: var(--on-gold); font-weight: 700;
}
.pg-gap { color: var(--text-mute); padding: 0 2px; }
.pg-info { font-size: 12px; color: var(--text-mute); margin-left: 6px; }

/* ---------- 详情页 ---------- */
.detail-layout { align-items: flex-start; }
.detail-side { width: 268px; }
.detail-title { margin: 2px 0 8px; font-size: 27px; line-height: 1.35; }
.hero-sub { color: var(--text-mute); font-size: 13.5px; }
.hero-sub.plain { margin-bottom: 18px; }

.detail-hero {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); margin-bottom: 14px;
  aspect-ratio: 21 / 9; background: #0b0b0d;
}
.detail-hero > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.2, .7, .3, 1);
}
/* 标题区里的国旗必须保持小尺寸，别被上面那条 100% 的规则带跑 */
.hero-cap .fl-img { width: 17px; height: 12px; vertical-align: -1px; }
.detail-hero:hover > img { transform: scale(1.02); }
.hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .18) 52%, transparent 78%);
}
.hero-cap { position: absolute; left: 22px; right: 22px; bottom: 18px; }
.hero-cap h1 {
  margin: 8px 0 4px; font-size: 28px; line-height: 1.3;
  color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}
.hero-cap .hero-sub { color: rgba(255, 255, 255, .82); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.hero-cat { display: flex; gap: 6px; flex-wrap: wrap; }

.thumb-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px; margin-bottom: 20px;
}
.thumb {
  padding: 0; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel);
  cursor: zoom-in; transition: .16s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { border-color: var(--gold); transform: translateY(-2px); }

.block {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px;
}
.block h2 {
  margin: 0 0 12px; font-size: 14px; font-weight: 650;
  letter-spacing: 2px; color: var(--gold);
}
.block h2::before {
  content: ""; display: inline-block; width: 3px; height: 13px;
  background: var(--gold); border-radius: 2px; margin-right: 8px;
  vertical-align: -2px;
}
.prose { margin: 0; font-size: 14px; line-height: 1.9; color: var(--text-dim); }
.price-pre {
  margin: 0; padding: 12px 14px; background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 13.5px; line-height: 1.8;
  color: var(--text); white-space: pre-wrap; word-break: break-word;
}

.nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.nearby-item {
  display: flex; flex-direction: column; gap: 3px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; color: inherit; transition: .15s; background: var(--panel-2);
}
.nearby-item:hover { border-color: var(--gold); transform: translateY(-1px); }
.nearby-item b { font-size: 13.5px; font-weight: 600; }
.nearby-item span { font-size: 12px; color: var(--text-mute); }

.info-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 6px 16px;
}
.info-row {
  display: flex; gap: 12px; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px;
}
.info-row:last-child { border-bottom: 0; }
.info-row span { color: var(--text-mute); flex: none; }
.info-row b { font-weight: 500; text-align: right; word-break: break-word; }
.info-row b a { color: var(--gold-2); }

/* 图片灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 999; background: rgba(0, 0, 0, .88);
  display: flex; align-items: center; justify-content: center; padding: 4vh 4vw;
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lb-close {
  position: absolute; top: 18px; right: 22px; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .4); color: #fff; font-size: 16px; cursor: pointer;
}
.lb-close:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- 案例库 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.case-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0 0 16px;
  text-decoration: none; color: inherit; position: relative;
  overflow: hidden; transition: .18s;
}
/* 封面：卡片顶部的整幅照片，下缘渐隐进卡片底色，缺图时用暗金渐变兜底 */
.cc-cover {
  position: relative; height: 112px; margin-bottom: 12px;
  background: linear-gradient(135deg, #1b1710, #0f0f11 60%, #191207);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line);
}
.cc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92) brightness(.92); }
.cc-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 42%, rgba(0,0,0,.55) 100%);
}
.case-card .cc-cover::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; z-index: 2;
  background: linear-gradient(180deg, transparent, var(--panel));
}
.cc-ph { font-size: 34px; font-weight: 700; color: rgba(214,178,94,.30); letter-spacing: 2px; }
.case-card > .cc-top, .case-card > h3, .case-card > .cc-meta,
.case-card > .cc-sum, .case-card > .cc-cities { padding: 0 17px; }
.case-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--gold), transparent); opacity: 0; transition: .18s;
}
.case-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.case-card:hover::after { opacity: 1; }
.case-card h3 { margin: 0; font-size: 15.5px; line-height: 1.5; font-weight: 650; }
.cc-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.days-badge {
  font-size: 11.5px; font-weight: 700; letter-spacing: .5px;
  color: var(--on-gold); background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-radius: 999px; padding: 2px 10px;
}
.cc-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-mute); }
.cc-sum { margin: 0; font-size: 12.8px; line-height: 1.75; color: var(--text-dim); }
.cc-cities { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.chip {
  font-size: 11.5px; color: var(--text-dim); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px;
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }

.case-head {
  background: linear-gradient(135deg, var(--gold-dim), transparent 60%), var(--panel);
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px;
}
.case-head h1 { margin: 8px 0 10px; font-size: 24px; line-height: 1.4; }
.case-summary { margin: 12px 0 0; font-size: 13.5px; line-height: 1.8; color: var(--text-dim); }

/* 时间轴 */
.tl { position: relative; padding-left: 4px; }
.tl-day { display: flex; gap: 14px; padding-bottom: 14px; }
.tl-n {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--panel-2); border: 1px solid var(--line);
  color: var(--gold-2); font-weight: 700; font-size: 13px;
  position: sticky; top: 84px;
}
.tl-body {
  flex: 1; min-width: 0; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px;
}
.tl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tl-head b { color: var(--gold-2); font-size: 13px; letter-spacing: .5px; }
.tl-city { font-size: 13px; color: var(--text-dim); }
.tl-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.tl-text { font-size: 13.5px; line-height: 1.85; color: var(--text-dim); white-space: pre-wrap; }
.tl-hotel { margin-top: 10px; font-size: 12.8px; color: var(--text); background: var(--panel-2); border-radius: 8px; padding: 7px 10px; }
.tl-note { margin-top: 8px; font-size: 12.5px; color: var(--text-mute); }
.tl-items { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- 资料中心 ---------- */
.tut-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 10px; }
.tut-card {
  display: flex; gap: 13px; padding: 15px 16px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: inherit; transition: .16s;
}
.tut-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.tut-ico {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center; font-size: 20px;
  background: var(--gold-dim); border: 1px solid rgba(201, 164, 92, .3);
}
.tut-main { min-width: 0; }
.tut-main h3 { margin: 0 0 5px; font-size: 14.5px; line-height: 1.5; }
.tut-main p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.7; color: var(--text-dim); }
.tut-meta { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.dim { color: var(--text-mute); font-size: 12px; }

.file-list { display: flex; flex-direction: column; gap: 8px; }
.file-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 13px;
  border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; color: inherit; background: var(--panel-2); transition: .15s;
}
.file-item:hover { border-color: var(--gold); }
.fi-ico { font-size: 18px; }
.fi-name { flex: 1; font-size: 13.5px; }
.fi-size { font-size: 12px; color: var(--text-mute); }

/* ---------- 用户中心 ---------- */
.profile-head {
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(135deg, var(--gold-dim), transparent 65%), var(--panel);
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px;
}
.avatar {
  width: 64px; height: 64px; border-radius: 18px; flex: none;
  display: grid; place-items: center; font-size: 26px; font-weight: 700;
  color: var(--on-gold); background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 8px 22px rgba(201, 164, 92, .25);
}
.ph-main h1 { margin: 0 0 8px; font-size: 24px; }
.ph-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.stat {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px;
}
.stat b { display: block; font-size: 24px; color: var(--gold-2); line-height: 1.2; }
.stat span { font-size: 12px; color: var(--text-mute); }

.perm-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.perm-group h4 {
  margin: 0 0 8px; font-size: 12px; letter-spacing: 1.5px;
  color: var(--text-mute); font-weight: 600;
}
.mini-table { width: 100%; border-collapse: collapse; font-size: 12.8px; }
.mini-table th, .mini-table td {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.mini-table th { color: var(--text-mute); font-weight: 500; font-size: 12px; }
.mini-table tr:hover td { background: var(--panel-2); }
.note-line { margin-top: 18px; }

/* ---------- 登录页 ---------- */
.login-wrap {
  min-height: calc(100vh - 150px); display: flex;
  align-items: center; justify-content: center; padding: 40px 18px;
}
.login-card {
  width: min(400px, 100%);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 60%);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 30px 24px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.login-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.login-brand .mark.big {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--on-gold); font-weight: 700; font-size: 20px;
}
.lb-name { font-size: 16px; font-weight: 650; letter-spacing: .5px; }
.lb-sub { font-size: 10.5px; letter-spacing: 2px; color: var(--text-mute); }
.login-card h2 { margin: 0 0 18px; font-size: 15px; font-weight: 500; color: var(--text-dim); letter-spacing: 3px; }
.lf { display: block; margin-bottom: 14px; }
.lf span { display: block; font-size: 12px; color: var(--text-mute); margin-bottom: 6px; letter-spacing: 1px; }
.lf .field { width: 100%; box-sizing: border-box; height: 42px; }
.login-btn { width: 100%; height: 44px; margin-top: 6px; font-size: 15px; letter-spacing: 4px; }
.login-err {
  margin-bottom: 14px; padding: 9px 12px; border-radius: 9px;
  background: rgba(217, 83, 79, .12); border: 1px solid rgba(217, 83, 79, .35);
  color: #e7908d; font-size: 13px;
}
.login-tip { margin: 18px 0 0; font-size: 12px; color: var(--text-mute); line-height: 1.7; }

/* ---------- 占位与错误页 ---------- */
.soon { text-align: center; padding: 90px 20px; }
.soon-badge, .soon-code {
  display: inline-block; font-size: 12px; letter-spacing: 3px;
  color: var(--gold-2); border: 1px solid rgba(201, 164, 92, .45);
  border-radius: 999px; padding: 4px 14px; margin-bottom: 18px;
}
.soon-code { font-size: 34px; font-weight: 700; letter-spacing: 6px; padding: 8px 26px; }
.soon h1 { margin: 0 0 12px; font-size: 24px; }
.soon p { max-width: 560px; margin: 0 auto 12px; color: var(--text-dim); font-size: 13.5px; line-height: 1.9; }
.soon .btn { margin-top: 16px; }
/* 404：给一条自救援路径（搜索 + 常去入口），别只有一个返回按钮 */
.soon-tip { color: var(--text-mute); font-size: 12.8px; }
.err-search {
  display: flex; gap: 8px; align-items: center;
  max-width: 460px; margin: 20px auto 0;
}
.err-search .field { flex: 1; min-width: 0; padding: 10px 14px; text-align: left; }
.err-search .btn { flex: none; margin-top: 0; white-space: nowrap; padding: 10px 18px; }
.err-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.err-links .btn { margin-top: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .detail-side { display: none; }
}
@media (max-width: 760px) {
  .detail-hero { aspect-ratio: 4 / 3; }
  .hero-cap h1 { font-size: 21px; }
  .detail-title { font-size: 22px; }
  /* 用户中心的三块计数：数字 + 三字标签，手机上 3 列并排就够了，
     拆成三整行会白占两屏 */
  .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 12px 10px; text-align: center; }
  .stat b { font-size: 20px; }
  .stat span { font-size: 11.5px; }
  .case-grid, .tut-grid { grid-template-columns: 1fr; }
  .pager { gap: 4px; }
  .pg-info { display: none; }
}

/* 详情页没有正文时的提示 */
.block .empty-line { margin: 0; color: var(--text-mute); font-size: 13px; }

/* ============================================================
   小屏补丁（≤ 860px）
   ------------------------------------------------------------
   mobile.css 是按旧站「侧栏 + 汉堡菜单」写的：导航默认 display:none，
   等 .nav-toggle 打开。Python 版顶栏没有汉堡按钮，导航会彻底点不到，
   所以这里改成「导航常驻、横向可滑」，并顺手把侧栏压成标签行，
   免得手机上一进首页先看两屏筛选条件。
   ============================================================ */
@media (max-width: 860px) {

  /* ---------- 导航：一行横滑，永远看得见 ---------- */
  .topbar-nav {
    display: block; width: 100%;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 2px;
  }
  .topbar-nav::-webkit-scrollbar { display: none; }
  .topbar-nav .nav {
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap;
    justify-content: flex-start; margin: 0; padding: 2px 0;
    background: none; border: 0; border-radius: 0;
  }
  .topbar-nav .nav a {
    flex: none; white-space: nowrap;
    padding: 8px 13px; font-size: 14.5px; border-radius: 8px;
  }
  .topbar .spacer { display: none; }
  .topbar-row { gap: 10px; }
  .search-wrap { order: 3; }

  /* ---------- 侧栏：三组筛选各占一行，横向滑动 ---------- */  .layout { flex-direction: column; gap: 12px; }
  .side {
    width: 100%; box-sizing: border-box;
    position: static; top: auto; max-height: none; overflow: visible;
    padding: 10px 10px 6px;
  }
  .side h4 { margin: 2px 6px 7px; font-size: 11px; }
  .side h4:not(:first-of-type) { margin-top: 12px; }
  .side-list {
    flex-direction: row; align-items: center; flex-wrap: nowrap;
    gap: 6px; padding: 0 2px 6px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .side-list::-webkit-scrollbar { display: none; }
  .side-list .cat-item {
    width: auto; flex: none;
    padding: 7px 11px 7px 11px; font-size: 13.5px;
    border: 1px solid var(--line); border-radius: 999px; white-space: nowrap;
  }
  .side-list .cat-item.on { border-color: rgba(201, 164, 92, .55); }
  .side-list .cat-item .n { margin-left: 2px; font-size: 11px; }

  /* ---------- 筛选栏：分类/国家已由上面的标签行承担，去掉重复下拉 ---------- */
  .filter-form select.field { display: none; }
  .filter-form .field[name="q"] { width: auto !important; flex: 1 1 160px; min-width: 0; }
  .filter-form { flex: 1 1 100%; }

  /* ---------- 详情页：右栏信息卡挪到底部，两列铺开 ---------- */
  .detail-layout { flex-direction: column; }
  .detail-side { display: block; width: 100%; }
  .detail-side .info-card {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px; padding: 4px 14px;
  }
  .detail-side .info-row { padding: 9px 0; font-size: 12.8px; }
  .detail-hero { aspect-ratio: 16 / 10; }
  .hero-cap { padding: 14px 14px 15px; }
  .hero-cap h1 { font-size: 20px; }
  .thumb-row { gap: 6px; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }

  /* 404 / 占位页：搜索框别撑出屏幕 */
  .soon { padding: 60px 6px; }
  .err-search { max-width: none; }

  /* ---------- 站内信：侧栏压成一行标签，列表早点露出来 ---------- */
  .mail-wrap .side { padding: 8px 8px 2px; }
  .mail-wrap .side h4 { display: none; }
  #boxList {
    display: flex; gap: 6px; flex-wrap: nowrap;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 4px;
  }
  #boxList::-webkit-scrollbar { display: none; }
  #boxList .cat-item {
    flex: none; width: auto; white-space: nowrap;
    border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px;
    font-size: 13.5px;
  }
  .mail-wrap .side .hint-sm { display: none; }
  .mail-wrap .side > div[style] { margin-top: 6px !important; }
  /* 搜索框独占一行，不然「共 N 封 / 刷新」把它挤成一条缝 */
  .mail-wrap .panel .toolbar { flex-wrap: wrap; justify-content: flex-start; }
  .mail-wrap .panel .toolbar .field { flex: 1 1 100%; max-width: none !important; }
}

@media (max-width: 480px) {
  .side-list .cat-item { font-size: 13px; padding: 6px 10px; }
  .topbar .who { max-width: 90px; }
  .err-search { flex-wrap: wrap; }
  .err-search .btn { width: 100%; justify-content: center; }
}
