/* ===== 全局变量 & Reset ===== */
:root {
  --red: #c0392b;
  --red-dk: #922b21;
  --green: #1a6b3a;
  --green-lt: #27ae60;
  --blue: #1976d2;
  --orange: #e67e22;
  --bg: #f4f5f7;
  --card: #ffffff;
  --txt: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --r: 12px;
  --rs: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent
}

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--txt);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit
}

#app {
  max-width: 540px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg)
}

/* ===== 顶部导航 ===== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 99;
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.hdr.red {
  background: var(--red)
}

.hdr.green {
  background: var(--green)
}

.hdr.blue {
  background: var(--blue)
}

.hdr h1 {
  font-size: 17px;
  font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.back {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.back:active {
  background: rgba(255, 255, 255, .3)
}

/* ===== 首页 ===== */
.hero {
  color: #fff;
  padding: 40px 20px 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 70%);
}

.hero::before {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -80px
}

.hero::after {
  width: 200px;
  height: 200px;
  bottom: -70px;
  left: -50px
}

/* 官印徽章 —— 方案一：双圆线印章 */
.hero-seal {
  width: 96px;
  height: 96px;
  border: 1.5px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 4px 20px rgba(0, 0, 0, .3);
}

.hero-seal::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
}

.hero-seal::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .22);
}

.hero-seal-main {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1.1;
  position: relative
}

.hero-seal-sub-text {
  font-size: 7px;
  letter-spacing: 2px;
  opacity: .75;
  position: relative;
  margin-top: 2px
}

/* 标题区 */
.hero-title-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 4px
}

.hero-title-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 7px;
}

.hero-title-line {
  flex: 1;
  max-width: 44px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 215, 100, .7));
}

.hero-title-line.r {
  background: linear-gradient(to left, transparent, rgba(255, 215, 100, .7));
}

.hero-title-badge {
  font-size: 9px;
  letter-spacing: 2.5px;
  color: rgba(255, 215, 100, .9);
  border: 1px solid rgba(255, 215, 100, .45);
  padding: 2px 10px;
  border-radius: 20px;
}

.hero h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3)
}

.hero p {
  font-size: 12.5px;
  opacity: .8;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1
}

.hero-stats {
  display: flex;
  justify-content: space-around;
  background: rgba(0, 0, 0, .2);
  margin-top: 20px;
  padding: 14px 0 10px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hs-item .num {
  font-size: 22px;
  font-weight: 800;
  display: block;
  line-height: 1
}

.hs-item .lbl {
  font-size: 11px;
  opacity: .8;
  margin-top: 3px;
  display: block
}

.notice {
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  padding: 8px 14px;
  font-size: 12px;
  color: #92400e;
  display: flex;
  gap: 6px;
  align-items: center;
}

.modules {
  padding: 20px 14px 8px
}

.mod-ttl {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px
}

.mod-ttl::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border)
}

.mod-card {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  margin-bottom: 12px;
  display: flex;
  min-height: 155px;
  background-size: cover !important;
  background-position: center !important;
}

.mod-card:active {
  transform: scale(.97)
}

