/* Standalone native pages; shared visual language with the approved homepage. */
.skip-link {
  position: fixed;
  left: 14px;
  top: -100px;
  padding: 10px 16px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 5px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.spot-image {
  cursor: pointer;
}
.spot-bottom a {
  font-size: 10px;
  color: #1883c9;
}
.interior-hero {
  height: 265px;
  position: relative;
  overflow: hidden;
  background: #194c65;
  color: #fff;
}
.interior-hero > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.interior-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0e344be8, #123d5480, #12445b20);
}
.interior-hero > .wrap {
  position: relative;
  z-index: 1;
  padding-top: 24px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #c8dee7;
  font-size: 11px;
  margin-bottom: 37px;
}
.breadcrumbs a:hover {
  color: #fff;
}
.interior-hero .eyebrow {
  color: #b9d8e4;
}
.interior-hero h1 {
  font-size: 35px;
  letter-spacing: 0.5px;
  line-height: 1.5;
  margin: 12px 0 9px;
}
.interior-hero p {
  font-size: 13px;
  color: #c4d9e4;
}
.browse-content {
  padding-top: 32px;
  padding-bottom: 60px;
  min-height: 600px;
}
.browse-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 20px;
  background: #f6f9fc;
  border: 1px solid #e9f0f5;
  border-radius: 9px;
}
.browse-search {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  color: #8da3b3;
}
.browse-search input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px;
  color: #203d50;
  outline-offset: 2px;
}
.region-field {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7e96a8;
  font-size: 12px;
}
.region-field select {
  padding: 8px 30px 8px 10px;
  border: 1px solid #e0eaf2;
  background: #fff;
  border-radius: 5px;
  color: #425f74;
  font: inherit;
}
.browse-toolbar .button {
  padding: 12px 23px;
}
.browse-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0;
}
.browse-filter > span {
  font-size: 11px;
  color: #98aab6;
}
.browse-grid {
  min-height: 360px;
  align-content: start;
}
/* 无结果时收起网格容器：它带着 min-height(360/400px)，空着也会顶出一大块空白，
   把「暂时没有匹配的内容」挤到下面。注意 [hidden] 必须显式覆盖 display:grid 才会生效。 */
