:root {
  --bg: #f5f6f8;
  --card: #fff;
  --text: #1a1a1a;
  --muted: #8a8f98;
  --line: #eceef2;
  --accent: #111;
  --number-bg: #f5b400;
  --radius: 10px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.wrap {
  width: min(100% - 24px, var(--wrap));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.logo {
  flex: 0 0 auto;
  display: block;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--text);
}

/* 首页顶栏：城市 + 搜索 */
.site-header.is-home .header-inner {
  gap: 10px;
  padding: 10px 0 12px;
}
.city-trigger {
  flex: 0 1 auto;
  max-width: 38%;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
}
.city-trigger-pin {
  flex: 0 0 auto;
  color: #9aa0a8;
}
.city-trigger-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.city-trigger .caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #9aa0a8;
  display: inline-block;
  flex-shrink: 0;
  margin-left: 2px;
}

.search-form {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: stretch;
  min-width: 0;
  width: auto;
  height: 36px;
  background: #f1f2f5;
  border-radius: 999px;
  overflow: hidden;
}
.search-form > input[type="hidden"] {
  display: none !important;
}
.search-form input[type="search"] {
  grid-column: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  margin: 0;
  background: transparent;
  padding: 0 12px;
  font-size: 13px;
  line-height: 36px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.search-form input[type="search"]::-webkit-search-decoration,
.search-form input[type="search"]::-webkit-search-cancel-button,
.search-form input[type="search"]::-webkit-search-results-button,
.search-form input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search-form button {
  grid-column: 2;
  width: 44px;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  border-radius: 0;
}

.home-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  overflow: visible;
  height: auto;
  border-radius: 0;
  grid-template-columns: none;
}
.home-search .search-field {
  flex: 1 1 0;
  min-width: 0;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #f1f2f5;
  border-radius: 999px;
  color: #9aa0a8;
}
.home-search .search-field input {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 13px;
  line-height: 36px;
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.home-search button {
  flex: 0 0 auto;
  width: auto;
  min-width: 56px;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 36px;
  cursor: pointer;
}

.flash {
  text-align: center;
  padding: 10px;
  font-size: 14px;
}
.flash-ok { background: #e8f8ef; color: #0a7a3e; }
.flash-error { background: #ffecec; color: #c0392b; }

/* 筛选栏 */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 52px;
  z-index: 30;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
.filter-item {
  appearance: none;
  border: 0;
  background: #fff;
  padding: 12px 0;
  font-size: 13px;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  min-width: 0;
}
.filter-bar-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.filter-bar-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.filter-bar-6 {
  grid-template-columns: repeat(3, 1fr);
}
.site-header.is-home ~ main .filter-bar,
main .filter-bar {
  top: 0;
}
body:has(.site-header.is-home) .filter-bar {
  top: 58px;
}
.filter-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.filter-item.active { color: #c9a227; font-weight: 600; }
.filter-item .caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #bbb;
  display: inline-block;
  flex-shrink: 0;
}
.filter-item.open .caret { transform: rotate(180deg); border-top-color: #c9a227; }

.filter-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 45;
}
.filter-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 100px;
  max-height: 55vh;
  overflow: auto;
  background: #fff;
  z-index: 50;
  padding: 0 0 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.filter-panel .opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  font-size: 15px;
  color: #1a1a1a;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
}
.filter-panel .opt.on {
  color: #c9a227;
  font-weight: 600;
}
.filter-panel-check .opt.on::after {
  content: "✓";
  color: #c9a227;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.filter-panel .muted-opt {
  color: #9aa0a8;
  pointer-events: none;
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
}

/* 省市滚轮 */
body.picker-open {
  overflow: hidden;
}
.city-picker {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.city-picker[hidden] {
  display: none !important;
}
.city-picker-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.city-picker-sheet {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 30px rgba(0,0,0,.12);
}
.city-picker-hd {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  padding: 14px 12px;
  border-bottom: 1px solid #f0f0f0;
}
.city-picker-hd strong {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}
.city-picker-cancel,
.city-picker-ok {
  border: 0;
  background: transparent;
  font-size: 15px;
  padding: 4px 8px;
  cursor: pointer;
}
.city-picker-cancel { color: #999; text-align: left; }
.city-picker-ok { color: #2f6bff; font-weight: 600; text-align: right; }
.city-picker-body {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.city-picker-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}
.city-picker-cols-2 {
  grid-template-columns: 1fr 1fr;
}
.picker-col {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.picker-col::-webkit-scrollbar { display: none; }
.picker-pad {
  height: 90px;
  flex-shrink: 0;
}
.picker-item {
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 15px;
  color: #c0c4cc;
  scroll-snap-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
}
.picker-item.on {
  color: #111;
  font-weight: 700;
  font-size: 16px;
}
.picker-highlight {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 40px;
  margin-top: -20px;
  border-top: 1px solid #eceff3;
  border-bottom: 1px solid #eceff3;
  background: rgba(0,0,0,.02);
}

.result-meta {
  padding: 12px 0 4px;
  font-size: 13px;
  color: var(--muted);
}
.result-meta a { color: #0a5acc; }

/* 两列竖排 */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 8px 0 40px;
}
.empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 48px 12px;
}

.load-more {
  text-align: center;
  padding: 16px 12px 28px;
  color: #8a8f98;
  font-size: 13px;
}
.load-more[hidden] { display: none !important; }
.load-more.is-loading .load-more-text::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border: 2px solid #c5cad3;
  border-top-color: #5b6472;
  border-radius: 50%;
  vertical-align: -2px;
  animation: loadSpin .7s linear infinite;
}
@keyframes loadSpin {
  to { transform: rotate(360deg); }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:active { transform: scale(.985); }
.card-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #e9ebf0;
  overflow: hidden;
}
.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-cover.no-cover {
  display: grid;
  place-items: center;
  color: #9aa0a8;
  font-size: 13px;
}

/* 置顶：左上角斜条（参考丝带样式）+ 动效 */
.album-card__pin {
  position: absolute;
  top: 10px;
  left: -30px;
  z-index: 2;
  width: 96px;
  padding: 5px 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  line-height: 1.2;
  transform: rotate(-45deg);
  pointer-events: none;
  background: linear-gradient(110deg, #ff8a2b, #ff6a00 40%, #ffd29a 50%, #ff6a00 60%, #ff8a2b);
  background-size: 220% 100%;
  box-shadow: 0 2px 8px rgba(255, 106, 0, .45);
  animation:
    album-card__pin-shine 2.2s linear infinite,
    album-card__pin-pulse 1.8s ease-in-out infinite;
}
@keyframes album-card__pin-shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
@keyframes album-card__pin-pulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(255, 106, 0, .4);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 3px 14px rgba(255, 122, 24, .75);
    filter: brightness(1.08);
  }
}

/* C位：右上角金色动效 */
.album-card__crown {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #7a4b00;
  background: linear-gradient(100deg, #ffe39a, #ffd24d 45%, #fff6cf 52%, #ffc93c);
  background-size: 220% 100%;
  box-shadow: 0 2px 8px #ffb020a6, 0 0 0 1px #ffffff80 inset;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
  animation: album-card__crown-shine 1.8s linear infinite;
  pointer-events: none;
  white-space: nowrap;
}
.album-card__crown-ic {
  font-size: 11px;
  line-height: 1;
}
@keyframes album-card__crown-shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
.card-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.badge-cert {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #111;
  color: #d4af37;
  border: 1px solid #c9a227;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px 2px 5px;
  border-radius: 4px;
  line-height: 1.4;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-number {
  display: inline-block;
  background: var(--number-bg);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-cert i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #d4af37;
  position: relative;
  flex-shrink: 0;
}
.badge-cert i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 3px;
  height: 6px;
  border: solid #d4af37;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.card-loc {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.card-loc svg { flex-shrink: 0; margin-top: 1px; }

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.3;
}
.tag-lg {
  font-size: 30px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.detail-tags {
  margin: 12px 0 6px;
  gap: 6px;
}
.detail-tags .tag,
.detail-tags .tag-lg {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 5px;
  font-weight: 600;
  line-height: 1.3;
}

.site-footer {
  display: none;
}

/* 详情 */
.detail {
  padding: 16px 0 48px;
  max-width: 720px;
}
.back-link {
  display: inline-block;
  margin-bottom: 12px;
  color: #0a5acc;
  font-size: 14px;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 2px 0 18px;
  padding: 8px 14px 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
  color: #1e293b;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.back-btn-ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  box-shadow: none;
}
.back-btn-ico svg {
  display: block;
}
.back-btn-txt {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .02em;
  line-height: 1;
}
.back-btn:active {
  transform: scale(.97);
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: none;
}
.back-btn:active .back-btn-ico,
.back-btn:active .back-btn-txt {
  color: inherit;
}
.detail-title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.4;
  overflow: visible;
}
.detail-loc { margin: 8px 0; }
.detail-intro {
  margin: 16px 0;
  line-height: 1.7;
  color: #333;
  white-space: pre-wrap;
  background: #fff;
  padding: 14px;
  border-radius: var(--radius);
}
.media-grid {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.media-item {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.media-item img,
.media-item video {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #000;
}
.media-dl {
  display: block;
  text-align: center;
  padding: 10px 12px;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,.08);
}
.media-dl:active {
  background: #333;
}

@media (min-width: 768px) {
  .logo { font-size: 16px; }
  .search-form { grid-template-columns: minmax(0, 1fr) 52px; }
  .search-form input[type="search"],
  .search-form input { height: 38px; padding: 0 14px; font-size: 14px; }
  .search-form button { width: 52px; height: 38px; line-height: 38px; font-size: 14px; }
  .gallery-grid { gap: 16px; }
  .card-title { font-size: 16px; }
  .filter-bar { top: 58px; }
  body:has(.site-header.is-home) .filter-bar { top: 62px; }
  .filter-panel { top: 110px; max-width: var(--wrap); left: 50%; transform: translateX(-50%); width: min(100% - 24px, var(--wrap)); border-radius: 0 0 12px 12px; }
}

/* 回到顶部 */
.back-top {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #2f80ed;
  color: #fff;
  box-shadow: 0 6px 18px rgba(47, 128, 237, .4);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  padding: 0;
}
.back-top.show {
  opacity: 1;
  transform: translateY(0);
}
.back-top:active { transform: scale(.94); }

/* 进站密钥页 */
.gate-page {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: linear-gradient(165deg, #fff7f0 0%, #f7f4ff 45%, #fff 100%);
}
.gate-card {
  width: min(100%, 360px);
  background: #fff;
  border-radius: 22px;
  padding: 32px 24px 28px;
  box-shadow: 0 18px 50px rgba(40, 30, 20, .1);
  text-align: center;
}
.gate-title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  color: #111;
}
.gate-desc {
  margin: 0 0 18px;
  color: #8a8f98;
  font-size: 14px;
}
.gate-error {
  background: #ffecec;
  color: #c0392b;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  margin-bottom: 12px;
}
.gate-form input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e5ea;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 15px;
  margin-bottom: 14px;
  outline: none;
}
.gate-form input:focus {
  border-color: #bbb;
}
.gate-form button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  background: #2b2f36;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* 详情浮动按钮 */
.detail-fabs {
  position: fixed;
  right: 14px;
  bottom: 88px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.fab-copy {
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: #e53935;
  color: #fff;
  box-shadow: 0 8px 20px rgba(229, 57, 53, .4);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0;
  line-height: 1.15;
}
.fab-copy-label,
.fab-copy-action {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}
.fab-copy-num {
  font-size: 15px;
  font-weight: 800;
  color: #ffe082;
  letter-spacing: .3px;
}
.fab-shot {
  border: 0;
  border-radius: 999px;
  background: rgba(43, 47, 54, .88);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.fab-shot:disabled {
  opacity: .7;
  cursor: wait;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(0,0,0,.78);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.toast.show { opacity: 1; }

.shot-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, .45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.shot-sheet[hidden] { display: none !important; }
.shot-sheet-panel {
  width: min(100%, 480px);
  max-height: min(88vh, 760px);
  background: #fff;
  border-radius: 16px 16px 12px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}
.shot-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #eceef2;
}
.shot-sheet-head strong { font-size: 15px; }
.shot-sheet-close {
  border: 0;
  background: #f1f3f6;
  color: #333;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}
.shot-sheet-body {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #f5f6f8;
  padding: 10px;
}
.shot-sheet-body img {
  width: 100%;
  display: block;
  border-radius: 8px;
  background: #fff;
}
.shot-sheet-actions {
  padding: 12px 14px 16px;
  border-top: 1px solid #eceef2;
  background: #fff;
}
.shot-save-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #1c2430;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 14px;
  cursor: pointer;
}
.shot-sheet-tip {
  margin: 8px 0 0;
  font-size: 12px;
  color: #8a8f98;
  line-height: 1.4;
  text-align: center;
}
.shot-sheet.is-wechat .shot-save-btn {
  background: #07c160;
}
.shot-sheet.is-wechat .shot-sheet-tip {
  color: #2f6b45;
  font-weight: 500;
}
.shot-sheet.is-wechat .shot-sheet-body img {
  /* 提示可长按 */
  outline: 1px dashed #c5e6d0;
  outline-offset: 2px;
}

.wx-browser-tip {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: #eefaf2;
  color: #1a6b3c;
  border: 1px solid #b7e4c7;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
}
.wx-browser-tip[hidden] { display: none !important; }
.wx-browser-tip strong { font-weight: 700; }

.shot-loading {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 16, 22, .48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.shot-loading[hidden] { display: none !important; }
.shot-loading-card {
  width: min(100%, 300px);
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px 18px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.shot-loading-spin {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  border: 3px solid #e6ebf2;
  border-top-color: #1c2430;
  border-radius: 50%;
  animation: loadSpin .75s linear infinite;
}
.shot-loading-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #1c2430;
}
.shot-loading-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8a8f98;
}

.detail { padding-bottom: 120px; }

/* 截长图时隐藏浮动层，避免进画面 */
html.is-capturing .site-header,
html.is-capturing .detail-fabs,
html.is-capturing .back-top,
html.is-capturing .toast {
  visibility: hidden !important;
}