.mod-card.red-card {
  background: linear-gradient(140deg, #b71c1c 0%, var(--red-dk) 55%, #6d0c0c 100%)
}

.mod-card.grn-card {
  background: linear-gradient(135deg, var(--green) 0%, #0e4023 100%)
}

.mod-body {
  display: flex;
  align-items: center;
  padding: 22px 16px;
  gap: 14px;
  color: #fff;
  width: 100%;
  position: relative;
  z-index: 1
}

.mod-body.photo-overlay {
  background: linear-gradient(130deg, rgba(5, 35, 15, .82) 0%, rgba(5, 35, 15, .38) 100%);
}

.mod-info {
  flex: 1
}

.mod-info h2 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.25
}

.mod-info p {
  font-size: 12px;
  opacity: .82;
  line-height: 1.55
}

.mod-arr {
  font-size: 24px;
  opacity: .75;
  flex-shrink: 0
}

.mod-tag-badge {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  border: 1px solid rgba(255, 255, 255, .5);
  color: rgba(255, 255, 255, .85);
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 9px;
}

.mod-rmb-deco {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 115px;
  font-weight: 900;
  color: rgba(255, 255, 255, .09);
  line-height: 1;
  pointer-events: none;
  font-family: Georgia, serif;
  z-index: 0;
  user-select: none;
}

.mod-cnt {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 11px;
  opacity: .75
}

.home-footer {
  text-align: center;
  padding: 16px 14px 28px;
  color: var(--muted);
  font-size: 12px;
  max-width: 540px;
  margin: 0 auto;
}

.home-footer a {
  color: var(--red);
  font-weight: 500
}

/* ===== 通用卡片 & 工具 ===== */
.pg {
  padding-bottom: 32px
}

.banner {
  color: #fff;
  padding: 26px 18px;
  text-align: center;
}

.banner.red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dk) 100%)
}

.banner.green {
  background: linear-gradient(135deg, var(--green) 0%, #0e4023 100%)
}

.banner .bico {
  font-size: 46px;
  margin-bottom: 8px
}

.banner h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 5px
}

.banner p {
  font-size: 12px;
  opacity: .88
}

.sec {
  background: var(--card);
  border-radius: var(--r);
  margin: 12px 14px 0;
  box-shadow: var(--shadow);
  overflow: hidden
}

.sec-hdr {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 14px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}

.sec-hdr .ico {
  font-size: 20px
}

.sec-hdr h3 {
  font-size: 14px;
  font-weight: 600
}

.sec-body {
  padding: 14px
}

.para {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.85;
  margin-bottom: 10px
}

.para:last-child {
  margin-bottom: 0
}

/* ===== 反假币专用 ===== */
.feat-item {
  border-left: 3px solid var(--red);
  padding: 9px 12px;
  margin-bottom: 10px;
  background: #fff5f5;
  border-radius: 0 var(--rs) var(--rs) 0;
}

.feat-item:last-child {
  margin-bottom: 0
}

.feat-item h4 {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 4px
}

.feat-item p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7
}

.trick-card {
  border-radius: var(--rs);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  box-shadow: var(--shadow)
}

.trick-card:last-child {
  margin-bottom: 0
}

.trick-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #fff
}

.trick-num {
  font-size: 15px;
  font-weight: 800;
  background: rgba(255, 255, 255, .2);
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0
}

.trick-sub {
  font-size: 13px;
  font-weight: 600
}

.trick-body {
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.trick-scope {
  font-size: 11px;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 4px;
  padding: 4px 9px;
  align-self: flex-start
}

.trick-point {
  background: #f9fafb;
  border-radius: 6px;
  padding: 9px 11px
}

.trick-label {
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 4px
}

.trick-detail {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7
}

.step-card {
  border-radius: var(--rs);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 10px
}

.step-card:last-child {
  margin-bottom: 0
}

.step-hdr {
  padding: 9px 13px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700
}

.step-body {
  padding: 10px 13px
}

.step-row {
  display: flex;
  gap: 7px;
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 7px
}

.step-row:last-child {
  margin-bottom: 0
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 7px
}

.myth {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  border-radius: 0 var(--rs) var(--rs) 0;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.myth:last-child {
  margin-bottom: 0
}

.myth-t {
  font-size: 12.5px;
  font-weight: 600;
  color: #b45309;
  margin-bottom: 5px
}

.myth-b {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7
}

.highlight {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: var(--rs);
  padding: 11px 13px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  text-align: center;
  margin-top: 10px;
}

.todo-step {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: #374151;
  padding: 7px 9px;
  background: #f0fdf4;
  border-radius: var(--rs);
  margin-bottom: 7px;
}

.todo-step:last-child {
  margin-bottom: 0
}

.todo-num {
  background: var(--green-lt);
  color: #fff;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== 旅游 Banner 轮播 ===== */
.tsb-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #0e4023
}

.tsb-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.tsb-slide.active {
  opacity: 1
}

.tsb-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .05) 25%, rgba(0, 35, 12, .78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 16px 46px;
  color: #fff;
}

.tsb-title h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4)
}