.browse-grid[hidden],
.editorial-grid[hidden] {
  display: none;
}
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  min-height: 400px;
  align-content: start;
}
.editorial-card {
  border: 1px solid #e3edf4;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
}
.editorial-card:hover {
  transform: translateY(-3px);
}
.editorial-image {
  height: 220px;
  display: block;
  position: relative;
  overflow: hidden;
}
.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.editorial-image:hover img {
  transform: scale(1.03);
}
.editorial-image > span {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ffffffed;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 10px;
  color: #557b93;
}
.editorial-body {
  padding: 22px;
}
.editorial-body h2 {
  font-size: 19px;
  line-height: 1.6;
  margin: 8px 0 11px;
}
.editorial-body > p {
  font-size: 12px;
  line-height: 1.9;
  color: #849aa9;
  min-height: 48px;
}
.editorial-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #edf2f6;
  margin-top: 22px;
  padding-top: 15px;
  font-size: 10px;
  color: #93a8b7;
}
.editorial-bottom a {
  color: #2083c1;
  white-space: nowrap;
}
.preview-footnote {
  text-align: center;
  font-size: 11px;
  color: #9caeba;
  margin: 30px 0 45px;
}
.browse-promo {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  background: #eaf5fd;
  border-radius: 10px;
}
.browse-promo > .icon {
  color: #438dbd;
  width: 43px;
  height: 43px;
}
.browse-promo h3 {
  font-size: 19px;
  margin-bottom: 7px;
}
.browse-promo p {
  font-size: 11px;
  color: #7f9ab0;
}
.browse-promo .text-link {
  margin-left: auto;
  color: #2e82b4;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.empty h3 {
  font-size: 20px;
}
.empty p {
  font-size: 13px;
}
.empty button,
.empty .button {
  margin-left: 0;
  margin-top: 5px;
}
.dark.breadcrumbs {
  color: #8ea3b2;
  margin-bottom: 24px;
}
.dark.breadcrumbs a:hover {
  color: var(--blue);
}
.detail-page {
  padding-top: 32px;
  padding-bottom: 65px;
  min-height: 70vh;
}
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.detail-heading h1 {
  font-size: 34px;
  line-height: 1.5;
  margin: 10px 0 12px;
}
.detail-heading p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8aa0af;
}
.detail-heading p .icon {
  width: 16px;
  height: 16px;
}
.detail-heading .small-tag {
  margin: 0 0 0 10px;
}
.outline-button {
  border: 1px solid #dce9f2;
  border-radius: 5px;
  padding: 10px 20px;
  color: #5c7c91;
  font-size: 12px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 32px;
  align-items: start;
}
.detail-cover {
  position: relative;
  height: 430px;
  border-radius: 12px;
  overflow: hidden;
  background: #e9f3fa;
}
.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-cover > span {
  position: absolute;
  right: 16px;
  bottom: 15px;
  background: #15384f80;
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
}
.detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 15px 0 28px;
}
.detail-thumbnails img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
}
.detail-panel {
  border: 1px solid #e7eef4;
  padding: 28px;
  border-radius: 10px;
  margin-top: 22px;
}
.detail-panel h2 {
  font-size: 21px;
  margin-bottom: 18px;
}
.detail-panel p {
  font-size: 13px;
  color: #7c93a3;
  line-height: 2;
}
.detail-panel p + p {
  margin-top: 14px;
}
.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f5f9fc;
  border-radius: 7px;
  padding: 20px;
  margin-top: 25px;
  gap: 16px;
}
.detail-facts span {
  font-size: 11px;
  color: #94a8b6;
  display: block;
}
.detail-facts strong {
  font-size: 12px;
  display: block;
  margin-top: 9px;
  font-weight: 500;
}
.advice-row {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}
.advice-row > .icon {
  width: 30px;
  height: 30px;
  color: #5594bb;
}
.advice-row h3 {
  font-size: 15px;
  margin-bottom: 7px;
}
.detail-sidebar {
  position: sticky;
  top: 112px;
}
.booking-card {
  padding: 29px;
  background: #fff;
  border: 1px solid #e0edf5;
  border-radius: 10px;
  box-shadow: 0 8px 35px #214d6610;
}
.booking-card h2 {
  font-size: 22px;
  line-height: 1.6;
  margin: 15px 0;
}
.booking-card p {
  font-size: 12px;
  color: #869cab;
  line-height: 2;
}
.booking-placeholder {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f9fc;
  padding: 18px 15px;
  margin: 22px 0;
  border-radius: 7px;
  font-size: 12px;
  color: #91a6b5;
}
.booking-placeholder strong {
  font-size: 18px;
  color: #527b97;
  font-weight: 500;
}
.booking-card .button {
  width: 100%;
  gap: 12px;
}
.subtle-note {
  font-size: 10px;
  color: #a0b0bc;
  display: block;
  margin-top: 12px;
  text-align: center;
}
.sidebar-tide {
  display: block;
  background: #eaf5fd;
  border-radius: 10px;
  padding: 23px;
  margin-top: 20px;
}
.sidebar-tide > .icon {
  color: #599dcc;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
}
.sidebar-tide strong {
  display: block;
  font-size: 17px;
}
.sidebar-tide p {
  font-size: 11px;
  color: #7f9cb0;
  margin-top: 9px;
}
.sidebar-tide > span:last-child {
  display: block;
  margin-top: 18px;
  font-size: 11px;
  color: #4b8cb6;
}
.account-page {
  background: linear-gradient(120deg, #f5f9fc, #edf5fb);
  padding: 56px 0 65px;
  min-height: 740px;
}
.account-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  max-width: 1060px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 15px 65px #214e6810;
  overflow: hidden;
  min-height: 580px;
}
.account-scene {
  position: relative;
  overflow: hidden;
  min-height: 580px;
}
.account-scene > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-scene:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #123c55d9, #0f3a4b1c);
}
.account-scene > div {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 56px 44px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.account-scene .eyebrow {
  color: #c3deeb;
}
.account-scene h1 {
  font-size: 35px;
  line-height: 1.6;
  margin: 18px 0;
}
.account-scene p {
  font-size: 12px;
  color: #c9dce6;
}
.account-scene-note {
  font-size: 10px;
  color: #a8c7d8;
  margin-top: 45px;
}
.account-panel {
  padding: 48px 47px;
}
.account-panel > .eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
}
.account-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 20px 0 16px;
}
.account-tabs a {
  font-size: 24px;
  color: #acbac4;
  font-weight: 600;
  padding-bottom: 8px;
}
.account-tabs a.selected {
  color: #173a51;
  border-bottom: 3px solid var(--blue);
}
.account-intro {
  color: #8a9fac;
  font-size: 12px;
  margin: 12px 0 28px;
}
.account-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.account-form label {
  font-size: 12px;
  color: #55758b;
  display: block;
}
.account-form input:not([type="checkbox"]) {
  display: block;
  margin-top: 8px;
  padding: 12px 14px;
  background: #f7fafc;
  border: 1px solid #e3edf5;
  border-radius: 6px;
  width: 100%;
  font-size: 13px;
  color: #294d64;
  min-width: 0;
}
.account-form input::placeholder {
  color: #acbcc8;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 60px !important;
}
.password-field button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #86a0b2;
  padding: 5px;
}
.account-form .agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.8;
  font-size: 10px;
  color: #96aab8;
}
.agreement input {
  flex: none;
  accent-color: var(--blue);
  margin-top: 4px;
}
.full-width {
  width: 100%;
}
.form-note {
  text-align: center;
  color: #a0b2c0;
  font-size: 10px;
  line-height: 1.8;
}
.account-panel > h2 {
  font-size: 25px;
  margin-top: 24px;
  line-height: 1.6;
}
.personal-menu {
  display: flex;
  flex-direction: column;
  margin: 30px 0;
}
.personal-menu > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 10px;
  border-bottom: 1px solid #edf3f7;
  font-size: 13px;
  text-align: left;
}
.account-panel > .form-note {
  margin-top: 15px;
}
.info-content {
  padding-top: 36px;
  padding-bottom: 65px;
  min-height: 600px;
}
.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 28px;
  align-items: start;
}
.info-panel {
  border: 1px solid #e3edf4;
  border-radius: 10px;
  background: #fff;
  padding: 29px;
  min-width: 0;
}
.info-panel h2 {
  font-size: 22px;
  line-height: 1.6;
}
.info-panel h3 {
  font-size: 18px;
  line-height: 1.6;
  margin: 17px 0 10px;
}
.info-panel > p {
  color: #829baa;
  font-size: 12px;
  line-height: 2;
  margin-top: 14px;
}
.info-panel > .icon {
  color: #4f98c9;
  width: 36px;
  height: 36px;
}
.info-panel .text-link {
  color: #2984bb;
  margin-top: 20px;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.panel-title h2 {
  margin-top: 8px;
}
.panel-title .eyebrow {
  font-size: 9px;
}
.demo-hint {
  background: #fff6e8;
  color: #a9884b !important;
  padding: 10px 14px;
  border-radius: 5px;
  font-size: 11px !important;
  margin-top: 22px !important;
}
.day-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  margin: 25px 0;
}
.day-tabs button {
  padding: 9px 5px;
  background: #f5f9fc;
  border-radius: 5px;
  color: #809dad;
  font-size: 11px;
}
.day-tabs button.selected {
  background: var(--blue);
  color: #fff;
}
.curve-heading {
  font-size: 11px;
  color: #91a8b8;
  margin-top: 22px;
}
.tide-chart {
  display: block;
  width: 100%;
  height: auto;
  margin: 22px 0 28px;
}
.tide-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid #e6eef4;
  padding-top: 24px;
}
.tide-facts span {
  display: block;
  font-size: 11px;
  color: #93a9b8;
}
.tide-facts strong {
  display: block;
  font-size: 21px;
  font-weight: 500;
  color: #365e78;
  margin-top: 10px;
}
.weather-showcase {
  position: relative;
  background: linear-gradient(135deg, #f9fcff, #eaf5fd);
  padding: 35px;
  min-height: 420px;
}
.weather-showcase h2 {
  margin-top: 14px;
}
.weather-showcase > div:first-child p {
  font-size: 12px;
  color: #91a5b3;
  margin-top: 10px;
}
.weather-showcase > .icon {
  position: absolute;
  right: 50px;
  top: 65px;
  width: 90px;
  height: 90px;
  color: #69ace0;
}
.weather-display {
  font-size: 82px;
  color: #214e6d;
  line-height: 1.5;
  margin-top: 12px;
}
.weather-display > span {
  font-size: 45px;
}
.weather-showcase .tide-facts {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 26px;
}
.weather-showcase .tide-facts strong {
  font-size: 17px;
}
.join-grid {
  display: grid;
  /* 4 类合作对象：宽屏一行 4 张，≤1100px 降成 2×2（不让第 4 张落单成 3+1） */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}
.join-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e1edf6;
  border-radius: 12px;
  padding: 30px;
  background: linear-gradient(155deg, #fff, #f1f8fd);
}
/* 公益伙伴卡：沿用同一套版式，只换色系 —— 一眼看出它不是「商家入驻」，去的是公益行动页 */
.join-card.is-charity {
  border-color: #d9ece3;
  background: linear-gradient(155deg, #fff, #f2faf7);
}
.join-card.is-charity > .icon {
  color: #4aa38a;
}
.join-card > .icon {
  display: flex;
  margin: 35px 0 20px;
  color: #5a9cc8;
  width: 50px;
  height: 50px;
}
.join-card h2 {
  font-size: 25px;
  margin-bottom: 11px;
}
.join-card h3 {
  font-size: 15px;
  font-weight: 500;
}
.join-card p {
  /* flex:1 —— 描述行数不同的卡（如公益伙伴两行）也能把 CTA 顶到卡片底部，四张按钮对齐 */
  flex: 1;
  font-size: 12px;
  color: #8ba2b3;
  margin-top: 10px;
  line-height: 1.8;
}
.join-card .button {
  margin-top: 30px;
  width: 100%;
}
.join-note {
  margin-top: 30px;
  background: #f6fafc;
}
/* 入驻流程的「需要准备的资料」：小卡片网格，别用一长串逗号句 */
.join-prep {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.join-prep article {
  border: 1px solid #e3edf4;
  border-radius: 12px;
  background: #fff;
  padding: 18px 20px;
}
.join-prep h3 {
  font-size: 14px;
  line-height: 1.6;
}
.join-prep p {
  color: #829baa;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 8px;
}
.join-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.text-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 28px;
  align-items: start;
}
.text-article {
  margin-bottom: 20px;
}
.text-article h2 {
  font-size: 21px;
  margin: 12px 0;
}
.publish-form {
  max-width: 840px;
  margin: auto;
}
.publish-form label {
  display: block;
  color: #5e7d92;
  font-size: 13px;
  margin-top: 25px;
}
.publish-form input,
.publish-form textarea {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 1px solid #dce9f2;
  border-radius: 6px;
  padding: 13px 16px;
  resize: vertical;
  color: #274b63;
  background: #f8fbfd;
  font: inherit;
}
.upload-placeholder {
  border: 1px dashed #cbdfea;
  background: #f5fafd;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 30px;
  margin: 25px 0;
  color: #88a1b3;
  font-size: 12px;
}
.upload-placeholder strong {
  font-weight: 500;
}
.upload-placeholder > span:last-child {
  font-size: 10px;
}
.publish-form > .form-note {
  margin-top: 15px;
}
.not-found {
  padding: 110px 0 140px;
  min-height: 650px;
}
.not-found h1 {
  font-size: 37px;
  margin: 25px 0;
}
.not-found p {
  font-size: 14px;
  color: #8aa0b0;
  margin-bottom: 30px;
}
@media (max-width: 1100px) {
  /* 四张合作卡在中等屏降成 2×2：比 4 列窄卡片更可读，也不会出现 3+1 的落单卡 */
  .join-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
  }
  .booking-card {
    padding: 22px;
  }
  .detail-cover {
    height: 350px;
  }
  .account-panel {
    padding: 40px 30px;
  }
  .account-scene > div {
    padding: 40px 30px;
  }
  .account-scene h1 {
    font-size: 30px;
  }
  .info-layout,
  .text-page-grid {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 20px;
  }
  .info-panel {
    padding: 22px;
  }
  .tide-facts strong {
    font-size: 18px;
  }
  .join-grid {
    gap: 18px;
  }
  .join-card {
    padding: 24px;
  }
  .join-card h2 {
    font-size: 23px;
  }
}
@media (max-width: 800px) {
  .interior-hero {
    height: 240px;
  }
  .interior-hero h1 {
    font-size: 29px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 20px;
  }
  .sidebar-tide {
    margin: 0;
  }
  .detail-cover {
    height: 400px;
  }
  .account-layout {
    grid-template-columns: 0.8fr 1fr;
  }
  .account-scene h1 {
    font-size: 27px;
  }
  .account-scene > div {
    padding: 30px 23px;
  }
  .account-panel {
    padding: 35px 28px;
  }
  .account-tabs {
    gap: 20px;
  }
  .account-tabs a {
    font-size: 21px;
  }
  .info-layout,
  .text-page-grid {
    grid-template-columns: 1fr;
  }
  .info-aside {
    min-height: 0;
  }
  .join-card h2 {
    font-size: 20px;
  }
  .join-card h3 {
    font-size: 13px;
  }
  .join-card p {
    font-size: 11px;
  }
  .join-card {
    padding: 22px 18px;
  }
  .join-card .button {
    padding: 12px;
    gap: 15px;
  }
  .info-content {
    min-height: 500px;
  }
}
@media (max-width: 550px) {
  .interior-hero h1 {
    font-size: 26px;
    max-width: 320px;
    line-height: 1.5;
  }
  .interior-hero p {
    font-size: 11px;
    max-width: 320px;
  }
  .interior-hero {
    height: 250px;
  }
  .breadcrumbs {
    font-size: 10px;
    margin-bottom: 28px;
  }
  .browse-content {
    padding-top: 20px;
    padding-bottom: 35px;
  }
  .browse-toolbar {
    padding: 10px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .browse-search {
    gap: 6px;
    min-width: 130px;
  }
  .browse-search > .icon {
    width: 18px;
  }
  .browse-search input {
    font-size: 11px;
    padding: 9px 2px;
  }
  .browse-toolbar .button {
    padding: 10px 13px;
    gap: 5px;
    font-size: 11px;
  }
  .region-field {
    font-size: 10px;
    gap: 7px;
  }
  .region-field select {
    font-size: 11px;
    padding: 7px;
  }
  .browse-toolbar .region-field {
    order: 3;
    width: 100%;
    border-top: 1px solid #e5eef5;
    padding-top: 9px;
  }
  .browse-filter {
    margin: 18px 0;
    gap: 10px;
  }
  .browse-filter > span {
    font-size: 9px;
    white-space: nowrap;
  }
  .editorial-grid {
    gap: 13px;
  }
  .editorial-image {
    height: 145px;
  }
  .editorial-body {
    padding: 15px;
  }
  .editorial-body h2 {
    font-size: 15px;
  }
  .editorial-body > p {
    font-size: 10px;
    min-height: 60px;
  }
  .editorial-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 9px;
    margin-top: 15px;
    padding-top: 12px;
  }
  .editorial-image > span {
    font-size: 9px;
    top: 10px;
    left: 10px;
  }
  .editorial-body .mini-label {
    font-size: 8px;
  }
  .preview-footnote {
    font-size: 10px;
    line-height: 1.9;
    margin: 25px 0 30px;
  }
  .browse-promo {
    padding: 20px;
    flex-wrap: wrap;
    gap: 15px;
  }
  .browse-promo h3 {
    font-size: 16px;
  }
  .browse-promo p {
    font-size: 10px;
  }
  .browse-promo .text-link {
    margin-left: 0;
    font-size: 11px;
  }
  .browse-grid {
    min-height: 0;
  }
  .detail-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .detail-heading h1 {
    font-size: 25px;
  }
  .detail-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .detail-heading p {
    flex-wrap: wrap;
    font-size: 11px;
  }
  .outline-button {
    font-size: 10px;
    padding: 8px 12px;
    white-space: nowrap;
    margin-top: 24px;
  }
  .detail-cover {
    height: 265px;
  }
  .detail-thumbnails img {
    height: 70px;
  }
  .detail-thumbnails {
    gap: 10px;
    margin-bottom: 22px;
  }
  .detail-panel {
    padding: 20px;
  }
  .detail-panel h2 {
    font-size: 19px;
  }
  .detail-panel p {
    font-size: 11px;
  }
  .detail-facts {
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .detail-facts > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .detail-facts strong {
    margin: 0;
    font-size: 11px;
  }
  .detail-facts span {
    font-size: 10px;
  }
  .detail-sidebar {
    grid-template-columns: 1fr;
  }
  .booking-card h2 {
    font-size: 20px;
  }
  .advice-row h3 {
    font-size: 14px;
  }
  .account-page {
    padding: 24px 0 35px;
    min-height: 700px;
  }
  .account-layout {
    display: flex;
    flex-direction: column;
  }
  .account-scene {
    min-height: 210px;
    height: 210px;
  }
  .account-scene > div {
    padding: 25px;
  }
  .account-scene h1 {
    font-size: 25px;
    line-height: 1.4;
    margin: 10px 0;
  }
  .account-scene h1 br {
    display: none;
  }
  .account-scene .eyebrow {
    font-size: 8px;
  }
  .account-scene p {
    font-size: 10px;
  }
  .account-scene-note {
    margin-top: 14px;
    font-size: 8px;
  }
  .account-panel {
    padding: 30px 25px;
  }
  .account-tabs a {
    font-size: 22px;
  }
  .account-form {
    gap: 20px;
  }
  .account-intro {
    font-size: 11px;
  }
  .account-panel > h2 {
    font-size: 24px;
  }
  .info-content {
    padding-top: 22px;
    padding-bottom: 35px;
  }
  .panel-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .panel-title h2 {
    font-size: 21px;
  }
  .info-panel {
    padding: 20px;
  }
  .demo-hint {
    font-size: 10px !important;
  }
  .day-tabs {
    gap: 5px;
    margin: 20px 0;
  }
  .day-tabs button {
    font-size: 9px;
    padding: 8px 3px;
  }
  .tide-facts {
    gap: 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tide-facts strong {
    font-size: 18px;
  }
  .tide-facts span {
    font-size: 10px;
  }
  .tide-chart {
    margin: 18px 0;
  }
  .weather-showcase {
    min-height: 400px;
  }
  .weather-showcase > .icon {
    width: 65px;
    height: 65px;
    right: 25px;
  }
  .weather-showcase h2 {
    font-size: 22px;
  }
  .join-grid {
    grid-template-columns: 1fr;
  }
  .join-card {
    padding: 25px;
  }
  .join-card > .icon {
    margin: 22px 0;
    width: 42px;
    height: 42px;
  }
  .join-card h2 {
    font-size: 25px;
  }
  .join-card h3 {
    font-size: 15px;
  }
  .join-card p {
    font-size: 12px;
  }
  .join-card .button {
    margin-top: 22px;
  }
  .join-note h2 {
    font-size: 21px;
  }
  .text-article h2 {
    font-size: 19px;
  }
  .text-article p {
    font-size: 11px;
  }
  .upload-placeholder {
    padding: 25px 15px;
    text-align: center;
  }
  .not-found {
    padding: 70px 0 100px;
    min-height: 500px;
  }
  .not-found h1 {
    font-size: 28px;
  }
  .not-found p {
    font-size: 12px;
  }
  .empty h3 {
    font-size: 17px;
  }
  .empty p {
    font-size: 11px;
  }
  .detail-page {
    padding-top: 24px;
    padding-bottom: 35px;
  }
}
@media(max-width:550px){.account-scene h1 br{display:initial}}

/* ===== 潮汐真实曲线 / 备用站 / 场次 / 报名 ===== */
.tide-curve-box {
  min-height: 120px;
}
.tide-curve-box .tide-chart {
  margin: 12px 0 8px;
}
.tide-alts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  border-top: 1px solid #e6eef4;
  padding-top: 16px;
}
.tide-alts .mini-label {
  margin-right: 2px;
}
.alt-chip {
  border: 1px solid #d8e6f0;
  background: #f6fbff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: #36647f;
  cursor: pointer;
}
.alt-chip:hover {
  border-color: #138ee5;
  color: #138ee5;
}
.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #eef3f6;
}
.session-row strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.session-row .mini-label {
  display: block;
  margin-top: 3px;
}
.session-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #6a8397;
  white-space: nowrap;
}
.session-picker {
  display: grid;
  gap: 10px;
}
.session-pick {
  text-align: left;
  border: 1px solid #d8e6f0;
  border-radius: 12px;
  padding: 12px 14px;
  background: #f7fbfe;
  cursor: pointer;
}
.session-pick strong {
  display: block;
  font-size: 14px;
}
.session-pick span {
  display: block;
  font-size: 12px;
  color: #6a8397;
  margin-top: 3px;
}
.session-pick:hover {
  border-color: #138ee5;
}
.signup-form {
  display: grid;
  gap: 12px;
}
.signup-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #6a8397;
}
.signup-form input,
.signup-form select,
.signup-form textarea {
  padding: 10px 12px;
  border: 1px solid #d8e3ea;
  border-radius: 10px;
  font-size: 14px;
  font: inherit;
  font-size: 13px;
  background: #fff;
}
.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 142, 229, 0.14);
}
/* 弹窗里的说明文字：左对齐（.form-note 全局是居中小字，放在表单里像脚注） */
.signup-form .form-note {
  text-align: left;
  font-size: 12px;
  line-height: 1.8;
}

