/* 钓场入驻发布页 —— 1:1 还原小红鱼（settleIn.vue 规格）
   主色 #ff7138 / 激活渐变 border（#fd0 → #ff6937）/ 页面底色 #f5f6fa */

.xyff-ffp-page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  box-sizing: border-box;
  background: #f5f6fa;
  padding: 0 12px 118px;
  overflow-x: hidden;
  position: relative;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.xyff-ffp-page * { box-sizing: border-box; }

/* ---------- 顶部导航 ---------- */
.xyff-ffp-nav {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  position: relative;
  background: transparent;
}
.xyff-ffp-nav-back {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.xyff-ffp-nav-back .xyff-ffp-nav-arrow {
  width: 10px; height: 10px;
  border-left: 2px solid #1f2021;
  border-bottom: 2px solid #1f2021;
  transform: rotate(45deg);
  display: block;
  margin-left: 4px;
}
.xyff-ffp-nav-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2021;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 通用卡片/分区 ---------- */
.xyff-ffp-card,
.xyff-ffp-section {
  width: 100%;
  background: #fff;
  border-radius: 6px;
  margin-bottom: 10px;
}
.xyff-ffp-section { padding: 12px 10px 14px; }
.xyff-ffp-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 22px;
  margin-bottom: 10px;
}
.xyff-ffp-sec-title,
.xyff-ffp-label {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 20px;
  position: relative;
}
.xyff-ffp-req {
  color: #ff7138;
  font-size: 14px;
  font-weight: 400;
  position: absolute;
  left: -10px;
  top: -2px;
}
.xyff-ffp-sec-tip {
  font-size: 12px;
  font-weight: 400;
  color: #a1a6aa;
  line-height: 17px;
}