.tsb-title p {
  font-size: 12px;
  opacity: .88;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3)
}

.tsb-label {
  position: absolute;
  bottom: 50px;
  right: 14px;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .5px;
  max-width: 180px;
  text-align: right;
  transition: opacity .4s ease;
}

.tsb-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  align-items: center;
}

.tsb-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .45);
  transition: all .35s ease;
}

.tsb-dot.on {
  width: 20px;
  background: #fff
}

/* ===== 旅游列表 ===== */
.city-list {
  padding: 14px
}

.list-ttl {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--green-lt);
  display: inline-block;
}

.city-card {
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: stretch;
  margin-bottom: 10px;
  transition: transform .18s, box-shadow .18s;
}

.city-card:active {
  transform: scale(.98)
}

.city-thumb {
  width: 118px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  min-height: 100px;
}

.city-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(0, 0, 0, .18));
}

.city-thumb-fb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: #e8f5e9
}

.city-ct {
  flex: 1;
  padding: 11px 12px 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px
}

.city-emo {
  font-size: 34px;
  flex-shrink: 0;
  line-height: 1
}

.city-info {
  flex: 1;
  min-width: 0
}

.city-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px
}

.city-nick {
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 3px
}

.city-tag-l {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 2px;
  line-height: 1.45;
  word-break: break-all
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 4px
}

.tag {
  font-size: 10px;
  background: #ecfdf5;
  color: var(--green);
  border: 1px solid #a7f3d0;
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
}

.city-arr {
  font-size: 16px;
  color: var(--muted);
  flex-shrink: 0
}

/* ===== 盟市详情 ===== */
.city-hero {
  background: linear-gradient(135deg, var(--green) 0%, #0e4023 100%);
  color: #fff;
  padding: 26px 18px 22px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.city-hero::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  top: -25px;
  right: -25px
}

.ch-emo {
  font-size: 54px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .2))
}

.ch-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 3px
}

.ch-nick {
  font-size: 13px;
  opacity: .85;
  margin-bottom: 8px
}

.ch-tag {
  font-size: 12px;
  opacity: .8;
  font-style: italic
}

.city-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 14px
}

.big-tag {
  background: #ecfdf5;
  color: var(--green);
  border: 1px solid #a7f3d0;
  padding: 5px 13px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 500;
}

.d-card {
  background: var(--card);
  border-radius: var(--r);
  margin: 0 14px 12px;
  box-shadow: var(--shadow);
  overflow: hidden
}

.d-hdr {
  padding: 12px 14px;
  background: var(--green);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px
}

.d-hdr.light {
  background: #f0fdf4;
  color: var(--green);
  border-bottom: 1px solid #d1fae5
}

.d-body {
  padding: 14px
}

.city-desc {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.9
}

.spots {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.spot {
  border-radius: var(--rs);
  border: 1px solid #d1fae5;
  overflow: hidden
}

.spot-h {
  background: #ecfdf5;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 7px
}

.spot-n {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spot-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green)
}

.spot-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block
}

.spot-desc {
  padding: 9px 13px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.75
}

.rec {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.85;
  padding: 12px 14px;
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
}

.back-btn {
  display: block;
  margin: 14px auto 6px;
  background: var(--green);
  color: #fff;
  padding: 12px 0;
  border-radius: var(--rs);
  font-size: 14.5px;
  font-weight: 600;
  width: calc(100% - 28px);
  text-align: center;
}

.back-btn:active {
  opacity: .85
}

/* ===== 统计后台 ===== */
.dash-sec {
  padding: 12px 14px
}

.dash-ttl {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px
}

.stat-box {
  background: var(--card);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--red);
}

.stat-box.g {
  border-top-color: var(--green-lt)
}