/* ===== 海围详情完整字段 / 钓友分享 / 公告配图 ===== */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: #f5f9fc;
  border-radius: 7px;
  padding: 18px 20px;
  margin-top: 18px;
  gap: 16px;
}
.fact-grid span {
  font-size: 11px;
  color: #94a8b6;
  display: block;
}
.fact-grid strong {
  font-size: 12px;
  display: block;
  margin-top: 7px;
  font-weight: 500;
  color: #3d5a6c;
  line-height: 1.7;
}
.fact-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: #eef5f9;
  color: #5f7787;
  margin-right: 6px;
}
.fact-badge.badge-ok {
  background: #e8f7ee;
  color: #2e8b57;
}
.fact-badge.badge-warn {
  background: #fdf3e2;
  color: #b37a1c;
}
.fact-badge.badge-danger {
  background: #fdecec;
  color: #c0392b;
}
.spot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.spot-gallery img {
  width: 100%;
  height: 104px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e6eef4;
  background: #f2f7fa;
}
/* 围点详情实景图：整块可点，点开看原图（大图灯箱，见 .img-lightbox） */
.spot-image {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  line-height: 0;
}
.spot-image img {
  display: block;
}
.spot-image-zoom {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(9, 32, 50, 0.72);
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
  opacity: 0.82;
  transition: opacity 0.15s ease;
}
.spot-image:hover .spot-image-zoom {
  opacity: 1;
}
.spot-image:hover img {
  border-color: #bcd9ec;
}
.post-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.post-meta .post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.post-meta .post-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.post-stats {
  display: flex;
  gap: 14px;
  margin-left: auto;
  font-size: 12px;
  color: #6a8397;
}
.avatar-img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.booking-note {
  font-size: 11px;
  color: #869cab;
  margin-top: -12px;
  margin-bottom: 16px;
}
/* ===== 公告：卡片 + 封面图 + 详情 ===== */
.anno-grid {
  display: grid;
  gap: 16px;
}
.anno-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e6eef4;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.anno-card:hover {
  border-color: #138ee5;
}
.anno-cover {
  position: relative;
  min-height: 132px;
  background: #f2f7fa;
}
.anno-cover img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  display: block;
}
.anno-cover.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b3c6d3;
}
.anno-cover.empty .icon {
  width: 28px;
  height: 28px;
}
.anno-body {
  padding: 16px 20px;
}
.anno-body h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0 6px;
}
.anno-body p {
  font-size: 12px;
  color: #6a8397;
  line-height: 1.9;
}
.anno-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.anno-detail-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid #eef4f8;
}
/* 配图：整块可点，点开在灯箱里看原图（缩略图与灯箱读的是同一个已解析链接） */
.anno-image {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}
.anno-image img {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e6eef4;
}
.anno-image-zoom {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(9, 32, 50, 0.72);
  color: #fff;
  font-size: 10px;
  opacity: 0.82;
}
.anno-image:hover .anno-image-zoom {
  opacity: 1;
}
.anno-image:hover img {
  border-color: #bcd9ec;
}
.anno-detail-meta {
  font-size: 11px;
  color: #94a8b6;
  margin-bottom: 10px;
}
.anno-detail-body p {
  font-size: 13px;
  line-height: 2;
  color: #4a6274;
}
.anno-detail-body p + p {
  margin-top: 10px;
}
.announce-thumb {
  width: 34px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}
