: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__title { margin: 8px 0 4px; font-size: 22px; }
.ant-page-bar__desc { margin: 0; color: var(--ant-muted); font-size: 14px; }
.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(10, minmax(0, 1fr));
  gap: 10px;
}
.ant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 88px;
  padding: 10px 6px;
  background: var(--ant-card);
  border-radius: var(--ant-radius);
  color: inherit;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.ant-card:hover { box-shadow: 0 2px 8px rgba(13,155,138,.18); color: inherit; }
.ant-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eefaf7;
  overflow: hidden;
}
.ant-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.ant-card__icon em {
  font-style: normal;
  font-size: 14px;
  color: var(--ant-teal);
  font-weight: 700;
}
.ant-card__name {
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.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: 10px;
  min-width: 0;
  padding: 10px 12px;
  background: #fff;
  border-radius: var(--ant-radius);
  color: inherit;
}
.ant-list-item:hover { box-shadow: 0 2px 8px rgba(13,155,138,.15); }
.ant-list-item strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.ant-list-item em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--ant-muted);
  overflow-wrap: anywhere;
}
.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: 16px;
  margin-top: 12px;
  align-items: start;
}
.ant-detail__hero {
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: var(--ant-radius);
  padding: 28px 16px 20px;
  text-align: center;
  margin-bottom: 14px;
}
.ant-detail__logo {
  display: inline-flex;
  width: 96px;
  height: 96px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: #eefaf7;
  border: 1px solid #d7ece8;
}
.ant-detail__logo img { width: 72px; height: 72px; object-fit: contain; display: block; }
.ant-detail__logo em {
  font-style: normal;
  font-size: 36px;
  font-weight: 700;
  color: var(--ant-teal);
}
.ant-detail__title { margin: 14px 0 0; font-size: 22px; }
.ant-panel {
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: var(--ant-radius);
  overflow: hidden;
  margin-bottom: 14px;
}
.ant-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
}
.ant-panel__head h2 { margin: 0; font-size: 15px; font-weight: 600; }
.ant-panel--info .ant-panel__head { background: #43a047; }
.ant-panel--intro .ant-panel__head { background: #ef6c00; }
.ant-panel__body { padding: 14px 16px; font-size: 14px; line-height: 1.7; color: #333; }
.ant-meta p { margin: 0 0 8px; }
.ant-meta__cta { margin-top: 14px !important; }
.ant-btn-go {
  display: inline-block;
  padding: 8px 18px;
  background: #1976d2;
  color: #fff !important;
  border-radius: 4px;
  font-size: 14px;
}
.ant-btn-go:hover { background: #1565c0; color: #fff !important; }
.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; }
}
@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)); }
}
@media (max-width: 420px) {
  .ant-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