.stat-box.b {
  border-top-color: var(--blue)
}

.stat-box.o {
  border-top-color: var(--orange)
}

.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--txt);
  display: block;
  line-height: 1.2
}

.stat-lbl {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
  display: block
}

.cmp-box {
  background: var(--card);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: var(--shadow)
}

.cmp-row {
  margin-bottom: 12px
}

.cmp-row:last-child {
  margin-bottom: 0
}

.cmp-lbl {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 5px
}

.cmp-bar {
  height: 8px;
  background: #f3f4f6;
  border-radius: 99px;
  overflow: hidden
}

.cmp-fill {
  height: 100%;
  border-radius: 99px;
  transition: width .6s ease;
  background: var(--red)
}

.cmp-fill.g {
  background: var(--green-lt)
}

.rank-box {
  background: var(--card);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow)
}

.rank-hdr {
  display: grid;
  grid-template-columns: 34px 1fr 56px;
  padding: 9px 13px;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px 1fr 56px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 13px;
}

.rank-hdr.city-hdr {
  grid-template-columns: 34px 1fr 52px 44px
}

.rank-row.city-row {
  grid-template-columns: 34px 1fr 52px 44px
}

.rank-row:last-child {
  border-bottom: none
}

.rank-row:nth-child(even) {
  background: #fafafa
}

.rank-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted)
}

.rank-city {
  color: var(--txt);
  font-weight: 500
}

.rank-pv {
  text-align: right;
  color: var(--green);
  font-weight: 600
}

.rank-uv {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500
}

.empty {
  text-align: center;
  padding: 22px;
  color: var(--muted);
  font-size: 13px
}

.trend-list {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.trend-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  padding: 9px 13px;
  border-radius: var(--rs);
  box-shadow: var(--shadow);
  font-size: 13px;
}

.trend-date {
  color: var(--muted)
}

.trend-cnt {
  font-weight: 600;
  color: var(--blue)
}

.qr-box {
  background: var(--card);
  border-radius: var(--r);
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: center
}

.qr-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px
}

.qr-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 9px 12px;
  font-size: 13px;
  color: var(--txt);
  margin-bottom: 10px;
  outline: none;
  font-family: monospace;
}

.qr-input:focus {
  border-color: var(--red)
}

.qr-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--rs);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.qr-btn:active {
  opacity: .85
}

#qrcode {
  display: flex;
  justify-content: center;
  margin-bottom: 8px
}

#qrcode img,
#qrcode canvas {
  border: 4px solid #fff;
  border-radius: var(--rs);
  box-shadow: var(--shadow)
}

.setup-card {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--r);
  padding: 14px;
  margin: 12px 14px 0;
  font-size: 13px;
  line-height: 1.8;
}

.setup-card h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 8px
}

.setup-card code {
  background: #fef3c7;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: monospace;
  color: #78350f;
}

.err {
  background: #fee2e2;
  color: #991b1b;
  padding: 11px 14px;
  border-radius: var(--rs);
  font-size: 13px;
  text-align: center
}

.loading {
  text-align: center;
  padding: 28px;
  color: var(--muted);
  font-size: 13px
}

.spin {
  width: 26px;
  height: 26px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: sp .7s linear infinite;
  margin: 0 auto 10px;
}

@keyframes sp {
  to {
    transform: rotate(360deg)
  }
}

/* ===== 页面切换淡入 ===== */
.pg {
  animation: fadeIn .22s ease
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* ===== Hero 图标浮动 ===== */
.hero-ico {
  animation: float 3.2s ease-in-out infinite
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-7px)
  }
}

/* ===== 波浪分隔线 ===== */
.wave-wrap {
  display: block;
  line-height: 0;
  overflow: hidden;
  margin-top: -2px
}

.wave-wrap svg {
  display: block;
  width: 100%
}

/* ===== 首页模块卡片光泽 ===== */
.mod-card {
  position: relative
}