@media (max-width: 720px) {
  .anno-card {
    grid-template-columns: 1fr;
  }
  .anno-cover,
  .anno-cover img {
    min-height: 150px;
  }
}

/* ===== 购物流程：购物车 / 结算 / 订单 / 售后 / 地址 ===== */
.cart-row-rich {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eef3f6;
  text-align: left;
}
.cart-check,
.cart-check-wide {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #6a8397;
  cursor: pointer;
}
.cart-check input,
.cart-check-wide input,
.addr-card input {
  width: 15px;
  height: 15px;
  accent-color: #138ee5;
}
.cart-thumb {
  width: 62px;
  height: 62px;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
  background: #f2f7fa;
  display: block;
}
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #b3c6d3;
  font-size: 11px;
}
.cart-info {
  flex: 1 1 auto;
  min-width: 0;
}
.cart-info strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-unit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8c9fad;
  margin-top: 4px;
}
.cart-unit s {
  color: #b3c6d3;
}
.tag-member {
  font-style: normal;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fdf3e2;
  color: #b37a1c;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.cart-qty button {
  width: 26px;
  height: 26px;
  border: 1px solid #d8e6f0;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  color: #4a6274;
}
.cart-qty button:disabled {
  color: #c3d2dc;
  cursor: default;
}
.cart-qty span {
  min-width: 26px;
  text-align: center;
  font-size: 13px;
}
.cart-sub {
  flex: none;
  width: 82px;
  text-align: right;
  font-size: 13px;
  color: #c0392b;
}
.cart-del {
  flex: none;
  border: 0;
  background: none;
  color: #9fb0bd;
  font-size: 12px;
  cursor: pointer;
}
.cart-del:hover {
  color: #c0392b;
}
.cart-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 16px 20px;
  background: #f5f9fc;
  border-radius: 10px;
}
.cart-bar-count,
.cart-bar-total {
  font-size: 13px;
  color: #6a8397;
}
.cart-bar-total b,
.cart-bar-count b {
  color: #c0392b;
  font-size: 16px;
}
.cart-bar button {
  margin-left: auto;
}
/* ===== 结算页 ===== */
/* 订单族页面统一用卡片承载：结算 / 订单详情 / 售后 都用同一个 .checkout-block 外观，
   原来是「只有一条下边框 + 控件贴着页面边」——控件是浏览器原生样式，看着和全站不是一个产品。 */
