:root {
  color-scheme: dark;
  --page-background: #000;
  --surface: #121212;
  --surface-raised: #181818;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --border: #292929;
  --accent: #f04f9b;
  --accent-soft: rgba(240, 79, 155, 0.16);
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--page-background); }
html,
body { background-color: #000 !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

#app {
  width: min(100% - 32px, 1180px);
  margin: 22px auto 0;
}

.nav-c {
  position: sticky;
  top: 10px;
  z-index: 5;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 8px;
  background: rgba(18, 18, 18, 0.96);
  box-shadow: var(--shadow);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: blur(12px);
}

.nav-c .item {
  display: inline-flex;
  min-width: max-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 4px 17px;
  background: transparent;
  color: #d0d0d0;
  cursor: pointer;
  font-weight: 650;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nav-c .item:hover { background: #252020; color: #ffadd1; }
.nav-c .item.active { background: linear-gradient(135deg, #f45b9f, #df397f); color: #fff; box-shadow: 0 4px 14px rgba(240, 79, 155, 0.3); }
.nav-c .item:focus-visible { outline: 3px solid #ffadd1; outline-offset: 2px; }
.nav-c .item em { display: block; font-size: 14px; font-style: normal; }
.nav-c-img { width: auto; height: 30px; object-fit: contain; }

.swiper-c > .swiper-wrapper { display: block; }
.swiper-c > .swiper-wrapper > .swiper-slide { display: none; }
.swiper-c > .swiper-wrapper > .swiper-slide.active { display: block; }

.swiper-c > .swiper-wrapper > .swiper-slide > :not(.gt):not(.lf) { margin-top: 15px; }

.title-item {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 13px;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 10px 15px;
  background: var(--surface);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  font-size: 17px;
  font-weight: 750;
}

.title-item > div:first-child {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.title-item > div:first-child > img { width: 27px; height: 27px; object-fit: contain; }
.title-item .f-title { margin-left: 5px; color: #98a4b4; font-size: 12px; font-weight: 600; }
.title-item-btn { color: var(--accent); cursor: pointer; font-size: 13px; font-weight: 650; }

.business-carousel {
  width: clamp(112px, 36vw, 205px);
  height: 34px;
  flex: 0 0 clamp(112px, 36vw, 205px);
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(115deg, #123b70, #1689bb 62%, #35b8c5);
}

.business-carousel .swiper-wrapper { height: 100%; }
.business-carousel .swiper-slide { display: none; height: 34px; }
.business-carousel .swiper-slide.active { display: block; }
.business-banner {
  display: flex;
  width: 100%;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  color: #fff;
  font: 600 12px/1 system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.business-banner:hover { color: #fff; filter: brightness(1.12); }
.business-banner:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.business-banner svg { width: 16px; height: 16px; flex: 0 0 16px; }

.grid-cols-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.grid-item {
  display: flex;
  min-width: 0;
  min-height: 166px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 14px 10px 11px;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(27, 48, 82, 0.025);
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.grid-item:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 79, 155, 0.55);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.grid-item > img {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border: 1px solid #303030;
  border-radius: 17px;
  background: #1b1b1b;
  object-fit: cover;
}

.grid-item .mb-4 { margin: 9px 0 0; }
.grid-item .text { max-width: 100%; overflow: hidden; color: var(--text); font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.grid-item .jgg-load {
  display: inline-flex;
  min-width: 64px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border: 1px solid #ff85b8;
  border-radius: 999px;
  padding: 4px 13px;
  background: linear-gradient(135deg, #f45b9f, #df397f);
  box-shadow: 0 3px 12px rgba(240, 79, 155, 0.25);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.grid-item:hover .jgg-load {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #ff73ae, #ed478e);
  box-shadow: 0 5px 16px rgba(240, 79, 155, 0.4);
}

.px-20 { padding: 0 2px; }
.pb-60 { padding-bottom: 24px; }
.pt-20 { padding-top: 8px; }
.zone-wrap.grid-2,
.zone1-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.zone-item,
.zone1-item {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.zone-item:hover,
.zone1-item:hover { border-color: rgba(240, 79, 155, 0.55); background: var(--surface-raised); box-shadow: var(--shadow); }
.zone-item-img { width: 100%; height: 260px; object-fit: cover; object-position: center 35%; }
.zone1-item-img { width: 100%; height: 220px; object-fit: cover; object-position: center 35%; }
.zone1-item-left,
.zone1-text-wrap { padding: 12px 14px; }
.zone1-item-name-wrap { margin: 0 0 8px; }
.zone1-item-name { display: block; color: var(--text); font-size: 14px; font-weight: 700; }
.zone1-item-d,
.zone1-item-a { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; }
.like-wrap,
.add-wrap { display: inline-flex; align-items: center; gap: 5px; }
.like-wrap img,
.add-wrap img { width: 15px; height: 15px; object-fit: contain; }
.zone1-item-left > p,
.zone1-text-wrap > p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.zone1-item-color1 { color: #a1a1aa; }
.zone1-item-color2 { color: var(--text); }
.zone-item-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.zone-item-btn img { width: 17px; height: 17px; object-fit: contain; }
.zone1-item-left .zone-item-btn { margin-top: 12px; }

.zp-wrap { padding-right: 2px; padding-left: 2px; }
.zp-wrap-item { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.item-s4 {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px;
  background: var(--surface);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}
.header { display: flex; align-items: center; gap: 12px; }
.cover { width: 84px; height: 102px; flex: 0 0 auto; overflow: hidden; border-radius: 10px; background: #242424; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.name { display: -webkit-box; overflow: hidden; color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.flex { display: flex; }
.flex-1 { min-width: 0; flex: 1; }
.flex-middle { align-items: center; }
.flex-center { align-items: center; justify-content: center; }
.ml-20 { margin-left: 4px; }
.mr-10 { margin-right: 6px; }
.mt-10 { margin-top: 7px; }
.my4 { margin-top: 6px; margin-bottom: 6px; }
.f20 { font-size: 12px; }
.f28 { font-size: 12px; }
.fc-gray { color: var(--muted); }
.icon-address { width: 14px; height: 14px; border: 2px solid #a1a1aa; border-radius: 50%; }
.btn-detail { margin-left: auto; border-radius: 8px; padding: 7px 9px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; white-space: nowrap; }
.tips { color: #a1a1aa; }
.b-line-h { min-height: 1px; border-bottom: 1px solid var(--border); }
.more-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.more-preview img { width: 100%; height: 115px; border-radius: 8px; background: #1b1b1b; object-fit: cover; }
.video-wrap,
.live-wrap,
.s-wrap,
.qq-wrap { min-width: 0; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 22px auto 0;
  padding: 18px 16px 28px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

 .grid-item:focus-visible,
 .zone-item:focus-visible,
 .zone1-item:focus-visible,
 .site-footer a:focus-visible {
  outline: 2px solid #ffadd1;
  outline-offset: 3px;
}

@media (min-width: 1024px) {
  #app {
    width: min(calc(100% - 64px), 1440px);
    margin-top: 30px;
  }

  .nav-c {
    top: 16px;
    gap: 10px;
    margin-bottom: 22px;
    border-radius: 17px;
    padding: 10px;
  }

  .nav-c .item {
    min-height: 48px;
    flex: 1 1 0;
    padding: 5px 16px;
  }

  .grid-cols-5 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
  }

  .grid-item {
    min-height: 190px;
    padding: 16px 12px 13px;
  }

  .grid-item > img { width: 88px; height: 88px; }
  .grid-item .text { font-size: 14px; }
  .zone-wrap.grid-2,
  .zone1-wrap,
  .zp-wrap-item { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .zone-item-img { height: 320px; }
  .zone1-item-img { height: 270px; }
  .more-preview img { height: 145px; }
  .item-s4 { padding: 16px; }
  .cover { width: 96px; height: 116px; }
  .site-footer { margin-top: 32px; }
}

@media (min-width: 1500px) {
  #app { width: min(calc(100% - 96px), 1560px); }
  .grid-cols-5 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .grid-item { min-height: 198px; }
  .grid-item > img { width: 92px; height: 92px; }
  .zone-item-img { height: 350px; }
  .zone1-item-img { height: 300px; }
}

@media (max-width: 800px) {
  #app { width: min(100% - 24px, 680px); margin-top: 12px; }
  .nav-c { top: 6px; gap: 4px; margin-bottom: 12px; padding: 6px; }
  .nav-c .item { min-height: 40px; padding: 4px 13px; }
  .grid-cols-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
  .grid-item { min-height: 150px; padding: 11px 7px; }
  .grid-item > img { width: 68px; height: 68px; }
  .title-item { min-height: 54px; margin-bottom: 10px; padding: 9px 12px; font-size: 15px; }
  .zone-item-img { height: 225px; }
}

@media (max-width: 540px) {
  #app { width: min(100% - 18px, 460px); margin-top: 9px; }
  .nav-c .item { min-height: 38px; padding: 3px 11px; }
  .nav-c .item em { font-size: 13px; }
  .nav-c-img { height: 26px; }
  .grid-cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .grid-item { min-height: 139px; border-radius: 11px; padding: 9px 5px; }
  .grid-item > img { width: 62px; height: 62px; border-radius: 14px; }
  .grid-item .text { font-size: 12px; }
  .title-item { gap: 9px; }
  .title-item .f-title { display: none; }
  .business-carousel { width: 112px; flex-basis: 112px; }
  .zone-wrap.grid-2,
  .zone1-wrap,
  .zp-wrap-item { grid-template-columns: 1fr; gap: 10px; }
  .zone-item-img { height: min(78vw, 350px); }
  .zone1-item-img { height: min(64vw, 280px); }
  .more-preview img { height: 100px; }
  .item-s4 { padding: 10px; }
  .cover { width: 72px; height: 90px; }
  .site-footer { gap: 12px 18px; padding: 16px 10px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