.mod-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, 0) 55%);
  border-radius: var(--r);
}

.mod-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14)
}

/* ===== 城市卡片悬停 ===== */
.city-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .14)
}

.city-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

/* ===== Section 标题竖条 ===== */
.sec-hdr {
  border-left: 4px solid var(--red)
}

.sec-hdr .ico {
  font-size: 18px
}

/* ===== 景点图片 16:9 等比容器 ===== */
.spot-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f3f4f6
}

.spot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: none;
  transition: transform .4s ease
}

.spot:hover .spot-img {
  transform: scale(1.03)
}

/* ===== Banner 底部渐变收边 ===== */
.banner {
  position: relative
}

/* ===== 返回按钮改进 ===== */
.back-btn {
  background: linear-gradient(135deg, var(--green), #0e4023);
  box-shadow: 0 3px 12px rgba(26, 107, 58, .35);
  letter-spacing: .5px;
}

/* ===== d-hdr 渐变 ===== */
.d-hdr {
  background: linear-gradient(90deg, var(--green), #1a8a4a)
}

.d-hdr.light {
  background: #f0fdf4;
  color: var(--green)
}

/* ===== 后台登录 ===== */
.dash-login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 56px);
  padding: 24px 20px;
  background: #f4f5f7
}

.dash-login-card {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .10);
  padding: 32px 24px;
  text-align: center
}

.dash-login-icon {
  font-size: 44px;
  margin-bottom: 12px
}

.dash-login-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--txt)
}

.dash-login-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5
}

.dash-login-input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 15px;
  outline: none;
  transition: border-color .15s;
  margin-bottom: 8px
}

.dash-login-input:focus {
  border-color: var(--blue)
}

.dash-login-err {
  color: #dc2626;
  font-size: 12px;
  margin-bottom: 8px;
  display: none
}

.dash-login-btn {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s
}

.dash-login-btn:active {
  opacity: .85
}

.dash-login-back {
  width: 100%;
  background: none;
  color: #6b7280;
  border: none;
  padding: 10px;
  font-size: 13.5px;
  cursor: pointer;
  margin-top: 4px;
  transition: color .15s
}

.dash-login-back:active {
  color: #374151
}

/* ===== 反假页双 Tab ===== */
.af-tabs {
  display: flex;
  background: #fff;
  border-bottom: 2px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.af-tab {
  flex: 1;
  padding: 12px 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: all .18s;
}

.af-tab.active {
  color: var(--red);
  border-bottom-color: var(--red)
}

.af-content {
  animation: fadeIn .2s ease
}

/* 面值切换选择器 */
.nv-selector {
  margin: 12px 16px 4px;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, .06);
}

.nv-selector-sec {
  margin-bottom: 12px
}

.nv-selector-sec:last-child {
  margin-bottom: 0
}

.nv-selector-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 0;
}

.nv-selector-label::before,
.nv-selector-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.nv-selector-label span {
  padding: 0 10px
}

.nv-selector-grid {
  display: grid;
  gap: 6px
}

.nv-selector-grid.notes {
  grid-template-columns: repeat(3, 1fr)
}

.nv-selector-grid.coins {
  grid-template-columns: repeat(3, 1fr)
}

.nv-switch-btn {
  padding: 9px 4px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: #f3f4f6;
  color: #6b7280;
  transition: all .15s;
  text-align: center;
  line-height: 1.3;
}

.nv-switch-btn.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(192, 57, 43, .35);
}

.af-intro {
  padding: 14px 16px 10px;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border-bottom: 1px solid #fde8e8;
}

.af-intro-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  letter-spacing: .5px;
}

.af-intro p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5
}

.af-video-wrap {
  width: 100%;
  background: #000;
  line-height: 0
}

.af-video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  object-fit: cover
}

/* ===== 钞票防伪互动查看器 ===== */
.note-viewer {}

.note-tab-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px
}

.note-tab-btn {
  flex: 1;
  padding: 7px 4px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s
}