.checkout-block {
  border: 1px solid #e6eef4;
  border-radius: 14px;
  background: #fff;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(16, 52, 76, 0.03);
}
.checkout-block h2 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #23485f;
}
.checkout-block select,
.checkout-block input[type="text"],
.checkout-block input:not([type]) {
  width: 100%;
  max-width: 460px;
  padding: 10px 12px;
  border: 1px solid #d8e3ea;
  border-radius: 10px;
  font-size: 13px;
}
/* ===== 订单族通用卡片 / 表单控件（订单详情、售后申请共用）===== */
.order-panel {
  border: 1px solid #e6eef4;
  border-radius: 14px;
  background: #fff;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(16, 52, 76, 0.03);
}
.order-brief {
  background: linear-gradient(150deg, #fff, #f4faff);
}
.order-brief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.order-brief-grid span {
  display: block;
  font-size: 11px;
  color: #94a8b6;
}
.order-brief-grid strong {
  display: block;
  margin-top: 7px;
  font-size: 15px;
  font-weight: 600;
  color: #23485f;
}
.order-panel h2 {
  font-size: 15px;
  font-weight: 600;
  color: #23485f;
  margin-bottom: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.order-form .form-row {
  margin-bottom: 14px;
}
.order-form .form-row:last-of-type {
  margin-bottom: 0;
}
.order-form .button {
  margin-top: 18px;
}
.order-form .form-note {
  margin-top: 12px;
}
.order-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.form-row {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #6a8397;
}
.form-control {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d8e6f0;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  color: var(--ink, #23485f);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.form-control:hover {
  border-color: #bcd5e6;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 142, 229, 0.14);
}
textarea.form-control {
  resize: vertical;
  line-height: 1.8;
}
.form-hint {
  min-height: 18px;
  margin-top: 12px;
  font-size: 12px;
  color: #c0392b;
}
.checkout-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.addr-picker {
  display: grid;
  gap: 10px;
}
.addr-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #d8e6f0;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  background: #fff;
}
.addr-card.selected {
  border-color: #138ee5;
  background: #f6fbff;
}
.addr-card span strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.addr-card span em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #6a8397;
  margin-top: 4px;
}
.tag-default {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #2e8b57;
  font-size: 10px;
  font-style: normal;
}
.point-field {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #6a8397;
}
.point-field input {
  width: 160px;
  padding: 9px 12px;
  border: 1px solid #d8e3ea;
  border-radius: 10px;
}
.checkout-sum {
  border: 1px solid #e6eef4;
  border-radius: 14px;
  background: #fff;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #6a8397;
  padding: 5px 0;
}
.sum-row b {
  font-weight: 500;
  color: #3d5a6c;
}
.sum-total {
  border-top: 1px solid #eef3f6;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 14px;
}
.sum-total b {
  font-size: 20px;
  color: #c0392b;
}
/* ===== 地址管理 ===== */
.addr-list {
  display: grid;
  gap: 12px;
}
.addr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #e6eef4;
  border-radius: 10px;
  padding: 14px 18px;
}
.addr-row strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.addr-row em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #6a8397;
  margin-top: 5px;
}
.addr-ops {
  display: flex;
  gap: 12px;
  flex: none;
}
.addr-ops button {
  border: 0;
  background: none;
  color: #1c7fc0;
  font-size: 12px;
  cursor: pointer;
}
.addr-form {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}
.addr-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #6a8397;
}
.addr-form input[type="text"],
.addr-form input:not([type="checkbox"]):not([type="tel"]) {
  padding: 10px 12px;
  border: 1px solid #d8e3ea;
  border-radius: 10px;
  font-size: 13px;
}
.addr-form input[type="tel"] {
  padding: 10px 12px;
  border: 1px solid #d8e3ea;
  border-radius: 10px;
  font-size: 13px;
}
.addr-default {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
/* ===== 订单 ===== */
.order-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.order-tabs button {
  border: 1px solid #d8e6f0;
  background: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
  color: #4a6274;
  cursor: pointer;
}
.order-tabs button.selected {
  background: #138ee5;
  border-color: #138ee5;
  color: #fff;
}
.order-list {
  display: grid;
  gap: 14px;
}
.order-card {
  border: 1px solid #e6eef4;
  border-radius: 14px;
  padding: 18px 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 52, 76, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.order-card:hover {
  border-color: #cfe3f1;
  box-shadow: 0 6px 18px rgba(16, 52, 76, 0.07);
}
.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f6f9;
}
.order-no {
  font-size: 12px;
  color: #8c9fad;
}
.order-status {
  font-size: 12px;
  padding: 3px 11px;
  border-radius: 999px;
  background: #f1f6f9;
  color: #4a6274;
  white-space: nowrap;
}
.order-status.status-unpaid {
  background: #fdecea;
  color: #c0392b;
}
.order-status.status-paid {
  background: #fdf4e4;
  color: #b37a1c;
}
.order-status.status-shipped {
  background: #e9f4fd;
  color: #1c7fc0;
}
.order-status.status-completed {
  background: #e8f7ee;
  color: #2e8b57;
}
.order-card-body {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.order-thumbs {
  display: flex;
  gap: 6px;
  flex: none;
}
.order-thumbs img,
.order-thumbs .cart-thumb-empty {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #eef3f6;
  background: #f2f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #b3c6d3;
}
.order-card-info {
  flex: 1 1 auto;
  min-width: 0;
}
.order-card-info strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-card-amount {
  text-align: right;
  flex: none;
}
.order-card-amount b {
  display: block;
  font-size: 15px;
  color: #c0392b;
}
.order-card-ops {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid #f1f6f9;
}
.order-card-ops button {
  border: 1px solid #d8e6f0;
  background: #fff;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  color: #36647f;
  cursor: pointer;
}
.order-card-ops button:hover {
  border-color: #138ee5;
  color: #138ee5;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  font-size: 12px;
  color: #6a8397;
}
.pager button {
  border: 1px solid #d8e6f0;
  background: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
}
.order-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border: 1px solid #e6eef4;
  border-radius: 14px;
  background: linear-gradient(150deg, #fff, #f4faff);
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(16, 52, 76, 0.03);
}
.order-detail-head > div {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.order-detail-pay {
  font-size: 18px;
  color: #c0392b;
}
.order-trace {
  display: grid;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid #e6eef4;
  border-radius: 14px;
  background: #fff;
  margin-bottom: 16px;
}
.trace-node {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}
.trace-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d6e3ec;
  margin-top: 5px;
  flex: none;
}
.trace-node.done .trace-dot {
  background: #2e8b57;
}
.trace-node strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.trace-node span {
  font-size: 11px;
  color: #94a8b6;
}
.ship-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f6f9;
}
.ship-row strong {
  font-size: 13px;
  font-weight: 500;
}
.ship-row span {
  font-size: 12px;
  color: #8c9fad;
}
.addr-text {
  font-size: 13px;
  line-height: 1.9;
  color: #4a6274;
}
/* ===== 支付页 ===== */
.pay-box {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.pay-box #qr-box {
  flex: none;
  padding: 12px;
  background: #fff;
  border: 1px solid #e6eef4;
  border-radius: 12px;
}
.pay-info {
  flex: 1 1 320px;
}
.pay-info h2 {
  font-size: 18px;
  margin-bottom: 12px;
}
.pay-ops {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}
/* ===== 商品详情购买区 ===== */
.buy-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #6a8397;
}
.buy-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid #d8e6f0;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.buy-qty input {
  width: 56px;
  text-align: center;
  padding: 6px;
  border: 1px solid #d8e6f0;
  border-radius: 6px;
  font-size: 13px;
}
.booking-card .outline-button {
  margin-top: 10px;
  width: 100%;
}
@media (max-width: 720px) {
  .cart-row-rich {
    flex-wrap: wrap;
  }
  .cart-sub {
    width: auto;
  }
  .pay-box {
    flex-direction: column;
  }
}