/* ---------- 单行字段卡 ---------- */
.xyff-ffp-field,
.xyff-ffp-switch {
  height: 48px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.xyff-ffp-right {
  flex: 1;
  min-width: 0;
  max-width: 75%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.xyff-ffp-input {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 400;
  color: #1f2021;
  line-height: 20px;
  text-align: right;
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  margin: 0;
}
.xyff-ffp-input::placeholder { color: #969b9c; }
.xyff-ffp-field-value {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  color: #1f2021;
  line-height: 20px;
  text-align: right;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xyff-ffp-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid #b9bdc2;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-left: 6px;
  flex-shrink: 0;
  opacity: .8;
}
.xyff-ffp-ph { color: #969b9c !important; }

/* ---------- 环境九宫格 ---------- */
.xyff-ffp-env { padding: 12px 10px 14px; }
.xyff-ffp-env-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.xyff-ffp-env-add,
.xyff-ffp-env-item {
  width: calc((100% - 16px) / 3);
  aspect-ratio: 1;
  border-radius: 6px;
  background: #f4f6fa;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.xyff-ffp-env-add {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 300;
  color: #969b9c;
  line-height: 1;
  cursor: pointer;
}
.xyff-ffp-env-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xyff-ffp-env-item .xyff-ffp-env-video-badge {
  position: absolute;
  left: 4px;
  top: 4px;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  background: rgba(0,0,0,.65);
  border-radius: 4px;
  color: #fff;
  font-size: 9px;
  line-height: 18px;
  text-align: center;
  z-index: 2;
}
.xyff-ffp-env-item .xyff-ffp-env-del {
  position: absolute;
  right: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: rgba(0,0,0,.55);
  color: #fff;
  border-radius: 0 6px 0 8px;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
}
.xyff-ffp-env-item .xyff-ffp-env-uploading {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #ff7138;
  z-index: 1;
}

/* ---------- 胶囊选项 ---------- */
.xyff-ffp-option { padding: 10px; }
.xyff-ffp-option .xyff-ffp-sec-title { padding-left: 10px; }
.xyff-ffp-option-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
  padding: 0;
}
.xyff-ffp-pill {
  flex: 1;
  height: 32px;
  border: 1px solid #DBDEE6;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  color: #969b9c;
  line-height: 17px;
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.xyff-ffp-pill.on {
  background: linear-gradient(#fff7f5, #fff7f5) padding-box,
              linear-gradient(45deg, #fd0, #ff6937, #fd0) border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #ff6b35;
}

/* ---------- 鱼种 ---------- */
.xyff-ffp-fish { padding: 12px 10px 8px; }
.xyff-ffp-fish-head { margin-bottom: 4px; }
.xyff-ffp-fish .xyff-ffp-sec-title { padding-left: 10px; }
.xyff-ffp-more {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #969b9c;
  line-height: 17px;
  cursor: pointer;
}
.xyff-ffp-more i {
  width: 0;
  height: 0;
  border-left: 4px solid #b9bdc2;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  margin-left: 3px;
  opacity: .55;
}
.xyff-ffp-fish-recommend {
  margin-bottom: 6px;
  font-size: 10px;
  color: #b4b8bc;
  line-height: 14px;
  padding-left: 10px;
}
.xyff-ffp-fish-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
}
.xyff-ffp-fish-item {
  width: calc((100% - 24px) / 4);
  height: 26px;
  margin-right: 8px;
  margin-bottom: 8px;
  padding: 0 6px;
  border: 1px solid #DBDEE6;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 400;
  color: #969b9c;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.xyff-ffp-fish-item:nth-child(4n) { margin-right: 0; }
.xyff-ffp-fish-item.on {
  background: linear-gradient(#fff7f5, #fff7f5) padding-box,
              linear-gradient(45deg, #fd0, #ff6937, #fd0) border-box;
  border: 1px solid transparent;
  color: #ff6b35;
}

/* ---------- 地址 ---------- */
.xyff-ffp-poi-right { max-width: none; margin-left: 20px; }
.xyff-ffp-poi {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
}
.xyff-ffp-poi-alias,
.xyff-ffp-poi-detail {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}
.xyff-ffp-poi-alias {
  font-weight: 500;
  font-size: 14px;
  color: #1f2021;
  line-height: 20px;
}
.xyff-ffp-poi-detail {
  margin-top: 2px;
  font-weight: 400;
  font-size: 12px;
  color: #969b9c;
  line-height: 18px;
}

/* ---------- 文本域 ---------- */
.xyff-ffp-textarea { padding: 16px 12px; }
.xyff-ffp-textarea .xyff-ffp-sec-title { margin-bottom: 8px; }
.xyff-ffp-textarea-box,
.xyff-ffp-content {
  width: 100%;
  background: #f4f6fa;
  border-radius: 5px;
  padding: 10px 10px 5px;
  overflow: hidden;
  position: relative;
}
.xyff-ffp-textarea-short { height: 132px; min-height: 132px; }
.xyff-ffp-content { min-height: 220px; }
.xyff-ffp-content textarea,
.xyff-ffp-textarea-box textarea {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 0 34px;
  resize: none;
  font-size: 13px;
  font-weight: 400;
  color: #1f2021;
  line-height: 20px;
  overflow-y: auto;
}
.xyff-ffp-textarea-box textarea { padding: 0; }
.xyff-ffp-textarea-box textarea::placeholder,
.xyff-ffp-content textarea::placeholder { color: #a7abb0; font-size: 13px; }
.xyff-ffp-content-desc { min-height: 260px; }
.xyff-ffp-ai {
  position: absolute;
  right: 8px;
  bottom: 8px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  color: #ff7138;
  background: linear-gradient(90deg, #fff1ed, #fffceb);
  border: 1px solid #FFD9C8;
  cursor: pointer;
  user-select: none;
  z-index: 3;
}
.xyff-ffp-ai.xyff-ffp-ai-off { opacity: .55; }

/* ---------- 开关 ---------- */
.xyff-ffp-switch { padding: 0 10px; }
.xyff-ffp-switch-c {
  display: flex;
  align-items: center;
}
.xyff-ffp-switch-text {
  font-size: 14px;
  color: #969b9c;
  line-height: 18px;
  margin-right: 8px;
}
.xyff-ffp-switch-track {
  width: 42px;
  height: 24px;
  padding: 2px;
  border-radius: 999px;
  background: #d5d9e3;
  display: inline-block;
  transition: background .2s ease;
  cursor: pointer;
}
.xyff-ffp-switch-track.on { background: #ff7138; }
.xyff-ffp-switch-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  transition: transform .2s ease;
  display: block;
}
.xyff-ffp-switch-track.on .xyff-ffp-switch-thumb { transform: translateX(18px); }

/* ---------- 营业执照 ---------- */
.xyff-ffp-license { padding: 12px 10px 16px; margin-bottom: 8px; }
.xyff-ffp-license-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.xyff-ffp-license-preview {
  width: 100%;
  height: 180px;
  border-radius: 5px;
  background: #f4f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.xyff-ffp-license-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.xyff-ffp-license-preview .xyff-ffp-license-bg { width: 190px; height: 116px; object-fit: contain; }
.xyff-ffp-license-btn {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ff7138;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  box-shadow: 0 6px 12px rgba(255,113,56,.24);
  cursor: pointer;
  user-select: none;
}
.xyff-ffp-license-btn img { width: 15px; height: 15px; margin-right: 4px; display: block; }

/* ---------- 底部发布栏 ---------- */
.xyff-ffp-release {
  position: sticky;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(31,32,33,.08);
  padding: 8px 12px 10px;
  z-index: 20;
}
.xyff-ffp-statement {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  cursor: pointer;
  user-select: none;
}
.xyff-ffp-agree-icon { width: 14px; height: 14px; display: block; }
/* 鱼种弹层：1:1 钓点地图选择鱼种（xhy-fish-picker） */
.xyff-ffp-pop { position: fixed; inset: 0; z-index: 91; pointer-events: none; }
.xyff-ffp-pop > * { pointer-events: auto; }
.xhy-fish-picker { --xhy-orange: #ff6b3d; }
/* 同意声明勾选框：纯 CSS 绘制，不依赖图标资源 */
.xyff-ffp-agree-box {
  display: inline-block; width: 14px; height: 14px;
  border: 1.5px solid #c3c9d1; border-radius: 4px;
  vertical-align: middle; margin-right: 4px; position: relative;
  flex: none; box-sizing: border-box; background: #fff;
}
.xyff-ffp-agree-box i {
  position: absolute; left: 1px; top: -1px;
  font-size: 10px; color: #fff; font-weight: 700; visibility: hidden;
}
.xyff-ffp-agree-box.is-checked { border-color: #ff7138; background: #ff7138; }
.xyff-ffp-agree-box.is-checked i { visibility: visible; }

.xyff-ffp-statement-text {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 400;
  color: #969b9c;
  line-height: 16px;
}
.xyff-ffp-statement-prefix { color: #969b9c; }
.xyff-ffp-statement-link { color: #4e5559; margin-left: 2px; cursor: pointer; }
.xyff-ffp-release-btn {
  width: 100%;
  height: 48px;
  border-radius: 6px;
  background: #1f2021;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 20px;
  cursor: pointer;
  user-select: none;
  transition: background .2s ease;
  position: relative;
}
.xyff-ffp-release-btn.xyff-ffp-disabled { background: #d5d9e3; cursor: not-allowed; }
.xyff-ffp-release-btn.xyff-ffp-loading { background: #1f2021; }
.xyff-ffp-btn-loading {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  margin-left: 8px;
  animation: xyff-ffp-spin .8s linear infinite;
}
.xyff-ffp-release-btn.xyff-ffp-loading .xyff-ffp-btn-loading { display: inline-block; }
@keyframes xyff-ffp-spin { to { transform: rotate(360deg); } }

/* ---------- 上传遮罩 ---------- */
.xyff-ffp-upload-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
}
.xyff-ffp-upload-mask.on { display: flex; }
.xyff-ffp-upload-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255,255,255,.4);
  border-top-color: #ff7138;
  border-radius: 50%;
  animation: xyff-ffp-spin .8s linear infinite;
}
.xyff-ffp-upload-tip { color: #fff; font-size: 13px; }

/* ---------- 弹层 ---------- */
.xyff-ffp-pop-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 90;
  display: none;
}
.xyff-ffp-pop-mask.on { display: block; }
.xyff-ffp-sheet {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 91;
  display: none;
  flex-direction: column;
  max-height: 78vh;
}
.xyff-ffp-sheet.on { display: flex; }
.xyff-ffp-sheet-head {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  flex-shrink: 0;
  border-bottom: 1px solid #f0f2f5;
}
.xyff-ffp-sheet-close {
  position: absolute;
  right: 12px;
  top: 0;
  height: 44px;
  line-height: 44px;
  font-size: 15px;
  color: #969b9c;
  cursor: pointer;
}
.xyff-ffp-sheet-body { overflow-y: auto; padding: 12px; flex: 1; }
.xyff-ffp-sheet-foot {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid #f0f2f5;
  flex-shrink: 0;
}
.xyff-ffp-sheet-foot .xyff-ffp-sheet-btn {
  flex: 1;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.xyff-ffp-sheet-btn.cancel { background: #f4f6fa; color: #969b9c; }
.xyff-ffp-sheet-btn.ok { background: #ff7138; color: #fff; }

/* 鱼种弹层 */
.xyff-ffp-fp-search {
  display: flex;
  align-items: center;
  background: #f4f6fa;
  border-radius: 999px;
  height: 36px;
  padding: 0 14px;
  margin-bottom: 10px;
}
.xyff-ffp-fp-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #1f2021;
}
.xyff-ffp-fp-search input::placeholder { color: #a7abb0; }
.xyff-ffp-fp-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f0f2f5;
}
.xyff-ffp-fp-tab {
  font-size: 14px;
  color: #969b9c;
  padding: 6px 2px 10px;
  cursor: pointer;
  position: relative;
}
.xyff-ffp-fp-tab.on { color: #1a1a1a; font-weight: 600; }
.xyff-ffp-fp-tab.on::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: #ff7138;
  border-radius: 2px;
}
.xyff-ffp-fp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.xyff-ffp-fp-chip {
  height: 28px;
  padding: 0 14px;
  border: 1px solid #DBDEE6;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #969b9c;
  background: #fff;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.xyff-ffp-fp-chip.on {
  background: linear-gradient(#fff7f5, #fff7f5) padding-box,
              linear-gradient(45deg, #fd0, #ff6937, #fd0) border-box;
  border: 1px solid transparent;
  color: #ff6b35;
}
.xyff-ffp-fp-empty,
.xyff-ffp-empty {
  text-align: center;
  color: #b4b8bc;
  font-size: 13px;
  padding: 24px 0;
}
.xyff-ffp-fp-empty a { color: #ff7138; margin-left: 6px; cursor: pointer; }

/* 地址弹层 */
.xyff-ffp-loc-search {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.xyff-ffp-loc-search input {
  flex: 1;
  height: 36px;
  border: none;
  outline: none;
  background: #f4f6fa;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
  color: #1f2021;
}
.xyff-ffp-loc-search input::placeholder { color: #a7abb0; }
.xyff-ffp-loc-near {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff7f5;
  border: 1px solid #FFD9C8;
  color: #ff7138;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
}
.xyff-ffp-loc-list .xyff-ffp-loc-item {
  padding: 12px 4px;
  border-bottom: 1px solid #f0f2f5;
  cursor: pointer;
}
.xyff-ffp-loc-item .xyff-ffp-loc-name {
  font-size: 14px;
  color: #1f2021;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xyff-ffp-loc-item .xyff-ffp-loc-addr {
  font-size: 12px;
  color: #969b9c;
  line-height: 18px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xyff-ffp-loc-item.xyff-ffp-loc-loading { text-align: center; color: #b4b8bc; padding: 20px 0; }

/* 时间弹层 */
.xyff-ffp-time-cols {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.xyff-ffp-time-col {
  flex: 1;
  height: 260px;
  overflow-y: auto;
  background: #f4f6fa;
  border-radius: 8px;
  padding: 6px 0;
}
.xyff-ffp-time-opt {
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 14px;
  color: #969b9c;
  cursor: pointer;
}
.xyff-ffp-time-opt.on { color: #ff7138; font-weight: 600; }
.xyff-ffp-time-sep {
  width: 1px;
  background: #f0f2f5;
  margin: 8px 0;
}

/* 免责声明弹层 */
.xyff-ffp-doc {
  max-height: 60vh;
  overflow-y: auto;
  padding: 12px;
  font-size: 14px;
  color: #4e5569;
  line-height: 22px;
  white-space: pre-wrap;
}

/* toast */
.xyff-ffp-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 70vw;
  background: rgba(31,32,33,.82);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 998;
  text-align: center;
  pointer-events: none;
}

/* PC 端整体外扩时的装饰底 */
@media (min-width: 520px) {
  .xyff-ffp-page { box-shadow: 0 0 24px rgba(31,32,33,.08); }
}


/* ==================== 跨平台适配（HarmonyOS ArkWeb / iOS Safari / Android WebView / 平板） ==================== */

/* 触控高亮与文本缩放 */
.xyff-ffp-page, .xyff-ffp-page * { -webkit-tap-highlight-color: transparent; }
.xyff-ffp-page { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* 视口高度：iOS 动态工具栏用 dvh 渐进，旧内核回退 100vh */
.xyff-ffp-page { min-height: 100vh; min-height: 100dvh; }
.xyff-ffp-sheet, .xyff-ffp-doc-body-wrap { max-height: 86vh; max-height: 86dvh; }

/* 惯性滚动（iOS / ArkWeb） */
.xyff-ffp-sheet-body,
.xyff-ffp-time-col,
.xyff-ffp-doc,
.xyff-ffp-fp-grid,
.xyff-ffp-loc-list,
.xyff-ffp-content textarea,
.xyff-ffp-textarea-box textarea { -webkit-overflow-scrolling: touch; }

/* 输入控件原生外观清零（Android WebView 默认样式差异） */
.xyff-ffp-input,
.xyff-ffp-phone,
.xyff-ffp-content textarea,
.xyff-ffp-textarea-box textarea { -webkit-appearance: none; appearance: none; }

/* iOS Safari 焦点自动放大：输入字号提到 16px（仅 iOS 生效，不破坏其它端 13px 视觉） */
@supports (-webkit-touch-callout: none) {
  .xyff-ffp-input,
  .xyff-ffp-content textarea,
  .xyff-ffp-textarea-box textarea { font-size: 16px; line-height: 22px; }
}

/* 底部安全区（iPhone 刘海屏 / 手势条 / 鸿蒙底部手势条） */
.xyff-ffp-release {
  padding: 8px 12px;
  padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  padding-bottom: calc(10px + constant(safe-area-inset-bottom));
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

/* 低版本内核无 aspect-ratio：九宫格用 padding 撑出正方形 */
@supports not (aspect-ratio: 1/1) {
  .xyff-ffp-env-add, .xyff-ffp-env-item {
    height: 0;
    padding-bottom: 30.66%;
  }
}

/* 平板 / 大屏（>=600px）：内容更宽一点，底部栏同步 */
@media (min-width: 600px) {
  .xyff-ffp-page { max-width: 560px; padding-left: 16px; padding-right: 16px; }
  .xyff-ffp-release { max-width: 560px; }
  .xyff-ffp-page { font-size: 15px; }
}

/* 超小屏（<330px，老安卓）：字号与间距微收 */
@media (max-width: 329px) {
  .xyff-ffp-sec-title, .xyff-ffp-label { font-size: 14px; }
  .xyff-ffp-fish-item { font-size: 12px; }
}
.xhy-fish-picker { position: absolute; z-index: 2400; inset: 0; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(180deg,#ffe9df 0,#fff5ef 118px,#fff 220px); }
.xhy-fish-picker-top { display: grid; grid-template-columns: 44px minmax(0,1fr) 72px; align-items: center; gap: 10px; padding: calc(14px + env(safe-area-inset-top,0px)) 16px 13px; }
.xhy-fish-picker-top > button:first-child { height: 44px; color: #202020; background: transparent; font-size: 34px; }
.xhy-fish-picker-top label { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 15px; border-radius: 24px; color: var(--xhy-orange); background: #fff; }
.xhy-fish-picker-top label > i { font-size: 24px; }
.xhy-fish-picker-top input { min-width: 0; flex: 1; border: 0; outline: 0; color: #444; background: transparent; font-size: 16px; }
#xhy-fish-picker-confirm { height: 42px; border-radius: 7px; color: #fff; background: var(--xhy-orange); font-size: 16px; font-weight: 900; }
.xhy-fish-picker-card { position: relative; min-height: 0; flex: 1; overflow: hidden; border-radius: 24px 24px 0 0; background: #fff; box-shadow: 0 -4px 16px rgba(255,107,61,.06); }
.xhy-fish-tabs { display: grid; grid-template-columns: repeat(3,1fr); height: 66px; padding: 0 12px; border-bottom: 1px solid #f3f3f3; }
.xhy-fish-tabs button { position: relative; color: #777; background: transparent; font-size: 18px; font-weight: 800; }
.xhy-fish-tabs button.is-active { color: #222; font-weight: 900; }
.xhy-fish-tabs button.is-active::after { content: ''; position: absolute; right: 22%; bottom: 6px; left: 22%; height: 5px; border-radius: 99px; background: linear-gradient(90deg,var(--xhy-orange),rgba(255,107,61,.12)); }
.xhy-fish-picker-content { height: calc(100% - 66px); overflow-y: auto; padding: 16px 21px 42px; scroll-behavior: smooth; }
.xhy-fish-scroll-section { scroll-margin-top: 6px; }
.xhy-fish-scroll-section + .xhy-fish-scroll-section { padding-top: 10px; }
.xhy-fish-section { padding: 2px 0 21px; border-bottom: 1px dashed #eee0d9; }
.xhy-fish-section + .xhy-fish-section { padding-top: 22px; }
.xhy-fish-section h3 { display: flex; align-items: center; margin: 0 0 16px; color: #202020; font-size: 20px; font-weight: 900; }
.xhy-fish-section h3 > i { margin-right: 7px; color: var(--xhy-orange); font-size: 23px; }
.xhy-fish-section h3 > button { margin-left: auto; color: #777; background: transparent; font-size: 22px; }
.xhy-fish-section > small { display: block; margin: -8px 0 16px; color: #777; font-size: 13px; }
.xhy-fish-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.xhy-fish-chip { min-height: 48px; padding: 5px; border: 1px solid #e7e7e7 !important; border-radius: 5px; color: #666; background: #f8f8fa; font-size: 14px; }
.xhy-fish-chip.is-active { border-color: var(--xhy-orange) !important; color: var(--xhy-orange); background: #fff3ed; font-weight: 900; }
.xhy-fish-empty { grid-column: 1 / -1; margin: 0; padding: 8px 0; color: #aaa; font-size: 15px; }
.xhy-fish-alphabet-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 10px; }
.xhy-fish-alphabet-grid button { aspect-ratio: 1; border-radius: 4px; color: #666; background: #f8f8fa; font-size: 18px; }
.xhy-fish-list-group { scroll-margin-top: 8px; }
.xhy-fish-list-group > h3 { margin: 0; padding: 15px 0 8px; color: #333; font-size: 20px; }
.xhy-fish-list-group > button { display: flex; align-items: center; width: calc(100% - 26px); min-height: 56px; padding: 0; border-bottom: 1px solid #f1f1f1; color: #666; background: transparent; text-align: left; }
.xhy-fish-list-group > button > span { min-width: 0; flex: 1; }
.xhy-fish-list-group > button strong { display: block; min-width: 0; font-size: 16px; font-weight: 600; }
.xhy-fish-list-group > button small { display: block; margin-top: 3px; overflow: hidden; color: #9aa09e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.xhy-fish-list-group > button i { display: none; color: var(--xhy-orange); font-size: 21px; }
.xhy-fish-list-group > button.is-active { color: var(--xhy-orange); }
.xhy-fish-list-group > button.is-active i { display: block; }
.xhy-fish-feedback { position: relative; display: flex; align-items: center; justify-content: center; margin: 52px 26px 8px 0; padding: 15px 12px; border: 2px solid #f49a4e; border-radius: 4px; color: #666; font-size: 16px; font-weight: 700; }
.xhy-fish-feedback::before { content: ''; position: absolute; top: -28px; right: 0; left: 0; border-top: 1px dashed #f1d8ca; }
.xhy-fish-feedback a { margin-left: 2px; color: var(--xhy-orange); font-weight: 900; text-decoration: none; }
.xhy-fish-feedback a:active { opacity: .72; }
.xhy-fish-letter-index { position: absolute; z-index: 3; top: 80px; right: 4px; bottom: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 24px; }
.xhy-fish-letter-index button { min-height: 18px; color: #222; background: transparent; font-size: 11px; font-weight: 900; }

.xhy-marker-detail { background: transparent !important; box-shadow: none !important; filter: none !important; pointer-events: none; }
.xhy-detail-card { position: absolute; right: 0; bottom: 0; left: 0; height: 52vh; height: min(52vh,470px); max-height: 470px; min-height: 350px; overflow: hidden; padding: 7px 14px calc(82px + var(--xhy-safe-bottom)); border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -8px 24px rgba(28,34,38,.08); pointer-events: auto; transition: height .28s cubic-bezier(.22,.72,.24,1); }
.xhy-detail-card.is-expanded { height: 83vh; height: min(83vh,800px); max-height: 800px; }
.xhy-detail-card.is-dragging { transition: none; }
.xhy-detail-handle { position: relative; width: auto; height: 14px; margin: -2px 40px 0; border-radius: 0; background: transparent; cursor: ns-resize; touch-action: none; }
.xhy-detail-handle::after { content: ''; position: absolute; top: 3px; left: 50%; width: 46px; height: 4px; border-radius: 99px; background: #d9dcdb; transform: translateX(-50%); }
.xhy-detail-close { position: absolute; z-index: 2; top: 14px; right: 13px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; color: #7d8583; background: transparent; font-size: 24px; }
.xhy-detail-title { display: block; padding: 8px 42px 5px 2px; }
.xhy-detail-title small { display: block; margin-bottom: 2px; color: #9a9f9e; font-size: 7px; font-weight: 800; letter-spacing: .8px; }
.xhy-detail-title h2 { overflow: hidden; margin: 0; font-size: 21px; font-weight: 900; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.xhy-detail-address-card { display: flex; align-items: center; min-width: 0; height: 31px; margin: 0 0 4px; color: #666; }
.xhy-detail-address-card strong { flex: 0 0 auto; color: #111; font-size: 15px; font-weight: 900; white-space: nowrap; }
.xhy-detail-address-divider { width: 1px; height: 21px; margin: 0 9px; flex: 0 0 1px; background: #e2e4e3; }
.xhy-detail-address-card em { display: block; min-width: 0; overflow: hidden; color: #777; font-size: 12px; font-style: normal; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.xhy-detail-address-card button { position: relative; z-index: 6; flex: 0 0 auto; margin-left: 6px; padding: 2px 0; color: var(--xhy-orange); background: transparent; font-size: 12px; font-weight: 800; white-space: nowrap; }
.xhy-detail-full-address { position: absolute; z-index: 4; top: 80px; right: 14px; left: 14px; padding: 10px 12px; border: 1px solid var(--xhy-orange); border-radius: 10px; color: #333; background: #fff; box-shadow: 0 7px 18px rgba(255,107,61,.14); font-size: 13px; font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; cursor: pointer; }
.xhy-detail-manage { display: flex; justify-content: flex-end; gap: 7px; height: 29px; margin-top: -1px; }
.xhy-detail-manage button { height: 26px; padding: 0 9px; border-radius: 8px; color: #e86b35; background: #fff1ea; font-size: 10px; font-weight: 800; }
.xhy-detail-manage button:last-child { color: #d84a45; background: #fff0f0; }
.xhy-detail-manage i { margin-right: 3px; }
.xhy-detail-toolbar { display: grid; grid-template-columns: 105px minmax(0,1fr); align-items: end; gap: 6px; min-height: 62px; border-bottom: 1px solid #f1f2f2; }
.xhy-detail-tabs { display: grid; grid-template-columns: repeat(2,1fr); height: 55px; }
.xhy-detail-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; color: #777; background: transparent; }
.xhy-detail-tabs strong { font-size: 16px; font-weight: 900; }
.xhy-detail-tabs small { color: #aaa; font-size: 9px; }
.xhy-detail-tabs button.is-active { color: #202020; }
.xhy-detail-tabs button.is-active::after { content: ''; position: absolute; right: 11px; bottom: 0; left: 11px; height: 4px; border-radius: 6px 6px 0 0; background: linear-gradient(90deg,var(--xhy-orange),#ffad63); }
.xhy-detail-actions { display: grid; grid-template-columns: repeat(4,1fr); height: 61px; }
.xhy-detail-actions button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; padding: 0 2px; color: #5e6664; background: transparent; }
.xhy-detail-actions i { display: flex; align-items: center; justify-content: center; width: 31px; height: 31px; border-radius: 50%; color: var(--xhy-orange); background: #fff0e7; font-size: 18px; }
.xhy-detail-actions span { overflow: hidden; max-width: 100%; font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.xhy-detail-actions button.is-active { color: var(--xhy-orange); }
.xhy-detail-actions button.is-pending { opacity: .55; }
.xhy-detail-actions button:nth-child(2) i { color: #ff7042; background: #fff2ed; }
.xhy-detail-actions button:nth-child(3) i { color: #08ad77; background: #e9fbf5; }
.xhy-detail-actions button:nth-child(4) i { color: #e9a521; background: #fff8df; }
.xhy-detail-activity { position: relative; height: calc(100% - 133px); min-height: 70px; overflow-x: hidden; overflow-y: auto; padding: 8px 0 calc(100px + var(--xhy-safe-bottom)); scrollbar-width: none; touch-action: pan-y; overscroll-behavior-y: contain; }
.xhy-detail-card.has-manage .xhy-detail-activity { height: calc(100% - 162px); }
.xhy-detail-activity::-webkit-scrollbar { display: none; }
.xhy-detail-panel[hidden] { display: none !important; }
.xhy-detail-publisher { position: relative; margin-bottom: 9px; overflow: hidden; border: 1px solid rgba(240,170,125,.4); border-radius: 13px; background: linear-gradient(160deg,#fffdfa 0%,#fff7ef 55%,#f4fbfa 100%); box-shadow: 0 4px 12px rgba(48,66,62,.05); }
.xhy-detail-publisher::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg,var(--xhy-orange),#ffb45c 48%,#27b78d); }
.xhy-detail-publisher-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 8px; }
.xhy-detail-publisher-avatar { display: flex; flex: 0 0 52px; align-items: center; justify-content: center; width: 52px; height: 52px; overflow: hidden; border: 2px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#ff9b69,var(--xhy-orange)); box-shadow: 0 4px 10px rgba(255,107,61,.22); font-size: 22px; }
.xhy-detail-publisher-avatar img { width: 100%; height: 100%; object-fit: cover; }
.xhy-detail-publisher-body { min-width: 0; flex: 1; }
.xhy-detail-publisher-name-row { display: flex; min-width: 0; align-items: center; gap: 6px; }
.xhy-detail-publisher-name-row > strong { min-width: 0; overflow: hidden; color: #26312e; font-size: 16px; font-weight: 900; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.xhy-detail-publisher-badge { display: inline-flex; flex: 0 0 18px; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#39c697,#1fa778); font-size: 10px; font-style: normal; }
.xhy-detail-publisher-badge i { font-size: inherit; line-height: 1; }
#xhy-detail-publisher-status { display: block; overflow: hidden; margin-top: 4px; color: #77817d; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.xhy-detail-publisher-follow { flex: 0 0 auto; height: 28px; padding: 0 13px; border: 1px solid rgba(255,107,61,.28); border-radius: 14px; color: var(--xhy-orange); background: #fff; box-shadow: 0 2px 6px rgba(255,107,61,.1); font-size: 11px; font-weight: 800; }
.xhy-detail-publisher-follow.ls-followed { border-color: #dfe7e4; color: #7d8985; background: #f2f5f4; box-shadow: none; }
.xhy-detail-publisher-meta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 4px 12px 10px; }
.xhy-detail-publisher-meta > span { display: flex; min-width: 0; height: 38px; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 1px solid rgba(235,241,239,.95); border-radius: 9px; color: #56615e; background: rgba(255,255,255,.88); }
.xhy-detail-publisher-meta > span > i { display: none; }
.xhy-detail-publisher-meta strong { min-width: 0; color: #283430; font-size: 13px; font-weight: 900; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.xhy-detail-publisher-meta small { color: #8b9491; font-size: 9px; line-height: 1.1; white-space: nowrap; }
.xhy-detail-publisher-meta em { min-width: 0; overflow: hidden; max-width: 100%; color: #283430; font-size: 11px; font-style: normal; font-weight: 800; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.xhy-detail-publisher-meta .is-city { display: flex; flex-direction: row; gap: 5px; }
.xhy-detail-publisher-meta .is-city i { display: inline-flex; flex: 0 0 auto; color: var(--xhy-orange); font-size: 14px; }
.xhy-detail-publisher-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 0 12px 12px; }
.xhy-detail-publisher-actions button { display: inline-flex; height: 34px; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; color: #4f5b57; background: rgba(245,248,247,.95); font-size: 12px; font-weight: 800; }
.xhy-detail-publisher-actions button i { color: var(--xhy-orange); font-size: 15px; }
.xhy-detail-publisher-actions #xhy-detail-publisher-chat { color: #fff; background: linear-gradient(135deg,#ff8250,var(--xhy-orange)); box-shadow: 0 4px 10px rgba(255,107,61,.2); }
.xhy-detail-publisher-actions #xhy-detail-publisher-chat i { color: #fff; }
.xhy-detail-publisher-actions #xhy-detail-publisher-wave { border: 1px solid #e2eae7; background: #fff; }
.xhy-detail-publisher-actions button[hidden] { display: none; }
.xhy-detail-content { margin: 0 0 6px; white-space: pre-wrap; color: #555; font-size: 12px; line-height: 1.55; }
.xhy-detail-content:empty { display: none; }
.xhy-detail-fish-row { display: flex; align-items: center; gap: 8px; padding: 1px 0 7px; }
.xhy-detail-fish-row > strong { flex: 0 0 auto; font-size: 12px; }
.xhy-detail-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.xhy-detail-tags span { padding: 3px 7px; border: 1px solid #efaa78; border-radius: 99px; color: #e47824; background: #fff9f3; font-size: 9px; font-weight: 800; }
.xhy-detail-media { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.xhy-detail-media img,
.xhy-detail-media video { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #f1f2f2; cursor: pointer; pointer-events: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.xhy-detail-empty { display: flex; min-height: 120px; flex-direction: column; align-items: center; justify-content: center; color: #a8aeac; text-align: center; }
.xhy-detail-empty i { color: #d7dcda; font-size: 50px; }
.xhy-detail-empty strong { margin-top: 2px; color: #555d5b; font-size: 15px; }
.xhy-detail-empty span { margin-top: 2px; font-size: 10px; }
#xhy-detail-catch-empty { min-height: 145px; }
#xhy-detail-catch-empty > i { position: relative; display: block; width: 76px; height: 56px; margin-bottom: 10px; font-size: 0; filter: drop-shadow(0 8px 5px rgba(80,85,84,.13)); }
#xhy-detail-catch-empty > i::before { content: ''; position: absolute; right: 8px; bottom: 0; left: 8px; height: 42px; border-radius: 3px 3px 8px 8px; background: linear-gradient(145deg,#f3f4f4,#bfc4c3); clip-path: polygon(8% 0,50% 16%,92% 0,100% 78%,52% 100%,0 78%); }
#xhy-detail-catch-empty > i::after { content: ''; position: absolute; top: 5px; left: 2px; width: 72px; height: 29px; background: linear-gradient(145deg,#f9f9f9,#d6d9d8); clip-path: polygon(10% 0,50% 38%,90% 0,100% 42%,56% 100%,50% 45%,44% 100%,0 42%); }
#xhy-detail-catch-empty > strong { color: #202221; font-size: 17px; font-weight: 900; }
#xhy-detail-catch-empty > span { color: #a0a6a4; font-size: 11px; }
.xhy-detail-catch-sync { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.xhy-detail-catch-sync[hidden] { display: none; }
.xhy-detail-catch-sync-title { display: flex; align-items: center; gap: 6px; margin: 2px 0 1px; color: #202221; font-size: 12px; font-weight: 900; }
.xhy-detail-catch-sync-title::before { content: ''; width: 4px; height: 12px; border-radius: 2px; background: linear-gradient(180deg,#ff9c55,#e97637); }
.xhy-checkin-feed { display: flex; flex-direction: column; gap: 8px; }
.xhy-checkin-feed-item { padding: 9px; border: 1px solid #edf0ef; border-radius: 10px; background: #fafbfb; }
.xhy-checkin-feed-head { display: flex; align-items: center; gap: 7px; }
.xhy-checkin-feed-head img,
.xhy-checkin-feed-avatar { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; flex: 0 0 27px; overflow: hidden; border-radius: 50%; color: #fff; background: #e4a06e; object-fit: cover; font-size: 13px; }
.xhy-checkin-feed-head strong { min-width: 0; flex: 1; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.xhy-checkin-feed-head time { color: #a0a5a3; font-size: 9px; }
.xhy-checkin-feed-rating { margin: 4px 0 -2px 34px; color: #ffc400; font-size: 10px; letter-spacing: 1px; }
.xhy-checkin-feed-item > p { margin: 7px 0 0; color: #4f5856; font-size: 11px; line-height: 1.55; }
.xhy-checkin-feed-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.xhy-checkin-feed-tags span { padding: 2px 6px; border-radius: 9px; color: #e97637; background: #fff0e8; font-size: 8px; }
.xhy-checkin-feed-media { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-top: 7px; }
.xhy-checkin-feed-media img,
.xhy-checkin-feed-media video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; background: #eee; cursor: pointer; pointer-events: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.xhy-detail-card.is-shop-detail { height: 300px; min-height: 300px; }
.xhy-detail-card.is-shop-detail .xhy-detail-tabs,
.xhy-detail-card.is-shop-detail .xhy-detail-activity,
.xhy-detail-card.is-shop-detail #xhy-detail-checkin,
.xhy-detail-card.is-shop-detail #xhy-detail-join,
.xhy-detail-card.is-shop-detail #xhy-detail-report { display: none !important; }
.xhy-detail-card.is-shop-detail .xhy-detail-toolbar { grid-template-columns: 1fr; min-height: 58px; }
.xhy-detail-card.is-shop-detail .xhy-detail-actions { display: block; height: 52px; }
.xhy-detail-card.is-shop-detail .xhy-detail-navigation { display: flex; width: 100%; height: 45px; flex-direction: row; gap: 7px; border-radius: 10px; color: #fff; background: #202221; }
.xhy-detail-card.is-shop-detail .xhy-detail-navigation i { width: auto; height: auto; color: #fff; background: transparent; }
.xhy-detail-card.is-shop-detail .xhy-detail-navigation span { font-size: 13px; }

.xhy-dialog { display: flex; align-items: center; justify-content: center; padding: 22px; }
.xhy-dialog-card { position: relative; z-index: 2; width: 100%; width: min(100%, 390px); max-width: 390px; padding: 19px; border-radius: 19px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.xhy-dialog-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.xhy-dialog-card header strong { font-size: 19px; }
.xhy-dialog-card header button { width: 34px; height: 34px; border-radius: 50%; color: #666; background: #f2f3f4; }
.xhy-dialog-card textarea { width: 100%; min-height: 110px; padding: 12px; resize: none; border: 1px solid #e5e6e8; border-radius: 13px; outline: 0; background: #fafafa; }
.xhy-dialog-submit { width: 100%; height: 46px; margin-top: 13px; border-radius: 13px; color: #fff; background: var(--xhy-orange); font-size: 16px; font-weight: 800; }
#xhy-checkin-distance-dialog .xhy-dialog-mask { background: rgba(11,36,31,.56) !important; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.xhy-distance-card { position: relative; z-index: 2; width: 100%; width: min(100%,360px); max-width: 360px; padding: 20px 18px 18px; overflow: hidden; border: 1px solid rgba(35,120,107,.18); border-radius: 8px; background: #fff; box-shadow: 0 22px 56px rgba(11,42,36,.26); text-align: left; }
.xhy-distance-card::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg,#238c7f 0 72%,var(--xhy-orange) 72% 100%); }
.xhy-distance-card-head { display: flex; align-items: center; gap: 12px; padding: 4px 2px 14px; border-bottom: 1px solid #e8efed; }
.xhy-distance-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex: 0 0 52px; margin: 0; border: 1px solid rgba(35,140,127,.15); border-radius: 8px; color: #238c7f; background: #eaf6f3; font-size: 27px; }
.xhy-distance-card-head div { min-width: 0; }
.xhy-distance-card-head small { display: block; margin-bottom: 3px; color: #6f8580; font-size: 10px; font-weight: 800; line-height: 14px; letter-spacing: 0; }
.xhy-distance-card-head strong { display: block; color: #18352f; font-size: 21px; font-weight: 900; line-height: 28px; }
.xhy-distance-card > p { margin: 15px 0 12px; padding: 12px 13px; border-left: 3px solid var(--xhy-orange); color: #455c57; background: #f5f8f7; font-size: 14px; font-weight: 700; line-height: 1.75; text-align: left; }
.xhy-distance-guide { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; color: #5f746f; font-size: 12px; font-weight: 700; }
.xhy-distance-guide i { color: #238c7f; font-size: 17px; }
.xhy-distance-card > button { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; height: 48px; border-radius: 8px; color: #fff; background: var(--xhy-orange); box-shadow: 0 8px 18px rgba(255,107,61,.22); font-size: 16px; font-weight: 900; }
.xhy-distance-card > button i { font-size: 19px; }
.xhy-delete-card { position: relative; z-index: 2; width: 100%; width: min(100%,340px); max-width: 340px; padding: 24px 22px 18px; border-radius: 16px; background: #fff; box-shadow: 0 20px 55px rgba(0,0,0,.22); text-align: center; }
.xhy-delete-card > span { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto 11px; border-radius: 50%; color: #e44e48; background: #fff0f0; font-size: 26px; }
.xhy-delete-card > strong { display: block; font-size: 20px; }
.xhy-delete-card > p { margin: 10px 0 18px; color: #767d7a; font-size: 13px; line-height: 1.6; }
.xhy-delete-card > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.xhy-delete-card > div button { height: 43px; border-radius: 9px; color: #4f5754; background: #f1f3f2; font-weight: 900; }
.xhy-delete-card > div button:last-child { color: #fff; background: #df4f49; }
.xhy-checkin-page { position: absolute; z-index: 2300; inset: 0; display: flex; flex-direction: column; overflow: hidden; background: #f7f7f7; }
.xhy-checkin-location-page { position: absolute; z-index: 2480; inset: 0; overflow: hidden; isolation: isolate; background: #fff; }
.xhy-checkin-location-page > header { position: relative; z-index: 1300; display: grid; grid-template-columns: 70px 1fr 70px; align-items: end; height: calc(68px + env(safe-area-inset-top,0px)); padding: env(safe-area-inset-top,0px) 11px 8px; background: #fff; }
.xhy-checkin-location-page > header button { height: 48px; padding: 0; color: #202221; background: transparent; font-size: 15px; font-weight: 900; }
.xhy-checkin-location-page > header button:first-child { font-size: 32px; text-align: left; }
.xhy-checkin-location-page > header button:last-child { color: var(--xhy-orange); text-align: right; }
.xhy-checkin-location-page > header strong { padding-bottom: 11px; font-size: 21px; font-weight: 900; text-align: center; }
.xhy-checkin-location-map { position: relative; z-index: 1; height: 43vh; min-height: 270px; background: #dce8ed; }
.xhy-checkin-location-map .leaflet-control-container { display: none; }
.xhy-checkin-location-pin { display: block; width: 34px; height: 42px; filter: drop-shadow(0 5px 4px rgba(90,52,24,.25)); }
.xhy-checkin-location-pin::before { content: ''; position: absolute; top: 0; left: 3px; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; background: radial-gradient(circle at 50% 50%,#fff 0 7px,transparent 7.5px),linear-gradient(145deg,#ff8c4c,#ff5e2c); transform: rotate(-45deg); }
.xhy-checkin-location-pin::after { content: ''; position: absolute; right: 8px; bottom: 1px; left: 8px; height: 5px; border-radius: 50%; background: rgba(69,43,25,.28); }
.xhy-checkin-location-relocate,
.xhy-checkin-location-refresh { position: absolute; z-index: 1600 !important; top: calc(43vh + 22px + env(safe-area-inset-top,0px)); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 1px solid #edf0ef; border-radius: 50%; color: #555; background: #fff; box-shadow: 0 4px 14px rgba(30,42,47,.12); font-size: 24px; pointer-events: auto; touch-action: manipulation; -webkit-transform: translateZ(0); transform: translateZ(0); }
.xhy-checkin-location-relocate { left: 18px; }
.xhy-checkin-location-refresh { left: 82px; color: var(--xhy-orange); }
.xhy-checkin-location-relocate.is-loading i,
.xhy-checkin-location-refresh.is-loading i { animation: xhy-spin .8s linear infinite; }
.leaflet-marker-icon.is-checkin-selected { z-index: 900 !important; filter: drop-shadow(0 5px 5px rgba(255,93,47,.36)); transform-origin: 50% 100%; }
.xhy-checkin-location-sheet { position: relative; z-index: 2; padding: 26px 20px 20px; background: #fff; }
.xhy-checkin-location-sheet > button { display: flex; align-items: center; justify-content: center; gap: 14px; width: 82%; width: min(82%,430px); max-width: 430px; height: 58px; margin: 0 auto 25px; border-radius: 30px; color: #fff; background: linear-gradient(135deg,#ff7c42,var(--xhy-orange)); box-shadow: 0 8px 22px rgba(255,107,61,.2); font-size: 18px; font-weight: 900; }
.xhy-checkin-location-sheet > button i { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.16); font-size: 25px; }
.xhy-checkin-location-sheet > strong { display: block; font-size: 20px; }
.xhy-checkin-location-sheet > p { display: flex; gap: 10px; margin: 10px 0 0; color: #858c8a; font-size: 13px; }
.xhy-checkin-location-sheet > p b { flex: 0 0 auto; color: #777e7c; }
.xhy-checkin-location-sheet > p span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xhy-checkin-location-sheet > small { display: block; margin-top: 17px; padding-top: 17px; border-top: 1px dashed #e4e7e6; color: #a1a7a5; font-size: 11px; text-align: center; }
.xhy-checkin-top { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: calc(64px + env(safe-area-inset-top,0px)); padding: env(safe-area-inset-top,0px) 10px 0; background: #fff; }
.xhy-checkin-top button { height: 48px; padding: 0; color: #111; background: transparent; font-size: 34px; }
.xhy-checkin-top strong { font-size: 22px; font-weight: 900; text-align: center; }
.xhy-checkin-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 14px calc(86px + var(--xhy-safe-bottom)); scrollbar-width: none; }
.xhy-checkin-scroll::-webkit-scrollbar { display: none; }
.xhy-checkin-card,
.xhy-checkin-location { width: 100%; margin: 0 0 10px; padding: 15px; border-radius: 13px; color: #202020; background: #fff; text-align: left; }
.xhy-checkin-card > strong,
.xhy-checkin-location > strong { display: block; font-size: 17px; font-weight: 900; }
.xhy-checkin-card b,
.xhy-checkin-location b { margin-right: 3px; color: var(--xhy-orange); }
.xhy-checkin-location { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; min-height: 66px; }
.xhy-checkin-location > span,
.xhy-checkin-resource > span { display: flex; min-width: 0; align-items: center; justify-content: flex-end; color: #979d9b; }
.xhy-checkin-location em,
.xhy-checkin-resource em { overflow: hidden; max-width: 100%; font-size: 13px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.xhy-checkin-location span i,
.xhy-checkin-resource span i { margin-left: 6px; color: #282d2c; font-size: 20px; }
.xhy-checkin-location > small { grid-column: 1/-1; margin-top: 4px; color: #969c9a; font-size: 10px; }
.xhy-checkin-rating { display: grid; grid-template-columns: auto 1fr; align-items: center; min-height: 96px; }
.xhy-checkin-stars { display: flex; justify-content: flex-end; gap: 4px; }
.xhy-checkin-stars button { padding: 0; color: #dfe2e1; background: transparent; font-size: 26px; }
.xhy-checkin-stars button.is-active { color: #ffc400; filter: drop-shadow(0 2px 2px rgba(255,183,0,.2)); }
.xhy-checkin-rating > small { grid-column: 1/-1; margin-top: 8px; color: #999f9d; font-size: 12px; text-align: right; }
.xhy-checkin-upload { min-height: 142px; }
.xhy-checkin-media { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.xhy-checkin-media::-webkit-scrollbar { display: none; }
#xhy-checkin-media-add,
.xhy-checkin-media .xhy-media-preview { position: relative; width: 86px; height: 86px; flex: 0 0 86px; overflow: hidden; border-radius: 8px; background: #f2f3f6; }
#xhy-checkin-media-add { display: flex; align-items: center; justify-content: center; padding: 0; color: #9ca1a3; font-size: 38px; }
.xhy-checkin-media .xhy-media-preview img,
.xhy-checkin-media .xhy-media-preview video { width: 100%; height: 100%; object-fit: cover; }
.xhy-checkin-writing { position: relative; }
.xhy-checkin-writing textarea { width: 100%; height: 150px; margin-top: 12px; padding: 13px; resize: none; border: 0; border-radius: 10px; outline: 0; color: #333; background: #f3f4f7; font-size: 14px; line-height: 1.65; }
.xhy-checkin-writing > small { display: block; margin-top: 5px; color: #8f9593; font-size: 12px; text-align: right; }
.xhy-checkin-setting { display: flex; align-items: center; min-height: 68px; }
.xhy-checkin-setting > strong { flex: 1; }
.xhy-checkin-setting > span { margin-right: 8px; color: #9ba09e; font-size: 12px; }
.xhy-switch { position: relative; width: 55px; height: 31px; flex: 0 0 55px; padding: 0; border-radius: 18px; background: #dfe2e8; transition: background .2s ease; }
.xhy-switch i { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.14); transition: transform .2s ease; }
.xhy-switch.is-active { background: var(--xhy-orange); }
.xhy-switch.is-active i { transform: translateX(24px); }
.xhy-checkin-toxic { padding-bottom: 10px; }
.xhy-checkin-toxic .xhy-checkin-setting { min-height: 38px; padding: 0; }
.xhy-checkin-risk { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e5e6e6; }
.xhy-checkin-risk button { color: #6e7674; background: transparent; font-size: 12px; }
.xhy-checkin-risk button i { display: inline-block; width: 17px; height: 17px; margin-right: 4px; border: 2px solid #aeb4b2; border-radius: 50%; vertical-align: -4px; }
.xhy-checkin-risk button.is-active { color: var(--xhy-orange); }
.xhy-checkin-risk button.is-active i { border: 5px solid var(--xhy-orange); }
.xhy-checkin-resource { display: flex; align-items: center; min-height: 68px; }
.xhy-checkin-resource > strong { flex: 1; }
.xhy-checkin-resource > span { max-width: 60%; }
.xhy-checkin-footer { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; padding: 9px 14px calc(9px + var(--xhy-safe-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -5px 15px rgba(35,45,42,.06); }
.xhy-checkin-footer button { width: 100%; height: 51px; border-radius: 10px; color: #fff; background: #202221; font-size: 18px; font-weight: 900; }
.xhy-checkin-footer button:disabled { color: #fff; background: #d8dbe2; }

.xhy-navigation-picker { position: absolute; z-index: 2600; inset: 0; }
.xhy-navigation-mask { display: block !important; position: absolute !important; inset: 0 !important; width: 100% !important; min-width: 100% !important; max-width: none !important; height: 100% !important; min-height: 100% !important; max-height: none !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; border: 0 !important; border-radius: 0 !important; outline: 0 !important; opacity: 0 !important; background: transparent !important; background-image: none !important; box-shadow: none !important; filter: none !important; clip-path: none !important; transform: none !important; -webkit-appearance: none !important; appearance: none !important; }
.xhy-navigation-mask::before,
.xhy-navigation-mask::after { display: none !important; content: none !important; }
.xhy-navigation-panel { position: absolute; right: 0; bottom: 0; left: 0; padding: 7px 18px calc(15px + var(--xhy-safe-bottom)); border-radius: 20px 20px 0 0; background: #fff; box-shadow: none; }
.xhy-navigation-handle { width: 42px; height: 4px; margin: 0 auto 12px; border-radius: 99px; background: #d8dadd; }
.xhy-navigation-panel h3 { margin: 0 0 15px; font-size: 18px; font-weight: 900; text-align: center; }
.xhy-navigation-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.xhy-navigation-options button { display: flex; flex-direction: column; align-items: center; gap: 7px; color: #555; background: transparent; }
.xhy-navigation-options button > span { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 13px; color: #fff; font-size: 29px; }
.xhy-navigation-options .is-amap { background: linear-gradient(145deg,#58d7ff,#1384ec); }
.xhy-navigation-options .is-baidu { background: linear-gradient(145deg,#9bd68b,#ef4e57); }
.xhy-navigation-options strong { font-size: 12px; }
.xhy-navigation-cancel { display: block; margin: 14px auto 0; color: #1687e8; background: transparent; font-size: 16px; font-weight: 900; }

.xhy-publish-page { position: absolute; z-index: 1800; inset: 0; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(180deg,#f7faf9 0,#f2f5f4 100%); }
.xhy-publish-topbar { position: relative; z-index: 2; display: grid; grid-template-columns: 48px repeat(3, minmax(0, 1fr)); align-items: center; gap: 7px; min-height: calc(62px + env(safe-area-inset-top, 0px)); padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 7px; border: 0 !important; background: rgba(255,255,255,.96) !important; box-shadow: 0 4px 16px rgba(40,74,72,.06) !important; }
.xhy-publish-topbar .xhy-map-back { width: 48px; height: 48px; }
.xhy-publish-map-wrap { position: relative; flex: 0 0 180px; flex-basis: clamp(135px,23vh,205px); min-height: 0; overflow: hidden; isolation: isolate; border-bottom: 3px solid rgba(61,154,151,.13); }
.xhy-publish-map { position: absolute; z-index: 1; inset: 0; background: #dce8ed; }
.xhy-publish-map .leaflet-control-container { display: none; }
.xhy-publish-center-pin { position: absolute; z-index: 1200; top: 50%; left: 50%; width: 34px; height: 65px; margin: -64px 0 0 -17px; background: transparent; pointer-events: none; }
.xhy-publish-center-pin::before { content: ''; position: absolute; z-index: 2; top: 0; left: 3px; width: 29px; height: 29px; border-radius: 50% 50% 50% 0; background: radial-gradient(circle at 50% 50%, #fff 0 5px, transparent 5.5px), linear-gradient(145deg,#ff7250,#f10b05); box-shadow: inset 4px 4px 5px rgba(255,255,255,.48), 0 5px 7px rgba(0,0,0,.2); transform: rotate(-45deg); }
.xhy-publish-center-pin::after { content: ''; position: absolute; z-index: 1; top: 25px; left: 15px; width: 4px; height: 40px; border-radius: 0 0 2px 2px; background: #151515; box-shadow: 1px 1px 2px rgba(0,0,0,.22); }
.xhy-publish-location-refresh { position: absolute; z-index: 1600 !important; bottom: 14px; left: 14px; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 0; border: 1px solid rgba(255,107,61,.22); border-radius: 50%; color: var(--xhy-orange); background: rgba(255,255,255,.96); box-shadow: 0 5px 16px rgba(37,52,49,.16); font-size: 24px; pointer-events: auto; touch-action: manipulation; -webkit-transform: translateZ(0); transform: translateZ(0); }
.xhy-publish-location-refresh.is-loading i { animation: xhy-spin .8s linear infinite; }
.xhy-publish-form { flex: 1 1 auto; min-height: 0; overflow: hidden; padding: 0 12px calc(66px + var(--xhy-safe-bottom)); background: linear-gradient(180deg,#f3f7f6,#f6f7f7); }
.xhy-publish-form::-webkit-scrollbar { display: none; }
.xhy-publish-form-head { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 0 -12px; padding: 5px 16px 2px 18px; background: #fff; }
.xhy-publish-form-head::before { content: ''; position: absolute; top: 0; left: 18px; width: 34px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg,var(--xhy-orange),#ffae54); }
.xhy-publish-form-head small { display: block; color: #80908d; font-size: 7px; font-weight: 800; line-height: 9px; letter-spacing: .8px; }
.xhy-publish-form-head strong { display: block; font-size: 17px; font-weight: 900; line-height: 21px; }
.xhy-publish-form-head button { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; color: #8b9693; background: #f5f7f6; font-size: 21px; }
.xhy-publish-name { display: flex; align-items: center; gap: 8px; margin: 0 -12px; padding: 4px 18px; border-bottom: 1px solid #f0f2f1; background: #fff; }
.xhy-publish-name input { width: 100%; min-width: 0; height: 28px; padding: 0; border: 0; outline: 0; color: #202826; background: transparent; font-size: 16px; font-weight: 900; }
.xhy-publish-name input::placeholder { color: #a2aaa8; }
.xhy-publish-name > i { color: var(--xhy-orange); font-size: 21px; }
.xhy-publish-content { position: relative; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 7px; min-height: 50px; margin: 0 -12px; padding: 4px 18px; border-bottom: 1px solid #f0f2f1; background: #fff; }
.xhy-publish-content > i { align-self: start; margin-top: 5px; color: #46a19a; font-size: 19px; }
.xhy-publish-content textarea { width: 100%; height: 40px; padding: 4px 0; resize: none; border: 0; outline: 0; color: #46504e; background: transparent; font-size: 12px; line-height: 16px; }
.xhy-publish-content textarea::placeholder { color: #a2aaa8; }
.xhy-publish-content > small { align-self: end; padding-bottom: 4px; color: #a0a8a6; font-size: 8px; }
.xhy-publish-address { display: flex; align-items: center; gap: 5px; min-height: 29px; margin: 0 -12px 6px; padding: 5px 18px 6px; color: #66716f; background: #fff; font-size: 11px; line-height: 18px; }
.xhy-publish-address b { flex: 0 0 auto; color: #35423f; }
.xhy-publish-address span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xhy-publish-visibility { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 6px; }
.xhy-publish-visibility button { display: flex; align-items: center; justify-content: center; gap: 5px; height: 40px; padding: 0 7px; border: 1px solid #e7ecea; border-radius: 10px; color: #64706d; background: #fff; box-shadow: 0 3px 10px rgba(41,75,70,.035); font-size: 12px; font-weight: 900; }
.xhy-publish-visibility button i { font-size: 18px; }
.xhy-publish-visibility button.is-active { border-color: var(--xhy-orange); color: var(--xhy-orange); background: linear-gradient(135deg,#fff 55%,#fff7f2); box-shadow: 0 4px 12px rgba(255,107,61,.1); }
.xhy-publish-required-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; width: 100%; }
.xhy-publish-required { position: relative; display: grid; grid-template-columns: 19px minmax(0,1fr); align-items: center; gap: 4px; width: 100%; min-width: 0; min-height: 48px; padding: 5px 14px 5px 7px; overflow: hidden; border: 1px solid #e7ecea; border-radius: 10px; color: #34413e; background: #fff; box-shadow: 0 3px 10px rgba(41,75,70,.035); text-align: left; }
.xhy-publish-required > i { display: flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 7px; color: #fff; background: #48a39b; font-size: 13px; }
.xhy-publish-required.is-fee > i { background: var(--xhy-orange); }
.xhy-publish-required > span { min-width: 0; }
.xhy-publish-required small { display: block; overflow: hidden; color: #75847f; font-size: 8px; font-weight: 800; line-height: 12px; text-overflow: ellipsis; white-space: nowrap; }
.xhy-publish-required small b { color: #f05c3b; font-weight: 900; }
.xhy-publish-required strong { display: block; overflow: hidden; color: #2d3936; font-size: 10px; font-weight: 900; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.xhy-publish-required > em { position: absolute; top: 50%; right: 2px; color: #f07b4d; font-size: 14px; font-style: normal; transform: translateY(-50%); }
.xhy-publish-media { position: relative; display: block; height: 91px; margin-top: 6px; padding: 6px 10px 7px; overflow: hidden; border: 1px solid #e9eeec; border-radius: 11px; background: #fff; box-shadow: 0 3px 10px rgba(41,75,70,.035); }
.xhy-publish-media::after { content: ''; position: absolute; right: -24px; bottom: -30px; width: 85px; height: 58px; border: 8px solid rgba(49,157,151,.055); border-radius: 50%; pointer-events: none; }
.xhy-publish-media > strong { position: relative; z-index: 1; display: block; margin-bottom: 5px; color: #2b3532; font-size: 13px; font-weight: 900; line-height: 16px; }
.xhy-publish-media > strong::after { content: '记录真实鱼情'; margin-left: 8px; color: #90a29e; font-size: 10px; font-weight: 600; }
.xhy-publish-media-grid { position: relative; z-index: 1; display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.xhy-publish-media-grid::-webkit-scrollbar { display: none; }
#xhy-publish-media-add,
.xhy-media-preview { position: relative; width: 54px; height: 54px; flex: 0 0 54px; overflow: hidden; border-radius: 9px; background: #f1f4f3; }
#xhy-publish-media-add { padding: 0; border: 1px dashed #cfdad7; color: #81928e; background: linear-gradient(145deg,#f7faf9,#edf3f1); font-size: 30px; }
.xhy-media-preview img,
.xhy-media-preview video { width: 100%; height: 100%; object-fit: cover; }
.xhy-media-preview > button { position: absolute; top: 5px; right: 5px; display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: rgba(0,0,0,.62); }
.xhy-media-preview > span { position: absolute; right: 5px; bottom: 5px; padding: 2px 5px; border-radius: 6px; color: #fff; background: rgba(0,0,0,.55); font-size: 10px; }
.xhy-publish-footer { position: absolute; z-index: 10; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 7px 12px calc(7px + var(--xhy-safe-bottom)); border-top: 1px solid rgba(220,227,225,.8); background: rgba(255,255,255,.97); box-shadow: 0 -6px 18px rgba(35,64,60,.07); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.xhy-publish-footer button { height: 46px; border-radius: 10px; color: #fff; background: linear-gradient(135deg,#283431,#17201e); box-shadow: 0 5px 12px rgba(25,35,32,.13); font-size: 16px; font-weight: 900; letter-spacing: 2px; }
.xhy-publish-footer button:last-child { background: linear-gradient(135deg,#ff8250,var(--xhy-orange)); box-shadow: 0 6px 14px rgba(255,107,61,.24); }
.xhy-publish-footer button:disabled { opacity: .65; }

/* Fishing community publish layout. */
.xhy-publish-page { background: #eef4f2; }
.xhy-publish-map-wrap { flex-basis: clamp(150px,22vh,210px); border-bottom: 3px solid #cfe3de; }
.xhy-publish-location-refresh { width: 46px; height: 46px; border-color: rgba(35,140,127,.22); color: #238c7f; box-shadow: 0 6px 18px rgba(18,60,52,.18); font-size: 22px; }
.xhy-publish-form { overflow-x: hidden; overflow-y: auto; padding: 12px 12px calc(78px + var(--xhy-safe-bottom)); background: #eef4f2; }
.xhy-publish-form-head { margin: 0; padding: 10px 12px 8px; border: 1px solid #dce8e5; border-bottom: 0; border-radius: 8px 8px 0 0; background: #fff; }
.xhy-publish-form-head::before { top: 0; left: 12px; width: 38px; height: 3px; background: #238c7f; }
.xhy-publish-form-head small { color: #78908a; font-size: 9px; line-height: 13px; letter-spacing: 0; }
.xhy-publish-form-head strong { color: #18352f; font-size: 19px; line-height: 25px; }
.xhy-publish-form-head button { width: 34px; height: 34px; border-radius: 8px; color: #69807b; background: #eef4f2; }
.xhy-publish-name { gap: 10px; min-height: 62px; margin: 0; padding: 8px 12px; border: 1px solid #dce8e5; border-top: 0; border-bottom-color: #edf2f0; background: #fff; }
.xhy-publish-name-mark { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 8px; color: #fff; background: #238c7f; font-size: 20px; }
.xhy-publish-name-copy { min-width: 0; flex: 1; }
.xhy-publish-name-copy small { display: block; color: #78908a; font-size: 10px; font-weight: 800; line-height: 14px; }
.xhy-publish-name input { height: 26px; color: #18352f; font-size: 16px; line-height: 26px; }
.xhy-publish-name > i { color: var(--xhy-orange); font-size: 20px; }
.xhy-publish-address { align-items: flex-start; gap: 10px; min-height: 58px; margin: 0 0 10px; padding: 9px 12px 11px; border: 1px solid #dce8e5; border-top: 0; border-radius: 0 0 8px 8px; color: #415954; background: #fff; font-size: 12px; line-height: 18px; }
.xhy-publish-address > i { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 8px; color: var(--xhy-orange); background: #fff1ea; font-size: 20px; }
.xhy-publish-address > div { min-width: 0; flex: 1; }
.xhy-publish-address small { display: block; color: #78908a; font-size: 10px; font-weight: 800; line-height: 14px; }
.xhy-publish-address span { display: block; overflow: visible; color: #2d4540; font-weight: 700; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.xhy-publish-visibility { gap: 0; margin-bottom: 10px; padding: 3px; border: 1px solid #d7e4e0; border-radius: 8px; background: #dde9e6; }
.xhy-publish-visibility button { height: 40px; border: 0; border-radius: 6px; color: #58706a; background: transparent; box-shadow: none; }
.xhy-publish-visibility button.is-active { border: 0; color: #18352f; background: #fff; box-shadow: 0 2px 8px rgba(26,73,64,.12); }
.xhy-publish-visibility button.is-active i { color: var(--xhy-orange); }
.xhy-publish-required-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.xhy-publish-required:first-child { grid-column: 1 / -1; }
.xhy-publish-required { min-height: 58px; padding: 8px 24px 8px 9px; border-color: #dce8e5; border-radius: 8px; box-shadow: 0 3px 10px rgba(24,65,57,.05); }
.xhy-publish-required > i { width: 32px; height: 32px; border-radius: 8px; background: #238c7f; font-size: 17px; }
.xhy-publish-required { grid-template-columns: 32px minmax(0,1fr); gap: 8px; }
.xhy-publish-required small { font-size: 10px; line-height: 14px; }
.xhy-publish-required strong { font-size: 12px; line-height: 18px; }
.xhy-publish-required > em { right: 7px; font-size: 17px; }
.xhy-publish-media { height: auto; min-height: 116px; margin-top: 8px; padding: 10px 12px; border-color: #dce8e5; border-radius: 8px; box-shadow: 0 3px 10px rgba(24,65,57,.05); }
.xhy-publish-media::after { display: none; }
.xhy-publish-media > strong { margin-bottom: 8px; color: #18352f; font-size: 14px; line-height: 20px; }
.xhy-publish-media > strong::after { color: #78908a; }
#xhy-publish-media-add,
.xhy-media-preview { width: 64px; height: 64px; flex-basis: 64px; border-radius: 8px; }
.xhy-publish-footer { gap: 8px; padding: 9px 12px calc(9px + var(--xhy-safe-bottom)); border-top-color: #d7e4e0; background: rgba(255,255,255,.98); }
.xhy-publish-footer button { height: 50px; border-radius: 8px; background: #18352f; box-shadow: 0 5px 12px rgba(24,53,47,.18); letter-spacing: 0; }
.xhy-publish-footer button:last-child { background: var(--xhy-orange); box-shadow: 0 6px 14px rgba(255,107,61,.24); }

@media (max-height: 760px) {
    .xhy-publish-map-wrap { flex-basis: 130px; }
    .xhy-publish-form { padding-top: 8px; }
    .xhy-publish-media { min-height: 102px; }
    #xhy-publish-media-add,
    .xhy-media-preview { width: 54px; height: 54px; flex-basis: 54px; }
}

.xhy-media-viewer { position: absolute; z-index: 3200; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; padding: calc(56px + env(safe-area-inset-top,0px)) 0 calc(54px + var(--xhy-safe-bottom)); overflow: hidden; isolation: isolate; background: #000; touch-action: pan-x; }
.xhy-media-viewer-mask { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; left: 0; border: 0; border-radius: 0; background: #000; box-shadow: none; }
.xhy-media-viewer > img,
.xhy-media-viewer > video { position: relative; z-index: 2; display: block; width: 100%; max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.xhy-media-viewer > [hidden] { display: none !important; }
.xhy-media-viewer > video { background: #000; }
.xhy-media-viewer-nav { position: absolute; z-index: 8; top: 50%; display: flex; align-items: center; justify-content: center; width: 48px; height: 72px; padding: 0; color: rgba(255,255,255,.9); background: rgba(0,0,0,.18); font-size: 38px; transform: translateY(-50%); }
.xhy-media-viewer-nav.is-prev { left: 0; border-radius: 0 16px 16px 0; }
.xhy-media-viewer-nav.is-next { right: 0; border-radius: 16px 0 0 16px; }
.xhy-media-viewer-indicator { position: absolute; z-index: 9; bottom: calc(16px + var(--xhy-safe-bottom)); left: 50%; min-width: 54px; padding: 5px 12px; border-radius: 16px; color: #fff; background: rgba(30,30,30,.72); font-size: 13px; font-weight: 800; line-height: 20px; text-align: center; transform: translateX(-50%); }
.xhy-media-viewer-close { position: absolute; z-index: 10; top: calc(12px + env(safe-area-inset-top,0px)); right: 14px; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fff; background: rgba(0,0,0,.48); box-shadow: 0 4px 14px rgba(0,0,0,.28); font-size: 28px; }
@media (pointer: coarse) { .xhy-media-viewer-nav { display: none !important; } }

.xhy-toast { position: absolute; z-index: 3000; top: 50%; left: 50%; max-width: calc(100% - 48px); padding: 11px 17px; border-radius: 10px; color: #fff; background: rgba(20, 22, 24, .86); box-shadow: 0 8px 24px rgba(0,0,0,.18); font-size: 14px; text-align: center; transform: translate(-50%, -50%); }
.xhy-map-failed { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 70vh; color: #777; }
.xhy-map-failed i { color: var(--xhy-orange); font-size: 46px; }
.xhy-map-failed strong { color: #333; font-size: 20px; }

/* HarmonyOS / iOS Safari / Android WebView compatibility fallbacks. */
.xhy-map-canvas,
.xhy-picker,
.xhy-marker-detail,
.xhy-dialog,
.xhy-fish-picker,
.xhy-checkin-page,
.xhy-checkin-location-page,
.xhy-navigation-picker,
.xhy-publish-page,
.xhy-publish-map { top: 0; right: 0; bottom: 0; left: 0; }
.xhy-picker-mask,
.xhy-dialog-mask,
.xhy-navigation-mask { top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; }
.xhy-picker-options,
.xhy-city-columns nav,
.xhy-city-columns section,
.xhy-fish-picker-content,
.xhy-detail-activity,
.xhy-checkin-scroll,
.xhy-checkin-media,
.xhy-publish-form,
.xhy-publish-media-grid { -webkit-overflow-scrolling: touch; }
.xhy-map-page button,
.xhy-map-page a { touch-action: manipulation; }
@supports (-webkit-touch-callout: none) {
    .xhy-map-page input,
    .xhy-map-page textarea,
    .xhy-map-page select { font-size: 16px !important; }
}
@keyframes xhy-spin { to { transform: rotate(360deg); } }

@media (max-width: 560px) {
    .xhy-map-topbar { top: calc(7px + env(safe-area-inset-top, 0px)); right: 8px; left: 8px; grid-template-columns: 38px repeat(3, minmax(0, 1fr)); gap: 4px; }
    .xhy-map-back { width: 38px; height: 38px; background-size: 16px auto; }
    .xhy-map-filter { height: 36px; padding: 2px 3px; border-radius: 19px; }
    .xhy-map-filter-icon { width: 26px; height: 26px; flex-basis: 26px; }
    .xhy-map-filter-copy small { font-size: 5px; line-height: 6px; letter-spacing: .15px; }
    .xhy-map-filter-copy strong { font-size: 10.5px; line-height: 13px; letter-spacing: 0; }
    .xhy-map-filter > i { display: block; flex-basis: 10px; font-size: 15px; }
    .xhy-publish-topbar { grid-template-columns: 40px repeat(3, minmax(0, 1fr)); gap: 5px; min-height: calc(53px + env(safe-area-inset-top, 0px)); padding: calc(7px + env(safe-area-inset-top, 0px)) 9px 6px; }
    .xhy-publish-topbar .xhy-map-back { width: 40px; height: 40px; }
    .xhy-map-tools { right: 12px; gap: 11px; }
    .xhy-map-tool { width: 54px; height: 54px; }
    .xhy-map-checkin { top: calc(28% + 260px); right: 12px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
    .xhy-map-page * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
