:root {
  --ant-teal: #0d9b8a;
  --ant-teal-dark: #0a7a6c;
  --ant-bg: #f0f2f5;
  --ant-card: #fff;
  --ant-text: #222;
  --ant-muted: #666;
  --ant-radius: 8px;
  --ant-max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body.ant-body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ant-text);
  background: var(--ant-bg);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: var(--ant-teal-dark); text-decoration: none; }
a:hover { color: var(--ant-teal); }
.ant-container {
  width: 100%;
  max-width: var(--ant-max);
  margin: 0 auto;
  padding: 0 16px;
}
.ant-header { background: #fff; border-bottom: 1px solid #e5e8eb; }
.ant-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}
.ant-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.ant-logo img,
.ant-logo__mark,
.ant-logo__mark svg { display: block; width: 40px; height: 40px; flex-shrink: 0; }
.ant-logo__mark {
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(13,148,136,.28);
  line-height: 0;
}
.ant-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.ant-logo__text strong { font-size: 18px; color: var(--ant-teal); }
.ant-logo__text em { font-style: normal; font-size: 12px; color: var(--ant-muted); }
.ant-nav-toggle {
  display: none;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
}
.ant-nav { background: var(--ant-teal); }
.ant-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  min-width: 0;
}
.ant-nav__inner a {
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
  white-space: nowrap;
}
.ant-nav__inner a:hover { background: var(--ant-teal-dark); color: #fff; }
.ant-main { padding: 20px 0 40px; min-height: 50vh; }
.ant-page-bar { margin-bottom: 16px; }
.ant-page-bar--slim { margin-bottom: 12px; }
.ant-page-bar--slim .ant-page-bar__title,
.ant-page-bar--slim .ant-page-bar__desc { display: none; }
.ant-page-bar__title { margin: 8px 0 4px; font-size: 22px; }
.ant-page-bar__desc { margin: 0; color: var(--ant-muted); font-size: 14px; }
.ant-catdir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: var(--ant-radius);
  padding: 10px 14px 16px;
}
.ant-catdir__block {
  min-width: 0;
  padding: 10px 8px 12px;
  border-bottom: 1px dashed #e8ebef;
}
.ant-catdir__block:nth-last-child(-n+2) { border-bottom: 0; }
.ant-catdir__tit {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.ant-catdir__tit a { color: var(--ant-teal-dark); }
.ant-catdir__tit a:hover { color: var(--ant-teal); }
.ant-catdir__kids {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
}
.ant-catdir__kids a {
  color: #333;
  font-size: 14px;
  line-height: 1.75;
  white-space: nowrap;
}
.ant-catdir__kids a:hover { color: var(--ant-teal); }
.ant-breadcrumb { font-size: 13px; color: var(--ant-muted); }
.ant-breadcrumb a { color: var(--ant-teal-dark); }
.ant-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.ant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 108px;
  padding: 14px 8px 12px;
  background: var(--ant-card);
  border-radius: var(--ant-radius);
  color: inherit;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  border: 1px solid #eef1f4;
}
.ant-card:hover {
  box-shadow: 0 2px 10px rgba(13,155,138,.16);
  border-color: #cfe8e3;
  color: inherit;
}
.ant-card__icon {
  width: 88px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: transparent;
  overflow: visible;
}
.ant-card__icon img {
  width: 88px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  display: block;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}