/* ===== 关于我们 ===== */
.about-page {
  padding-bottom: 24px;
}
.about-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.about-lead h2 {
  font-size: 26px;
  line-height: 1.5;
  margin-top: 12px;
}
/* 品牌语：口径同小程序 pages/about（逐行显示、末句用主色收尾），门户不再另写宣传句 */
.about-lead h2.about-slogan {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.95;
  letter-spacing: 2px;
  color: #2c5c8f;
}
.about-slogan-line {
  display: block;
}
.about-slogan-line.is-coda {
  margin-top: 4px;
  color: #1976d2;
}
.about-slogan-rule {
  width: 56px;
  height: 2px;
  margin: 20px 0 16px;
  border-radius: 2px;
  background: #d6e4f0;
}
.about-lead p {
  color: #7d97a7;
  font-size: 13px;
  line-height: 2.1;
  margin-top: 13px;
}
.about-lead-foot {
  margin-top: 26px;
}
.about-oa {
  text-align: center;
  background: linear-gradient(155deg, #fff, #f1f8fd);
}
.about-oa > .icon {
  display: flex;
  margin: 4px auto 14px;
  color: #5a9cc8;
  width: 46px;
  height: 46px;
}
.about-oa h2 {
  margin-top: 10px;
  font-size: 22px;
}
.about-oa h3 {
  font-size: 17px;
  margin-top: 10px;
}
.about-oa p {
  color: #829baa;
  font-size: 12.5px;
  line-height: 1.9;
  margin-top: 10px;
}
.about-oa .empty-block {
  margin-top: 12px;
}
/* 微信号 + 复制按钮：小程序里是「复制微信号」，PC 端没有长按，所以给一个显式按钮。
   选择器带上 p 是为了盖住上面的 .about-oa p（同权重下后者在前，不改就得再写 !important）。 */
.about-oa p.about-oa-account {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #4f98c9;
}
.about-copy {
  padding: 3px 10px;
  border: 1px solid #bcdcef;
  border-radius: 999px;
  background: #f2f9ff;
  color: #2984bb;
  font-size: 11.5px;
  line-height: 1.6;
  font-family: inherit;
  cursor: pointer;
}
.about-copy:hover {
  background: #e6f4ff;
}
.about-copy.is-done {
  border-color: #a9dcc0;
  background: #eefaf3;
  color: #2f8a5b;
}
/* 关注权益三条：口径同小程序 about.wxml 的 oa-tip-card，只在公众号确实可用时渲染 */
.about-oa-tips {
  max-width: 250px;
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px dashed #dceaf5;
  text-align: left;
}
.about-oa h3.about-oa-tip-title {
  margin: 0 0 8px;
  font-size: 13px;
  color: #4f7590;
}
.about-oa-tips ul,
.about-oa-tips li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-oa-tips li {
  position: relative;
  padding-left: 12px;
  color: #829baa;
  font-size: 11.5px;
  line-height: 1.9;
}
.about-oa-tips li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: #9cc3dd;
}
.about-qr {
  margin-top: 18px;
}
.about-qr img {
  width: 178px;
  height: 178px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid #e1edf6;
  border-radius: 12px;
  background: #fff;
}
.about-qr span {
  display: block;
  margin-top: 11px;
  font-size: 11px;
  color: #94a8b6;
}
.about-h {
  margin: 48px 0 20px;
  font-size: 24px;
  line-height: 1.5;
}
.about-grid,
.about-pledges,
.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.about-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.about-card {
  border: 1px solid #e1edf6;
  border-radius: 12px;
  padding: 26px 24px 24px;
  background: linear-gradient(155deg, #fff, #f1f8fd);
}
.about-card > .icon {
  display: flex;
  color: #5a9cc8;
  width: 44px;
  height: 44px;
}
.about-card h3 {
  font-size: 18px;
  margin: 16px 0 8px;
}
.about-card p {
  color: #8ba2b3;
  font-size: 12.5px;
  line-height: 1.9;
}
.about-card .text-link {
  display: inline-block;
  margin-top: 16px;
  color: #2984bb;
  font-size: 12.5px;
}
.about-pledge {
  background: #fff;
}
.about-pledge h3 {
  font-size: 16px;
  margin-top: 10px;
}
.about-pledge p {
  color: #829baa;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 8px;
}
.about-contact-card h3 {
  font-size: 14px;
  font-weight: 500;
  color: #5b7688;
  line-height: 1.9;
  margin-top: 10px;
}
.about-contact-card .text-link {
  display: inline-block;
  margin-top: 18px;
  color: #2984bb;
}
.about-note {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #f6fafc;
  color: #93a9b7;
  font-size: 12px;
  line-height: 1.9;
}
@media (max-width: 1080px) {
  .about-grid,
  .about-pledges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .about-lead-grid,
  .about-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .about-grid,
  .about-pledges {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== 合作达人（演示页）===== */
.kol-page {
  padding-bottom: 24px;
}
.demo-notice {
  display: grid;
  gap: 6px;
  padding: 16px 20px;
  border: 1px dashed #e3c88a;
  border-left: 4px solid #d9a441;
  border-radius: 10px;
  background: #fffaf0;
}
.demo-notice b {
  color: #a97c22;
  font-size: 13px;
}
.demo-notice p {
  margin: 0;
  color: #a9884b;
  font-size: 12px;
  line-height: 1.9;
}
.kol-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 22px 0 20px;
}
.kol-toolbar label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #678597;
}
.kol-toolbar select {
  padding: 8px 12px;
  border: 1px solid #dbe7f0;
  border-radius: 8px;
  background: #fff;
  color: #33566c;
  font-size: 12.5px;
}
.kol-count {
  margin-left: auto;
  font-size: 12px;
  color: #93a9b7;
}
.kol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}
.kol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #e1edf6;
  border-radius: 14px;
  background: #fff;
}
.kol-demo-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 9px;
  border: 1px dashed #e3c88a;
  border-radius: 20px;
  background: #fffaf0;
  color: #a97c22;
  font-size: 10.5px;
}
.kol-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 74px;
}
.kol-avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}
.kol-avatar.tone-0 { background: linear-gradient(140deg, #2f7fb5, #4fb0c6); }
.kol-avatar.tone-1 { background: linear-gradient(140deg, #3c6f9f, #6aa7c9); }
.kol-avatar.tone-2 { background: linear-gradient(140deg, #2b8d8a, #64bda6); }
.kol-avatar.tone-3 { background: linear-gradient(140deg, #4a72ad, #7f9fd0); }
.kol-avatar.tone-4 { background: linear-gradient(140deg, #31738c, #5aa8b8); }
.kol-id strong {
  display: block;
  font-size: 17px;
}
.kol-id .mini-label {
  display: block;
  margin-top: 5px;
  line-height: 1.7;
}
.kol-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.kol-pf {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid #e2eef7;
  border-radius: 20px;
  background: #f4f9fd;
  font-size: 12px;
}
.kol-pf b {
  color: #2c5c8f;
  font-weight: 600;
}
.kol-pf em {
  color: #7d97a7;
  font-size: 11px;
  font-style: normal;
}
.kol-intro {
  margin-top: 14px;
  color: #7d97a7;
  font-size: 12.5px;
  line-height: 2;
}
.kol-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.kol-facts {
  margin-top: 16px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.kol-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed #e6eef5;
}
.kol-qr {
  text-align: center;
}
.kol-qr-canvas {
  width: 104px;
  height: 104px;
  padding: 5px;
  border: 1px solid #e5eef5;
  border-radius: 8px;
  background: #fff;
}
.kol-qr-canvas img,
.kol-qr-canvas canvas {
  display: block;
  width: 94px;
  height: 94px;
}
.kol-qr-failed {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 94px;
  color: #b0bfc9;
  font-size: 11px;
}
.kol-qr span {
  display: block;
  margin-top: 7px;
  color: #94a8b6;
  font-size: 10.5px;
}
.kol-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
  margin-left: auto;
}
.kol-cta {
  margin-top: 34px;
  background: #f6fafc;
}
.kol-cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}
@media (max-width: 720px) {
  .kol-head {
    padding-right: 0;
  }
  .kol-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .kol-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .kol-actions {
    justify-items: stretch;
  }
}

/* ===== 公益行动（演示页）===== */
.charity-page {
  padding-bottom: 24px;
}
.charity-alert {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid #f0d3d3;
  border-left: 4px solid #d1606a;
  border-radius: 10px;
  background: #fff6f6;
}
.charity-alert b {
  color: #b04a52;
  font-size: 14px;
}
.charity-alert p {
  margin: 0;
  color: #8f6a6e;
  font-size: 12.5px;
  line-height: 1.95;
}
.charity-alert strong {
  color: #b04a52;
  font-size: 15px;
}
.charity-step {
  border-top: 3px solid #d1606a;
}
.charity-step .mini-label {
  color: #c1747a;
}
.charity-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 34px;
  align-items: start;
}
.charity-split .info-panel h2 {
  font-size: 19px;
}
.charity-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
}
.charity-list li {
  display: grid;
  gap: 5px;
  padding-left: 14px;
  border-left: 2px solid #dbe7f0;
}
.charity-list strong {
  color: #33566c;
  font-size: 13.5px;
}
.charity-list span {
  color: #7d97a7;
  font-size: 12.5px;
  line-height: 1.95;
}
.charity-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border: 1px dashed #e3c88a;
  border-radius: 20px;
  background: #fffaf0;
  color: #a97c22;
  font-size: 11px;
  vertical-align: middle;
}
.charity-note {
  max-width: 900px;
  margin: 0;
  color: #93a9b7;
  font-size: 12.5px;
  line-height: 2;
}
/* 寻亲板：三列 —— 左边 2 列放寻亲卡（每行 2 张），右边第 3 列是纵向跨行的「怎么帮上忙」引导栏。
   卡片数为 3 时第 2 行左侧会空一格，用 .charity-board-note（本页边界说明）补齐，不留空洞。 */
.charity-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 308px;
  gap: 20px;
  margin-top: 18px;
}
.charity-case {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e1edf6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(31, 79, 122, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.charity-case:hover {
  box-shadow: 0 14px 30px rgba(31, 79, 122, 0.11);
  transform: translateY(-2px);
}
/* 照片区：孩子照片取自登记页公开照片（随索引用于线索扩散），底部渐变条注明来源 */
.charity-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid #e6eef5;
  background: #eef5fb;
}
.charity-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 232px;
  object-fit: cover;
  /* 人脸普遍在上半部：取景重心上移，避免 cover 裁切把脸切掉 */
  object-position: center 22%;
}
.charity-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 8px 7px;
  background: linear-gradient(to top, rgba(14, 40, 60, 0.66), rgba(14, 40, 60, 0));
  color: #eaf3fa;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}
/* 右侧引导栏（第 3 列，纵跨两行） */
.charity-guide {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
  border: 1px solid #d9e9f5;
  border-radius: 14px;
  background: linear-gradient(168deg, #f4fafe, #e9f3fb);
  box-shadow: 0 6px 18px rgba(31, 79, 122, 0.05);
}
.charity-guide-label {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 20px;
  background: #e0effa;
  color: #3f7ba6;
  font-size: 11px;
}
.charity-guide h3 {
  margin: 12px 0 16px;
  font-size: 17px;
}
.charity-guide-steps {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.charity-guide-steps li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
}
.charity-guide-steps b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #cfe6f5;
  border-radius: 50%;
  background: #fff;
  color: #3f7ba6;
  font-size: 11px;
  font-weight: 600;
}
.charity-guide-steps h4 {
  margin: 2px 0 4px;
  font-size: 13.5px;
}
.charity-guide-steps p {
  margin: 0;
  color: #7d97a7;
  font-size: 12px;
  line-height: 1.85;
}
.charity-guide-quick {
  margin-top: 18px;
  padding: 14px 14px 15px;
  border: 1px solid #dfeef8;
  border-radius: 12px;
  background: #fff;
}
.charity-guide-quick b {
  display: block;
  margin-bottom: 10px;
  color: #4a86ad;
  font-size: 11.5px;
}
.charity-guide-quick a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-radius: 9px;
  background: #f2f9fe;
  color: #2f6d99;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.charity-guide-quick a:hover {
  background: #e6f3fc;
}
.charity-guide-quick a span {
  color: #8aa1b0;
  font-size: 11.5px;
  font-weight: 400;
}
.charity-guide-quick p {
  margin: 10px 0 0;
  color: #93a9b7;
  font-size: 11.5px;
  line-height: 1.75;
}
.charity-guide-cta {
  justify-content: center;
  margin-top: auto;
  padding: 11px 18px;
  font-size: 13px;
}
.charity-guide-note {
  margin: 12px 0 0;
  color: #93a9b7;
  font-size: 11.5px;
  line-height: 1.7;
  text-align: center;
}
/* 卡片区最后一行的补位块：只讲本页边界，不编造内容 */
.charity-board-note {
  display: flex;
  grid-column: 2;
  grid-row: 2;
  flex-direction: column;
  justify-content: center;
  padding: 24px 22px;
  border: 1px dashed #cfe4f2;
  border-radius: 14px;
  background: #fafdff;
}
.charity-board-note b {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #eef6fc;
  color: #4a86ad;
  font-size: 11.5px;
}
.charity-board-note p {
  margin: 0;
  color: #7d97a7;
  font-size: 12.5px;
  line-height: 2;
}
.charity-case-body {
  display: flex;
  flex-direction: column;
  padding: 15px 18px 17px;
}
.charity-case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.charity-case-head .charity-tag {
  margin-left: 0;
  padding: 2px 9px;
}
.charity-tag.type {
  border-color: #bfe0d4;
  background: #f1fbf7;
  color: #2c8a6a;
}
.charity-code {
  margin-left: auto;
  color: #9fb3c0;
  font-size: 11px;
  letter-spacing: 0.3px;
}
.charity-case-body h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 9px 0 11px;
  font-size: 16px;
}
.charity-namenote {
  color: #c8912a;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
}
.charity-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 9px 14px;
  margin: 0;
}
.charity-fields div {
  display: grid;
  gap: 2px;
}
/* 地址类字段（失踪地点 / 失踪人所在地）占整行：
   这两项是寻亲最重要的线索，卡片只有半屏宽时「标签与值同行」会把
   「河北省石家庄市赞皇县」折成「…赞皇 / 县」很难读，所以这里标签上、值下，整行显示地址 */
.charity-fields div.wide {
  grid-column: 1 / -1;
}
.charity-fields dt {
  color: #a2b5c1;
  font-size: 10.5px;
}
.charity-fields dd {
  margin: 0;
  color: #527086;
  font-size: 12.5px;
}
.charity-feature {
  margin: 13px 0 15px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7fbfe;
  color: #55707f;
  font-size: 12.5px;
  line-height: 1.8;
}
.charity-feature b {
  display: inline-block;
  margin-right: 7px;
  padding: 1px 7px;
  border-radius: 6px;
  background: #e6f1fa;
  color: #3f7ba6;
  font-size: 11px;
  font-weight: 600;
}
.charity-more {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 20px;
  font-size: 13px;
}
.charity-green-grid {
  display: grid;
  /* 4 项一组：用 236px 下限让宽屏正好一行 4 张，窄屏自动降列（避免 3+1 的落单） */
  grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
  gap: 22px;
  margin-top: 18px;
}
.charity-green {
  border-top: 3px solid #7fbfa8;
}
.charity-green > .icon {
  color: #4aa38a;
}
.charity-green h3 {
  margin: 10px 0 8px;
  font-size: 16px;
}
.charity-green p {
  margin: 0;
  color: #7d97a7;
  font-size: 12.5px;
  line-height: 1.95;
}
.charity-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
  gap: 22px;
  margin-top: 18px;
}
.charity-channel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 15.5px;
}
.charity-badge {
  padding: 2px 9px;
  border-radius: 20px;
  background: #eaf4fb;
  color: #2c5c8f;
  font-size: 10.5px;
  font-weight: 400;
}
.charity-channel p {
  margin: 0;
  color: #7d97a7;
  font-size: 12.5px;
  line-height: 1.95;
}
.charity-action {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 13px;
  border-radius: 20px;
  background: #f4f9fd;
  color: #2c5c8f;
  font-size: 12px;
}
.charity-declare {
  margin-top: 30px;
  background: #f8fbfd;
}
.charity-declare p {
  line-height: 2;
}
.charity-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}
@media (max-width: 1080px) {
  .charity-split {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .charity-green-grid,
  .charity-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 中等屏：3 列放不下（卡片会挤成窄条）→ 退成 2 列，引导栏与边界说明落到整行 */
@media (max-width: 1180px) {
  .charity-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .charity-guide,
  .charity-board-note {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .charity-guide {
    margin-top: 4px;
  }
}
/* 寻亲卡是「照片 + 字段」的宽卡：窄屏整行放不下两张，就整行单列 */
@media (max-width: 980px) {
  .charity-board {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .charity-split,
  .charity-green-grid,
  .charity-channels {
    grid-template-columns: minmax(0, 1fr);
  }
  /* 卡片内部也改上下结构：照片区挪到顶部（窄屏横排会把手写字段挤成一条） */
  .charity-case {
    grid-template-columns: minmax(0, 1fr);
  }
  .charity-photo {
    border-right: 0;
    border-bottom: 1px solid #e6eef5;
  }
  .charity-photo img {
    min-height: 0;
    height: 216px;
    object-position: center 18%;
  }
  .charity-photo svg {
    width: 38px;
    height: 38px;
  }
}

/* ===== 会员入口：顶栏（登录后才出现）===== */
.account-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.account-nav[hidden] {
  display: none;
}
.nav-cart {
  position: relative;
  padding: 9px 14px;
  background: #f4f9fc;
  color: #2a5673;
  border-radius: 6px;
  font-weight: 600;
}
.nav-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #e05a5a;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
}
.nav-badge[hidden] {
  display: none;
}
.account-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border: 1px solid #e6edf1;
  border-radius: 999px;
  font-weight: 600;
}
.account-chip:hover {
  border-color: #bcd9ec;
}
.account-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
}
.account-name {
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 276px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e6edf1;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(21, 47, 67, 0.12);
  z-index: 30;
}
.account-menu[hidden] {
  display: none;
}
.account-menu-group + .account-menu-group {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #eef4f8;
}
.account-menu-group > span {
  display: block;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #9db0bd;
}
.account-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
.account-menu a:hover {
  background: #f4f9fc;
  color: var(--blue);
}
.account-menu a em {
  flex: 1;
  font-style: normal;
}
.account-menu a b {
  color: #c3d1da;
  font-weight: 400;
}
.account-menu .icon {
  width: 17px;
  height: 17px;
  color: #4f98c9;
  flex: none;
}
.account-menu-logout {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border-top: 1px solid #eef4f8;
  color: #c95353;
  font-size: 12px;
  text-align: center;
}

/* ===== 个人中心（/me）===== */
.me-page {
  padding-top: 26px;
  padding-bottom: 70px;
}
.me-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid #e3edf4;
  border-radius: 12px;
  background: linear-gradient(100deg, #f2f9fd, #ffffff 62%);
}
.me-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 24px;
  flex: none;
}
.me-id {
  flex: 1;
  min-width: 0;
}
.me-id h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.4;
}
.me-sub {
  margin: 6px 0 0;
  color: #8a9fac;
  font-size: 12px;
}
.me-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.me-stat {
  padding: 16px 12px;
  border: 1px solid #e3edf4;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.me-stat b {
  display: block;
  font-size: 23px;
  line-height: 1.5;
}
.me-stat b.na {
  color: #c3d1da;
}
.me-stat span {
  font-size: 11px;
  color: #8a9fac;
}
.me-group {
  margin-top: 28px;
}
.me-group h2 {
  margin: 0 0 12px;
  font-size: 16px;
}
.me-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.me-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid #e3edf4;
  border-radius: 10px;
  background: #fff;
}
.me-tile:hover {
  border-color: #bcd9ec;
  color: var(--blue);
}
.me-tile strong {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}
.me-tile .icon {
  width: 20px;
  height: 20px;
  color: #4f98c9;
  flex: none;
}
.me-tile-go {
  color: #c3d1da;
}
@media (max-width: 1080px) {
  .me-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .me-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .account-menu {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 92px;
    width: auto;
  }
  .me-head {
    flex-wrap: wrap;
  }
  .me-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .me-tiles {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== 定位入口：顶栏按钮 / 页面按钮 / 引导卡 / 状态面板 ===== */
.geo-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: #edf6fe;
  color: #0872c6;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.geo-nav-btn:hover {
  background: #e0f0fd;
}
.geo-nav-btn .icon {
  width: 15px;
  height: 15px;
}
.geo-nav-btn.located {
  background: #eaf7ee;
  color: #2a7a45;
}
.geo-nav-btn[data-state="unsupported"],
.geo-nav-btn[data-state="insecure"] {
  background: #fdf1e8;
  color: #a4682b;
}
.locate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #bcd9ec;
  border-radius: 999px;
  background: #fff;
  color: #0872c6;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.locate-btn:hover {
  background: #f2f9fd;
}
.locate-btn .icon {
  width: 15px;
  height: 15px;
}
.locate-btn:disabled {
  color: #9fb0bd;
  border-color: #e6edf1;
  cursor: progress;
}
/* 定位引导卡：未定位时出现，回答「在哪儿开定位」 */
.geo-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  padding: 16px 20px;
  border: 1px solid #d7ebf7;
  border-radius: 12px;
  background: linear-gradient(100deg, #f3fafe, #ffffff 70%);
}
.geo-card > .icon {
  flex: none;
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: #e0f0fd;
  box-sizing: content-box;
  color: #0872c6;
}
.geo-card-text {
  flex: 1;
  min-width: 0;
}
.geo-card-text h3 {
  margin: 0 0 4px;
  font-size: 15px;
}
.geo-card-text p {
  margin: 0;
  color: #7b8fa1;
  font-size: 12px;
  line-height: 1.7;
}
.geo-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.geo-card-actions .button {
  padding: 9px 18px;
  font-size: 13px;
}
.geo-card-close {
  padding: 0;
  color: #9db0bd;
  font-size: 12px;
}
.geo-card[data-state="unsupported"],
.geo-card[data-state="insecure"] {
  border-color: #f2ddc6;
  background: linear-gradient(100deg, #fdf7f1, #ffffff 70%);
}
@media (max-width: 860px) {
  .geo-card {
    flex-wrap: wrap;
  }
  .geo-card-actions {
    width: 100%;
  }
}
/* 定位状态面板 */
.geo-dialog {
  width: min(460px, calc(100vw - 32px));
  padding: 26px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(21, 47, 67, 0.18);
}
.geo-dialog::backdrop {
  background: rgba(20, 40, 56, 0.42);
}
.geo-state {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.geo-state.ok {
  background: #eaf7ee;
  color: #2a7a45;
}
.geo-state.off,
.geo-state.denied {
  background: #f4f9fc;
  color: #4f7e9c;
}
.geo-state.insecure,
.geo-state.unsupported {
  background: #fdf1e8;
  color: #a4682b;
}
.geo-facts {
  display: grid;
  gap: 1px;
  margin: 0 0 14px;
  background: #eef4f8;
  border: 1px solid #eef4f8;
  border-radius: 10px;
  overflow: hidden;
}
.geo-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: #fff;
  font-size: 12px;
}
.geo-facts span {
  color: #8a9fac;
}
.geo-facts strong {
  font-variant-numeric: tabular-nums;
}
.geo-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eef4f8;
}
.geo-actions .button,
.geo-actions .outline-button {
  padding: 10px 18px;
  font-size: 13px;
}
/* 轻量反馈（定位成功） */
.geo-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  z-index: 60;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 8px;
  background: rgba(24, 52, 71, 0.94);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 12px 32px rgba(21, 47, 67, 0.28);
}
.geo-toast[hidden] {
  display: none;
}
@media (max-width: 720px) {
  .geo-nav-btn .geo-nav-text {
    display: none;
  }
  .geo-nav-btn {
    padding: 9px;
  }
}

/* ===== 大图灯箱（公告详情配图等）=====
   必须是 <dialog>.showModal()：公告详情本身是模态 dialog，普通浮层会落在 top layer 之下且被 inert 拦住，点不动。
   Esc 由浏览器先关最上层（灯箱），公告弹窗继续开着。 */
.img-lightbox {
  width: fit-content;
  max-width: min(1180px, 94vw);
  max-height: 92vh;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(10, 30, 45, 0.42);
}
.img-lightbox::backdrop {
  background: rgba(8, 22, 34, 0.78);
}
.img-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 110px);
  margin: 0 auto;
  border-radius: 8px;
  background: #f2f6f9;
}
.img-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 4px 0;
  font-size: 12px;
  color: #7f93a2;
}
.img-lightbox-open {
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}
.img-lightbox-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(9, 32, 50, 0.72);
  color: #fff;
  font-size: 17px;
  line-height: 1;
}
.img-lightbox-close:hover {
  background: rgba(9, 32, 50, 0.9);
  /* 全局 button:hover 会把文字染成主色，在深色圆底上几乎看不见 */
  color: #fff;
}
