:root {
  --brand: #1668e3; --brand-d: #0f4fb5; --brand-l: #eaf2ff;
  --price: #f0452c; --ok: #12a05c; --warn: #e08a00;
  --ink: #1b2330; --ink2: #5b6677; --ink3: #98a1b0;
  --line: #e8ebf0; --bg: #f4f6f9; --card: #fff; --r: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* 顶栏 */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 12px; height: 52px; }
.logo { font-size: 20px; font-weight: 700; white-space: nowrap; }
.logo b { color: var(--brand); }
.logo small { display: none; font-size: 12px; font-weight: 400; color: var(--ink3); margin-left: 8px; }
.dist { border: 0; background: var(--bg); border-radius: 16px; padding: 4px 12px; font-size: 14px; white-space: nowrap; }
.dist::after { content: "▾"; margin-left: 4px; color: var(--ink3); }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { padding: 6px 12px; border-radius: 6px; color: var(--ink2); }
.nav a.on, .nav a:hover { color: var(--brand); background: var(--brand-l); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.top-r .pc { display: none; }

/* 底部导航（手机） */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { flex: 1; text-align: center; padding: 7px 0 5px; font-size: 11px; color: var(--ink3); }
.tabbar a i { display: block; font-style: normal; font-size: 20px; line-height: 24px; }
.tabbar a.on { color: var(--brand); }
.tabbar a.fab i { width: 40px; height: 40px; line-height: 38px; margin: -14px auto 0; border-radius: 50%; background: var(--brand); color: #fff; font-size: 26px; box-shadow: 0 4px 10px rgba(22, 104, 227, .35); }
.foot { padding: 24px 16px 12px; color: var(--ink3); font-size: 12px; text-align: center; }

/* 通用 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 8px 16px; white-space: nowrap; }
.btn.pri { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.pri:hover { background: var(--brand-d); }
.btn.ghost { border-color: var(--brand); color: var(--brand); }
.btn.sm { padding: 4px 10px; font-size: 13px; border-radius: 6px; }
.btn.block { display: flex; width: 100%; padding: 11px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: default; }
.card { background: var(--card); border-radius: var(--r); padding: 16px; margin-top: 12px; }
.sec-t { display: flex; align-items: baseline; justify-content: space-between; margin: 20px 0 10px; }
.sec-t h2 { font-size: 18px; }
.sec-t a { font-size: 13px; color: var(--ink3); }
.tag { display: inline-block; font-size: 11px; line-height: 18px; padding: 0 6px; border-radius: 4px; background: var(--bg); color: var(--ink2); white-space: nowrap; }
.tag.owner, .tag.shopkeeper { background: #e6f6ee; color: var(--ok); }
.tag.agent { background: #fff3e0; color: var(--warn); }
.tag.office { background: var(--brand-l); color: var(--brand); }
.tag.ver { background: var(--brand); color: #fff; }
.tag.top { background: var(--price); color: #fff; }
.muted { color: var(--ink3); }
.empty { text-align: center; color: var(--ink3); padding: 48px 0; }
.price { color: var(--price); font-weight: 700; }
.price small { font-weight: 400; font-size: 12px; margin-left: 2px; }

/* 首页 */
.hero { margin-top: 12px; background: linear-gradient(120deg, #1668e3, #3a8bff 60%, #57b0ff); color: #fff; border-radius: var(--r); padding: 20px 16px; }
.hero h1 { font-size: 20px; }
.hero p { opacity: .9; font-size: 13px; margin-top: 2px; }
.search { display: flex; margin-top: 14px; background: #fff; border-radius: 8px; overflow: hidden; }
.search input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; outline: 0; color: var(--ink); }
.search button { border: 0; background: var(--price); color: #fff; padding: 0 18px; }
.entries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 12px; }
.entry { background: var(--card); border-radius: var(--r); padding: 10px 0; text-align: center; font-size: 12px; white-space: nowrap; }
.entry i { display: block; width: 40px; height: 40px; line-height: 40px; margin: 0 auto 6px; border-radius: 12px; font-style: normal; font-size: 20px; }
.entry:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.districts { display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; padding-bottom: 2px; scrollbar-width: none; }
.districts a { flex: none; background: var(--card); border-radius: 8px; padding: 8px 14px; font-size: 13px; text-align: center; }
.districts a b { display: block; font-size: 16px; color: var(--brand); }
.districts a.on { background: var(--brand); color: #fff; }
.districts a.on b { color: #fff; }
.notice { margin-top: 12px; background: #fff8e6; color: #8a5a00; border-radius: 8px; padding: 8px 12px; font-size: 13px; }

/* 房源卡片 */
.grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.item { display: flex; gap: 12px; background: var(--card); border-radius: var(--r); padding: 12px; }
.item:hover { box-shadow: 0 2px 12px rgba(0, 0, 0, .07); }
.item .cover { flex: none; width: 116px; height: 88px; }
.item .body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item h3 { font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .meta { color: var(--ink2); font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.item .foot2 { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 4px; }
.item .foot2 span { font-size: 12px; color: var(--ink3); white-space: nowrap; }
.cover { position: relative; border-radius: 8px; overflow: hidden; background: #dfe6f0; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; color: #fff; }
.ph svg { width: 70%; max-height: 82%; opacity: .92; }
.ph.c0 { background: linear-gradient(135deg, #5b9dff, #2f6fe0); } .ph.c1 { background: linear-gradient(135deg, #ffa66b, #f0703a); }
.ph.c2 { background: linear-gradient(135deg, #4cc9a4, #18987a); } .ph.c3 { background: linear-gradient(135deg, #9f8cff, #6b55e0); }
.ph.c4 { background: linear-gradient(135deg, #ffcb5c, #eda01c); } .ph.c5 { background: linear-gradient(135deg, #6fc3e8, #2b8fc2); }
.cover .badge { position: absolute; left: 6px; top: 6px; display: flex; gap: 4px; }

/* 筛选 */
.typebar { display: flex; gap: 6px; overflow-x: auto; margin-top: 12px; scrollbar-width: none; }
.typebar a { flex: none; padding: 7px 14px; border-radius: 18px; background: var(--card); font-size: 14px; }
.typebar a.on { background: var(--brand); color: #fff; }
.filters { background: var(--card); border-radius: var(--r); margin-top: 10px; padding: 4px 12px; }
.frow { display: flex; gap: 4px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.frow:last-child { border: 0; }
.frow > b { flex: none; width: 44px; font-weight: 400; color: var(--ink3); font-size: 13px; line-height: 26px; }
.frow > div { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.frow a { flex: none; padding: 2px 10px; border-radius: 4px; font-size: 13px; line-height: 22px; }
.frow a.on { background: var(--brand-l); color: var(--brand); font-weight: 600; }
.listbar { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 10px; font-size: 13px; color: var(--ink2); }
.listbar select { border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; background: var(--card); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }

/* 详情 */
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); margin-top: 12px; scrollbar-width: none; }
.gallery > * { flex: none; width: 100%; height: 240px; scroll-snap-align: start; border-radius: 0; }
.d-title { font-size: 19px; line-height: 1.4; }
.d-price { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; align-items: baseline; }
.d-price .price { font-size: 24px; }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 12px; }
.kv div { font-size: 14px; }
.kv span { display: block; color: var(--ink3); font-size: 12px; }
.risk { background: #fff4f1; color: #a83a22; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-top: 12px; }
.pub { display: flex; align-items: center; gap: 12px; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-l); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.actbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px; background: var(--card); border-top: 1px solid var(--line); padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
.actbar .btn.pri { flex: 1; }
.d-side .actbar-pc { display: none; }
.statusbar { margin-top: 12px; border-radius: 8px; padding: 10px 12px; background: #fff8e6; color: #8a5a00; font-size: 14px; }
.descr { white-space: pre-wrap; font-size: 14px; color: var(--ink2); }

/* 表单 */
.form h3 { font-size: 15px; margin: 4px 0 10px; padding-left: 8px; border-left: 3px solid var(--brand); }
.fld { margin-bottom: 12px; }
.fld > label { display: block; font-size: 13px; color: var(--ink2); margin-bottom: 4px; }
.fld > label em { color: var(--price); font-style: normal; }
.fld input[type=text], .fld input[type=tel], .fld input[type=number], .fld input[type=password], .fld select, .fld textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; background: #fff; outline: 0; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--brand); }
.fld textarea { min-height: 96px; resize: vertical; }
.fld .hint { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; }
.seg input:checked + span { border-color: var(--brand); background: var(--brand-l); color: var(--brand); font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.checks label { font-size: 14px; }
form:not([data-kind=shop]) .only-shop, form:not([data-kind=office]) .only-office, form[data-kind=shop] .only-factory, form[data-kind=office] .only-factory, form:not([data-deal=transfer]) .only-transfer, form[data-kind=office] .opt-transfer, form[data-kind=warehouse] .opt-transfer { display: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs > div, .thumbs > label { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--bg); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; right: 2px; top: 2px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; line-height: 18px; padding: 0; }
.thumbs > label { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--ink3); color: var(--ink3); font-size: 28px; cursor: pointer; }
.thumbs > label input { display: none; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* 我的 */
.me-head { display: flex; align-items: center; gap: 14px; }
.menu a, .menu button { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; }
.menu > :last-child { border: 0; }
.menu span.r { color: var(--ink3); font-size: 13px; }
.mine { background: var(--card); border-radius: var(--r); padding: 12px; margin-top: 10px; }
.mine .hd { display: flex; gap: 12px; }
.mine .hd .cover { flex: none; width: 88px; height: 66px; }
.mine .st { font-size: 12px; font-weight: 600; }
.st.pending { color: var(--warn); } .st.online { color: var(--ok); } .st.rejected { color: var(--price); } .st.offline, .st.done, .st.closed { color: var(--ink3); }
.mine .ops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.mine .why { margin-top: 8px; font-size: 13px; color: #a83a22; background: #fff4f1; border-radius: 6px; padding: 6px 10px; }
.demand { background: var(--card); border-radius: var(--r); padding: 14px; }
.demand h3 { font-size: 15px; }
.demand p { font-size: 14px; color: var(--ink2); margin-top: 4px; }
.demand .foot2 { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; color: var(--ink3); }

/* 弹层与提示 */
#modal:empty { display: none; }
#modal { position: fixed; inset: 0; z-index: 50; background: rgba(15, 23, 42, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--card); width: 100%; max-width: 480px; border-radius: 16px 16px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 86vh; overflow-y: auto; }
.sheet h3 { font-size: 17px; margin-bottom: 12px; }
.sheet .picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sheet .picks a { border: 1px solid var(--line); border-radius: 8px; padding: 10px; text-align: center; }
.sheet .picks a.on { border-color: var(--brand); color: var(--brand); background: var(--brand-l); }
.sheet .bigphone { font-size: 28px; font-weight: 700; text-align: center; letter-spacing: 1px; margin: 8px 0; }
.sheet .btns { display: flex; gap: 10px; margin-top: 14px; }
.sheet .btns .btn { flex: 1; }
#toast { position: fixed; left: 50%; top: 40%; transform: translateX(-50%); z-index: 60; background: rgba(20, 26, 36, .88); color: #fff; border-radius: 8px; padding: 10px 18px; font-size: 14px; max-width: 80vw; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
#toast.show { opacity: 1; }

/* 电脑版 */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .top-in { height: 64px; }
  .logo { font-size: 24px; }
  .logo small, .top-r .pc { display: inline; }
  .nav { display: flex; }
  .hero { padding: 40px 48px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .search { max-width: 620px; margin-top: 20px; }
  .search input { padding: 13px 16px; }
  .entries { grid-template-columns: repeat(10, 1fr); gap: 12px; }
  .entry { padding: 18px 4px; font-size: 14px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .grid .item { flex-direction: column; gap: 10px; padding: 0 0 12px; overflow: hidden; }
  .grid .item .cover { width: 100%; height: 168px; border-radius: 0; }
  .grid .item .body { padding: 0 12px; }
  .grid.rows { grid-template-columns: 1fr; gap: 12px; }
  .grid.rows .item { flex-direction: row; padding: 14px; gap: 16px; }
  .grid.rows .item .cover { width: 220px; height: 150px; border-radius: 8px; }
  .grid.rows .item .body { padding: 0; }
  .grid.rows .item h3 { font-size: 18px; }
  .grid.rows .item .meta { font-size: 14px; margin-top: 6px; }
  .grid.rows .item .price { font-size: 22px; }
  .frow > b { width: 60px; font-size: 14px; }
  .frow > div { flex-wrap: wrap; }
  .frow a { font-size: 14px; }
  .detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
  .gallery > * { height: 420px; }
  .d-title { font-size: 24px; }
  .d-price .price { font-size: 30px; }
  .kv { grid-template-columns: repeat(3, 1fr); }
  .actbar { display: none; }
  .d-side { position: sticky; top: 76px; }
  .d-side .actbar-pc { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
  #modal { align-items: center; }
  .sheet { border-radius: 16px; }
  .demands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .demands .demand { margin: 0 !important; }
}
.demands .demand + .demand { margin-top: 10px; }
body.has-actbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
body.has-actbar .tabbar { display: none; }
@media (min-width: 900px) { body.has-actbar { padding-bottom: 0; } }

/* 在线咨询 */
.rel { position: relative; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--price); margin-left: 4px; vertical-align: top; }
.tabbar a.has-dot i::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--price); vertical-align: top; margin-left: -2px; }
.consult { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px; border-radius: var(--r); background: linear-gradient(100deg, #eaf2ff, #f3f8ff); border: 1px solid #cfe0ff; }
.consult > div:nth-child(2) { flex: 1; min-width: 0; }
.consult b { font-size: 15px; }
.consult p { font-size: 13px; color: var(--ink2); margin-top: 2px; }
.consult .avatar { background: var(--brand); color: #fff; }
.chat-hd { display: flex; align-items: center; gap: 12px; padding: 14px 0 10px; }
.chat-hd .avatar, .msg .avatar { background: var(--brand); color: #fff; }
.msg { display: flex; gap: 8px; margin: 12px 0; align-items: flex-start; }
.msg.me { justify-content: flex-end; }
.msg .avatar { width: 34px; height: 34px; font-size: 14px; }
.bubble { max-width: 76%; background: var(--card); border-radius: 4px 14px 14px 14px; padding: 9px 12px; font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.msg.me .bubble { background: var(--brand); color: #fff; border-radius: 14px 4px 14px 14px; }
.bubble small { display: block; font-size: 12px; opacity: .7; margin-bottom: 2px; }
.bubble.card-d { white-space: normal; font-size: 14px; }
.bubble.rec { display: block; width: 240px; white-space: normal; }
.bubble.rec .cover { height: 120px; margin: 4px 0 8px; }
.bubble.rec b { display: block; font-size: 14px; line-height: 1.4; }
.bubble.rec span { display: block; font-size: 12px; color: var(--ink2); }
.bubble.rec span.price { font-size: 16px; color: var(--price); }
.quick { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.quick .btn { flex: none; border-radius: 16px; }
.chatbar input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; outline: 0; }
.chatbar input:focus { border-color: var(--brand); }
@media (max-width: 899px) { .consult { flex-wrap: wrap; } .consult .btn { width: 100%; } }
@media (min-width: 900px) {
  .actbar.chatbar { display: flex; position: sticky; bottom: 0; max-width: 720px; margin: 8px auto 0; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
  .chat { min-height: 60vh; }
}
.actbar.chatbar .btn { flex: none; }
.bubble.rec .price small { display: inline; opacity: 1; margin: 0 0 0 2px; }

/* 全站右下角咨询按钮 */
.cfab { position: fixed; right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 25; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(22, 104, 227, .4); }
.cfab[hidden] { display: none; }
.cfab span { font-size: 10px; line-height: 1.2; }
.cfab svg { width: 22px; height: 22px; }
.cfab .dot { position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border: 2px solid #fff; margin: 0; }
.cfab .dot[hidden] { display: none; }
.cfab:hover { background: var(--brand-d); }
@media (min-width: 900px) {
  .cfab { right: 28px; bottom: 32px; width: auto; height: 48px; flex-direction: row; gap: 8px; padding: 0 20px 0 16px; border-radius: 24px; }
  .cfab span { font-size: 15px; }
  .cfab .dot { right: 0; top: 0; }
}

/* 招商 / 设备 / 服务商 */
.vendors { display: grid; gap: 10px; }
.vendor { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border-radius: var(--r); padding: 14px; }
.vendor .vb { flex: 1; min-width: 0; }
.vendor .meta { font-size: 12px; color: var(--ink2); }
.vendor p { font-size: 13px; color: var(--ink2); margin: 4px 0; }
.vendor .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.choose { display: grid; gap: 10px; }
.choose a { display: flex; gap: 14px; align-items: center; background: var(--card); border-radius: var(--r); padding: 16px; }
.choose a:hover { box-shadow: 0 2px 12px rgba(0, 0, 0, .07); }
.choose i { flex: none; width: 48px; height: 48px; line-height: 48px; text-align: center; font-style: normal; font-size: 24px; background: var(--brand-l); border-radius: 12px; }
.choose p { font-size: 13px; color: var(--ink2); }
@media (min-width: 900px) { .vendors { grid-template-columns: repeat(2, 1fr); gap: 16px; } .choose { grid-template-columns: repeat(2, 1fr); gap: 16px; } .nav a { padding: 6px 9px; font-size: 14px; } }

/* 首页“查看全部”按钮 */
.sec-t { align-items: center; }
.sec-t a.more { font-size: 14px; font-weight: 600; color: var(--brand); background: var(--brand-l); border: 1px solid #cfe0ff; border-radius: 16px; padding: 4px 14px; white-space: nowrap; }
.sec-t a.more:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 手机兼容：iOS 在输入框字号小于 16px 时会自动放大页面且不恢复，导致右侧和底栏被切掉 */
@media (max-width: 899px) {
  input, select, textarea { font-size: 16px !important; }
}
html { overflow-x: hidden; }
body { width: 100%; overflow-x: clip; }
.top-r { min-width: 0; }
.top-r a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 7em; }
.top-r a.btn { max-width: none; }