.ant-card__icon em {
  font-style: normal;
  font-size: 20px;
  color: var(--ant-teal);
  font-weight: 700;
  line-height: 40px;
}
.ant-card__name {
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  color: #222;
}
.ant-sec {
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--ant-radius);
  overflow: hidden;
}
.ant-sec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #eef1f4;
  border-bottom: 1px solid #e5e8eb;
}
.ant-sec__head h2 { margin: 0; font-size: 16px; }
.ant-sec__body { padding: 12px 14px; }
.ant-subgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.ant-subgrid a {
  color: #333;
  font-size: 14px;
  min-width: 0;
}
.ant-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.ant-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  background: #fff;
  border-radius: var(--ant-radius);
  color: inherit;
  border: 1px solid #eef1f4;
}
.ant-list-item:hover { box-shadow: 0 2px 8px rgba(13,155,138,.15); border-color: #cfe8e3; }
.ant-list-item .ant-card__icon {
  width: 72px;
  height: 34px;
  flex-shrink: 0;
  background: transparent;
}
.ant-list-item .ant-card__icon img {
  width: 72px;
  height: 34px;
}
.ant-list-item .ant-card__icon em {
  font-size: 16px;
  line-height: 34px;
}
.ant-list-item strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
  margin-bottom: 2px;
}
.ant-list-item em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ant-muted);
  overflow-wrap: anywhere;
}
.ant-region {
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: var(--ant-radius);
  padding: 14px 18px 18px;
}
.ant-region-muni {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 4px 0 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid #eef1f4;
}
.ant-region-muni a {
  font-size: 15px;
  font-weight: 700;
  color: var(--ant-teal-dark);
  line-height: 1.7;
}
.ant-region-muni a:hover { color: var(--ant-teal); }
.ant-region-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 6px 16px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px dashed #e8ebef;
}
.ant-region-row:last-child { border-bottom: 0; }
.ant-region-prov {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  line-height: 1.7;
  white-space: nowrap;
}
.ant-region-prov:hover { color: var(--ant-teal); }
.ant-region-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
  min-width: 0;
}
.ant-region-cities a {
  color: #444;
  font-size: 14px;
  line-height: 1.75;
}
.ant-region-cities a:hover { color: var(--ant-teal); }
.ant-empty { padding: 40px 16px; text-align: center; color: var(--ant-muted); background: #fff; border-radius: var(--ant-radius); }
.ant-footer {
  background: #fff;
  border-top: 1px solid #e5e8eb;
  padding: 24px 0 32px;
  font-size: 13px;
  color: var(--ant-muted);
}
.ant-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
}
.ant-footer__nav a { color: #555; }
.ant-footer__copy { margin: 0; }
.ant-footer__friends { margin-top: 12px; }
.ant-footer__friends a { margin-right: 10px; }
.ant-linktg-body { background: var(--ant-bg); }
.ant-linktg {
  max-width: 520px;
  margin: 80px auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
}
.ant-linktg__url { word-break: break-all; color: var(--ant-muted); font-size: 13px; }
.ant-linktg__btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: var(--ant-teal);
  color: #fff !important;
  border-radius: 8px;
}
.ant-article { background: #fff; border-radius: var(--ant-radius); padding: 20px; }
.ant-article h1 { margin-top: 0; font-size: 22px; }
.ant-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  margin-top: 16px;
  align-items: start;
}
.ant-detail__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(64, 180, 160, 0.16), transparent 55%),
    linear-gradient(180deg, #fbfefd 0%, #fff 70%);
  border: 1px solid #e5e8eb;
  border-radius: var(--ant-radius);
  padding: 36px 20px 28px;
  text-align: center;
  margin-bottom: 18px;
}
.ant-detail__glow {
  position: absolute;
  inset: -20% 20% auto;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 160, 71, 0.22), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
  animation: ant-glow-drift 9s ease-in-out infinite alternate;
}
.ant-detail__logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 148px;
  height: 68px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: #f7faf9;
  border: 1px solid #d7ece8;
  box-shadow: 0 6px 18px rgba(20, 80, 70, 0.06);
  animation: ant-logo-float 5.5s ease-in-out infinite;
  will-change: transform;
}
.ant-detail__logo img { width: 124px; height: 58px; object-fit: contain; display: block; }
.ant-detail__logo em {
  font-style: normal;
  font-size: 28px;
  font-weight: 700;
  color: var(--ant-teal);
}
.ant-detail__title {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2a3138;
}
@keyframes ant-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes ant-glow-drift {
  0% { transform: translateX(-6%) scale(1); opacity: 0.55; }
  100% { transform: translateX(6%) scale(1.08); opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .ant-detail__logo,
  .ant-detail__glow { animation: none; }
}
.ant-panel {
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: var(--ant-radius);
  overflow: hidden;
  margin-bottom: 18px;
}
.ant-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  color: #fff;
  font-size: 13px;
}
.ant-panel__head h2 { margin: 0; font-size: 15px; font-weight: 600; }
.ant-panel--info .ant-panel__head { background: #66bb6a; }
.ant-panel--intro .ant-panel__head { background: #ef6c00; }
.ant-panel--query .ant-panel__head { background: #42a5f5; }
.ant-panel--random .ant-panel__head { background: #9ccc65; }
.ant-panel__body { padding: 18px 20px; font-size: 14px; line-height: 1.85; color: #333; }
.ant-panel__body--airy { padding: 22px 22px 24px; min-height: 72px; }
.ant-detail__spacer {
  height: 10px;
  margin: 0 0 18px;
  border: 1px dashed #dde3e8;
  border-radius: 6px;
  background: #fff;
}
.ant-meta--grid { display: flex; flex-direction: column; gap: 0; }
.ant-meta__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  padding: 12px 0;
  border-bottom: 1px dashed #e4e9ee;
}
.ant-meta__row:last-child { border-bottom: 0; padding-bottom: 0; }
.ant-meta__row:first-child { padding-top: 0; }
.ant-meta__row--single { grid-template-columns: 1fr; }
.ant-meta p { margin: 0; line-height: 1.9; }
.ant-meta a { color: #1976d2; }
.ant-meta__cta { margin-top: 14px !important; }
.ant-btn-go {
  display: inline-block;
  margin-left: 10px;
  padding: 5px 16px;
  background: #1976d2;
  color: #fff !important;
  border-radius: 999px;
  font-size: 13px;
  vertical-align: middle;
  line-height: 1.4;
}
.ant-btn-go:hover { background: #1565c0; color: #fff !important; }
.ant-query { display: flex; flex-direction: column; gap: 14px; }
.ant-query__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding-bottom: 12px;
  border-bottom: 1px dotted #e0e6eb;
}
.ant-query__row:last-child { border-bottom: 0; padding-bottom: 0; }
.ant-query__row > strong {
  flex: 0 0 auto;
  min-width: 4.5em;
  color: #555;
  font-weight: 600;
}
.ant-query__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ant-query__pills a {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}
.ant-query__pills--solid a {
  background: #5f6b76;
  color: #fff !important;
}
.ant-query__pills--solid a:hover { background: #45515c; }
.ant-query__pills--outline a {
  background: #fff;
  color: #555 !important;
  border: 1px solid #c5ccd3;
}
.ant-query__pills--outline a:hover {
  border-color: #1976d2;
  color: #1976d2 !important;
}
.ant-query__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
}
.ant-query__tools a { color: #1976d2; }
.ant-query__tools a:hover { text-decoration: underline; }
.ant-random-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 36px;
  background: #f7f8fa;
  margin: -6px -8px;
  padding: 10px 12px;
  border-radius: 6px;
}
.ant-random-grid a {
  color: #222;
  font-size: 14px;
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ant-random-grid a:hover { color: #1976d2; }
.ant-muted { margin: 0; color: #888; font-size: 13px; }
.ant-sidebox {
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: var(--ant-radius);
  padding: 12px 14px;
  margin-bottom: 12px;
}
.ant-sidebox h2 {
  margin: 0 0 10px;
  font-size: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef1f4;
}
.ant-sidebox ul { margin: 0; padding: 0; list-style: none; }
.ant-sidebox li { margin: 0 0 8px; font-size: 13px; }
.ant-sidebox li a { color: #333; }
.ant-sidebox--explore { background: #eef7ff; border-color: #d6e8f8; }
.ant-sidebox--explore a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  color: #1565c0;
  border-bottom: 1px dashed #c5daf0;
  font-size: 14px;
}
.ant-sidebox--explore a:last-child { border-bottom: 0; }
@media (max-width: 1100px) {
  .ant-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ant-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ant-detail { grid-template-columns: 1fr; }
  .ant-meta__row { grid-template-columns: 1fr; gap: 8px; }
  .ant-random-grid { grid-template-columns: 1fr; gap: 8px; }
  .ant-catdir { grid-template-columns: 1fr; }
  .ant-catdir__block:nth-last-child(-n+2) { border-bottom: 1px dashed #e8ebef; }
  .ant-catdir__block:last-child { border-bottom: 0; }
}
@media (max-width: 768px) {
  .ant-nav-toggle { display: inline-block; }
  .ant-nav { display: none; }
  .ant-nav.is-open { display: block; }
  .ant-nav__inner { flex-direction: column; }
  .ant-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ant-list { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .ant-region-row { grid-template-columns: 1fr; gap: 2px 0; }
  .ant-region-muni { gap: 6px 14px; }
  .ant-card__icon,
  .ant-card__icon img { width: 72px; height: 34px; }
  .ant-catdir { padding: 8px 10px 12px; }
  .ant-detail__hero { padding: 28px 14px 22px; }
  .ant-detail__title { font-size: 22px; }
  .ant-detail__logo,
  .ant-detail__glow { animation: none; }
  .ant-panel__body { padding: 14px 14px; }
  .ant-query__row > strong { min-width: 3.5em; }
}
@media (max-width: 420px) {
  .ant-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
