/* 增强层 4：意见反馈（文字 + 图片） */

.wb4-mask {
  position: fixed; inset: 0; background: rgba(25, 28, 24, .5);
  z-index: 95; display: none;
}
.wb4-mask.on { display: block; }

.wb4-sheet {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 520px; max-height: 88vh; overflow: auto;
  box-sizing: border-box;
  background: var(--bg, #fff);
  border-radius: var(--r-l, 18px) var(--r-l, 18px) 0 0;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 96; display: none;
  box-shadow: var(--shadow-2, 0 8px 24px rgba(16, 24, 40, .12));
}
.wb4-sheet.on { display: block; animation: wb4up .22s var(--ease, ease); }
@keyframes wb4up {
  from { transform: translate(-50%, 14px); opacity: .5; }
  to   { transform: translate(-50%, 0);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wb4-sheet.on { animation: none; }
}

.wb4-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.wb4-head b { font-size: var(--fs-18, 18px); color: var(--ink, #1A1D21); }
.wb4-x {
  border: none; background: none; font-size: 18px; line-height: 1;
  color: var(--faint, #6E756D); cursor: pointer;
  width: var(--tap, 44px); height: var(--tap, 44px); margin: -10px -10px 0 0;
}
.wb4-sub {
  margin: 0 0 14px; font-size: var(--fs-13, 13px); line-height: 1.7;
  color: var(--sub, #6B7280);
}

.wb4-types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.wb4-type {
  border: 1px solid var(--border, #E7E5DD); background: var(--bg, #fff);
  color: var(--sub, #6B7280);
  border-radius: var(--r-pill, 999px);
  padding: 0 14px; height: 34px; font-size: var(--fs-13, 13px);
  cursor: pointer; transition: .15s;
}
.wb4-type.on {
  border-color: var(--brand, #1F7A6D);
  background: var(--brand-soft, #E3F2EF);
  color: var(--brand-deep, #175E54);
  font-weight: 600;
}

.wb4-text {
  width: 100%; box-sizing: border-box; min-height: 108px;
  border: 1px solid var(--border, #E7E5DD); border-radius: var(--r-m, 14px);
  padding: 12px; font-size: var(--fs-14, 14px); line-height: 1.7;
  color: var(--ink, #1A1D21); background: var(--panel, #FAF8F2);
  resize: vertical; outline: none; font-family: inherit;
}
.wb4-text:focus { border-color: var(--brand, #1F7A6D); background: #fff; }
.wb4-count {
  text-align: right; font-size: var(--fs-11, 11px);
  color: var(--faint, #6E756D); margin: 4px 2px 10px;
}
.wb4-count.over { color: var(--danger, #C2451F); }

.wb4-imgrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.wb4-imgs { display: contents; }
.wb4-thumb {
  position: relative; width: 76px; height: 76px;
  border-radius: var(--r-s, 10px); overflow: hidden;
  border: 1px solid var(--border, #E7E5DD); background: var(--panel, #FAF8F2);
}
.wb4-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wb4-del {
  position: absolute; top: 2px; right: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  border: none; background: rgba(0, 0, 0, .55); color: #fff;
  font-size: 12px; line-height: 22px; text-align: center;
  cursor: pointer; padding: 0;
}
.wb4-add {
  display: flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: var(--r-s, 10px);
  border: 1px dashed var(--border, #E7E5DD);
  color: var(--faint, #6E756D); font-size: var(--fs-12, 12px);
  cursor: pointer; user-select: none;
}
.wb4-add.disabled { opacity: .4; pointer-events: none; }
.wb4-tip { margin: 0 0 12px; font-size: var(--fs-11, 11px); color: var(--faint, #6E756D); }

.wb4-contact {
  width: 100%; box-sizing: border-box; height: 42px;
  border: 1px solid var(--border, #E7E5DD); border-radius: var(--r-m, 14px);
  padding: 0 12px; font-size: var(--fs-13, 13px);
  color: var(--ink, #1A1D21); background: var(--panel, #FAF8F2);
  outline: none; margin-bottom: 14px; font-family: inherit;
}
.wb4-contact:focus { border-color: var(--brand, #1F7A6D); background: #fff; }

.wb4-submit {
  width: 100%; height: 48px; border: none; border-radius: var(--r-m, 14px);
  background: var(--brand, #1F7A6D); color: #fff;
  font-size: var(--fs-16, 16px); font-weight: 600;
  cursor: pointer; transition: .15s;
}
.wb4-submit:active { background: var(--brand-deep, #175E54); }
.wb4-submit[disabled] { opacity: .55; pointer-events: none; }

/* 成功态 */
.wb4-done { text-align: center; padding: 18px 4px 6px; }
.wb4-ok {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--brand-soft, #E3F2EF); color: var(--brand, #1F7A6D);
  font-size: 26px; line-height: 52px; text-align: center;
}
.wb4-done b { font-size: var(--fs-16, 16px); color: var(--ink, #1A1D21); }
.wb4-done p {
  margin: 8px 0 18px; font-size: var(--fs-13, 13px); line-height: 1.75;
  color: var(--sub, #6B7280);
}
.wb4-again {
  height: 42px; padding: 0 18px; border-radius: var(--r-pill, 999px);
  border: 1px solid var(--border, #E7E5DD); background: #fff;
  color: var(--ink, #1A1D21); font-size: var(--fs-13, 13px); cursor: pointer;
}

/* 我的页里的入口行 */
.wb4-row .row-sub { color: var(--faint, #6E756D); }

/* ── 主页品牌形象（2026-10-19 换用胶囊 IP） ── */
.hero-mascot {
  width: auto; height: auto;
  margin: 0 auto 10px;
  display: block;
}
.hero-mascot img {
  display: block;
  width: 116px; height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(31, 122, 109, .13));
  animation: mascot-float 4.2s ease-in-out infinite;
}
@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mascot img { animation: none; }
}

.hero-title {
  font-size: 27px;
  line-height: 1.42;
  letter-spacing: .3px;
  margin-bottom: 8px;
}

/* 顶栏：三条横线（汉堡）。polish.css 把 .menu-btn 改成了 grid，这里改回 flex 并收紧间距 */
.topbar .menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.topbar .menu-btn span { width: 18px; height: 2px; }
