/* 乡遇厦门 · 游客版 H5 前端样式（绿色乡村风，手机屏模拟） */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #e8ece8;
  display: flex; justify-content: center; align-items: center;
  min-height: 100vh;
  color: #26301f;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* ---- 手机壳 ---- */
.phone {
  width: 420px; max-width: 100vw; height: 100vh; max-height: 920px;
  background: #f4f6f2; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,.18); border-radius: 0;
}
@media (min-width: 520px) {
  .phone { border-radius: 28px; height: min(920px, calc(100vh - 40px)); }
}

/* ---- 顶部导航 ---- */
.nav {
  height: 52px; background: #2E7D32; color: #fff; flex: none;
  display: flex; align-items: center; padding: 0 8px; position: relative; z-index: 20;
}
.nav-back {
  width: 40px; height: 40px; font-size: 30px; line-height: 36px; color: #fff;
  text-align: left; padding-left: 4px;
}
.nav h1 { flex: 1; text-align: center; font-size: 17px; font-weight: 600; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-right { width: 40px; text-align: right; font-size: 20px; }

/* ---- 内容区 ---- */
.view { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.view::-webkit-scrollbar { display: none; }

/* ---- 底部 TabBar ---- */
.tabbar {
  height: 56px; background: #fff; flex: none; display: flex;
  border-top: 1px solid #e5e8e2; padding-bottom: env(safe-area-inset-bottom);
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #8a938a; font-size: 11px; }
.tab .t-icon { font-size: 21px; line-height: 1; }
.tab.active { color: #2E7D32; font-weight: 600; }

/* ---- 通用 ---- */
.hidden { display: none !important; }
.pad { padding: 12px; }
.card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.card + .card { margin-top: 12px; }

/* 区块标题 */
.section { margin-top: 14px; }
.section-head { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 8px; }
.section-head .st { font-size: 16px; font-weight: 700; color: #26301f; }
.section-head .st i { font-style: normal; margin-right: 6px; }
.section-head .more { font-size: 12px; color: #7c8a7c; }
.more-btn { color: #2E7D32; }

/* 公告条 */
.notice-bar {
  background: #E8F5E9; color: #2E7D32; font-size: 12px; padding: 7px 12px;
  display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #d9ead9;
}
.notice-bar .n-icon { flex: none; }

/* 轮播 */
.banner { padding: 12px 12px 0; }
.swiper { position: relative; height: 150px; border-radius: 14px; overflow: hidden; }
.swiper .slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 20px; color: #fff; transition: opacity .5s; opacity: 0; }
.swiper .slide.on { opacity: 1; }
.swiper .slide .slide-mask { display: flex; flex-direction: column; justify-content: center; height: 100%; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 100%); border-radius: 14px; padding: 0 20px; margin: 0 -20px; }
.swiper .slide h3 { font-size: 20px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.25); }
.swiper .slide p { font-size: 13px; margin-top: 6px; opacity: .95; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.swiper .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.swiper .dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.5); }
.swiper .dots i.on { width: 16px; background: #fff; }

/* 6 宫格入口 */
.grid6 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 12px; }
.grid6 a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; border-radius: 12px; font-size: 12px; color: #37422f; }
.grid6 .g-icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.grid6 .g-icon.i1 { background: #E8F5E9; } .grid6 .g-icon.i2 { background: #FFF3E0; }
.grid6 .g-icon.i3 { background: #E3F2FD; } .grid6 .g-icon.i4 { background: #FCE4EC; }
.grid6 .g-icon.i5 { background: #F3E5F5; } .grid6 .g-icon.i6 { background: #FFF8E1; }
.grid6 .g-icon.i7 { background: #E0F2F1; }

/* 横滑列表 */
.hscroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 12px 4px; scroll-snap-type: x mandatory; }
.hscroll::-webkit-scrollbar { display: none; }
.hcard { width: 128px; flex: none; scroll-snap-align: start; }
.hcard .hc-img { height: 86px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 34px; }
.hcard .hc-img.img-mode { padding: 0; overflow: hidden; }
.hcard .hc-img.img-mode img { width: 100%; height: 100%; object-fit: cover; }
.hcard .hc-img .hc-img-emoji { font-size: 34px; }
.hcard .hc-name { font-size: 13px; font-weight: 600; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard .hc-sub { font-size: 11px; color: #8a938a; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard .hc-price { font-size: 13px; color: #E64A19; font-weight: 700; margin-top: 3px; }
.hcard .hc-price small { font-size: 10px; font-weight: 400; color: #8a938a; }

/* 竖列表卡片 */
.list { padding: 4px 12px 16px; }
.vcard { display: flex; gap: 12px; padding: 12px; }
.vcard + .vcard { border-top: 1px solid #f0f2ee; }
.vcard .vc-img { width: 92px; height: 92px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 38px; overflow: hidden; }
.vcard .vc-img.img-mode img { width: 100%; height: 100%; object-fit: cover; }
.vcard .vc-img .mt-emoji { font-size: 38px; }
.mt-img { display: inline-flex; align-items: center; justify-content: center; }
.av-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.av-img.mt-emoji { display: flex; align-items: center; justify-content: center; }
.p-avatar { overflow: hidden; }
.vcard .vc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vcard .vc-name { font-size: 15px; font-weight: 600; line-height: 1.35; }
.vcard .vc-tags { margin-top: 5px; display: flex; gap: 5px; flex-wrap: wrap; }
.tag { font-size: 10px; padding: 1px 7px; border-radius: 8px; background: #E8F5E9; color: #2E7D32; }
.tag.orange { background: #FFF3E0; color: #E65100; }
.tag.blue { background: #E3F2FD; color: #1565C0; }
.tag.gray { background: #f0f2ee; color: #7c8a7c; }
.vcard .vc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; }
.vcard .vc-price { color: #E64A19; font-weight: 700; font-size: 16px; }
.vcard .vc-price small { font-size: 11px; font-weight: 400; color: #8a938a; }
.vcard .vc-meta { font-size: 11px; color: #8a938a; }

/* 筛选 chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 5px 14px; border-radius: 16px; background: #fff; font-size: 12px; color: #5c6b5c; border: 1px solid #e0e4dd; }
.chip.on { background: #2E7D32; color: #fff; border-color: #2E7D32; font-weight: 600; }

/* 排序条 */
.sortbar { display: flex; gap: 8px; padding: 8px 12px 2px; overflow-x: auto; }
.sortbar::-webkit-scrollbar { display: none; }
.sort-chip { flex: none; padding: 4px 12px; border-radius: 14px; background: #F2F6F0; font-size: 12px; color: #5c6b5c; }
.sort-chip.on { background: #E8F5E9; color: #2E7D32; font-weight: 600; }


/* 搜索条 */
.search-bar { padding: 12px 12px 0; }
.search-box { display: flex; align-items: center; background: #fff; border-radius: 22px; padding: 9px 14px; gap: 8px; }
.search-box .s-icon { font-size: 15px; }
.search-box input { flex: 1; border: none; outline: none; font-size: 14px; background: none; color: #26301f; }
.search-box input::placeholder { color: #b0b8b0; }

/* 详情页 */
.detail-hero { height: 170px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; position: relative; }
.detail-hero .dh-mask { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; margin: -18px; padding: 18px; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.45) 100%); border-radius: 0; }
.detail-hero h2 { font-size: 22px; font-weight: 700; text-shadow: 0 1px 5px rgba(0,0,0,.3); }
.detail-hero p { font-size: 12px; margin-top: 5px; opacity: .95; text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.detail-body { padding: 12px; }
.d-block { background: #fff; border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.d-block h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.d-block h4 i { font-style: normal; }
.d-block p { font-size: 13px; color: #4a554a; line-height: 1.75; }
.desc-text { font-size: 13px; color: #4a554a; line-height: 1.8; }
/* 详情图集 */
.d-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.d-gallery img { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; }
.d-gallery .d-gallery-emoji { height: 110px; display: flex; align-items: center; justify-content: center; background: #F5F7F5; border-radius: 10px; font-size: 40px; }
/* 帖子缩略图 */
.p-thumb { margin: 8px 0; border-radius: 10px; overflow: hidden; }
.p-thumb img { width: 100%; height: 140px; object-fit: cover; display: block; }

/* 亮点/列表 */
.hl-item { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #4a554a; padding: 6px 0; line-height: 1.6; }
.hl-item .hl-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #E8F5E9; color: #2E7D32; display: flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 1px; }

/* 信息行 */
.info-row { display: flex; padding: 7px 0; font-size: 13px; }
.info-row .ir-label { flex: none; width: 74px; color: #7c8a7c; }
.info-row .ir-val { flex: 1; color: #3a453a; line-height: 1.6; }

/* 行程时间线 */
.tl { position: relative; padding-left: 22px; }
.tl::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: #cde5cd; }
.tl-item { position: relative; padding-bottom: 16px; }
.tl-item:last-child { padding-bottom: 2px; }
.tl-item::before { content: ''; position: absolute; left: -19px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #2E7D32; border: 2px solid #fff; box-shadow: 0 0 0 2px #2E7D32; }
.tl-time { font-size: 12px; color: #2E7D32; font-weight: 600; }
.tl-title { font-size: 14px; font-weight: 600; margin-top: 3px; }
.tl-desc { font-size: 12px; color: #7c8a7c; margin-top: 4px; line-height: 1.6; }

/* 价格条 / 底部操作 */
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price-big { color: #E64A19; font-size: 24px; font-weight: 800; }
.price-big small { font-size: 12px; font-weight: 400; }
.price-old { color: #aab2aa; font-size: 12px; text-decoration: line-through; }
.stock-tip { font-size: 12px; color: #7c8a7c; }

/* 房型表 */
.room-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed #eef1ec; font-size: 13px; }
.room-row:last-child { border-bottom: none; }
.room-row .rr-name { font-weight: 600; }
.room-row .rr-desc { color: #8a938a; font-size: 11px; margin-top: 2px; }
.room-row .rr-price { color: #E64A19; font-weight: 700; }

/* 进度条 */
.progress { height: 8px; background: #eef1ec; border-radius: 4px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, #43A047, #2E7D32); border-radius: 4px; }

/* 评论 */
.cmt { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f2ee; }
.cmt:last-child { border-bottom: none; }
.cmt .c-avatar { width: 34px; height: 34px; border-radius: 50%; background: #E8F5E9; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.cmt .c-body { flex: 1; min-width: 0; }
.cmt .c-head { display: flex; justify-content: space-between; font-size: 12px; }
.cmt .c-name { color: #37422f; font-weight: 600; }
.cmt .c-time { color: #aab2aa; }
.cmt .c-content { font-size: 13px; color: #4a554a; margin-top: 4px; line-height: 1.6; }
.cmt .c-stars { color: #F9A825; font-size: 12px; margin-top: 3px; }

/* 帖子卡片 */
.post-card { padding: 14px; }
.post-card .p-head { display: flex; align-items: center; gap: 10px; }
.post-card .p-avatar { width: 38px; height: 38px; border-radius: 50%; background: #E8F5E9; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.post-card .p-name { font-size: 14px; font-weight: 600; }
.post-card .p-time { font-size: 11px; color: #aab2aa; margin-top: 2px; }
.post-card .p-title { font-size: 15px; font-weight: 600; margin: 10px 0 6px; line-height: 1.4; }
.post-card .p-content { font-size: 13px; color: #4a554a; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .p-foot { display: flex; gap: 18px; margin-top: 10px; color: #8a938a; font-size: 12px; }

/* 我的页 */
.mine-hero { background: linear-gradient(135deg, #2E7D32, #1B5E20); color: #fff; padding: 26px 20px 22px; }
.mine-hero .m-avatar { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.mine-hero .m-name { font-size: 18px; font-weight: 700; margin-top: 10px; }
.mine-hero .m-sub { font-size: 12px; opacity: .85; margin-top: 4px; }
.mine-menu { padding: 12px; }
.mine-row { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.mine-row .mr-icon { font-size: 20px; }
.mine-row .mr-tip { margin-left: auto; font-size: 12px; color: #aab2aa; }

/* 用户等级徽章（帖子/评论作者） */
.lv-badge { display: inline-block; font-size: 9px; font-weight: 600; border-radius: 8px; padding: 1px 6px; margin-left: 5px; vertical-align: 1px; white-space: nowrap; }
.lv-L1 { background: #E8F5E9; color: #2E7D32; }
.lv-L2 { background: #E0F2F1; color: #00695C; }
.lv-L3 { background: #FFF8E1; color: #F57F17; }
.lv-L4 { background: #FFF3E0; color: #E65100; }
.lv-L5 { background: linear-gradient(135deg, #FFF8E1, #FFE082); color: #B8860B; }
.lv-L6 { background: linear-gradient(135deg, #FFF3E0, #FFD54F); color: #8D6E00; }

/* 我的页：等级卡片与等级体系 */
.lv-card { margin: 12px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, #2E7D32, #43A047); color: #fff; }
.lv-card-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.lv-card-head .lv-badge { font-size: 11px; padding: 3px 10px; margin-left: 0; }
.lv-progress { height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); margin-top: 12px; overflow: hidden; }
.lv-progress span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #FFE082, #FFD54F); }
.lv-tip { font-size: 11px; opacity: .9; margin-top: 8px; }
.lv-section { padding: 4px 12px 16px; }
.lv-section-title { font-size: 14px; font-weight: 700; color: #2E7D32; padding: 10px 2px 8px; }
.lv-list, .lv-rules { background: #fff; border-radius: 12px; padding: 6px 0; }
.lv-item { display: flex; align-items: center; gap: 10px; padding: 9px 14px; }
.lv-item + .lv-item { border-top: 1px dashed #eef0ec; }
.lv-ico { font-size: 22px; width: 30px; text-align: center; }
.lv-info .lv-name { font-size: 13px; font-weight: 700; color: #2b352b; }
.lv-key { font-size: 10px; color: #9aa59a; font-weight: 400; }
.lv-desc { font-size: 11px; color: #8a938a; margin-top: 2px; }
.lv-rule { display: flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 12px; }
.lv-rule + .lv-rule { border-top: 1px dashed #eef0ec; }
.lr-act { color: #2b352b; font-weight: 600; }
.lr-points { color: #E65100; font-weight: 700; margin-left: auto; }
.lr-note { color: #9aa59a; font-size: 11px; }

/* 底部操作栏（详情页） */
.action-bar { display: flex; gap: 10px; padding: 10px 12px; background: #fff; border-top: 1px solid #eef0ec; flex: none; }
.btn-primary { flex: 1; background: linear-gradient(135deg, #43A047, #2E7D32); color: #fff; font-size: 15px; font-weight: 600; border-radius: 24px; padding: 12px 0; }
.btn-ghost { flex: 1; background: #E8F5E9; color: #2E7D32; font-size: 15px; font-weight: 600; border-radius: 24px; padding: 12px 0; }
.act-disabled { flex: 1; background: #e0e4dd; color: #7c8a7c; font-size: 15px; font-weight: 600; border-radius: 24px; padding: 12px 0; }

/* 详情页布局容器 */
.page { display: flex; flex-direction: column; min-height: 100%; }
.page-body { flex: 1; overflow-y: auto; }
.page-body::-webkit-scrollbar { display: none; }

/* 空状态 / 加载 */
.empty { text-align: center; color: #aab2aa; font-size: 13px; padding: 60px 20px; }
.loading { text-align: center; color: #aab2aa; font-size: 13px; padding: 30px 0; }
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%);
  background: rgba(38,48,31,.88); color: #fff; font-size: 13px; padding: 9px 18px; border-radius: 20px;
  z-index: 99; white-space: nowrap;
}

/* ---- 漂浮联系窗 ---- */
.float-contact { position: absolute; right: 14px; bottom: 72px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; }
.fc-bubble {
  display: flex; align-items: center; gap: 6px; max-width: 250px;
  background: linear-gradient(135deg, #43A047, #2E7D32); color: #fff;
  padding: 11px 16px 11px 12px; border-radius: 24px; box-shadow: 0 6px 18px rgba(46,125,50,.4);
  cursor: pointer; font-size: 13px; position: relative;
}
.fc-bubble .fc-ico { font-size: 17px; }
.fc-bubble .fc-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-bubble .fc-close {
  position: absolute; top: -7px; right: -6px; width: 18px; height: 18px; line-height: 16px;
  background: #fff; color: #7c8a7c; font-size: 11px; border-radius: 50%;
  text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
/* 收起态：小客服图标 */
.fc-mini {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #43A047, #2E7D32); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(46,125,50,.4);
}
.float-contact.collapsed .fc-bubble { display: none; }
.float-contact.collapsed .fc-mini { display: flex; }
.fc-panel {
  width: 240px; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.18); margin-bottom: 10px;
}
.fc-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; font-size: 13px; font-weight: 700; color: #2b352b; }
.fc-panel-close { width: 22px; height: 22px; line-height: 20px; text-align: center; color: #9aa59a; font-size: 12px; border-radius: 50%; background: #f0f2ee; }
.fc-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-top: 1px solid #f0f2ee; cursor: pointer; }
.fc-item:active { background: #F2F6F0; }
.fc-item .fc-item-ico { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #E8F5E9; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.fc-item .fc-item-t { flex: 1; font-size: 13px; font-weight: 600; color: #2b352b; display: flex; flex-direction: column; gap: 2px; }
.fc-item .fc-item-t small { font-size: 11px; font-weight: 400; color: #9aa59a; }
.fc-item .fc-item-arrow { color: #c2cac2; font-size: 16px; }

/* 弹窗（登录等） */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 300; padding: 16px; }
.modal { background: #fff; border-radius: 12px; width: 90%; max-width: 420px; padding: 20px; max-height: 86vh; overflow: auto; }
.modal h3 { margin: 0 0 12px; color: #2E7D32; }
.btn-danger { background: #c62828; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-size: 13px; }
.btn-danger:hover { opacity: .9; }

/* 通用按钮（登录弹窗等） */
.btn { background: #2E7D32; color: #fff; border: none; border-radius: 8px; padding: 10px 16px; font-size: 14px; cursor: pointer; }
.btn:hover { opacity: .92; }
.btn-ghost { background: #E8F5E9; color: #2E7D32; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* 社区分类悬浮筛选（常驻顶部） */
.chips.sticky { position: sticky; top: 0; z-index: 20; background: #f6f8f4; border-bottom: 1px solid #ecefe9; padding-top: 8px; padding-bottom: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.pub-btn { flex: none; padding: 5px 12px; border-radius: 16px; background: #2E7D32; color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; }

/* 登录弹窗：分段 + 验证码 */
.login-modal { max-width: 380px; }
.login-tabs { display: flex; gap: 6px; margin-bottom: 14px; background: #f0f3f0; border-radius: 10px; padding: 4px; }
.ltab { flex: 1; text-align: center; padding: 8px 0; border-radius: 8px; font-size: 14px; color: #6b756b; cursor: pointer; }
.ltab.on { background: #fff; color: #2E7D32; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.code-line { display: flex; gap: 8px; align-items: stretch; }
.code-line input { flex: 1; }
.btn-mini { flex: none; background: #2E7D32; color: #fff; border: none; border-radius: 8px; padding: 0 12px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.wx-btn { background: linear-gradient(135deg, #43A047, #2E7D32); }

/* 发帖编辑器 */
.post-editor { max-width: 460px; }
