/* ============ 千帆 H5 移动端基础样式（750 设计稿 rem 适配） ============ */
:root {
    --mainColor: #F87D09;      /* 站点主色（与现有 H5 一致） */
    --theme: #2D9BEC;          /* 当前站点 tab 选中色（可在后台主题中配置） */
    --bg: #f5f6f7;
    --text: #333;
    --muted: #999;
    --line: #ededed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 312.5%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 0.28rem;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.home_container {
    max-width: 750px;
    margin: 0 auto;
    padding-bottom: 1.2rem;
    min-height: 100vh;
    background: #fff;
}

.mlr30 {
    margin-left: 0.3rem;
    margin-right: 0.3rem;
}

.pr {
    position: relative;
}

.tr {
    text-align: right;
}

/* ---------- 顶部 header ---------- */
.header1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 1.1rem;
    background: #fff;
}

.logo1 {
    height: 0.68rem;
    max-width: 3.4rem;
    object-fit: contain;
}

.logo-text {
    font-size: 0.36rem;
    font-weight: 700;
    color: var(--mainColor);
}

.icon-list1 {
    font-size: 0;
}

.icon-list1 a {
    display: inline-block;
    margin-left: 0.3rem;
    font-size: 0.22rem;
    color: #666;
    text-align: center;
}

.icon-list1 a i {
    display: block;
    width: 0.42rem;
    height: 0.42rem;
    margin: 0 auto 0.04rem;
    background: var(--mainColor);
    border-radius: 50%;
}