.note-tab-btn.active {
  border-color: var(--red);
  background: #fff5f5;
  color: var(--red)
}

.note-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0, 0, 0, .15);
  user-select: none
}

.note-img {
  width: 100%;
  display: block
}

.note-dot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8170b;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translate(-50%, -50%);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  transition: transform .12s;
  font-family: Arial, sans-serif;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {

  0%,
  100% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35), 0 0 0 0 rgba(232, 23, 11, .5)
  }

  50% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35), 0 0 0 6px rgba(232, 23, 11, 0)
  }
}

.note-dot:hover {
  transform: translate(-50%, -50%) scale(1.15)
}

.note-dot:active {
  transform: translate(-50%, -50%) scale(.88)
}

.note-banner {
  position: relative;
  width: 100%;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--red-dk) 0%, var(--red) 50%, var(--red-dk) 100%)
}

.note-banner-overlay {
  display: none
}

.note-banner-text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.5px;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .3)
}

.note-side-label {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: .5px
}

.note-hint {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px
}

.note-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 8px;
  margin-top: 10px
}

.note-leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--txt);
  background: #f9fafb;
  border-radius: 7px;
  padding: 5px 8px;
  cursor: pointer;
  transition: background .13s
}

.note-leg-item:active {
  background: #fee2e2
}

.note-leg-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #c0000a;
  border: 2px solid #c0000a;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: Arial, sans-serif
}

/* Feature popup */
.feat-popup-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: maskFade .2s ease;
  padding: 20px
}

.feat-popup-sheet {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 20px;
  animation: sheetUp .25s ease;
  overflow: hidden
}

.feat-popup-pill {
  display: none
}

.feat-popup-hdr {
  padding: 12px 16px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f0f0f0
}

.feat-popup-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.feat-popup-title {
  flex: 1;
  font-size: 15px;
  font-weight: 700
}

.feat-popup-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #6b7280;
  cursor: pointer;
  flex-shrink: 0
}

.feat-popup-body {
  padding: 14px 16px 18px
}

.feat-popup-how {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 11px;
  border: 1px solid
}

.feat-popup-desc {
  font-size: 13.5px;
  color: var(--txt);
  line-height: 1.75;
  margin-bottom: 14px
}

.fp-carousel {
  position: relative;
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6
}

.fp-track {
  display: flex;
  transition: transform .3s ease
}

.fp-slide {
  flex-shrink: 0;
  width: 100%
}

.fp-slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block
}

#fpc-1jiao .fp-slide img {
  aspect-ratio: unset;
  object-fit: contain;
  background: #f8f8f8
}

.fp-contain .fp-slide img {
  aspect-ratio: unset;
  object-fit: contain;
  background: #000;
  width: 100%;
  display: block
}

.fp-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2
}

.fp-btn.prev {
  left: 8px
}

.fp-btn.next {
  right: 8px
}

.fp-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 7px 0 3px
}

.fp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background .2s
}

.fp-dot.active {
  background: #c0000a
}

/* CSS 动画演示区 */
.feat-anim-wrap {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f8f9fa;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative
}

.feat-anim-label {
  position: absolute;
  bottom: 5px;
  right: 8px;
  font-size: 10px;
  color: #9ca3af
}

/* 各防伪特征动画 */
.anim-colorshift-num {
  font-size: 38px;
  font-weight: 900;
  font-family: Georgia, serif;
  letter-spacing: -1px;
  animation: colorshift 2.4s ease-in-out infinite
}

@keyframes colorshift {

  0%,
  100% {
    color: #c8a000;
    text-shadow: 0 0 12px rgba(200, 160, 0, .5)
  }

  50% {
    color: #1a7a30;
    text-shadow: 0 0 12px rgba(26, 122, 48, .5)
  }
}

