
@media (min-width:1001px) {
  body > header {
    grid-template-columns:150px minmax(0,1fr) minmax(300px,360px);
  }
  header nav { gap:clamp(16px,2.2vw,34px); }
}
@media (min-width:721px) and (max-width:1000px) {
  body > header {
    grid-template-columns:125px minmax(0,1fr) minmax(240px,285px);
  }
  header nav { gap:14px; }
}
.accounttools {
  gap:10px;
  position:relative;
}
.accounttools .participatebutton {
  background:var(--g)!important;
  border-radius:9px!important;
  box-shadow:0 8px 22px #0d653e20;
  color:#fff!important;
  font-size:12px!important;
  height:38px!important;
  overflow:hidden!important;
  padding:0 15px!important;
  white-space:nowrap;
  width:auto!important;
}
.accounttools .participatebutton:hover {
  background:#074e2f!important;
  transform:translateY(-1px);
}
.accounttools .lang {
  color:#60706a;
  padding:8px;
}
@media (max-width:720px) {
  .accounttools .participatebutton {
    font-size:10px!important;
    height:34px!important;
    padding:0 10px!important;
    width:auto!important;
  }
  .accounttools .lang { display:none; }
}

/* 强制公安备案图标尺寸 */
.gongan-link,
.gongan-link span {
  display: inline-flex;
  align-items: center;
}
footer .gongan-link img,
.gongan-link img,
img[alt="公安备案"] {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  object-fit: contain !important;
  display: inline-block !important;
}
footer small {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 4px 6px !important;
}
