:root {
  --bg: #f2f2f2;
  --surface: #ffffff;
  --text: #333333;
  --text-2: #444444;
  --muted: #666666;
  --faint: #5c5c5c;
  --line: #f2f2f2;
  --accent: #ff3399;
  --accent-2: #ff2f8b;
  --accent-soft: #ffebf5;
  --warn-bg: #fff7e6;
  --warn-line: #f5d48b;
  --radius: 12px;
  --header-h: 80px;
  --cta-h: 56px;
  --font: Avenir, Helvetica, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --cta-wash: rgba(255, 20, 90, 0.28);
  --cta-ink: rgba(90, 8, 40, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  padding-bottom: calc(var(--cta-h) + 48px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1 {
  font-size: 22px;
  line-height: 1.28;
  color: var(--text);
  font-weight: 700;
  margin: 0 0 10px;
}

h2 {
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
  font-weight: 700;
  margin: 0 0 10px;
}

p {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}

.content {
  width: 100%;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

@media (min-width: 576px) {
  .content { max-width: 540px; }
}

@media (min-width: 768px) {
  .content { max-width: 720px; }
}

@media (max-width: 991px) {
  #psearch { display: none; }
}

@media (min-width: 992px) {
  .content { max-width: 960px; }
}

@media (min-width: 1200px) {
  .content { max-width: 1140px; }
}

#pheader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header-h);
  background: var(--surface);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
}

#pheader .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
  min-height: 100%;
  height: 100%;
  padding: 6px 10px 0;
  gap: 20px;
}

#plogo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  margin-right: 8px;
}

#plogo img {
  width: auto;
  height: 36px;
  max-width: 167px;
  object-fit: contain;
}

#p_nv {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 16px;
  height: 100%;
}

#pnav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
  gap: 6px;
  height: 100%;
}

#psearch {
  margin-left: auto;
}

.pnavbar-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: 100%;
  font-size: 17px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.08em;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.pnavbar-nav.pactive,
.pnavbar-nav:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

#p_login {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  margin-left: 12px;
}

#p_login .pnavbar-nav {
  font-size: 14px;
  letter-spacing: 0;
  padding: 0 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  color: #333;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.search-box {
  display: flex;
  min-width: 180px;
}

.search-box input {
  flex: 1;
  min-width: 0;
  height: 36px;
  border: 1px solid #dcdfe6;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
}

.search-box button {
  width: 44px;
  height: 36px;
  border: 1px solid #dcdfe6;
  background: #fff;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  color: #606266;
}

.C-MobileNav {
  display: none;
}

.mobile-panel {
  display: none;
  background: #fff;
  color: #666;
  box-shadow: 0 1px 3px #d3d3d3;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel a,
.mobile-panel .nav-link {
  display: block;
  padding: 12px 15px 12px 20px;
  font-size: 16px;
  color: #666;
}

.mobile-panel a.active {
  color: var(--accent);
}

.mobile-panel .search-box {
  padding: 8px 16px 16px;
}

main.el-main {
  margin-top: var(--header-h);
  padding: 10px;
}

.el-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 8px 0;
}

.el-card__body {
  padding: 10px;
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
}

.HotText {
  flex: 0 0 20%;
  max-width: 20%;
  color: #000;
  font-size: 14px;
  display: block;
  border-radius: 12px;
  text-align: center;
}

.HotBtn {
  min-height: 72px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 12px;
}

.hot-icon {
  width: 34px;
  height: 34px;
  display: block;
}

.HotBtn .label {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  color: #666;
}

.HotText:hover .HotBtn,
.HotText:focus .HotBtn {
  transform: translateY(-3px);
}

.HotText:hover .label,
.HotText:focus .label {
  color: var(--accent);
}

@media (max-width: 640px) {
  .HotText {
    flex: 0 0 20%;
    max-width: 20%;
  }

  .HotBtn .label {
    font-size: 11px;
  }
}

.G_Field {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  gap: 8px;
}

.G_Field .Label {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 14px;
  color: #666;
  padding-top: 6px;
  white-space: nowrap;
}

.Fields {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-width: 0;
}

.top_link,
.hot_link,
.city_link {
  font-size: 14px;
  color: #666;
  padding: 5px 8px;
  border-radius: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.top_link {
  flex: 0 0 10%;
  max-width: 10%;
}

.hot_link,
.city_link {
  flex: 0 0 16.666%;
  max-width: 16.666%;
}

.top_link:hover,
.hot_link:hover,
.city_link:hover,
.city_link.active {
  color: var(--accent);
}

.c-btn {
  text-align: center;
  padding: 4px 0 8px;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid #dcdfe6;
  background: #fff;
  border-radius: 20px;
  font-size: 12px;
  color: #606266;
  cursor: pointer;
}

.G-Title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 4px;
  font-weight: 700;
  font-size: 16px;
  color: #333;
}

.drop {
  position: relative;
}

.drop-btn {
  border: 0;
  background: transparent;
  color: #666;
  font-size: 14px;
  cursor: pointer;
}

.drop-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 8;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  min-width: 120px;
  padding: 6px 0;
}

.drop.is-open .drop-menu {
  display: block;
}

.drop-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 14px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.drop-menu button:hover {
  background: var(--accent-soft);
  color: #9d1458;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -4px;
}

.card-grid .col {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 4px;
}

@media (min-width: 768px) {
  .card-grid .col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .card-grid .col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  .top_link {
    flex: 0 0 10%;
    max-width: 10%;
  }
}