.anim-shimmer-bar {
  width: 18px;
  height: 62px;
  border-radius: 4px;
  background: linear-gradient(180deg, #e040fb, #ff4081, #40c4ff, #69f0ae, #e040fb);
  background-size: 100% 300%;
  animation: shimbg 1.8s linear infinite;
  box-shadow: 0 0 8px rgba(100, 100, 255, .3)
}

@keyframes shimbg {
  0% {
    background-position: 0 0
  }

  100% {
    background-position: 0 300%
  }
}

.anim-tactile-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px
}

.anim-tactile-lines {
  display: flex;
  flex-direction: column;
  gap: 3px
}

.anim-tactile-line {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #555, #999, #555);
  animation: tactile-raise 1.6s ease-in-out infinite
}

.anim-tactile-line:nth-child(2) {
  animation-delay: .2s;
  width: 70px
}

.anim-tactile-line:nth-child(1) {
  width: 90px
}

.anim-tactile-line:nth-child(3) {
  animation-delay: .4s;
  width: 55px
}

@keyframes tactile-raise {

  0%,
  100% {
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    transform: scaleY(1)
  }

  50% {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
    transform: scaleY(1.5)
  }
}

.anim-watermark-face {
  width: 50px;
  height: 60px;
  border-radius: 50% 50% 45% 45%;
  background: rgba(100, 130, 200, .18);
  border: 1.5px solid rgba(100, 130, 200, .35);
  animation: wm-fade 2s ease-in-out infinite;
  position: relative
}

.anim-watermark-face::after {
  content: '水印';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: #9ca3af;
  white-space: nowrap
}

@keyframes wm-fade {

  0%,
  100% {
    opacity: .25
  }

  55% {
    opacity: 1
  }
}

.anim-register-wrap {
  display: flex;
  align-items: center;
  gap: -8px;
  position: relative;
  width: 70px;
  height: 50px
}

.anim-reg-front {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(200, 30, 30, .25);
  border: 1.5px solid rgba(200, 30, 30, .5);
  animation: reg-move 2.2s ease-in-out infinite;
  left: 0
}

.anim-reg-back {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(30, 100, 200, .25);
  border: 1.5px dashed rgba(30, 100, 200, .5);
  animation: reg-move 2.2s ease-in-out infinite reverse;
  right: 0
}

@keyframes reg-move {

  0%,
  100% {
    transform: translateX(0)
  }

  50% {
    transform: translateX(12px)
  }
}

/* ===== 目的地选择器 ===== */
.dest-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background .15s;
}

.dest-btn:active {
  background: rgba(255, 255, 255, .32)
}

.dest-btn svg {
  flex-shrink: 0
}

.city-picker-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: maskFade .2s ease;
}

@keyframes maskFade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.city-picker-sheet {
  width: 100%;
  max-width: 540px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 16px);
  max-height: 82vh;
  overflow-y: auto;
  animation: sheetUp .26s cubic-bezier(.32, 0, .24, 1);
}

@keyframes sheetUp {
  from {
    transform: translateY(100%)
  }

  to {
    transform: translateY(0)
  }
}

.city-picker-hdr {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  padding: 14px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
}

.city-picker-pill {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #d1d5db;
  margin: 10px auto 0;
}

.city-picker-ttl {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e
}

.city-picker-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #6b7280;
}

.city-picker-close:active {
  background: #e5e7eb
}

.city-picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 12px 14px 20px;
}

.cp-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 82px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-color: #c8d8c0;
  transition: transform .18s, box-shadow .18s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .13);
}

.cp-item:active {
  transform: scale(.95)
}

.cp-item:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .22)
}

.cp-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .18) 55%, transparent 100%);
}

.cp-txt {
  position: absolute;
  bottom: 9px;
  left: 10px;
  right: 6px
}

.cp-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
  letter-spacing: .5px
}

.cp-nick {
  font-size: 10px;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4)
}

.refresh-btn {
  font-size: 12px;
  color: var(--blue);
  padding: 3px 9px;
  border: 1px solid #bfdbfe;
  border-radius: 99px;
  background: #eff6ff;
  margin-left: auto;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
  margin-right: 4px;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .4
  }
}