.icon-list1 a.icon1 i { background: #2D9BEC; }
.icon-list1 a.icon2 i { background: var(--mainColor); }
.icon-list1 a.icon3 i { background: #3dbd7d; }

/* ---------- 栏目 tabs ---------- */
.tab-component {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.tab-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-scroll::-webkit-scrollbar {
    display: none;
}

.vux-tab {
    display: flex;
    white-space: nowrap;
}

.vux-tab-item {
    flex: 0 0 auto;
    padding: 0.24rem 0.32rem;
    font-size: 0.3rem;
    color: #666;
    position: relative;
    text-align: center;
}

.vux-tab-item.vux-tab-selected {
    color: var(--theme);
    font-weight: 600;
}

.vux-tab-item.vux-tab-selected::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0.6rem;
    height: 0.06rem;
    border-radius: 0.03rem;
    background: var(--theme);
}

/* ---------- 顶部广告条 ---------- */
.head-strip {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.2rem 0;
    background: #fff;
}

.head-strip::-webkit-scrollbar {
    display: none;
}

.head-item {
    flex: 0 0 auto;
    width: 3.4rem;
    margin-left: 0.2rem;
    border-radius: 0.12rem;
    overflow: hidden;
}

.head-item:first-child {
    margin-left: 0.3rem;
}

.head-item img {
    width: 3.4rem;
    height: 1.9rem;
    object-fit: cover;
}

/* ---------- 信息流 ---------- */
.feed-list {
    background: #fff;
    padding: 0 0.3rem;
}

.feed-item {
    display: flex;
    align-items: center;
    padding: 0.28rem 0;
    border-bottom: 1px solid var(--line);
}

.feed-main {
    flex: 1;
    min-width: 0;
    margin-right: 0.2rem;
}

.feed-title {
    font-size: 0.3rem;
    font-weight: 400;
    color: #222;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.feed-meta {
    margin-top: 0.14rem;
    font-size: 0.22rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feed-meta span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.feed-meta em {
    font-style: normal;
    flex: 0 0 auto;
    margin-left: 0.2rem;
}

.feed-img {
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.4rem;
    border-radius: 0.1rem;
    overflow: hidden;
}

.feed-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-empty {
    padding: 1rem 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.28rem;
}

.feed-sentinel {
    min-height: 1px;
}

/* ---------- 版块列表页（对照原版社区列表） ---------- */
.bodybg {
    max-width: 750px;
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
}

.collect {
    display: flex;
    align-items: center;
    padding: 0.3rem 0.3rem 0.26rem;
    background: #fff;
}

.collect-head {
    flex: 0 0 auto;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
}

.collect-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collect-tit {
    flex: 1;
    min-width: 0;
    margin-left: 0.2rem;
}

.tit-name {
    font-size: 0.32rem;
    font-weight: 600;
    color: #222;
}

.tit-num {
    font-size: 0.22rem;
    color: var(--muted);
    margin-top: 0.04rem;
}

.collect-button {
    flex: 0 0 auto;
    padding: 0.08rem 0.3rem;
    border-radius: 0.4rem;
    background: var(--mainColor);
    color: #fff;
    font-size: 0.24rem;
}

.new-info {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.new-info-tab .vux-tab {
    display: flex;
}

.new-info-tab .vux-tab-item {
    flex: 1;
    text-align: center;
    padding: 0.22rem 0;
    font-size: 0.3rem;
    color: #666;
    position: relative;
}

.new-info-tab .vux-tab-item.vux-tab-selected {
    color: var(--theme);
    font-weight: 600;
}

.new-info-tab .vux-tab-item.vux-tab-selected::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0.6rem;
    height: 0.06rem;
    border-radius: 0.03rem;
    background: var(--theme);
}

.news_list {
    background: #fff;
    padding: 0 0.3rem;
}

.news ul {
    list-style: none;
}

.news li {
    position: relative;
}

.links {
    display: flex;
    align-items: center;
    padding: 0.26rem 0;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.links.no_img {
    display: block;
}

.news-tit {
    flex: 1;
    min-width: 0;
}

.news-tit.news-right {
    margin-right: 0.2rem;
}

.news-tit .fs0 h6 {
    font-size: 0.3rem;
    font-weight: 400;
    color: #222;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-tit-img1.pic3 {
    display: flex;
    margin-top: 0.12rem;
}

.news-tit-img1.pic3 .nimg {
    flex: 1;
    height: 1.2rem;
    border-radius: 0.08rem;
    overflow: hidden;
    margin-right: 0.08rem;
}

.news-tit-img1.pic3 .nimg:last-child {
    margin-right: 0;
}

.news-tit-img1.pic3 .nimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info {
    display: flex;
    align-items: center;
    margin-top: 0.1rem;
    font-size: 0.22rem;
    color: var(--muted);
}

.news-info span:first-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-info .flex_ml {
    flex: 0 0 auto;
    margin-left: 0.2rem;
}

.news-img {
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.4rem;
    border-radius: 0.1rem;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.load-more-link {
    display: block;
    text-align: center;
    padding: 0.28rem 0 0.4rem;
    color: var(--theme);
    font-size: 0.26rem;
}

/* ---------- 轮播广告 ---------- */
.qf-carousel {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.qf-carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.qf-carousel-slide,
.icons-page {
    flex: 0 0 100%;
    min-width: 0;
}

.qf-carousel-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 750 / 300;
    object-fit: cover;
}

.qf-carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.14rem;
    display: flex;
    justify-content: center;
    gap: 0.1rem;
    z-index: 3;
}

.qf-carousel-dots .dot {
    width: 0.12rem;
    height: 0.12rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: background 0.2s;
}

.qf-carousel-dots .dot.active {
    background: #fff;
}

/* ---------- 图标导航宫格 ---------- */
.icons_container {
    background: #fff;
    padding: 0.26rem 0 0.1rem;
}

.icons-grid-wrap {
    background: #fff;
}

.icons-page {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    row-gap: 0.2rem;
    padding: 0 0.12rem;
}

.icons-page .links,
.icons-grid-wrap .links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0;
}

.img_div {
    position: relative;
    width: 0.88rem;
    height: 0.88rem;
}

.img_div .img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sub {
    position: absolute;
    font-style: normal;
    font-size: 0.18rem;
    color: #fff;
    border-radius: 0.06rem;
    padding: 0 0.06rem;
    line-height: 1.4;
}

.sub.sub1 {
    background: #ff2c2c;
    top: -0.06rem;
    right: -0.1rem;
}

.sub.sub2 {
    background: #ff8f1f;
    top: -0.06rem;
    right: -0.1rem;
}

.icons-page .links span,
.icons-grid-wrap .links span {
    margin-top: 0.08rem;
    font-size: 0.22rem;
    color: #333;
}

/* ---------- 文本导航 ---------- */
.txt_container {
    background: #fff;
    padding: 0.12rem 0.2rem 0.26rem;
}

.txt_container .link {
    display: flex;
}

.txt_container .url {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.1rem 0;
}

.txt_container .icon {
    position: relative;
    width: 0.88rem;
    height: 0.88rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9a44, #f87d09);
    display: flex;
    align-items: center;
    justify-content: center;
}

.txt_container .icon .text {
    color: #fff;
    font-size: 0.24rem;
    font-weight: 600;
}

.txt_container .desc {
    margin-top: 0.08rem;
    font-size: 0.2rem;
    color: #999;
}

/* ---------- 顶部悬浮栏（返回首页 + 打开 App） ---------- */
.app-topbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    height: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.24rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    z-index: 200;
}

.topbar-home {
    font-size: 0.26rem;
    color: var(--mainColor);
    white-space: nowrap;
}

.topbar-slogan {
    display: flex;
    align-items: center;
    font-size: 0.24rem;
    color: #666;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0 0.12rem;
}

.topbar-logo {
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-right: 0.08rem;
    object-fit: cover;
}

.topbar-open {
    flex: 0 0 auto;
    padding: 0.08rem 0.24rem;
    border-radius: 0.3rem;
    background: var(--mainColor);
    color: #fff;
    font-size: 0.24rem;
    white-space: nowrap;
}

body.has-topbar .home_container,
body.has-topbar .bodybg,
body.has-topbar .thread-page,
body.has-topbar .simple-page,
body.has-topbar .transit-page {
    padding-top: 0.9rem;
}

body.has-topbar .side-page {
    padding-top: 1.14rem;
}

/* ---------- 临时中转页：发现 / 我的 ---------- */
.transit-page {
    max-width: 750px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 1.34rem 0.32rem 0.6rem;
    background:
        radial-gradient(ellipse at 50% 8%, rgba(255, 226, 197, 0.68), transparent 44%),
        linear-gradient(180deg, #fffaf5 0%, #f7f8fa 57%);
}

.transit-card {
    max-width: 620px;
    margin: 0 auto;
    padding: 0.42rem 0.38rem 0.44rem;
    border: 1px solid rgba(236, 225, 214, 0.8);
    border-radius: 0.28rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0.18rem 0.62rem rgba(57, 47, 38, 0.06);
    text-align: center;
}

.transit-art {
    position: relative;
    width: 2.18rem;
    height: 2.18rem;
    margin: 0 auto 0.24rem;
}

.transit-art-orbit {
    position: absolute;
    display: block;
    border: 1px solid rgba(248, 125, 9, 0.2);
    border-radius: 50%;
}

.transit-art-orbit-one {
    inset: 0.08rem;
}

.transit-art-orbit-two {
    inset: 0.28rem;
    border-style: dashed;
    transform: rotate(-24deg) scaleX(1.22);
}

.transit-art-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 1.16rem;
    height: 1.16rem;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 0.34rem;
    background: linear-gradient(145deg, #ff9b37, #f36b08);
    box-shadow: 0 0.14rem 0.3rem rgba(242, 111, 9, 0.24);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
}

.transit-art-spark {
    position: absolute;
    color: #f5a33d;
    line-height: 1;
}

.transit-art-spark-one {
    top: 0.12rem;
    right: 0.22rem;
    font-size: 0.26rem;
}

.transit-art-spark-two {
    bottom: 0.24rem;
    left: 0.08rem;
    color: #76b9a0;
    font-size: 0.2rem;
}

.transit-kicker {
    display: inline-block;
    margin-bottom: 0.12rem;
    color: var(--mainColor);
    font-size: 0.22rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.transit-card h1 {
    color: #262626;
    font-size: 0.42rem;
    font-weight: 700;
    line-height: 1.35;
}

.transit-description {
    max-width: 5.8rem;
    margin: 0.18rem auto 0.32rem;
    color: #777;
    font-size: 0.26rem;
    line-height: 1.8;
}

.transit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0.82rem;
    margin: 0.14rem auto 0;
    border-radius: 0.16rem;
    font-size: 0.28rem;
    font-weight: 600;
}

.transit-button-primary {
    background: var(--mainColor);
    box-shadow: 0 0.08rem 0.18rem rgba(248, 125, 9, 0.17);
    color: #fff;
}

.transit-button-secondary {
    border: 1px solid #ececec;
    background: #fff;
    color: #555;
}

.transit-note {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.3rem;
    color: #9a9a9a;
    font-size: 0.21rem;
}

.transit-note-dot {
    width: 0.1rem;
    height: 0.1rem;
    margin-right: 0.1rem;
    border-radius: 50%;
    background: #79b89c;
}

/* ---------- 底部导航 ---------- */
.tabbar {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    display: flex;
    background: #fff;
    border-top: 1px solid var(--line);
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 100;
}

.tabbar-item {
    flex: 1;
    padding: 0.14rem 0 0.1rem;
    text-align: center;
    font-size: 0.22rem;
    color: #999;
}

.tabbar-item.active {
    color: var(--mainColor);
}

.tabbar-item img {
    width: 0.5rem;
    height: 0.5rem;
    margin: 0 auto 0.02rem;
    object-fit: contain;
}

.tabbar-item.tabbar-icon-active img {
    filter: brightness(0) saturate(100%) invert(53%) sepia(93%) saturate(1965%) hue-rotate(358deg) brightness(102%) contrast(96%);
}

/* ---------- 本地圈 ---------- */
.side-page { max-width:750px; min-height:100vh; margin:0 auto; padding:0.24rem 0.24rem 1.45rem; background:#f5f7fa; }
.side-heading { display:flex; align-items:center; justify-content:space-between; min-height:2.05rem; margin-bottom:0.22rem; padding:0.32rem 0.38rem; border-radius:0.2rem; color:#fff; background:linear-gradient(125deg,#2d9bec,#55b8f1 62%,#80d5e3); box-shadow:0 0.12rem 0.3rem rgba(45,155,236,.18); }
.side-eyebrow { display:block; margin-bottom:0.08rem; color:rgba(255,255,255,.8); font-size:0.21rem; }
.side-heading h1 { font-size:0.46rem; line-height:1.2; }
.side-heading p { margin-top:0.1rem; color:rgba(255,255,255,.9); font-size:0.23rem; }
.side-heading-mark { display:grid; width:0.92rem; height:0.92rem; place-items:center; border:1px solid rgba(255,255,255,.48); border-radius:50%; background:rgba(255,255,255,.16); font-size:0.45rem; font-weight:700; }
.side-feed-section { overflow:hidden; border-radius:0.16rem; background:#fff; box-shadow:0 0.06rem 0.24rem rgba(30,64,95,.04); }
.side-feed-heading { display:flex; align-items:center; justify-content:space-between; padding:0.3rem 0.28rem 0.16rem; }
.side-feed-heading h2 { font-size:0.32rem; font-weight:650; }
.side-feed-heading p { margin-top:0.04rem; color:#9aa3ad; font-size:0.2rem; }
.side-live { display:inline-flex; align-items:center; gap:0.08rem; padding:0.07rem 0.15rem; border-radius:0.3rem; color:#2d9bec; background:#eff8ff; font-size:0.2rem; }
.side-live i { width:0.09rem; height:0.09rem; border-radius:50%; background:#41bd83; }
.side-filters { display:flex; gap:0.13rem; overflow-x:auto; padding:0.12rem 0.28rem 0.23rem; white-space:nowrap; }
.side-filters a { padding:0.09rem 0.2rem; border-radius:0.3rem; color:#74808c; background:#f4f6f8; font-size:0.21rem; }
.side-filters a.active { color:#fff; background:#2d9bec; }
.side-card { padding:0.26rem 0.28rem 0.22rem; border-top:1px solid #f0f2f4; }
.side-card-author { display:flex; align-items:center; }
.side-avatar { flex:0 0 auto; width:0.64rem; height:0.64rem; border-radius:50%; object-fit:cover; background:#edf5fb; }
.side-avatar-fallback { display:grid; place-items:center; color:#2d9bec; font-size:0.26rem; font-weight:600; }
.side-author-info { display:flex; flex:1; min-width:0; flex-direction:column; margin-left:0.15rem; }
.side-author-info strong { overflow:hidden; color:#35404a; font-size:0.24rem; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.side-author-info span { margin-top:0.015rem; color:#a5adb5; font-size:0.19rem; }
.side-author-badge { padding:0.035rem 0.13rem; border-radius:0.2rem; color:#e19538; background:#fff7e9; font-size:0.18rem; }
.side-card-content { margin:0.17rem 0 0.15rem 0.79rem; color:#343b42; font-size:0.25rem; line-height:1.65; overflow-wrap:anywhere; }
.side-card-images { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0.07rem; margin:0.12rem 0 0.13rem 0.79rem; max-width:5.4rem; }
.side-card-images img { width:100%; aspect-ratio:1; border-radius:0.08rem; object-fit:cover; background:#f0f2f4; }
.side-card-meta { display:flex; align-items:center; justify-content:space-between; margin-left:0.79rem; color:#a4acb4; font-size:0.19rem; }
.side-card-actions { display:flex; gap:0.24rem; }
.side-empty { display:flex; min-height:2.15rem; flex-direction:column; align-items:center; justify-content:center; gap:0.11rem; padding:0.28rem; border-top:1px solid #f0f2f4; color:#7c8792; text-align:center; font-size:0.22rem; }
.side-empty-icon { display:grid; width:0.62rem; height:0.62rem; place-items:center; border-radius:50%; color:#2d9bec; background:#eff8ff; font-size:0.32rem; }
.side-empty a,.side-pagination a { color:#2d9bec; }
.side-pagination { display:flex; align-items:center; justify-content:center; gap:0.28rem; padding:0.22rem; border-top:1px solid #f0f2f4; color:#8d97a1; font-size:0.21rem; }
.side-page .tabbar-item.active { color:#2d9bec; }
.side-page .tabbar-item.tabbar-icon-active img { filter:brightness(0) saturate(100%) invert(50%) sepia(68%) saturate(1734%) hue-rotate(178deg) brightness(97%) contrast(93%); }

/* ---------- 个人中心 ---------- */
.user-center {
    max-width: 750px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 0.24rem 1.65rem;
    background: #f5f6f7;
    --user-theme: var(--mainColor);
}

body.has-topbar .user-center {
    padding-top: 0.9rem;
}

.user-center-heading {
    padding: 0.26rem 0.08rem 0.24rem;
}

.user-center-heading h1 {
    color: #222;
    font-size: 0.36rem;
    font-weight: 600;
}

.user-center-heading p {
    margin-top: 0.04rem;
    color: #999;
    font-size: 0.23rem;
}

.user-profile-card {
    display: flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0.27rem 0.28rem;
    border-radius: 0.16rem;
    color: #fff;
    background: linear-gradient(115deg, var(--user-theme), #ffb447);
    box-shadow: 0 0.08rem 0.22rem rgba(248, 125, 9, 0.18);
}

.user-avatar {
    display: flex;
    flex: 0 0 0.92rem;
    width: 0.92rem;
    height: 0.92rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0.04rem solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    color: var(--user-theme);
    background: #fff;
    font-size: 0.38rem;
    font-weight: 600;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    margin-left: 0.2rem;
}

.user-profile-copy strong {
    overflow: hidden;
    font-size: 0.32rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-profile-copy span {
    margin-top: 0.06rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.22rem;
}

.user-member-badge {
    padding: 0.05rem 0.16rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0.3rem;
    font-size: 0.2rem;
}

.user-shortcuts,
.user-menu-card {
    margin-top: 0.2rem;
    overflow: hidden;
    border-radius: 0.14rem;
    background: #fff;
}

.user-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0.28rem 0.18rem;
}

.user-section-title strong {
    color: #333;
    font-size: 0.27rem;
    font-weight: 600;
}

.user-section-title span {
    color: #aaa;
    font-size: 0.2rem;
}

.user-shortcut-grid {
    display: flex;
    padding: 0.08rem 0 0.25rem;
}

.user-shortcut {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    color: #777;
}

.user-shortcut i {
    display: flex;
    width: 0.62rem;
    height: 0.62rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--user-theme);
    background: #fff4e8;
    font-size: 0.26rem;
    font-style: normal;
}

.user-shortcut b {
    margin-top: 0.1rem;
    color: #444;
    font-size: 0.22rem;
    font-weight: 500;
}

.user-shortcut span {
    margin-top: 0.03rem;
    color: #bbb;
    font-size: 0.18rem;
}

.user-menu-card .user-section-title {
    padding-bottom: 0.12rem;
}

.user-menu-row {
    display: flex;
    min-height: 0.82rem;
    align-items: center;
    padding: 0 0.28rem;
    border-top: 1px solid #f4f4f4;
}

.user-menu-icon {
    display: flex;
    width: 0.42rem;
    height: 0.42rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.1rem;
    font-size: 0.25rem;
    font-weight: 600;
}

.user-menu-icon.orange { color: #f28b36; background: #fff2e6; }
.user-menu-icon.blue { color: #4a98e5; background: #eaf4ff; }
.user-menu-icon.green { color: #49b28b; background: #e9f8f1; }

.user-menu-label {
    flex: 1;
    margin-left: 0.16rem;
    color: #444;
    font-size: 0.24rem;
}

.user-menu-hint {
    color: #aaa;
    font-size: 0.2rem;
}

.user-menu-link {
    padding-left: 0.2rem;
    color: #bbb;
    font-size: 0.4rem;
}

.user-login-note {
    padding: 0.22rem 0.1rem;
    color: #aaa;
    font-size: 0.2rem;
    text-align: center;
}

.user-login-cta {
    flex: 0 0 auto;
    padding: 0.1rem 0.22rem;
    border-radius: 0.3rem;
    color: var(--user-theme);
    background: #fff;
    font-size: 0.21rem;
    font-weight: 600;
}

.user-logout-form {
    margin: 0.2rem 0;
    text-align: center;
}

.user-logout-form button {
    border: 0;
    padding: 0.12rem 0.45rem;
    border-radius: 0.4rem;
    color: #777;
    background: #fff;
    font: inherit;
    font-size: 0.22rem;
}

/* ---------- 千帆手机号登录 ---------- */
.user-login-page {
    max-width: 750px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0.3rem 0.32rem 0.8rem;
    background: #fff;
}

body.has-topbar .user-login-page {
    padding-top: 1.05rem;
}

.user-login-back {
    display: inline-flex;
    align-items: center;
    color: #555;
    font-size: 0.26rem;
}

.user-login-back:first-letter {
    color: #999;
    font-size: 0.52rem;
}

.user-login-panel {
    width: 100%;
    max-width: 620px;
    margin: 0.52rem auto 0;
}

.user-login-mark {
    display: flex;
    width: 0.9rem;
    height: 0.9rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.22rem;
    color: #fff;
    background: var(--mainColor);
    font-size: 0.3rem;
    font-weight: 700;
}

.user-login-panel h1 {
    margin-top: 0.28rem;
    color: #222;
    font-size: 0.42rem;
    font-weight: 650;
}

.user-login-intro {
    margin: 0.08rem 0 0.44rem;
    color: #999;
    font-size: 0.24rem;
}

.user-login-label {
    display: block;
    margin: 0.28rem 0 0.1rem;
    color: #555;
    font-size: 0.23rem;
}

.user-login-input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 0.82rem;
    border: 1px solid #e8e8e8;
    border-radius: 0.12rem;
    outline: none;
    padding: 0 0.22rem;
    color: #333;
    background: #fafafa;
    font: inherit;
    font-size: 0.25rem;
}

.user-login-input:focus {
    border-color: var(--mainColor);
    background: #fff;
}

.user-login-captcha-row,
.user-login-code-row {
    display: flex;
    align-items: center;
    gap: 0.16rem;
}

.user-login-captcha-row .user-login-input,
.user-login-code-row .user-login-input {
    flex: 1;
}

.user-captcha-refresh {
    display: flex;
    width: 1.8rem;
    height: 0.82rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 0.12rem;
    background: #f5f5f5;
}

.user-captcha-refresh img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.user-send-code {
    flex: 0 0 1.9rem;
    height: 0.82rem;
    border: 1px solid var(--mainColor);
    border-radius: 0.12rem;
    color: var(--mainColor);
    background: #fff;
    font: inherit;
    font-size: 0.22rem;
}

.user-send-code:disabled {
    border-color: #ddd;
    color: #aaa;
}

.user-login-message {
    min-height: 0.42rem;
    padding-top: 0.1rem;
    color: #27885e;
    font-size: 0.21rem;
}

.user-login-message.is-error {
    color: #d74b42;
}

.user-login-submit {
    display: block;
    width: 100%;
    height: 0.84rem;
    margin-top: 0.12rem;
    border: 0;
    border-radius: 0.14rem;
    color: #fff;
    background: var(--mainColor);
    font: inherit;
    font-size: 0.28rem;
    font-weight: 600;
}

.user-login-submit:disabled {
    opacity: 0.65;
}

.user-login-disclaimer {
    margin-top: 0.26rem;
    color: #aaa;
    font-size: 0.19rem;
    line-height: 1.7;
}

/* ---------- 占位页 ---------- */
.simple-page {
    max-width: 750px;
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
    padding: 1rem 0.4rem;
}

.simple-page h1 {
    font-size: 0.4rem;
    color: #222;
    margin-bottom: 0.3rem;
}

.simple-page p {
    color: #555;
    margin-bottom: 0.2rem;
}

.simple-page .muted {
    color: var(--muted);
    font-size: 0.26rem;
}

.btn-link {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.16rem 0.5rem;
    border-radius: 0.5rem;
    background: var(--mainColor);
    color: #fff;
    font-size: 0.28rem;
}

.publish-btn {
    display: inline-block;
    padding: 0.1rem 0.34rem;
    border-radius: 0.4rem;
    background: var(--mainColor);
    color: #fff;
    font-size: 0.26rem;
}

/* ---------- 帖子详情 ---------- */
.thread-page {
    max-width: 750px;
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
    padding: 0.32rem 0.3rem 1.2rem;
}

.thread-title {
    font-size: 0.4rem;
    line-height: 1.4;
    color: #222;
    font-weight: 700;
}

.thread-meta {
    margin: 0.22rem 0 0.3rem;
    font-size: 0.24rem;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
}

.thread-meta span {
    margin-right: 0.24rem;
}

.thread-content {
    font-size: 0.3rem;
    line-height: 1.8;
    color: #333;
    word-break: break-word;
}

.thread-content img {
    max-width: 100%;
    height: auto;
    margin: 0.15rem auto;
    border-radius: 0.08rem;
}

.thread-content p {
    margin: 0.12rem 0;
}

.thread-replies {
    margin-top: 0.5rem;
    border-top: 1px solid var(--line);
    padding-top: 0.3rem;
}

.thread-replies h3 {
    font-size: 0.32rem;
    color: #222;
    margin-bottom: 0.2rem;
}

.reply-item {
    padding: 0.24rem 0;
    border-bottom: 1px solid var(--line);
}

.reply-item .reply-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.1rem;
}

.reply-item .reply-head b {
    color: #2D9BEC;
    font-size: 0.26rem;
    font-weight: 500;
}

.reply-item .reply-head em {
    font-style: normal;
    color: var(--muted);
    font-size: 0.22rem;
}

.reply-item p {
    font-size: 0.28rem;
    color: #444;
    line-height: 1.6;
}

.thread-foot {
    margin-top: 0.5rem;
    text-align: center;
}