.C-InfoCard {
  display: flex;
  justify-content: space-between;
  min-height: 160px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.C-InfoCard .Content {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  text-align: left;
}

.C-InfoCard .Title {
  color: #333;
  font-size: 16px;
  padding: 16px 8px 8px 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.C-InfoCard .State {
  padding: 0 8px 8px 16px;
  color: #999;
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.C-InfoCard .Desc {
  padding: 0 8px 0 16px;
  font-size: 14px;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.C-InfoCard .Location {
  padding: 8px 8px 16px 16px;
  font-size: 14px;
  color: var(--accent);
}

.C-InfoCard .Cover {
  width: 105px;
  flex: 0 0 105px;
  height: 132px;
  margin: 14px 9px 14px 0;
  border-radius: 4px;
  object-fit: cover;
  align-self: center;
  background: #f7f7f7;
}

.ad-banners {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.ad-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 311px;
}

.ad-link {
  display: flex;
  aspect-ratio: 470 / 209;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  align-items: center;
  justify-content: center;
}

.ad-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-link span {
  position: absolute;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.ad-link {
  position: relative;
}

.filter-row .city_link {
  flex: 0 0 33.333%;
  max-width: 33.333%;
}

@media (min-width: 576px) {
  .filter-row .city_link {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (min-width: 768px) {
  .filter-row .city_link {
    flex: 0 0 16.666%;
    max-width: 16.666%;
  }

  .hot_link {
    flex: 0 0 16.666%;
    max-width: 16.666%;
  }
}

@media (min-width: 992px) {
  .filter-row .city_link,
  .hot_link {
    flex: 0 0 10%;
    max-width: 10%;
  }
}

.article-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.LeftPart {
  flex: 1 1 640px;
  min-width: 0;
}

.RightPart {
  flex: 1 1 280px;
  min-width: 0;
}

.InfoTitle {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.text-secondary {
  color: #999;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 12px;
}

.Profile {
  font-size: 15px;
  line-height: 1.6;
  margin: 6px 0;
}

.Profile .g,
.Profile b {
  font-weight: 700;
  color: #333;
}

.plain-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 0 10px;
  margin: 6px 6px 0 0;
  border: 1px solid #dcdfe6;
  background: #fff;
  border-radius: 4px;
  font-size: 13px;
  color: #606266;
  cursor: pointer;
}

.alert {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.6;
  margin: 10px 0;
}

.G-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin-bottom: 8px;
}

.prose p + p {
  margin-top: 10px;
}

.faq dt {
  font-weight: 700;
  color: #111;
  margin-top: 14px;
}

.faq dd {
  margin: 6px 0 0;
}

.form-grid {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

.form-grid label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 16px;
  font-family: inherit;
}

.note {
  margin-top: 12px;
  padding: 10px 12px;
  background: #f7f7f7;
  border-radius: 8px;
  font-size: 14px;
}

.site-foot {
  background: #fff;
  color: #666;
  text-align: center;
  padding: 28px 12px 16px;
  margin-top: 12px;
}

.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-bottom: 10px;
  font-size: 14px;
}

.site-foot .brand a {
  font-weight: 700;
  color: #333;
}

#more-band[hidden] {
  display: none !important;
}

.dialog-back {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.45);
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 16px 16px;
}

.dialog-back.is-open {
  display: flex;
}

.dialog {
  width: min(450px, 90%);
  background: #fff;
  border-radius: 12px;
  padding: 18px 18px 16px;
  max-height: 70vh;
  overflow: auto;
}

.dialog h2 {
  font-size: 16px;
}

.dialog p {
  font-size: 14px;
}

.empty {
  padding: 24px 12px;
  text-align: center;
  color: #666;
}

.site-cta {
  position: fixed;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-2);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  overflow: hidden;
  isolation: isolate;
}

.site-cta:hover,
.site-cta:focus-visible {
  color: #fff !important;
  background: #e01270;
}

.site-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 160% at 28% 50%, var(--cta-wash) 0%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  animation: cta-blot 3.1s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

.site-cta::after {
  content: "";
  position: absolute;
  inset: 7px 14px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--cta-ink);
  transform: scale(1);
  pointer-events: none;
  animation: cta-compact 3.1s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

.site-cta span {
  position: relative;
  z-index: 1;
}

@keyframes cta-blot {
  0%, 58% { opacity: 0; transform: scale(0.96); }
  70% { opacity: 0.28; transform: scale(1); }
  86%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes cta-compact {
  0%, 62% { transform: scale(1); box-shadow: inset 0 0 0 0 var(--cta-ink); }
  74% { transform: scale(0.97); box-shadow: inset 0 0 18px 2px var(--cta-ink); }
  88%, 100% { transform: scale(1); box-shadow: inset 0 0 0 0 var(--cta-ink); }
}

@media (min-width: 768px) {
  .site-cta {
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: 480px;
    min-height: 56px;
    border-radius: 14px;
  }
}

@media (max-width: 767px) {
  .site-cta {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: auto;
    min-height: 52px;
    border-radius: 12px;
    font-size: 15px;
  }

  #p_nv,
  #p_login {
    display: none !important;
  }

  #pheader .content {
    justify-content: center;
    padding-left: 56px;
    padding-right: 56px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  #nav_move { left: 10px; }
  #nav_login { right: 10px; }

  #plogo {
    margin: 0 auto;
  }

  .C-MobileNav {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 19;
  }

  .top_link,
  .hot_link {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta::before,
  .site-cta::after {
    animation: none;
  }

  .site-cta::before {
    opacity: 0.18;
    transform: scale(1);
  }

  .site-cta::after {
    box-shadow: inset 0 0 10px 1px var(--cta-ink);
  }

  .HotText:hover .HotBtn {
    transform: none;
  }
}
