:root {
  --navy: #071828;
  --navy2: #0d2b45;
  --paper: #f5f8fb;
  --blue: #2f7df0;
  --gold: #d7b267;
  --green: #15b768;
  --line: #dde7ef;
  --muted: #71859a;
  --text: #162638;
  --font-display: var(--font-display);
  --font-ui: var(--font-ui);
  --font-body: Inter, Arial, sans-serif;
  --font-mono: var(--font-mono), ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font-body);
  background: #edf3f7;
  color: var(--text);
}
button, input, select, textarea { font: inherit; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.brand-logo {
  height: 42px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  display: block;
  background: transparent;
}
.brand-text b {
  font-family: "Josefin Sans", var(--font-ui), sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: #e0c16a;
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-family: "Josefin Sans", var(--font-ui), sans-serif;
  font-weight: 400;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #d4b56a;
  margin-top: 4px;
  max-width: 240px;
  line-height: 1.35;
}
.footer-head {
  width: 100%;
  max-width: none;
  margin: 0 0 22px;
  padding: 18px 0;
  border-top: 1px solid #ffffff28;
  border-bottom: 1px solid #ffffff28;
  box-sizing: border-box;
}
.footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 0;
  border: 0;
}
.footer-logo .brand-logo { height: 52px; max-width: 72px; }
.footer-logo .brand-text { text-align: left; }
.footer-logo .brand-text small { max-width: none; }
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #fff;
}
.contact-col {
  display: flex;
  flex-direction: column;
  padding: 56px 64px 56px;
}
.contact-col-l { min-width: 0; }
.contact-col-l h1 { font-size: 42px; margin: 0 0 8px; letter-spacing: -0.03em; }
.contact-col-l > p { margin: 0 0 28px; color: #5b6d7e; }
.contact-col-l .form {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.contact-col-l .form input,
.contact-col-l .form textarea {
  width: 100%;
  margin: 0;
  border: 1px solid #e4ebf1;
  border-radius: 999px;
  padding: 16px 22px;
  background: #fff;
}
.contact-col-l .form textarea {
  flex: 1;
  min-height: 220px;
  border-radius: 28px;
  resize: none;
}
.contact-col-l .gold-btn {
  margin-top: 4px;
  border-radius: 999px;
  padding: 16px;
}
.contact-col-r {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
  min-height: 720px;
  user-select: none;
  -webkit-user-select: none;
}
.contact-portrait,
.contact-portrait-shield {
  position: absolute;
  inset: 0;
}
.contact-portrait {
  left: 46%;
  background-color: #0a0a0a;
  background-position: 72% 0;
  background-size: auto 125%;
  background-repeat: no-repeat;
  pointer-events: none;
  -webkit-user-drag: none;
}
.contact-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a0a0a 0%, rgba(8,8,8,.2) 22%, transparent 48%);
}
.contact-portrait-shield {
  z-index: 1;
  cursor: default;
}
.contact-photo-mark {
  position: absolute;
  top: auto;
  right: 32px;
  bottom: 28px;
  left: auto;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  pointer-events: none;
  text-align: right;
  max-width: 42%;
}
.contact-photo-mark-en,
.contact-photo-mark-zh {
  display: block;
  line-height: 1;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 10px #0008);
}
.contact-photo-mark-en {
  font-family: Allura, "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: .02em;
  background-image: linear-gradient(180deg, var(--brand-en-hi) 0%, var(--brand-en) 46%, var(--brand-en-dark) 100%);
}
.contact-photo-mark-zh {
  font-family: "Noto Serif TC", "Source Han Serif TC", "Noto Serif CJK TC", serif;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: .08em;
  text-indent: .08em;
  background-image: linear-gradient(180deg, var(--brand-zh-hi) 0%, var(--brand-zh) 48%, var(--brand-zh-dark) 100%);
}
.contact-col-r .company-card,
.contact-col-r .company-card a {
  user-select: text;
  -webkit-user-select: text;
}
.contact-col-r .company-id b { color: #fff; }
.contact-col-r .company-reg { color: rgba(255,255,255,.55); }
.contact-col-r .company-k { color: #fff; }
.contact-col-r .company-v { color: rgba(255,255,255,.78); }
.contact-col-r .company-meta a { color: #fff; }
.contact-col-r .company-phone {
  color: #fff;
  font-size: 22px;
  display: block;
}
.contact-col-r .company-v .company-phone + .company-phone {
  margin-top: 4px;
}
.contact-col-r .company-id,
.contact-col-r .company-line,
.contact-col-r .company-phone,
.contact-col-r .company-mail {
  cursor: pointer;
  transition: color .18s ease;
}
.contact-col-r .company-id b,
.contact-col-r .company-reg,
.contact-col-r .company-k,
.contact-col-r .company-v,
.contact-col-r .company-v a,
.contact-col-r .company-ico {
  transition: color .18s ease;
}
.contact-col-r .company-id:hover b,
.contact-col-r .company-id:focus-within b,
.contact-col-r .company-id:active b,
.contact-col-r .company-id:hover .company-reg,
.contact-col-r .company-id:active .company-reg,
.contact-col-r .company-line:hover .company-k,
.contact-col-r .company-line:hover .company-v,
.contact-col-r .company-line:hover .company-v a,
.contact-col-r .company-line:focus-within .company-k,
.contact-col-r .company-line:focus-within .company-v,
.contact-col-r .company-line:focus-within .company-v a,
.contact-col-r .company-line:active .company-k,
.contact-col-r .company-line:active .company-v,
.contact-col-r .company-line:active .company-v a,
.contact-col-r .company-phone:hover,
.contact-col-r .company-phone:focus,
.contact-col-r .company-phone:active,
.contact-col-r .company-mail:hover,
.contact-col-r .company-mail:focus,
.contact-col-r .company-mail:active {
  color: #f0d791;
}
.contact-col-r .company-line:hover .company-ico,
.contact-col-r .company-line:active .company-ico {
  color: #f0d791;
}
.contact-col-r .company-ico { color: #d4b46a; }
.contact-col-r .company-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  height: 100%;
  gap: 0;
  max-width: 260px;
}
.contact-col-r .company-head { display: grid; gap: 16px; }
.contact-col-r .company-logo {
  height: auto;
  width: min(200px, 88%);
  max-width: 200px;
  background: transparent;
}
.contact-col-r .company-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  margin-top: 48px;
  gap: 28px;
}
.contact-col-r .company-rule { display: none; }
.contact-col-r .company-line { margin: 0; }
.contact-map {
  grid-column: 1 / -1;
  height: 420px;
  background: #0a0a0a;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.property-map {
  height: 380px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c2237;
}
.property-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.company-id b {
  display: block;
  font-size: 18px;
  letter-spacing: .02em;
  line-height: 1.25;
  margin: 0 0 4px;
  color: #162638;
}
.company-head { display: grid; gap: 16px; justify-items: start; }
.company-card {
  display: grid;
  justify-items: start;
  text-align: left;
  gap: 18px;
  width: 100%;
  max-width: 440px;
}
.company-card .company-logo {
  height: auto;
  width: min(220px, 100%);
  max-width: 220px;
  background: transparent;
}
.company-meta { color: #24364a; width: 100%; }
.company-meta b {
  display: block;
  font-size: 22px;
  letter-spacing: .02em;
  line-height: 1.25;
  margin: 0 0 6px;
  color: #162638;
}
.company-reg { color: #71859a; font-size: 14px; }
.company-rule {
  border: 0;
  border-top: 1px solid #d7dee6;
  margin: 12px 0 16px;
}
.company-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 12px;
}
.company-ico {
  width: 22px;
  height: 22px;
  color: #c9a24b;
  margin-top: 2px;
}
.company-ico svg { display: block; width: 22px; height: 22px; }
.company-k {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #24364a;
  margin-bottom: 2px;
}
.company-v {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: #4a5d70;
  white-space: pre-line;
}
.company-meta a { color: #1d4f8a; }
.company-phone {
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .18s ease;
}
.company-phone:hover,
.company-phone:focus {
  color: #c9a24b;
}
.company-phone:active {
  color: #e6c36a;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 36px;
  text-align: left;
  max-width: 1080px;
  margin: 0 auto 0;
  padding-top: 0;
}
.footer-col { color: #c5d4df; font-size: 13px; line-height: 1.6; }
.footer-brand {
  display: grid;
  grid-template-columns: min-content;
  justify-items: stretch;
  margin-bottom: 8px;
}
.footer-company-logo {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0 0 8px;
  background: transparent;
}
.footer-name {
  display: block;
  color: #f0d791;
  font-size: 14px;
  letter-spacing: .03em;
  margin: 0;
  white-space: nowrap;
}
.footer-title {
  margin: 2px 0 0;
  color: #c8d4e0;
  font-size: 12px;
}
.footer-col p { margin: 0 0 10px; }
.footer-address { display: block; white-space: pre-line; }
.footer-k {
  display: block;
  color: #f0d791;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-k.chat-label { margin-top: 16px; }
.footer-col a { color: #dce7ef; }
.footer-follow .follow { align-items: flex-start; gap: 10px; margin: 0; }
.footer-follow .follow-row { justify-content: flex-start; gap: 10px; }
.footer-follow .follow-row.chat { padding-top: 0; border-top: 0; }
.footer-follow .soc { width: 40px; height: 40px; }
.footer-rule {
  border: 0;
  height: 0;
  margin: 22px 0;
  border-top: 1px solid #ffffff28;
  width: 100%;
}
.footer-copy {
  padding-top: 0;
  color: #8ea3b4;
}
.footer-visits {
  margin-top: 10px;
  color: #7d93a6;
  letter-spacing: .06em;
  font-size: 11px;
}
.footer-visits b {
  color: #f0d791;
  font-weight: 600;
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
}
.footer-visits i {
  font-style: normal;
  margin: 0 10px;
  color: #ffffff28;
}

body { padding-top: 80px; }
.nav {
  height: 80px;
  padding: 0 42px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #071828;
  color: #fff;
  box-shadow: 0 8px 24px #0004;
}
.nav.solid { background: #071828; color: #fff; }
.hero.home { margin-top: -80px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  min-width: 0;
  position: relative;
  z-index: 2;
  justify-self: start;
}
.nav-mark {
  position: static;
  transform: none;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  justify-self: center;
  gap: 12px;
  white-space: nowrap;
  pointer-events: none;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.nav-mark-en,
.nav-mark-zh {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.nav-mark-en {
  font-family: Allura, "Great Vibes", cursive;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: .02em;
  background-image: linear-gradient(180deg, var(--brand-en-hi) 0%, var(--brand-en) 46%, var(--brand-en-dark) 100%);
}
.nav-mark-zh {
  font-family: "Noto Serif TC", "Source Han Serif TC", "Noto Serif CJK TC", serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: .08em;
  text-indent: .08em;
  background-image: linear-gradient(180deg, var(--brand-zh-hi) 0%, var(--brand-zh) 48%, var(--brand-zh-dark) 100%);
}
.navlinks {
  display: flex;
  gap: 18px;
  align-items: center;
  font: 12px var(--font-ui);
  color: #fff;
}
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: 0;
  min-width: 0;
  position: relative;
  z-index: 2;
  justify-self: end;
}
.navlinks > a {
  color: #fff;
  transition: color .15s ease;
}
.navlinks > a:hover,
.navlinks > a:focus,
.navlinks > a:active,
.navlinks > a.on { color: #f0d791; }
.lang { position: relative; }
.lang-btn {
  border: 0;
  background: #ffffff14;
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  font: 12px var(--font-ui);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .15s ease, background .15s ease;
}
.lang-btn:hover,
.lang-btn:focus,
.lang-btn:active,
.lang.open .lang-btn {
  color: #f0d791;
  background: #ffffff22;
}
.lang-caret { font-size: 10px; opacity: .75; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  background: #071828;
  border: 1px solid #ffffff22;
  border-radius: 10px;
  padding: 6px;
  z-index: 30;
  box-shadow: 0 16px 32px #0005;
}
.lang-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  color: #e8eef3;
  font-size: 13px;
}
.lang-menu a.on,
.lang-menu a:hover { background: #ffffff14; }
.drawer .lang-btn { margin: 8px 0; }
.drawer .lang-menu { position: static; margin-top: 6px; }
.navlinks .gold {
  padding: 11px 16px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f0d791, #c99c4f);
  color: #10243a;
  font-weight: 800;
  transition: filter .15s ease, background .15s ease, color .15s ease;
}
.navlinks .gold:hover,
.navlinks .gold:focus,
.navlinks .gold:active,
.navlinks .gold.on {
  color: #10243a;
  filter: brightness(1.08);
  background: linear-gradient(135deg, #ffe7a8, #d4aa55);
}
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 0; border-radius: 10px;
  background: #ffffff18; color: #fff; font-size: 22px;
}

.hero {
  min-height: 610px;
  color: #fff;
  background: #071828;
  position: relative;
  overflow: visible;
  z-index: 5;
  display: flex;
  flex-direction: column;
}
.hero:before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 160px;
  background: linear-gradient(180deg, #071828f0 0%, #07182888 45%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-slide.on { opacity: 1; z-index: 1; }
.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 108px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.hero-dots button {
  pointer-events: auto;
  width: 8px; height: 8px;
  border: 0; border-radius: 50%;
  background: #ffffff55;
  padding: 0;
  cursor: pointer;
}
.hero-dots button.on { background: #f0d791; }
.eyebrow { font: 13px var(--font-mono), monospace; letter-spacing: 1.4px; color: #bed0df; }
h1 { font: 700 56px/1 var(--font-display); margin: 15px 0 13px; letter-spacing: -2.5px; }
.sub { font: 18px var(--font-ui); color: #d4e0e8; }
.cats { display: flex; gap: 18px; margin-top: 12px; font-size: 12px; color: #d0dbe4; }
.brand-sign {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  pointer-events: none;
  padding: 0 20px;
}
.brand-sign-en,
.brand-sign-zh {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.brand-sign-en {
  font-family: Allura, "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(56px, 9vw, 108px);
  line-height: .92;
  letter-spacing: .02em;
  background-image: linear-gradient(180deg, var(--brand-en-hi) 0%, var(--brand-en) 46%, var(--brand-en-dark) 100%);
  filter: drop-shadow(0 0 16px #e9c68b66) drop-shadow(0 8px 22px #b98a4866);
}
.brand-sign-zh {
  margin-top: 2px;
  font-family: "Noto Serif TC", "Source Han Serif TC", "Noto Serif CJK TC", serif;
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 40px);
  line-height: 1.2;
  letter-spacing: .32em;
  text-indent: .32em;
  background-image: linear-gradient(180deg, var(--brand-zh-hi) 0%, var(--brand-zh) 48%, var(--brand-zh-dark) 100%);
  filter: drop-shadow(0 0 12px #d8b16b55) drop-shadow(0 6px 16px #a9783866);
}

.search {
  position: relative;
  z-index: 6;
  margin: auto 42px -36px;
  background: #071828ee;
  border: 1px solid #ffffff22;
  border-radius: 17px;
  padding: 16px 16px 14px;
  display: grid;
  grid-template-columns: 140px repeat(3, 1fr) 135px;
  gap: 10px;
  box-shadow: 0 24px 48px #0004;
}
.seg { display: flex; background: #102b42; border-radius: 10px; padding: 4px; }
.seg button, .seg a {
  flex: 1; border: 0; border-radius: 7px; background: transparent;
  color: #d9e4ec; font-weight: 700; text-align: center; padding: 8px 0;
}
.seg button.on, .seg a.on { background: #fff; color: #10263a; }
.field, .search select, .search input[type=text] {
  background: #102b42;
  border: 1px solid #ffffff10;
  border-radius: 10px;
  padding: 10px 12px;
  color: #d7e2ea;
  font-size: 12px;
  width: 100%;
}
.field small { display: block; color: #8ea4b6; font-size: 9px; margin-bottom: 3px; }
.searchbtn {
  border: 0; border-radius: 10px;
  background: linear-gradient(135deg, #efd58b, #cda250);
  font-weight: 800; color: #10263a; cursor: pointer;
}
.toggles { grid-column: 1 / -1; display: flex; gap: 18px; color: #d6e0e8; font-size: 12px; align-items: center; flex-wrap: wrap; }
.toggles label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.mobile-search-toggle { display: none; }

.stats {
  position: relative;
  z-index: 1;
  background: #071828; color: #fff;
  padding: 64px 42px 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.stat {
  padding: 0 10px;
  border-right: 1px solid #ffffff18;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
a.stat:hover .ico-badge { background: #e6c57a; color: #071828; }
a.stat:hover b { color: #e6c57a; }
.stat:last-child { border: 0; }
.stat b { font: 700 27px var(--font-display); }
.stat small { display: block; color: #8fa6b7; font-size: 9px; margin-top: 4px; }
.stat-real {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.spec-strip {
  background: #071828;
  padding: 8px 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.spec-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  width: min(100%, 980px);
  gap: 14px 10px;
  justify-items: center;
}
.spec-row:last-child {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 620px);
}
.spec-link {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-width: 0;
  width: 100%;
  max-width: 88px;
  text-decoration: none;
  color: #c8d4e0;
}
.spec-link:hover .ico-badge { background: #e6c57a; color: #071828; transform: translateY(-2px); }
.spec-link:hover .spec-label { color: #e6c57a; }
.spec-link.on .ico-badge { background: #e6c57a; color: #071828; }
.spec-link.on .spec-label { color: #e6c57a; }
.spec-link .ico-badge { transition: background .15s ease, color .15s ease, transform .15s ease; }
.spec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
  text-align: center;
  max-width: 76px;
}
.ico-badge {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #f4f0e4; color: #0d2b45;
  flex: 0 0 40px;
  box-shadow: 0 6px 16px #07182822;
}
.ico-badge .ui-ico { width: 20px; height: 20px; flex: none; color: inherit; }
.stats .ico-badge,
.spec-strip .ico-badge {
  width: 52px; height: 52px; flex-basis: 52px;
  background: #f4f0e4; color: #071828;
}
.stats .ico-badge .ui-ico,
.spec-strip .ico-badge .ui-ico { width: 24px; height: 24px; }

.filter-page {
  background: #071828;
  color: #fff;
  padding: 28px 42px 0;
}
.filter-page-top {
  max-width: 1180px;
  margin: 0 auto 8px;
}
.filter-page-head h1 {
  margin: 0;
  font: 700 28px var(--font-display);
  letter-spacing: -.02em;
  color: #fff;
}
.filter-page-head .sub {
  margin: 6px 0 16px;
  color: #9bb0c0;
  font-size: 13px;
}
.filter-page .search {
  margin: 0 0 8px;
  position: relative;
  z-index: 2;
}
.filter-page .stats {
  padding-top: 28px;
}
.filter-page .spec-strip {
  padding-bottom: 32px;
}
@media (max-width: 650px) {
  .filter-page { padding: 18px 16px 0; }
  .filter-page-head h1 { font-size: 22px; }
}

.section { padding: 46px 42px; background: #fff; }
.section.alt { background: #f4f8fb; }
.section.dark { background: #071828; color: #fff; }
.head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; gap: 12px; }
.head h2 { font: 700 27px var(--font-display); margin: 0; }
.head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.head a { color: #246dc7; font-weight: 800; font-size: 12px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 15px; overflow: hidden;
  box-shadow: 0 10px 26px #0a23370d;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.card:hover,
.card:focus-visible {
  background: #fff8ea;
  border-color: var(--gold);
  box-shadow: 0 16px 34px #0a233718;
  transform: translateY(-3px);
}
.card:hover h3,
.card:focus-visible h3 { color: #8a6a28; }
.card:hover .price,
.card:focus-visible .price { color: #a8780c; }
.card:hover .cta,
.card:focus-visible .cta {
  background: #0d2b45;
  color: #f1dda8;
}
.card:active {
  background: #0d2b45;
  border-color: #0d2b45;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px #0a233733;
}
.card:active h3,
.card:active .price,
.card:active .spec b { color: #fff; }
.card:active .loc,
.card:active .spec { color: #c5d4e0; }
.card:active .ui-ico { color: #f1dda8; }
.card:active .cta {
  background: #f1dda8;
  color: #122536;
}
.pic {
  height: 165px;
  background: linear-gradient(145deg, #9db4c4, #e0e9ee 55%, #7d96a8);
  position: relative;
  background-size: cover;
  background-position: center;
}
.pic:after {
  content: "";
  position: absolute; left: 7%; right: 7%; bottom: 16px; height: 86px;
  background: repeating-linear-gradient(90deg, #617a8c 0 11%, #d7e1e8 11.4% 17%);
  clip-path: polygon(0 28%, 75% 0, 100% 17%, 100% 100%, 0 100%);
}
.pic.has-photo:after { display: none; }
.badges { position: absolute; z-index: 2; top: 9px; left: 9px; display: flex; gap: 5px; flex-wrap: wrap; }
.badge { font: 600 8px var(--font-mono), monospace; padding: 5px 6px; border-radius: 5px; background: #0b2033; color: #fff; }
.badge.green { background: #18aa67; }
.badge.blue { background: #2878df; }
.body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.body h3 {
  font: 700 15px/1.25 var(--font-ui); margin: 0 0 4px;
  min-height: 2.5em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.loc { font-size: 10px; color: #71869a; }
.card .loc.with-ico { min-height: 28px; }
.price {
  font: 800 18px var(--font-display);
  margin: 10px 0 8px;
  color: #c89612;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
  align-items: center;
}
.card .price { height: 28px; }
.price span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, 36px);
  gap: 8px 10px;
  flex: 1;
  align-content: start;
  min-height: 80px;
}
.spec { font-size: 9px; color: #7a8da0; min-width: 0; align-items: center; }
.spec > div { min-width: 0; }
.spec b {
  display: block; color: #1f2f3e; font-size: 11px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ui-ico { width: 16px; height: 16px; flex: 0 0 16px; display: block; }
.with-ico { display: flex; align-items: center; gap: 7px; }
.with-ico > .ui-ico { color: var(--gold); }
.spec { display: flex; align-items: flex-start; gap: 7px; }
.spec > .ui-ico { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 1px; color: var(--gold); }
.card .ico-badge,
.detail .ico-badge,
.prop-meta .ico-badge {
  width: 28px; height: 28px; flex: 0 0 28px;
  background: #0d2b45; color: #e6c57a; box-shadow: none;
}
.card .ico-badge .ui-ico,
.detail .ico-badge .ui-ico,
.prop-meta .ico-badge .ui-ico { width: 14px; height: 14px; }
.detail .loc.with-ico { font-size: 13px; margin-top: 2px; }
.detail .price.with-ico { font-size: 28px; gap: 9px; color: #c89612; }
.detail .price.with-ico .ui-ico { width: 20px; height: 20px; flex-basis: 20px; }
.detail-specs { grid-template-columns: repeat(2, 1fr); max-width: 560px; gap: 14px 18px; margin-top: 6px; }
.detail-specs .spec { font-size: 11px; gap: 10px; }
.detail-specs .spec .ui-ico { width: 18px; height: 18px; flex-basis: 18px; margin-top: 2px; }
.detail-specs .spec b { font-size: 15px; }
.tabs a { display: inline-flex; align-items: center; gap: 7px; }
.tabs a .ui-ico { width: 15px; height: 15px; color: currentColor; }
.prop-meta {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 12px; font-size: 11px; color: #71869a;
}
.prop-meta span { display: flex; align-items: center; gap: 7px; }
.prop-meta .ui-ico { width: 14px; height: 14px; color: var(--gold); }
.gold-btn {
  display: block; width: 100%; border: 0; border-radius: 9px;
  padding: 10px; margin-top: 12px; background: #f1dda8;
  font-weight: 800; color: #122536; text-align: center;
}
.card .cta {
  display: block; width: 100%; border: 0; border-radius: 9px;
  padding: 10px; margin-top: auto; background: #f1dda8;
  font-weight: 800; color: #122536; text-align: center;
}

.mapwrap { display: grid; grid-template-columns: 255px 1fr; gap: 16px; }
.filterbox { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 15px; }
.filterbox div, .filterbox select, .filterbox input {
  padding: 11px; border: 1px solid var(--line); border-radius: 9px;
  margin-bottom: 9px; font-size: 11px; color: #687d90; width: 100%; background: #fff;
}
.map {
  height: 430px; border-radius: 16px;
  background: #0c2237;
  position: relative; overflow: hidden;
}
#jf-map { min-height: 430px; z-index: 1; }
.pin {
  position: absolute; width: 24px; height: 24px;
  background: #2f7df0; border: 3px solid #fff;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
}
.p1 { left: 20%; top: 28%; } .p2 { left: 48%; top: 38%; background: #d5a94e; }
.p3 { left: 70%; top: 24%; } .p4 { left: 65%; top: 68%; background: #d5a94e; }
.popup {
  position: absolute; left: 42%; top: 37%;
  background: #fff; border-radius: 12px; padding: 12px 15px;
  box-shadow: 0 15px 35px #0004; min-width: 220px; color: var(--text);
}

.vgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; align-items: stretch; }
.video { background: #10273a; border-radius: 14px; overflow: hidden; color: #fff; display: flex; flex-direction: column; }
.thumb { height: 168px; background: linear-gradient(135deg, #68859a, #cad8e2); position: relative; flex-shrink: 0; }
.video:first-child .thumb { height: 168px; }
.vtxt { flex: 1; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%; background: #061829dd; display: grid; place-items: center;
}
.platform {
  position: absolute; left: 9px; bottom: 9px; width: 30px; height: 30px;
  border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 800;
}
.yt { background: #f00; } .fb { background: #1877f2; }
.ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.tt { background: #050505; }
.dy { background: #111; font-size: 13px; letter-spacing: 0; }
.platform.dy svg { width: 16px; height: 16px; display: block; }
.time { position: absolute; right: 8px; bottom: 8px; background: #000b; border-radius: 5px; padding: 4px 6px; font: 9px var(--font-mono), monospace; }
.vtxt { padding: 11px; }
.vtxt b { font: 700 13px var(--font-ui); }
.vtxt small { display: block; color: #8fa5b8; margin-top: 4px; }
.follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
}
.follow-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.follow-row.chat {
  padding-top: 16px;
  border-top: 1px solid #ffffff18;
}
.soc {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
}
.soc svg { width: 22px; height: 22px; display: block; }
.soc.yt { background: #ff0000; border: 0; cursor: pointer; padding: 0; }
.soc.fb { background: #1877f2; }
.soc.ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.soc.tt { background: #111; }
.soc.dy { background: #111; text-decoration: none; }
.soc.xhs { background: #ff2442; border: 0; cursor: pointer; padding: 0; font: 700 15px var(--font-ui); color: #fff; }
.soc.wa-ico { background: #25d366; }
.soc.wx { background: #09b83e; border: 0; cursor: pointer; padding: 0; }
.soc.line { background: #06c755; border: 0; cursor: pointer; padding: 0; }
.wx-modal {
  position: fixed; inset: 0; z-index: 80;
  background: #061829cc; display: grid; place-items: center; padding: 20px;
}
.wx-modal[hidden] { display: none; }
.wx-card {
  background: #fff; border-radius: 16px; padding: 22px 22px 18px;
  width: min(320px, 92vw); text-align: center; position: relative;
  color: var(--text);
}
.wx-card img { width: min(260px, 78vw); max-height: 420px; object-fit: contain; margin: 8px auto; }
.wx-brand { font: 800 16px var(--font-ui); color: #09b83e; }
.wx-brand.line { color: #06c755; }
.wx-brand.xhs { color: #ff2442; }
.wx-brand.yt { color: #ff0000; }
.wx-open {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #ff0000;
  color: #fff;
  font: 700 12px var(--font-ui);
  text-decoration: none;
}
.wx-open[hidden] { display: none; }
.wx-close {
  position: absolute; right: 10px; top: 10px; border: 0; background: #f3f7fb;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
}

.wa {
  position: fixed; z-index: 50; right: 20px; bottom: 20px;
  width: 57px; height: 57px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  border: 4px solid #fff; box-shadow: 0 12px 30px #25d36666;
}
.wa svg { width: 28px; height: 28px; display: block; }

.page-hero { background: #071828; color: #fff; padding: 28px 42px 36px; }
.page-hero h1 { font-size: 36px; letter-spacing: -1px; margin: 8px 0; }
.crumbs { font-size: 11px; color: #9bb0c0; }

.detail { display: grid; grid-template-columns: 1.4fr .7fr; gap: 22px; }
.hero-photo {
  height: 360px; border-radius: 16px;
  background: linear-gradient(145deg, #9db4c4, #e0e9ee 55%, #7d96a8);
  background-size: cover; background-position: center; position: relative;
  overflow: hidden;
}
.hero-photo-slides { position: absolute; inset: 0; }
.hero-photo-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .35s ease;
}
.hero-photo-slide.on { opacity: 1; }
.hero-photo-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: #071828b8; color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
}
.hero-photo-nav:hover { background: #071828; }
.hero-photo-nav.prev { left: 12px; }
.hero-photo-nav.next { right: 12px; }
.hero-photo-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  z-index: 3; display: flex; justify-content: center; gap: 6px;
}
.hero-photo-dots button {
  width: 8px; height: 8px; border: 0; border-radius: 50%;
  background: #ffffff66; cursor: pointer; padding: 0;
}
.hero-photo-dots button.on { background: #e6c57a; }
.hero-photo-count {
  position: absolute; right: 14px; bottom: 12px;
  z-index: 3; background: #071828b8; color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
}
.hero-photo .badges { z-index: 4; }
.thumb-row .thumb {
  border: 2px solid transparent; padding: 0; background: none;
  border-radius: 10px; cursor: pointer; line-height: 0;
}
.thumb-row .thumb.on { border-color: #c89612; }
.thumb-row .thumb img { display: block; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.contact-card .user { gap: 14px; margin-bottom: 4px; }
.contact-card .avatar {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  overflow: hidden;
  background: #1a1a1a;
}
.contact-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
}
.contact-card .user-id {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.contact-card .user-id b {
  display: block;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
}
.contact-card .user-id small {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #5d7386;
}
.contact-actions {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  margin: 14px 0 16px;
}
.soc.call-ico { background: #2f7df0; }
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px; margin-bottom: 8px; background: #fff;
}
.tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  margin: 28px 0 0;
  padding: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  position: sticky;
  top: 80px;
  z-index: 8;
  background: #fff;
}
.tabs a { padding-bottom: 12px; color: #7a8da0; }
.tabs a.on { color: var(--text); border-bottom: 2px solid var(--gold); }
.prop-block {
  scroll-margin-top: 148px;
  padding: 32px 0 12px;
}
.prop-block + .prop-block {
  margin-top: 12px;
  border-top: 1px solid #edf2f6;
}
.prop-block-title {
  margin: 0 0 16px;
  font: 700 20px var(--font-display);
}
.prop-desc {
  white-space: pre-line;
  line-height: 1.85;
  color: #243445;
  margin: 0;
}

.list { display: grid; gap: 12px; }
.list-item {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px;
}
.wiki-card, .dl-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.wiki-grid, .dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dl-btn { background: #2f7df0; color: #fff; border: 0; border-radius: 9px; padding: 9px 12px; font-weight: 800; }

.hubs-sec { background: #fff; }
.hub-kicker { font: 11px var(--font-mono), monospace; letter-spacing: 1.2px; color: #8fa0b0; margin-bottom: 6px; }
.hubs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.hub {
  min-height: 168px; border-radius: 12px; overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px 12px; color: #fff; position: relative;
}
.hub:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #06182933 0%, #061829ee 100%);
}
.hub-name, .hub-go { position: relative; z-index: 1; }
.hub-name { font: 800 13px var(--font-ui); letter-spacing: .4px; }
.hub-go { font-size: 10px; color: #d7e2ea; margin-top: 4px; }

.site-footer { background: #071828; color: #9bb0c0; padding: 40px 42px 24px; font-size: 11px; text-align: center; position: relative; z-index: 60; }
.site-footer .feats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  color: #dce7ef;
  justify-content: center;
  align-items: center;
  font: 500 12px var(--font-ui);
}
.site-footer .feats a { color: #dce7ef; padding: 2px 12px; transition: color .15s ease; }
.site-footer .feats a:not(:last-child) { border-right: 1px solid #ffffff28; }
.site-footer .feats a:hover,
.site-footer .feats a:focus,
.site-footer .feats a:active,
.site-footer .feats a.on { color: #f0d791; }
.footer-col a { transition: color .15s ease; }
.footer-col a:hover,
.footer-col a:focus,
.footer-col a:active { color: #f0d791; }
.soc { transition: transform .15s ease, filter .15s ease; }
.soc:hover,
.soc:focus,
.soc:active { transform: translateY(-2px); filter: brightness(1.12); }
.drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: #061829;
  z-index: 90;
  color: #fff;
  padding: 16px 18px 28px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.drawer.on { display: block; }
body:has(.drawer.on) .nav,
body.menu-open .nav { visibility: hidden; pointer-events: none; }
body.menu-open { overflow: hidden; }
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ffffff18;
}
.drawer-top .brand { min-width: 0; flex: 1; }
.drawer-top .brand-text b { color: #e0c16a; }
.drawer-top .brand-text small { color: #d4b56a; }
.drawer-close {
  display: grid !important;
  place-items: center;
  flex: none;
  margin: 0;
}
.drawer a { display: block; padding: 14px 0; border-bottom: 1px solid #ffffff14; font-weight: 700; transition: color .15s ease; }
.drawer a:hover,
.drawer a:focus,
.drawer a:active,
.drawer a.on { color: #f0d791; }
.drawer-top .brand { border-bottom: 0; padding: 0; }
.drawer .follow { margin-top: 8px; }
.ok { background: #e7f8ef; color: #13935a; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
.err { background: #ffe8e6; color: #b42318; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }

/* —— Admin —— */
body:has(.admin) {
  padding-top: 0;
  background: #eef4f8;
}
.admin {
  --admin-side: 210px;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 12% -10%, #dceaf8 0%, transparent 55%),
    linear-gradient(180deg, #eef4f8 0%, #e7eef4 100%);
  color: var(--text);
}
.agrid {
  display: grid;
  grid-template-columns: var(--admin-side) minmax(0, 1fr);
  min-height: 100vh;
}
.side {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, #061829 0%, #0a2a43 58%, #0c3552 100%);
  color: #dce7ef;
  padding: 20px 14px 18px;
  z-index: 40;
  overflow: auto;
}
.side .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 18px;
  border-bottom: 1px solid #ffffff14;
  margin-bottom: 8px;
}
.side .brand-logo { height: 36px; max-width: 48px; }
.brand.on-light .brand-logo { height: 40px; max-width: 52px; }
.brand.on-light .brand-text small { color: #b3923e; }
.menu {
  display: grid;
  gap: 0;
  flex: 1;
  align-content: start;
  align-self: stretch;
  min-height: 0;
  padding-bottom: 0;
}
.menu-label {
  margin: 14px 10px 6px;
  font: 600 10px/1 var(--font-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f97ab;
}
.menu-label:first-child { margin-top: 4px; }
.menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 6px;
  font: 700 12.5px/1.15 var(--font-ui);
  letter-spacing: 0.01em;
  color: #cad8e3;
  transition: background .15s ease, color .15s ease;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
}
.menu a:hover { background: #ffffff12; color: #fff; }
.menu a.on {
  background: #2f7df4;
  color: #fff;
  box-shadow: none;
}
.menu .mi { width: 16px; text-align: center; opacity: .9; flex: none; font-size: 13px; line-height: 1; }
.menu a.menu-ext { color: #ebc97c; }
.side-logout { margin-top: auto; padding-top: 12px; }
.side-logout .admin-btn { width: 100%; }
.admin-btn.a-ghost {
  background: transparent;
  border: 1px solid #ffffff28;
  color: #dce7ef;
}
.admin-btn.a-ghost:hover { background: #ffffff12; }
.main { padding: 22px 28px 36px; min-width: 0; }
.top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 4px;
}
.top-meta { display: grid; gap: 4px; min-width: 0; }
.top-pill {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #0d2b45;
  color: #e6c57a;
  font: 600 10px/1 var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.top-hint { color: #71859a; font-size: 13px; }
.user { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.user-meta { display: grid; line-height: 1.2; }
.user-meta small { color: #8294a5; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7a9ab2, #d7e2e8);
  flex: none;
}
.title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 18px 0 16px;
}
.title-row h2 { font: 700 28px/1.1 var(--font-display); margin: 0; letter-spacing: -0.02em; }
.title-row .loc { margin: 6px 0 0; }
.title-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 15px;
  box-shadow: 0 10px 24px #0d2b4510;
}
.kicon { width: 35px; height: 35px; border-radius: 9px; display: grid; place-items: center; color: #fff; margin-bottom: 9px; }
.kpi .ico-badge { margin-bottom: 9px; background: #0d2b45; color: #e6c57a; box-shadow: none; }
.kpi b { display: block; font: 700 22px/1.1 var(--font-display); letter-spacing: -0.02em; }
.kpi small { color: #789; font-size: 11px; }
.up { color: #14a962; font-size: 10px; margin-top: 5px; }
.b1 { background: #2f7df0; } .b2 { background: #19b976; } .b3 { background: #8358f2; }
.b4 { background: #ff914d; } .b5 { background: #ff4771; } .b6 { background: #1aa1d7; }
.panels {
  display: grid;
  grid-template-columns: 1.55fr .8fr .8fr;
  gap: 12px;
  margin-top: 14px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 24px #0d2b450c;
}
.panel + .panel { /* settings stack */ }
.panel h3 { font: 700 14px var(--font-ui); margin: 0 0 12px; }
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.panel-head h3 { margin: 0; }
.panel-link {
  font: 700 12px var(--font-ui);
  color: #277df0;
}
.empty-note { margin: 0; color: #71859a; font-size: 13px; }
.empty-note a { color: #277df0; font-weight: 700; }
.table-wrap { overflow: auto; margin: 0 -4px; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th {
  text-align: left;
  color: #65809a;
  padding: 9px 10px;
  border-bottom: 1px solid #e4ebf1;
  font: 700 11px/1.2 var(--font-ui);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  background: #f8fbfd;
  position: sticky;
  top: 0;
  z-index: 1;
}
.table td {
  padding: 11px 10px;
  border-bottom: 1px solid #edf2f6;
  vertical-align: middle;
}
.table.zebra tbody tr:nth-child(even) td { background: #f3f7fb; }
.table.zebra tbody tr:nth-child(odd) td { background: #fff; }
.table tbody tr:hover td { background: #eaf3fc; }
.table th.sortable a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.table th.sortable a:hover { color: #1f63d0; }
.table th.sortable.on a { color: #16304a; }
.admin-inline-search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-inline-search input[type="search"] {
  width: min(280px, 42vw);
  border: 1px solid #dce5ef;
  border-radius: 8px;
  padding: 9px 12px;
  background: #fff;
  font: 13px/1.2 var(--font-ui);
  color: #16304a;
}
.admin-inline-search input[type="search"]:focus {
  outline: none;
  border-color: #2f7df4;
  box-shadow: 0 0 0 3px #2f7df433;
}
.prop-sort-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
}
.prop-sort-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid #dce5ef;
  background: #fff;
  color: #5b6d7e;
  font: 700 11px/1 var(--font-ui);
  text-decoration: none;
}
.prop-sort-chip:hover { border-color: #2f7df4; color: #1f63d0; }
.prop-sort-chip.on {
  background: #eaf2ff;
  border-color: #2f7df4;
  color: #1f63d0;
}
.prop-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.prop-admin-card {
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.prop-admin-cover {
  position: relative;
  display: block;
  height: 140px;
  background: #d8e2eb center / cover no-repeat;
  text-decoration: none;
}
.prop-admin-cover.empty {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #9db4c4, #e0e9ee 55%, #7d96a8);
  color: #fff;
  font: 700 12px/1 var(--font-ui);
}
.prop-admin-id {
  position: absolute;
  left: 8px;
  top: 8px;
  background: #061829cc;
  color: #fff;
  border-radius: 6px;
  padding: 3px 7px;
  font: 700 10px/1 var(--font-mono);
}
.prop-admin-body {
  display: grid;
  gap: 6px;
  padding: 10px 11px 12px;
  flex: 1;
}
.prop-admin-body h3 {
  margin: 0;
  font: 700 13px/1.25 var(--font-ui);
  color: #12263a;
}
.prop-admin-body h3 a {
  color: inherit;
  text-decoration: none;
}
.prop-admin-body h3 a:hover { color: #1f63d0; }
.prop-admin-meta {
  margin: 0;
  color: #71859a;
  font-size: 11px;
  line-height: 1.35;
}
.prop-admin-price {
  margin: 0;
  font: 700 13px/1.2 var(--font-ui);
  color: #16304a;
}
.prop-admin-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.prop-admin-actions {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}
.prop-admin-actions .muted { color: #71859a; }
@media (max-width: 900px) {
  .prop-admin-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .prop-admin-cover { height: 120px; }
}

.cell-strong { font-weight: 700; color: #12263a; }
.cell-clip { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mono { font-family: var(--font-mono); font-size: 11px; }
.flag-cell { white-space: nowrap; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 6px;
  background: #e9f2ff;
  color: #2671ca;
  font: 700 10px/1 var(--font-ui);
  letter-spacing: 0.04em;
}
.tag-ncb { background: #e7f8ef; color: #13935a; }
.status { padding: 4px 7px; border-radius: 6px; background: #e9f2ff; color: #2671ca; font-weight: 700; font-size: 11px; }
.status.green { background: #e7f8ef; color: #13935a; }
.status.orange { background: #fff1df; color: #c97515; }
.status-select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 8px;
  background: #fff;
  min-width: 120px;
}
.lead-actions-th { text-align: right; }
.lead-actions {
  white-space: nowrap;
  text-align: right;
}
.lead-actions .lead-act {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  margin-left: 6px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px #0002;
}
.lead-actions .lead-act svg { width: 20px; height: 20px; display: block; }
.lead-actions .call-ico { background: #2f7df0; }
.lead-actions .wa-ico { background: #25d366; }
.leads-table td { padding-top: 9px; padding-bottom: 9px; }
@media (max-width: 900px) {
  .leads-table .lead-actions,
  .leads-table .lead-actions-th {
    position: sticky;
    right: 0;
    background: #fff;
    z-index: 2;
    box-shadow: -8px 0 12px #0618290a;
  }
  .leads-table.zebra tbody tr:nth-child(even) .lead-actions { background: #f3f7fb; }
  .lead-actions .lead-act { width: 44px; height: 44px; }
  .lead-actions .lead-act svg { width: 22px; height: 22px; }
}
.row-link { color: #277df0; font-weight: 700; }
.row-actions { display: flex; align-items: center; gap: 10px; }
.link-danger {
  border: 0;
  background: none;
  color: #ef5b57;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.thumb-sm { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; }
.thumb-md { width: 160px; height: 90px; object-fit: cover; border-radius: 8px; display: block; }
.inline-sort { display: flex; gap: 6px; align-items: center; }
.inline-sort input { width: 70px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; }
.admin-btn.compact { padding: 7px 10px; width: auto; display: inline-block; }
.admin-stack { margin-bottom: 14px; }
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.settings-grid .panel {
  margin: 0;
  min-width: 0;
  overflow: hidden;
}
.settings-grid .admin-form {
  max-width: 100%;
  width: 100%;
  min-width: 0;
}
.settings-grid .admin-form input,
.settings-grid .admin-form select,
.settings-grid .admin-form textarea,
.settings-grid .admin-form .admin-btn,
.settings-stack .admin-form input,
.settings-stack .admin-form select,
.settings-stack .admin-form textarea,
.settings-stack .admin-form .admin-btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.settings-span-2 { grid-column: span 2; min-width: 0; }
.settings-span-3 { grid-column: 1 / -1; min-width: 0; }
.settings-stack { display: grid; gap: 22px; min-width: 0; }
.settings-form-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  align-items: start;
  min-width: 0;
}
.settings-form-2 label { margin: 0; font: 700 12px/1.2 var(--font-ui); color: #5b6d7e; }
.settings-form-2 .settings-full { grid-column: 1 / -1; }
.settings-form-2 input,
.settings-form-2 textarea,
.settings-form-2 select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.ptype-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ptype-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  background: #fff;
}
.ptype-list li span {
  font: 600 14px/1.3 var(--font-ui);
  color: #1a2b3c;
}
.ptype-list .admin-btn {
  width: auto;
  min-width: 88px;
  padding: 8px 12px;
}
.ptype-add {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.ptype-add .admin-btn { width: auto; white-space: nowrap; }
.settings-colors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 4px;
  min-width: 0;
}
.settings-colors > div {
  min-width: 0;
  overflow: hidden;
}
.settings-colors label { display: block; font: 700 11px/1.2 var(--font-ui); color: #5b6d7e; margin-bottom: 4px; }
.settings-colors input[type="text"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-bottom: 6px;
}
.settings-colors input[type="color"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  cursor: pointer;
}
.settings-preview {
  height: 88px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 12px 0;
  background: transparent;
  padding: 8px;
  display: block;
}
.settings-preview.on-dark {
  background: #071828;
  border-radius: 10px;
  padding: 10px;
  height: 72px;
}
.settings-avatar {
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 50%;
  margin: 12px 0;
  background: #111;
  display: block;
}
.settings-qr {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 10px 0 12px;
  background: #fff;
  display: block;
}
.settings-qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.settings-qr-grid > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.settings-qr-grid .admin-form {
  width: 100%;
  max-width: none;
  margin-top: auto;
}
.settings-qr-grid .admin-form input[type="file"],
.settings-qr-grid .admin-form .admin-btn {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}
.settings-qr-grid .admin-form input[type="file"] {
  min-width: 0;
}
.settings-reset { margin-top: 10px; }
.media-section { margin-bottom: 16px; }
.media-section .panel-head { margin-bottom: 14px; }
.media-section .loc { margin: 4px 0 0; }
.dropzone {
  position: relative;
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1.5px dashed #b7c8d8;
  border-radius: 14px;
  background: #f7fbff;
  transition: border-color .15s ease, background .15s ease;
}
.dropzone.is-drag {
  border-color: #277df0;
  background: #eaf3ff;
}
.dropzone-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.dropzone-body {
  display: grid;
  gap: 4px;
  place-items: center;
  text-align: center;
  min-height: 96px;
  cursor: pointer;
  padding: 12px;
}
.dropzone-body b { font: 700 14px var(--font-ui); color: #12263a; }
.dropzone-body span { color: #71859a; font-size: 13px; }
.dropzone-count { color: #277df0; font: 700 12px var(--font-ui); }
.dropzone .admin-btn { width: fit-content; justify-self: center; min-width: 200px; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.media-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.media-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: #0d2b45;
}
.media-thumb-empty {
  display: grid;
  place-items: center;
  color: #9aafc0;
  font-size: 12px;
}
.media-card-meta {
  display: grid;
  gap: 6px;
  padding: 10px;
  font-size: 12px;
}
.media-card-meta .inline-sort { margin: 0; }
.bar-row {
  display: grid;
  grid-template-columns: minmax(90px, 120px) 1fr 40px;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  margin: 8px 0;
}
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4d6275; }
.bar-track { height: 7px; background: #edf2f6; border-radius: 5px; overflow: hidden; }
.bar-track i { display: block; height: 100%; background: linear-gradient(90deg, #2f7df0, #55a0ff); border-radius: 5px; }
.bar-val { text-align: right; }
.actions { display: grid; gap: 8px; }
.actions a, .actions button, .admin-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  display: block;
  cursor: pointer;
}
.a-blue { background: #277df0; }
.a-blue:hover { background: #1f6fd9; }
.a-green { background: #17b769; }
.a-green:hover { background: #129a58; }
.a-red { background: #ef5b57; }
.a-grey { background: #70879a; }
.a-grey:hover { background: #5f7384; }
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(700px 320px at 50% 0%, #1a3d5c 0%, transparent 60%),
    #071828;
}
.login-box {
  width: min(420px, 92vw);
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 60px #00000055;
  display: grid;
  gap: 10px;
}
.login-brand { color: #10243a; margin-bottom: 4px; }
.login-lead { margin: 0 0 8px; color: #71859a; font-size: 13px; }
.login-label { font: 700 11px/1 var(--font-ui); color: #5b6d7e; letter-spacing: 0.04em; text-transform: uppercase; }
.login-box input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  margin: 0;
}
.admin-form { display: grid; gap: 10px; max-width: 820px; }
.admin-form input, .admin-form select, .admin-form textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.admin-form.property-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 12px;
  max-width: 860px;
  width: 100%;
}
.admin-form.property-form > .span-2,
.admin-form.property-form > .checks,
.admin-form.property-form > .admin-btn.span-2,
.admin-form.property-form > textarea.property-desc {
  grid-column: 1 / -1;
}
.admin-form.property-form > input,
.admin-form.property-form > select,
.admin-form.property-form > label,
.admin-form.property-form > .admin-field {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.admin-form.property-form .admin-field {
  margin: 0;
}
.admin-form.property-form .land-area-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 8px;
  flex: 1;
  min-width: 0;
  width: 100%;
}
.admin-form.property-form .land-area-pair input,
.admin-form.property-form .land-area-pair select {
  width: 100%;
  margin: 0;
}
.admin-form.property-form .price-rm-input {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.admin-form.property-form .price-rm-prefix {
  flex: none;
  padding: 10px 0 10px 12px;
  font: 700 13px/1.2 var(--font-ui);
  color: #16304a;
}
.admin-form.property-form .price-rm-input input {
  border: 0;
  border-radius: 0;
  padding-left: 8px;
  min-width: 0;
  width: 100%;
  box-shadow: none;
}
.admin-form.property-form .price-rm-input:focus-within {
  border-color: #2f7df4;
  box-shadow: 0 0 0 3px #2f7df433;
}
.admin-form.property-form .unit-input {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.admin-form.property-form .unit-input input {
  border: 0;
  border-radius: 0;
  min-width: 0;
  width: 100%;
  box-shadow: none;
}
.admin-form.property-form .unit-suffix {
  flex: none;
  padding: 10px 12px 10px 0;
  font: 700 13px/1.2 var(--font-ui);
  color: #16304a;
}
.admin-form.property-form .unit-input:focus-within {
  border-color: #2f7df4;
  box-shadow: 0 0 0 3px #2f7df433;
}
.admin-form.property-form textarea.property-desc {
  min-height: 140px;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
}
.admin-form.property-photos-form {
  grid-template-columns: 1fr auto;
  max-width: 860px;
  align-items: center;
}
@media (max-width: 720px) {
  .admin-form.property-form { grid-template-columns: 1fr; }
}

.admin-field { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; }
.admin-field .ico-badge {
  width: 42px; height: 42px; flex-basis: 42px;
  background: #0d2b45; color: #e6c57a; box-shadow: none;
}
.admin-field .ico-badge .ui-ico { width: 20px; height: 20px; }
.admin-field input,
.admin-field select { width: 100%; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 16px; font-size: 13px; }
.thumb-row { display: flex; gap: 12px; flex-wrap: wrap; }
.thumb-row img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.admin-menu-btn {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 60;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: #0d2b45;
  color: #e6c57a;
  font: 800 12px/1 var(--font-ui);
  cursor: pointer;
  box-shadow: 0 10px 24px #06182955;
}
.admin-backdrop {
  position: fixed;
  inset: 0;
  background: #06182988;
  z-index: 35;
}

@media (max-width: 980px) {
  .navlinks { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    padding-left: 16px;
    padding-right: 16px;
    column-gap: 8px;
  }
  .brand {
    max-width: 100%;
    overflow: hidden;
  }
  .brand-text small { display: none; }
  .nav-mark {
    gap: 8px;
    transform: none;
    grid-column: 2;
    justify-self: center;
  }
  .nav-right {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }
  .nav-mark-en { font-size: 22px; }
  .nav-mark-zh { font-size: 22px; letter-spacing: .06em; text-indent: .06em; }
  .brand-text b { font-size: 11px; letter-spacing: 0.12em; }
  .hero-content { grid-template-columns: 1fr; }
  .brandtext { display: none; }
  .search { grid-template-columns: 1fr 1fr; }
  .searchbtn { min-height: 50px; }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 48px 16px 18px;
  }
  .stat {
    gap: 8px;
    padding: 14px 12px;
    border-right: 0;
    min-width: 0;
    align-items: center;
    text-align: center;
  }
  .stat:nth-child(odd) { border-right: 1px solid #ffffff18; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid #ffffff18; }
  .stat b { font-size: 24px; line-height: 1.1; }
  .stat small { font-size: 10px; line-height: 1.35; margin-top: 2px; }
  .stat-real {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 14px;
    border: 0 !important;
    border-top: 1px solid #ffffff18 !important;
    padding: 16px 4px 4px;
    margin-top: 4px;
    text-align: left;
  }
  .stat-real b { font-size: 16px !important; }
  .stats .ico-badge,
  .spec-strip .ico-badge { width: 44px; height: 44px; flex-basis: 44px; }
  .stats .ico-badge .ui-ico,
  .spec-strip .ico-badge .ui-ico { width: 20px; height: 20px; }
  .spec-strip {
    padding: 6px 16px 28px;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .spec-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    gap: 12px 8px;
  }
  .spec-row:last-child {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 12px 8px;
    justify-items: center;
  }
  .spec-row:last-child .spec-link {
    width: 100%;
    max-width: none;
  }
  .spec-link { min-width: 0; max-width: none; gap: 6px; }
  .spec-label { font-size: 11px; max-width: 72px; }
  .mapwrap { grid-template-columns: 1fr; gap: 12px; }
  .map, #jf-map { height: 340px; min-height: 340px; }
  .head { align-items: flex-start; flex-wrap: wrap; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }
  .footer-head {
    width: min(100%, 560px);
    margin-left: auto;
    margin-right: auto;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-company-logo {
    display: block;
    width: auto;
    max-width: 168px;
    margin: 0 auto 10px;
  }
  .footer-name {
    white-space: normal;
    text-align: center;
    width: 100%;
  }
  .footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-follow .follow { align-items: center; }
  .footer-follow .follow-row { justify-content: center; }
  .site-footer .feats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
  }
  .site-footer .feats a {
    border-right: 0 !important;
    padding: 11px 10px;
    border-radius: 10px;
    background: #0d2b45;
    text-align: center;
    font-size: 12px;
  }
  .cards, .wiki-grid, .dl-grid { grid-template-columns: 1fr; }
  .hubs { grid-template-columns: repeat(2, 1fr); }
  .vgrid { grid-template-columns: 1fr; }
  .panels { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr 1fr; }
  .settings-span-2,
  .settings-span-3 { grid-column: 1 / -1; }
  .settings-qr-grid { grid-template-columns: 1fr 1fr; }
  .settings-colors { grid-template-columns: 1fr 1fr; }
  .agrid { grid-template-columns: 1fr; }
  .side {
    position: fixed;
    left: 0;
    top: 0;
    width: min(288px, 86vw);
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 18px 0 40px #06182955;
  }
  body.admin-nav-open .side { transform: translateX(0); }
  .admin-menu-btn { display: inline-flex; }
  .main { padding: 64px 16px 28px; }
  .top-logout { display: none; }
  body:has(.admin) { padding-top: 0; }
}
@media (max-width: 650px) {
  html, body { overflow-x: clip; }
  .nav, .section, .page-hero, .site-footer { padding-left: 16px; padding-right: 16px; }
  .nav { height: 68px; }
  body { padding-top: 68px; }
  .tabs { top: 68px; }
  .prop-block { scroll-margin-top: 132px; }
  .hero.home { margin-top: -68px; }
  .brand-logo { height: 32px; max-width: 40px; }
  .brand-text b { font-size: 10px; letter-spacing: 0.1em; }
  .nav-mark { gap: 6px; }
  .nav-mark-en { font-size: 20px; }
  .nav-mark-zh { font-size: 20px; letter-spacing: .05em; text-indent: .05em; }
  .contact-col { padding: 24px 16px 28px; }
  .contact-col-r { min-height: 560px; }
  .contact-photo-mark {
    top: auto;
    right: 16px;
    bottom: 18px;
    max-width: 48%;
  }
  .contact-photo-mark-en { font-size: 26px; }
  .contact-photo-mark-zh { font-size: 15px; }
  .contact-map { height: 280px; }
  .contact-col-r .company-card { flex: none; height: auto; justify-content: flex-start; gap: 16px; max-width: none; }
  .contact-col-r .company-meta { margin-top: 20px; gap: 14px; }
  .company-card { gap: 16px; }
  .hero { min-height: 480px; }
  .hero-content { padding: 62px 16px 110px; }
  h1 { font-size: 37px; letter-spacing: -1.6px; }
  .search { margin: auto 16px -24px; display: block; padding: 12px; width: auto; max-width: none; }
  .search > * { margin-bottom: 8px; }
  .toggles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #d6e0e8;
    font-size: 12px;
  }
  .mobile-search-toggle {
    display: block; width: 100%; border: 0; border-radius: 10px;
    background: #fff; color: #10263a; padding: 13px; font-weight: 800; margin-bottom: 8px;
  }
  .search.collapsed .field,
  .search.collapsed .seg,
  .search.collapsed select,
  .search.collapsed input,
  .search.collapsed .searchbtn { display: none; }
  .stats { padding: 44px 16px 14px; }
  .section { padding: 28px 16px 36px; }
  .section.dark { padding-bottom: 42px; }
  .head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
  }
  .head h2 { font-size: 24px; }
  .head a { margin-top: 2px; }
  .mapwrap { grid-template-columns: 1fr; }
  .filterbox { padding: 14px; }
  .map, #jf-map { height: 300px; min-height: 300px; }
  .vgrid { grid-template-columns: 1fr; gap: 12px; }
  .video:first-child .thumb, .thumb { height: 180px; }
  .site-footer {
    padding: 32px 16px calc(88px + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }
  .site-footer .feats { grid-template-columns: 1fr 1fr; }
  .footer-grid { gap: 20px; }
  .footer-col { font-size: 13px; }
  .footer-follow { padding-top: 4px; }
  .footer-k { margin-bottom: 8px; }
  .wa {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  }
  .spec-strip { padding: 4px 16px 24px; gap: 12px; }
  .spec-row { gap: 10px 6px; }
  .main { padding: 64px 13px 24px; }
  .title-row { align-items: start; flex-direction: column; }
  .admin-inline-search { width: 100%; }
  .admin-inline-search input[type="search"] { flex: 1; width: auto; min-width: 0; }
  .hero-photo { height: 240px; }
  .cell-clip { max-width: 160px; }
  .settings-grid,
  .settings-form-2,
  .settings-colors,
  .settings-qr-grid { grid-template-columns: 1fr; }
  body:has(.admin) { padding-top: 0; }
}

/* —— Admin design match (Desktop HTML) —— */
body:has(.admin) { background: #f4f7fb; }
.admin { --admin-side: 210px; background: #f4f7fb; color: #16304a; }
.side { background: #0b2236; padding: 12px 8px 14px; gap: 0; }
.side .brand { border-bottom: 0; margin-bottom: 2px; padding: 4px 6px 10px; }
.menu-label { display: none; }
.menu {
  gap: 0;
  align-content: start;
}
.menu a {
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 4px 10px;
  gap: 7px;
  width: max-content;
  max-width: 100%;
}
.menu a.on { background: #2f7df4; box-shadow: none; }
.menu a.is-soon { color: #8aa0b3; }
.side-sig { margin-top: auto; padding: 10px 6px 4px; text-align: center; color: #e6c36d; }
.side-sig b { display: block; font-family: "Noto Serif TC", serif; font-size: 15px; font-weight: 600; letter-spacing: .22em; text-indent: .22em; }
.side-sig i { display: block; font-family: Allura, cursive; font-style: normal; font-size: 22px; margin-top: 2px; }
.side-logout { display: none; }
.main { padding: 0 16px 18px; }
.top { height: 48px; background: #fff; border-bottom: 1px solid #dfe7ef; margin: 0 -16px; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.top-burger { display: none; border: 0; background: transparent; font-size: 18px; cursor: pointer; color: #16304a; }
.top-search { width: min(520px, 48vw); display: flex; align-items: center; gap: 8px; border: 1px solid #dce5ef; border-radius: 8px; padding: 0 12px; background: #fff; color: #789; }
.top-search input { flex: 1; border: 0; background: transparent; padding: 9px 0; outline: none; min-width: 0; }
.top-search kbd { font: 600 10px/1 var(--font-ui); color: #9aafc0; border: 1px solid #e4ebf1; border-radius: 4px; padding: 3px 5px; }
.top-spacer { flex: 1; }
.top-btn { background: #f7f9fc; border: 1px solid #dce5ef; border-radius: 8px; padding: 8px 12px; font: 700 12px/1 var(--font-ui); color: #23394f; display: inline-flex; align-items: center; }
.top-btn.muted { cursor: pointer; }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 4px 10px; }
.dash-head h1 { font: 700 24px/1.15 var(--font-display); margin: 0; letter-spacing: -.02em; }
.dash-head p { font-size: 12px; color: #71859a; margin: 4px 0 0; }
.dash-date { background: #fff; border: 1px solid #dce5ef; border-radius: 8px; padding: 9px 12px; font-size: 11px; white-space: nowrap; }
.kpis-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.kpi { border-radius: 8px; padding: 12px; box-shadow: none; border-color: #dce5ef; }
.kpi-row { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; }
.kpi-ico { width: 48px; height: 48px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 20px; }
.kpi b { font-size: 18px; }
.kpi small { font-size: 10px; color: #71859a; }
.b1 { background: #2f7df4; } .b2 { background: #10b981; } .b3 { background: #8b5cf6; }
.b4 { background: #ff8a3d; } .b5 { background: #ff3f73; } .b6 { background: #ef476f; }
.dash-row1 { display: grid; grid-template-columns: 1.55fr .9fr .9fr; gap: 8px; margin-top: 9px; }
.dash-row2 { display: grid; grid-template-columns: 1.5fr .8fr .6fr; gap: 8px; margin-top: 9px; }
.panel { border-radius: 8px; padding: 12px; box-shadow: none; border-color: #dce5ef; }
.panel h3 { font-size: 13px; margin: 0 0 10px; }
.chart-legend { display: flex; gap: 12px; font-size: 10px; color: #71859a; }
.chart-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.lg-blue { background: #2f7df4; } .lg-green { background: #18b86a; }
.chart { height: 130px; border-left: 1px solid #dde6ee; border-bottom: 1px solid #dde6ee; background: repeating-linear-gradient(0deg, transparent 0 31px, #eef3f7 32px 33px); position: relative; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.donut { width: 118px; height: 118px; border-radius: 50%; margin: 8px auto 12px; position: relative; }
.donut-core { position: absolute; inset: 24px; background: #fff; border-radius: 50%; display: grid; place-content: center; text-align: center; }
.donut-core b { font-size: 15px; } .donut-core small { display: block; color: #71859a; font-size: 9px; }
.src-list { font-size: 10px; }
.src-list > div { display: grid; grid-template-columns: 1fr 40px; gap: 6px; margin: 7px 0; align-items: center; }
.src-list span { display: flex; align-items: center; gap: 6px; color: #4d6275; }
.src-list i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.bars { font-size: 10px; }
.barrow { display: grid; grid-template-columns: 90px 1fr 38px; gap: 6px; align-items: center; margin: 7px 0; }
.bar { height: 8px; background: #edf2f6; border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #2f7df4; }
.analytics-kpis { margin-bottom: 4px; }
.analytics-charts {
  grid-template-columns: minmax(240px, .9fr) minmax(0, 1.6fr) !important;
  gap: 12px;
  margin-top: 12px;
  align-items: stretch;
  min-height: min(58vh, 560px);
}
.analytics-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 16px !important;
}
.analytics-donut {
  width: 168px !important;
  height: 168px !important;
  margin: 18px auto 20px !important;
}
.analytics-donut .donut-core {
  inset: 36px;
}
.analytics-donut .donut-core b { font-size: 22px; }
.analytics-donut .donut-core small { font-size: 11px; }
.analytics-src {
  font-size: 13px !important;
  margin-top: auto;
}
.analytics-src > div { margin: 10px 0 !important; }
.analytics-src i { width: 10px !important; height: 10px !important; }
.analytics-bars-panel .analytics-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  font-size: 13px;
  gap: 4px;
  margin-top: 4px;
}
.analytics-bars .barrow {
  grid-template-columns: minmax(110px, 140px) 1fr 44px;
  gap: 12px;
  margin: 0;
  font-size: 13px;
}
.analytics-bars .bar {
  height: 18px;
  border-radius: 999px;
  background: #e8eef4;
}
.analytics-bars .bar i {
  background: linear-gradient(90deg, #2f7df4, #55a0ff);
  border-radius: 999px;
}
.analytics-bars .barrow b { font-size: 13px; }
@media (max-width: 1100px) {
  .analytics-charts {
    grid-template-columns: 1fr !important;
    min-height: 0;
  }
}
.act-list { display: grid; }
.act { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid #edf2f6; font-size: 11px; }
.act:last-child { border-bottom: 0; }
.act-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; }
.c-teal { background: #24b8ca; } .c-blue { background: #277df0; } .c-pink { background: #ed2f61; }
.act small { display: block; color: #77899a; margin-top: 2px; }
.quick { display: grid; gap: 7px; }
.quick a { border: 0; border-radius: 6px; padding: 9px 11px; text-align: left; color: #fff; font-weight: 700; font-size: 12px; display: block; }
.quick .q1 { background: #2f7df4; } .quick .q2 { background: #10b981; } .quick .q3 { background: #8b5cf6; }
.quick .q4 { background: #ff4141; } .quick .q5 { background: #edf2f7; color: #23394f; }
@media (max-width: 1100px) {
  .kpis-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-row1, .dash-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .top-burger { display: inline-flex; }
  .top-search { width: min(280px, 42vw); }
  .top-search kbd { display: none; }
  .main { padding: 0 16px 18px; }
}

.top-bell { position: relative; width: 36px; height: 36px; border-radius: 8px; border: 1px solid #dce5ef; background: #f7f9fc; display: grid; place-items: center; color: #16304a; text-decoration: none; }
.bell-badge { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; border-radius: 999px; background: #ef476f; color: #fff; font: 700 9px/16px var(--font-ui); text-align: center; padding: 0 4px; }
.muted-chip { font-size: 10px; color: #71859a; border: 1px solid #dce5ef; border-radius: 999px; padding: 3px 8px; }
.up { color: #0eaf67; font-size: 10px; margin-top: 4px; }
