@font-face {
    font-family: "iconfont";
    src: url("/img/iconfont.woff2?1") format("woff2"), url("/img/iconfont.woff?1") format("woff"), url("/img/iconfont.ttf?1") format("truetype");
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 0.16rem;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-erweima {
    display: none !important;
}

.icon-erweima:before {
    content: "\e98d";
    font-size: 0.3rem;
    cursor: pointer;
    margin-right: 0.1rem;
    color: #ff7406;
}


.icon-search:before {
    content: "\e6a2";
}

.icon-new:before {
    content: "\e61f";
}

.icon-customer-center:before {
    content: "\e827";
}

.icon-add-btn-fill:before {
    content: "\e835";
}

.icon-zhuanshufuwu:before {
    content: "\e884";
}

.icon-home:before {
    content: "\e61e";
}

.icon-close:before {
    content: "\e669";
}

.icon-link:before {
    content: "\e676";
}

.icon-smile:before {
    content: "\e67e";
}

.icon-edit:before {
    content: "\e66e";
}

.icon-more:before {
    content: "\e8f2";
}

.icon-comment:before {
    content: "\e668";
}


.icon-picture:before {
    content: "\e67c";
}

.icon-time:before {
    content: "\e680";
}

.icon-weixin:before {
    content: "\e856";
}

.icon-qq:before {
    content: "\e604";
}

.icon-poweroff:before {
    content: "\e78c";
}

.icon-bell:before {
    content: "\e7c4";
}

.icon-back:before {
    content: "\e627";
}


/* 移除旧图标 */

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 100px;
    --primary: #007fff;
    --bd: 0.01rem solid #ededed;
    --sd: 0 1px 5px 0 rgba(0, 0, 0, 0.1);

    /* Font sizes */
    --fs-xs: 0.2rem;
    --fs-sm: 0.24rem;
    --fs-base: 0.28rem;
    --fs-md: 0.3rem;
    --fs-lg: 0.32rem;
    --fs-xl: 0.36rem;
    --fs-2xl: 0.4rem;

    /* Spacing */
    --sp-xs: 0.1rem;
    --sp-sm: 0.15rem;
    --sp-base: 0.2rem;
    --sp-md: 0.25rem;
    --sp-lg: 0.3rem;
    --sp-xl: 0.4rem;

    /* Border radius */
    --r-sm: 0.05rem;
    --r-base: 0.08rem;
    --r-md: 0.12rem;
    --r-lg: 0.16rem;
    --r-full: 50%;
}

body {
    font-size: 16px;
    font-family: 'Inter', "PingFang SC", -apple-system, "Helvetica Neue", Helvetica, BlinkMacSystemFont, "Microsoft YaHei", tahoma, Arial, "Open Sans", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
    line-height: 1.5;
    background-color: #fff;
}

em {
    color: red;
}

ts {
    color: var(--primary);
}

cite,
em,
i {
    font-style: normal;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    color: #000;
}

input[type="file"] {
    width: 0;
    height: 0;
    visibility: hidden;
    opacity: 0;
}

li,
ol,
ul {
    border: 0;
    list-style: none;
}

img {
    border: 0;
    max-width: 100%;
    vertical-align: top;
}

.imgt {
    display: block;
    border-radius: 0.03rem;
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.2rem;
    background: #fff url(/img/head.gif) center/cover no-repeat;
    box-shadow: var(--sd);
}

.ted {
    height: auto;
}

.vlist a:visited {
    color: #a0a0a0
}

.body_all {
    width: 7.5rem;
    margin: 0 auto;
    background-color: #fff;
    position: relative;
    min-height: 90vh;
    padding-bottom: 0.05rem;
}

.header {
    height: 1.2rem;
    padding: 0 0.25rem;
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    background: #fff;
    box-sizing: border-box;
}

.header .search-wrap {
    height: 0.88rem;
    border-radius: 0.16rem;
    background: #f5f5f5;
    width: 100%;
    cursor: text;
    padding: 0 0.24rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border: none;
    position: relative;
}
.header .search-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.3rem;
    color: #333;
    outline: none;
    padding: 0;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 0.2rem;
}

.logo-img {
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 50%;
    object-fit: cover;
}

.divider {
    width: 1px;
    height: 0.3rem;
    background: #e0e0e0;
    margin-right: 0.3rem;
    flex-shrink: 0;
}

#search-text {
    flex: 1;
    color: #999;
    font-size: 0.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-btn {
    color: #333;
    font-size: 0.3rem;
    font-weight: 500;
    padding-left: 0.2rem;
    flex-shrink: 0;
}

.top_nav {
    position: relative;
    height: 0.9rem;
    padding: 0 0.25rem;
    background: #fff;
    display: flex;
    align-items: center;
}

.top_nav .nav-box, .top_nav_scroll {
    flex: 1;
    height: 100%;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 0.35rem;
    scrollbar-width: none; /* Firefox */
}
.top_nav .nav-box::-webkit-scrollbar { display: none; }

.top_nav a, .top_nav_scroll a {
    line-height: 0.9rem;
    font-size: 0.32rem;
    color: #999;
    position: relative;
}

.top_nav .nav_hov {
    color: var(--primary);
    font-weight: bold;
}
.top_nav .nav_hov::after {
    content: "";
    position: absolute;
    bottom: 0.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.3rem;
    height: 0.05rem;
    background: var(--primary);
    border-radius: 0.1rem;
}

.nav_setting {
    margin-left: 0.2rem;
    width: 0.6rem;
    height: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
}
.nav_setting svg {
    width: 0.45rem;
    height: 0.45rem;
}

.threadlist {
    padding: 0;
    overflow: hidden;
}

.card_top {
    height: auto;
    min-height: 0.8rem;
    padding: 0.1rem 0 0.2rem;
    display: flex;
    align-items: center;
}

.reply .card_top {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}


.card_top img {
    width: 0.76rem;
    height: 0.76rem;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 0.2rem;
    flex-shrink: 0;
}

.card_user_info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card_top h3 {
    margin: 0;
    line-height: 1.2;
    font-size: 0.3rem;
    color: #333;
}

.card_top span {
    display: block;
    margin-top: 0.05rem;
    line-height: 1;
    font-size: 0.24rem;
    color: #ccc;
}

.threadlist h2 {
    line-height: 0.52rem;
    font-size: 0.35rem;
    margin-bottom: 0.1rem;
    font-weight: 700;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.type_t {
    white-space: normal !important;
}

.card_body {
    display: flex;
    align-items: flex-start;
    margin-top: 0.15rem;
    margin-bottom: 0.1rem;
}

.card_body .thumb {
    width: 2.2rem;
    height: 1.4rem;
    object-fit: cover;
    border-radius: 0.08rem;
    margin-right: 0.2rem;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
}

.card_body p {
    flex: 1;
    margin: 0;
    font-size: 0.28rem;
    line-height: 0.44rem;
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    word-break: break-all;
}

.threadlist p {
    margin-bottom: 0.16rem;
    line-height: 0.5rem;
    font-size: 0.32rem;
    color: #747474;
    overflow: hidden;
    word-break: break-all;
}

.threadlist p a, .reply p a {
    color: var(--primary);
}

.threadlist .desc a {
    color: var(--primary);
    word-break: break-all;
}

.threadlist .desc {
    color: #000;
}

.thread_imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1%;
    margin: 0.18rem 0 0.2rem;
}

.thread_gallery_img {
    display: block;
    width: 32.6%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: url('/img/load.svg') no-repeat center center, #ffffff;
    background-size: .6rem .6rem;
    border: var(--bd);
    cursor: zoom-in;
}

.thread_imgs.count-1 .thread_gallery_img {
    width: min(4.2rem, 100%);
}

.thread_imgs.count-2 .thread_gallery_img {
    width: 49.45%;
}

.thread-tag {
    color: #d3d3d3;
    font-size: 0.26rem;
    font-weight: 400;
}

.card_imgs,
.card_imgs li {
    position: relative;
    overflow: hidden;
}

.card_imgs {
    margin-bottom: 0.2rem;
    font-size: 0;
}

.card_imgs > ul {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.card_imgs li {
    float: left;
    width: 32.6%;
    padding-bottom: 30%;
    margin-top: 1.1%;
    margin-right: 1.1%;
    box-sizing: border-box;
}

.card_imgs li:nth-child(3n) {
    margin-right: 0;
}

.card_imgs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: url('/img/load.svg') no-repeat center center, #ffffff;
    background-size: .6rem .6rem;
    position: absolute;
    border: var(--bd);
    cursor: zoom-in
}

.reply .card_imgs {
    margin-left: 0.8rem;
}

/* 回复列表优化 */
.reply-item {
    padding: 0.3rem;
    border-bottom: 0.01rem solid #eee;
    position: relative;
}

.reply-item:last-child { border-bottom: none; }

.reply_top_row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.user_box {
    display: flex;
    flex: 1;
    gap: 0.2rem;
}

.reply-item .imgt {
    display: block;
    width: 0.76rem;
    height: 0.76rem;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 0.2rem;
    flex: 0 0 0.76rem;
}

.username {
    color: #333;
    font-size: 0.3rem;
    font-weight: 600;
    margin-bottom: 0.05rem;
}

.content_p, .reply-item .desc {
    font-size: 0.3rem;
    color: #666;
    line-height: 1.5;
    word-break: break-all;
    margin-bottom: 0.15rem;
}

.reply_body_new {
    padding-left: 0;
}

.cginfo {
    margin-bottom: 0.8rem !important;
}



.card_foot {
    margin-top: auto;
    padding-top: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card_foot i,
.card_foot span {
    margin: 0 0.5rem 0 0;
    border-radius: 0.08rem;
    font-size: 0.26rem;
    color: #d3d3d3;
}

.card_foot span {
    margin: 0 0 0 0.06rem;
}

.card_foot i:before,
.card_foot span:before {
    padding-right: 0.1rem;
    font-size: 0.3rem;
}

.card_foot .icon-more {
    padding: 0;
    margin: 0;
    color: #dcdcdc;
    cursor: pointer;
}

.card_foot .icon-more:before,
.frame,
.ico_card_more li a {
    font-size: 0.3rem;
}

.card_foot .ico_card {
    width: 2rem;
    bottom: auto;
}

.ico_card_more {
    display: none;
    text-align: center;
}

.ico_card_more li {
    padding: 0.2rem;
}

.frame {
    position: relative;
    color: #333;
    margin: 0.2rem 0 0;
    padding: 0.1rem;
    border-radius: 0.05rem;
    width: 97%;
    line-height: 0.39rem;
    outline: 0;
    resize: none;
    overflow: hidden;
    box-shadow: none;
    -webkit-box-shadow: none;
    overflow-y: auto;
    border: 0.01rem solid #e1e1e1;
    appearance: none;
    -webkit-appearance: none;
}


/* 搜索结果头部导航栏 */
.search_res_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.1rem 0.3rem;
    background-color: #fff;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 0.05rem;
}
.search_res_head .res_nav {
    display: flex;
    gap: 0.2rem;
}
.search_res_head .res_nav a {
    font-size: 0.28rem;
    color: #555;
    text-decoration: none;
    padding: 0.15rem 0;
    position: relative;
    transition: all 0.2s;
}
.search_res_head .res_nav a.nav_hov {
    color: var(--primary);
    font-weight: bold;
}
.search_res_head .res_nav a.nav_hov::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
}
.search_res_head .res_stats {
    font-size: 0.18rem;
    color: #ccc;
    letter-spacing: 0.01rem;
    white-space: nowrap;
}
.search_res_head .res_stats .cost {
    margin-left: 0.05rem;
    opacity: 0.8;
}

html.pc-mode .search_res_head {
    padding: 8px 0;
    background: transparent;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}
html.pc-mode .search_res_head .res_nav a {
    font-size: 15px;
    padding: 10px 0;
}
html.pc-mode .search_res_head .res_stats {
    font-size: 12px !important;
}

.cache_head {
    display: flex;
    justify-content: space-between;
    padding: 0.1rem 0.3rem;
    font-size: 0.2rem;
    color: #ccc;
    background: transparent;
    border-bottom: 1px solid #f8f8f8;
    align-items: center;
}
.cache_head .cache_source {
    flex: 0 0 auto;
    min-width: 0;
    text-align: left;
}
.cache_head .cache_time {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: right;
}
.cache_head strong, .res_stats strong {
    color: inherit;
    font-weight: 500;
}

.box {
    min-height: 50vh;
    padding-bottom: 0.4rem;
    background-color: #f5f5f5; /* 修改为浅灰背景，卡片用白色 */
}

/* 主题详情页卡片最低高度 */
.separate-cards {
    min-height: auto;
}

.separate-cards > .threadlist {
    min-height: 40vh;
    background: #fff;
    margin-bottom: 0.2rem;
    border-radius: 0.1rem;
    display: flex;
    flex-direction: column;
}

.separate-cards > .threadlist.reply {
    min-height: auto;
}

.separate-cards > .threadlist > ul {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.separate-cards > .threadlist .card {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.empty-state {
    text-align: center;
    padding: 3rem 0;
    color: #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-state svg {
    color: #e0e0e0;
    margin-bottom: 0.3rem;
}

.empty-state p {
    font-size: 0.28rem;
    letter-spacing: 0.02rem;
}

.not-found-state {
    min-height: 4.8rem;
    padding: 1rem 0.4rem;
    color: #a0a0a0;
}

.not-found-state svg {
    color: #d8dde6;
    margin-bottom: 0.2rem;
}

.not-found-state h2 {
    font-size: 0.42rem;
    line-height: 1.4;
    color: #333;
    margin-bottom: 0.14rem;
    font-weight: 600;
}

.not-found-state p {
    color: #8a8f98;
    max-width: 6rem;
    line-height: 1.8;
}

.not-found-home {
    margin-top: 0.32rem;
    min-width: 2.2rem;
    height: 0.76rem;
    padding: 0 0.34rem;
    border-radius: 999px;
    background: #f2f7ff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.28rem;
    font-weight: 500;
}

.reply_form {
    position: relative;
}

.reply_border {
    min-height: 2.22rem; /* 调高高度 */
    color: #999; /* 提示文字改用灰色 */
    display: flex;
    align-items: flex-start;
    padding-top: 0.2rem;
    padding-left: 0.25rem;
}

.frame::placeholder {
    color: #e1e1e1;
}

.ico_card {
    display: none;
    position: absolute;
    background: #fff;
    margin: 0;
    width: 85%;
    padding: 0.2rem;
    border-radius: 0.12rem;
    z-index: 999;
    bottom: 0.2rem;
    -webkit-box-shadow: var(--sd);
    box-shadow: var(--sd);
}

.reply .icon-edit {
    position: absolute;
    right: 0.6rem;
    bottom: 0.15rem;
    color: #e1e1e1;
    font-size: 0.4rem;
    pointer-events: none;
}

.reply_ico {
    width: 100%;
}

.reply_ico i {
    cursor: pointer;
    float: left;
    margin-right: 0.44rem;
    color: var(--primary);
    position: relative;
    font-size: 0.45rem;
}

.reply_ico .num::after {
    content: "";
    position: absolute;
    top: -0.05rem;
    right: -0.05rem;
    width: 0.16rem;
    height: 0.16rem;
    background-color: red;
    color: #fff;
    font-size: 0.12rem;
    text-align: center;
    line-height: 0.16rem;
    border-radius: 50%;
}

.reply_ico i:hover {
    color: #363636;
}

.btn,
.reply_imgs img,
.reply-box img {
    border-radius: 0.03rem;
}

.btn {
    background: var(--primary);
    border: 0;
    color: #fff;
    font-size: 0.3rem;
    padding: 0.05rem 0.26rem;
    cursor: pointer;
}

.reply_btn {
    float: right;
}

.ico_btn {
    float: left;
}

.reply_imgs img,
.reply-box img {
    width: 0.6rem;
    height: 0.6rem;
    object-fit: cover;
    display: inline-block;
    float: none;
}



.reply .reply_textarea {
    min-height: 25vh;
}



.reply .quote {
    border: 1px solid rgb(247 247 247);
    margin-bottom: 0.3rem;
    font-size: 0.25rem;
    color: #d9d9d9;
    border-radius: 0.05rem;
    padding: 0.2rem 0.3rem;
    background: #f9f9f9;
    margin-left: 0.8rem;
    word-wrap: break-word;
}

.reply .quote a {
    margin: 0 0.1rem;
    color: #79a3cd;
}

.reply p {
    font-size: 0.3rem;
    color: #000;
    margin-left: 0.8rem;
}

.reply p a {
    color: #007fff;
}

.reply .card_foot i {
    margin-left: 0.8rem;
}

.reply_imgs {
    display: none;
    background: #f9f9f9;
}

.reply_imgs li {
    padding-bottom: 30% !important;
}

.reply-box .icon-close,
.reply_imgs .icon-close {
    z-index: 999;
    position: absolute;
    cursor: pointer;
    padding: 0.01rem 0.05rem;
    background: rgb(0 0 0/37%);
    right: 0;
}

.reply_imgs .icon-close {
    color: #fff;
    font-size: 0.2rem;
}

.reply-box .icon-close {
    right: 0.2rem;
    top: 0.2rem;
    font-size: 0.3rem;
    color: #000;
    background: 0 0;
}

.reply li:not(:last-child) {
    border-bottom: var(--bd);
}

.reply .card_foot {
    margin: 0.3rem 0;
}

#emoji {
    text-align: center;
    height: 2.8rem;
    line-height: 0;
    font-size: 0;
    border-radius: 0.12rem;
    overflow-y: auto;
}

#emoji::-webkit-scrollbar,
.frame::-webkit-scrollbar {
    width: 0.06rem;
}

#emoji::-webkit-scrollbar-thumb,
.frame::-webkit-scrollbar-thumb {
    border-radius: 0.1rem;
    background-color: #ebebeb;
}

#emoji img {
    width: 0.6rem;
    margin: 0.1rem 0.08rem;
}

.auto-load-tip {
    text-align: center;
    margin: 0.3rem auto;
    padding: 0.24rem 0.2rem 0.4rem;
    font-size: 0.24rem;
    color: #999;
}

.auto-load-tip[data-state="loading"] {
    color: #999;
}

.auto-load-tip[data-state="done"] {
    color: #b3b3b3;
}

.auto-load-tip[data-state="error"] {
    color: #f56c6c;
}

.card {
    padding: 0.24rem 0;
    margin: 0;
    background-color: #fff;
    z-index: 9;
    border-bottom: 1px solid #f2f2f2;
}

.card,
.reply_top,
.reply_top div,
.top_box {
    overflow: hidden;
}

.reply_top div {
    margin: 0 0 -0.3rem;
    font-size: 0.28rem;
    height: 1rem;
    line-height: 0.8rem;
    font-weight: 400;
    padding: 0;
}

.reply_top div em {
    margin: 0.1rem;
    color: #999;
}

.reply_top div .sort {
    float: right;
    margin-top: 0.18rem;
    margin-left: 0.16rem;
    padding: 0 0.1rem;
    height: 0.4rem;
    line-height: 0.4rem;
    font-size: 0.24rem;
    color: rgb(179 179 179);
    position: relative;
}

.top_box {
    position: relative;
    height: 4rem;
    background-color: #f5f7fa;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/img/logo.png?5);
    text-align: center;
    z-index: 0;
    background-size: cover !important;
}

.top_box .top_bg {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    -webkit-backdrop-filter: saturate(150%) blur(0.5rem);
    backdrop-filter: saturate(150%) blur(0.5rem);
    z-index: -1;
}

.my_list {
    margin: 0 0.3rem;
    background-color: #fff;
    overflow: hidden;
}

.my_list li {
    float: left;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

.my_list li a,
.my_list li a i {
    height: 0.6rem;
    line-height: 0.6rem;
    font-size: 0.33rem;
    overflow: hidden;
}

.my_list,
.my_list li a {
    padding: 0.2rem;
    border-radius: 0.12rem;
}

.my_list li a {
    display: block;
    background-color: rgb(255 255 255);
}

.my_list li a i {
    float: left;
    width: 0.6rem;
    text-align: center;
    margin-right: 0.3rem;
    background-color: rgb(97 127 181);
    color: #fff;
    border-radius: 50%;
}

.my_list li a::after {
    content: "";
    position: absolute;
    top: 45%;
    right: 6%;
    width: 0.06rem;
    height: 0.06rem;
    border-top: 1px solid #6e6e6e;
    border-right: 1px solid #6e6e6e;
    transform: translateY(-60%) rotate(45deg);
}

.my_list li:nth-child(2) a i {
    background-color: #ff5656;
}

.my_list li:nth-child(3) a i {
    background-color: rgb(0 147 255);
}

.my_list li:nth-child(4) a i {
    background-color: rgb(13 199 54);
}

.my_list li:nth-child(5) a i {
    background-color: rgb(175 175 175);
}

.user_box {
    padding: 0.1rem 0;
    color: rgb(0 0 0);
    background-color: #fff;
    overflow: hidden;
    border-radius: 0.12rem;
    position: relative;
    z-index: 1;
    margin: -1.9rem 0.26rem 0.26rem;
}

.user_avatar {
    color: rgb(183 176 176);
    font-size: 0.26rem;
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    place-content: center flex-start;
    align-items: center;
}

.user_box li {
    float: left;
    width: 25%;
    margin: 0.16rem 0;
    text-align: center;
    line-height: 0.4rem;
    font-size: 0.25rem;
}

.user_box li span {
    display: block;
    font-size: 0.4rem;
    color: var(--primary);
    margin: 0.2rem;
}

.user_avatar h2 {
    color: #333;
    font-size: 0.4rem;
}

.user_avatar div:nth-child(1) {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    padding: 0.24rem;
}

.user_avatar div img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.user_avatar span.set {
    margin-top: 0.24rem;
    height: 0.36rem;
    line-height: 0.36rem;
    padding: 0 0.06rem;
    font-size: 0.24rem;
    background-color: #f90;
    color: #fff;
    overflow: hidden;
    border-radius: 0.04rem;
    position: absolute;
    top: 0;
    right: 0.24rem;
}

.user_avatar .icon-back {
    position: absolute;
    margin: -3.65rem 0.26rem;
    color: #fff;
    font-size: 0.36rem !important;
}

.icon-ts:before {
    color: red !important;
}

.icon-top {
    position: fixed;
    right: 0.3rem;
    bottom: 0.8rem;
    width: 0.88rem;
    height: 0.88rem;
    background: #f5f5f5;
    border-radius: 0.16rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    z-index: 1000;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.icon-top svg {
    width: 0.44rem;
    height: 0.44rem;
}

.icon-top,
.search_body {
    background-color: #fff;
}

.search_body,
.search_html {
    height: 95vh;
    overflow: hidden;
}

.search_body {
    z-index: 299;
}

.search_html {
    height: auto;
    background-color: #f5f7fa;
    padding-bottom: .5rem;
}

.search_top {
    margin-top: 0.1rem;
    height: 0.8rem;
    line-height: 0.8rem;
    margin-bottom: 0.3rem;
}

.search_top i {
    font-size: 0.36rem;
}

.search_top .icon-back {
    color: #bbb3b3;
    margin-left: 0.2rem;
    font-size: 0.36rem !important;
}

.search_top .s-i {
    margin: 0.2rem;
    background: #fff;
    width: 70%;
    padding-left: 0.39rem;
    border-radius: 0.66rem;
    font-size: 0.36rem;
    font-weight: 700;
    display: inline-block;
    box-shadow: var(--sd);
    white-space: nowrap;
    /* overflow: hidden; */
    text-overflow: ellipsis;
}

.search_body .search,
.search_html .search {
    display: inline-block;
    margin: 0.23rem;
    height: 0.8rem;
    border-radius: 0.66rem;
    background: #f5f5f5;
    width: 83%;
    cursor: pointer;
    border: 0.01rem solid rgb(255 255 255/8%);
}

.search_body .search i,
.search_html .search i {
    line-height: 0.8rem;
    margin-left: 0.26rem;
    font-size: 0.36rem;
    color: #c9c9c9;
}

.search_body input,
.search_html input {
    background: #f5f5f5;
    color: rgb(0 0 0);
    border: 0;
    padding: 0.1rem;
    outline: 0;
    font-size: 0.36rem;
}

.search_html .search,
.search_html input {
    background-color: #fff;
}

.search_body input::placeholder {
    color: #c9c9c9;
}

.search_body .cancel,
.search_html .cancel {
    font-size: 0.3rem;
    line-height: 1.3rem;
    background: #fff;
}

.vlist {
    padding: 0 0.25rem;
    background: #fff;
}

.search_html .cancel {
    background: #f5f7fa;
}

.search_body .name {
    margin: 0.3rem 0;
    padding-left: 0.4rem;
    font-size: 0.32rem;
    font-weight: 700;
}

.search_body .name span {
    float: right;
    margin-right: 0.4rem;
    font-size: 0.22rem;
    line-height: 0.6rem;
    font-weight: 400;
    cursor: pointer;
    color: rgb(199 199 199);
}

.search_body .tag {
    margin: 0 0.1rem;
}

.search_body .tag a {
    display: inline-block;
    margin-left: 0.2rem;
    margin-bottom: 0.1rem;
    padding: 0.1rem 0.3rem;
    text-align: center;
    font-size: 0.3rem;
    color: #000;
    border-radius: 0.66rem;
    text-decoration: none;
    background: rgb(220 220 220/32%);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.threadlist {
    position: relative;
    padding: 0 0.25rem;
}

.threadlist .tag a {
    padding: 0.02rem 0.28rem;
    font-size: 0.25rem;
    margin-right: 0.2rem;
    color: #007fff;
    border-radius: 0;
    box-shadow: var(--sd);
    background: none
}

.bottom-nav,
.nav-item {
    display: flex;
    align-items: center;
}

.bottom-nav {
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 7.5rem;
    height: 1rem;
    background-color: #fff;
    z-index: 199;
    -webkit-box-shadow: var(--sd);
    box-shadow: var(--sd);
}

.bottom-nav .nav-item {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-size: 0.2rem;
    color: var(--primary);
}

.bottom-nav .nav-item .iconfont {
    font-size: 0.4rem;
    font-weight: 500;
}

.bottom-nav .nav-item .icon-add-btn-fill {
    font-size: 0.8rem;
}

.reply-box {
    z-index: 399;
}

.reply-row {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 0 0.4rem 0.4rem;
    box-sizing: border-box;
    border-top-left-radius: 0.1rem;
    border-top-right-radius: 0.1rem;
    -webkit-box-shadow: var(--sd);
    box-shadow: var(--sd);
}

.reply-row .name {
    margin: 0.3rem 0.08rem 0.2rem;
    font-size: 0.3rem;
    font-weight: 700;
}

.overlay, .setting_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
}

.setting_drawer {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 70%;
    height: 100%;
    background: #fff;
    z-index: 1002;
    padding: 0.2rem;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.card_table {
    border-collapse: collapse;
    width: 100%;
}

.card_table td,
.card_table th {
    padding: 0.05rem 0;
    font-size: 0.3rem;
    max-width: 5.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: .5rem;
}

.card_table td:nth-child(2) {
    font-size: 0.24rem;
    text-align: right;
    color: #ccc;
    width: 1.2rem;
    white-space: nowrap;
}

.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(/img/load.svg) no-repeat center center, rgb(237 237 237 / 92%);
}

.viewer-close:before,
.viewer-flip-horizontal:before,
.viewer-flip-vertical:before,
.viewer-fullscreen-exit:before,
.viewer-fullscreen:before,
.viewer-next:before,
.viewer-one-to-one:before,
.viewer-play:before,
.viewer-prev:before,
.viewer-reset:before,
.viewer-rotate-left:before,
.viewer-rotate-right:before,
.viewer-zoom-in:before,
.viewer-zoom-out:before {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC");
    background-repeat: no-repeat;
    background-size: 280px;
    color: transparent;
    display: block;
    font-size: 0;
    height: 20px;
    line-height: 0;
    width: 20px
}

.viewer-close:before {
    background-position: -260px 0;
    content: "Close"
}

.viewer-container {
    bottom: 0;
    direction: ltr;
    font-size: 0;
    left: 0;
    line-height: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    -webkit-tap-highlight-color: transparent;
    top: 0;
    -ms-touch-action: none;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.viewer-container::-moz-selection,
.viewer-container::-moz-selection {
    background-color: transparent
}

.viewer-container::selection,
.viewer-container::selection {
    background-color: transparent
}

.viewer-container img {
    display: block;
    height: auto;
    max-height: none !important;
    max-width: none !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: 100%
}

.viewer-canvas {
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0
}

.viewer-canvas>img {
    height: auto;
    margin: 15px auto;
    max-width: 90% !important;
    width: auto
}

.viewer-footer {
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    text-align: center
}

.viewer-navbar {
    background-color: rgba(0, 0, 0, .5);
    overflow: hidden
}

.viewer-list {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 50px;
    margin: 0;
    overflow: hidden;
    padding: 1px 0
}

.viewer-list>li {
    color: transparent;
    cursor: pointer;
    float: left;
    font-size: 0;
    height: 50px;
    line-height: 0;
    opacity: .5;
    overflow: hidden;
    -webkit-transition: opacity .15s;
    transition: opacity .15s;
    width: 30px
}

.viewer-list>li:hover {
    opacity: .75
}

.viewer-list>li+li {
    margin-left: 1px
}

.viewer-list>.viewer-loading {
    position: relative
}

.viewer-list>.viewer-loading:after {
    border-width: 2px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    width: 20px
}

.viewer-list>.viewer-active,
.viewer-list>.viewer-active:hover {
    opacity: 1
}

.viewer-player {
    background-color: #000;
    bottom: 0;
    cursor: none;
    display: none;
    right: 0
}

.viewer-player,
.viewer-player>img {
    left: 0;
    position: absolute;
    top: 0
}

.viewer-toolbar>ul>.viewer-large:before {
    margin: 5px
}

.viewer-tooltip {
    background-color: rgba(0, 0, 0, .8);
    border-radius: 10px;
    color: #fff;
    display: none;
    font-size: 12px;
    height: 20px;
    left: 50%;
    line-height: 20px;
    margin-left: -25px;
    margin-top: -10px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 50px
}

.viewer-title {
    color: #ccc;
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    margin: 0 5% 5px;
    max-width: 90%;
    opacity: .8;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: opacity .15s;
    transition: opacity .15s;
    white-space: nowrap
}

.viewer-title:hover {
    opacity: 1
}

.viewer-button {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 50%;
    cursor: pointer;
    height: 80px;
    overflow: hidden;
    position: absolute;
    right: -40px;
    top: -40px;
    -webkit-transition: background-color .15s;
    transition: background-color .15s;
    width: 80px
}

.viewer-button:focus,
.viewer-button:hover {
    background-color: rgba(0, 0, 0, .8)
}

.viewer-button:before {
    bottom: 15px;
    left: 15px;
    position: absolute
}

.viewer-fixed {
    position: fixed
}

.viewer-open {
    overflow: hidden
}

.viewer-show {
    display: block
}

.viewer-hide {
    display: none
}

.viewer-backdrop {
    background-color: rgba(0, 0, 0, .5)
}

.viewer-invisible {
    visibility: hidden
}

.viewer-move {
    cursor: move;
    cursor: -webkit-grab;
    cursor: grab
}

.viewer-fade {
    opacity: 0
}

.viewer-in {
    opacity: 1
}

.viewer-transition {
    -webkit-transition: all .3s;
    transition: all .3s
}

.overl {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background: transparent;
}

.dialog {
    display: none;
    position: absolute;
    z-index: 10001;
    background: #fff;
    box-sizing: border-box;
    border-radius: 0.1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    padding: 0.16rem;
    font-size: 0.14rem;
    color: #303133;
    width: 2.6rem;
    border: 1px solid #ebeef5;
    animation: dialogPop 0.2s cubic-bezier(0.3, 0.85, 0.3, 1.15);
}

.dialog::before,
.dialog::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
}

.dialog[data-placement="bottom"]::before {
    left: var(--arrow-left, 50%);
    top: -0.08rem;
    border-left: 0.07rem solid transparent;
    border-right: 0.07rem solid transparent;
    border-bottom: 0.08rem solid #ebeef5;
    transform: translateX(-50%);
}

.dialog[data-placement="bottom"]::after {
    left: var(--arrow-left, 50%);
    top: -0.065rem;
    border-left: 0.07rem solid transparent;
    border-right: 0.07rem solid transparent;
    border-bottom: 0.08rem solid #fff;
    transform: translateX(-50%);
}

.dialog[data-placement="top"]::before {
    left: var(--arrow-left, 50%);
    bottom: -0.08rem;
    border-left: 0.07rem solid transparent;
    border-right: 0.07rem solid transparent;
    border-top: 0.08rem solid #ebeef5;
    transform: translateX(-50%);
}

.dialog[data-placement="top"]::after {
    left: var(--arrow-left, 50%);
    bottom: -0.065rem;
    border-left: 0.07rem solid transparent;
    border-right: 0.07rem solid transparent;
    border-top: 0.08rem solid #fff;
    transform: translateX(-50%);
}

.dialog[data-placement="right"]::before {
    left: -0.08rem;
    top: var(--arrow-top, 50%);
    border-top: 0.07rem solid transparent;
    border-bottom: 0.07rem solid transparent;
    border-right: 0.08rem solid #ebeef5;
    transform: translateY(-50%);
}

.dialog[data-placement="right"]::after {
    left: -0.065rem;
    top: var(--arrow-top, 50%);
    border-top: 0.07rem solid transparent;
    border-bottom: 0.07rem solid transparent;
    border-right: 0.08rem solid #fff;
    transform: translateY(-50%);
}

.dialog[data-placement="left"]::before {
    right: -0.08rem;
    top: var(--arrow-top, 50%);
    border-top: 0.07rem solid transparent;
    border-bottom: 0.07rem solid transparent;
    border-left: 0.08rem solid #ebeef5;
    transform: translateY(-50%);
}

.dialog[data-placement="left"]::after {
    right: -0.065rem;
    top: var(--arrow-top, 50%);
    border-top: 0.07rem solid transparent;
    border-bottom: 0.07rem solid transparent;
    border-left: 0.08rem solid #fff;
    transform: translateY(-50%);
}

@keyframes dialogPop {
    from { opacity: 0; transform: scale(0.9) translateY(-10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.dialog-content {
    margin: 0 0 0.14rem;
    line-height: 1.5;
    font-size: 0.13rem;
    font-weight: 400;
    color: #666;
    word-break: break-word;
}

.dialog .btns {
    display: flex;
    justify-content: flex-end;
    gap: 0.1rem;
}

.dialog .btn {
    display: inline-block;
    min-width: 0.54rem;
    padding: 0.07rem 0.16rem;
    border-radius: 0.04rem;
    font-size: 0.13rem;
    font-weight: 400;
    cursor: pointer;
    border: 1px solid #dcdfe6;
    transition: all 0.2s;
    line-height: 1;
    margin: 0 !important;
    background: #fff;
}

.dialog .cancel {
    color: #606266;
}

.dialog .confirm {
    border-color: #409eff;
    background: #409eff;
    color: #fff;
    box-shadow: none;
}

@media (max-width: 768px) {
    .cginfo {
        margin-bottom: 0.8rem !important;
    }

    .dialog {
        width: min(4rem, calc(100vw - 0.72rem));
        border-radius: 0.1rem;
        padding: 0.18rem;
        font-size: 0.16rem;
        box-shadow: 0 6px 24px rgba(0,0,0,0.16);
    }

    .dialog-content {
        margin: 0 0 0.16rem;
        font-size: 0.23rem;
        line-height: 1.65;
    }

    .dialog .btns {
        justify-content: flex-end;
        gap: 0.1rem;
    }

    .dialog .btn {
        min-width: 0.76rem;
        padding: 0.11rem 0.18rem;
        border-radius: 0.05rem;
        font-size: 0.23rem;
    }
}


.chat-item {
    float: left;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0.5rem;
    margin: 0.1rem 0
}

.chat-time {
    color: #7c7c7c;
    font-size: .23rem;
    text-align: center;
}

.chat-head {
    display: flex;
    justify-content: center;
    align-items: center;
    width: .66rem;
    height: .66rem;
    cursor: pointer;
    float: left;
}

.chat-head img {
    width: 90%;
    height: 90%;
    border-radius: 50%;
}

.chat-message {
    position: relative;
    align-items: center;
    padding: 0.1rem;
    margin: 0 0.15rem;
    border-radius: 0.08rem;
    max-width: calc(100% - 1.8rem);
    word-break: break-word;
    font-size: .3rem;
    min-height: 0.28rem;
    float: left;
    background: #eee;
    color: #000;
}

.chat-message a {
    color: #1b94f5;
}

.chat-message img {
    width: 100%;
    background: url('/img/load.svg') no-repeat center center, #ffffff;
    background-size: .6rem .6rem;
    border: var(--bd);
    cursor: zoom-in
}

.chat-message:before {
    position: absolute;
    width: 0;
    height: 0;
    left: -0.1rem;
    top: 0.15rem;
    content: '';
    border-right: solid 0.1rem #eee;
    border-top: solid 0.1rem transparent;
    border-bottom: solid 0.1rem transparent
}

.hongbao {
    margin-bottom: .6rem;
    justify-content: center;
    align-items: center;
}

.hongbao a {
    color: #1b34f5;
    font-size: 0.25rem;
    margin-bottom: .2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hongbao a span {
    color: #ff0000;
    margin-left: .3rem;
}



/* 底部浅色优惠券容器 */
.bottom-coupon {
    background-color: #ffff;
    /* border-radius: 10px; */
    /* padding: 5px; */
    margin-bottom: -0.3rem;
    margin-top: 0.8rem;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}

/* 优惠券条样式 */
.coupon-bar {
    background-color: hsl(32.43deg 4% 44.42% / 7%);
    border-radius: 0.05rem;
    padding: 0.08rem 0.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 0.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.coupon-bar:last-child {
    margin-bottom: 0;
}

.coupon-bar:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.coupon-bar .icon {
    width: 0.22rem;
    height: 0.22rem;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.1rem;
    flex-shrink: 0;
}

/* 京东优惠券图标 */
.bottom-coupon .coupon-bar.jd .icon {
    background-image: url('/img/jd.png');
}

/* 淘宝优惠券图标 */
.bottom-coupon .coupon-bar.taobao .icon {
    background-image: url('/img/tb.png');
}

.coupon-bar .text {
    flex: 1;
    font-size: 0.12rem;
    color: #333;
    line-height: 1.4;
}

.coupon-bar .collect-btn {
    background-color: #ff6700;
    color: white;
    border: none;
    padding: 0.04rem 0.12rem;
    border-radius: 0.04rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.12rem;
    font-weight: 500;
    flex-shrink: 0;
}

/* 京东优惠券按钮使用不同颜色 */
.bottom-coupon .coupon-bar.jd .collect-btn {
    background-color: #ff301a;
}

.coupon-bar .collect-btn:hover {
    background-color: #e05a00;
    transform: scale(1.05);
}

.coupon-bar .collect-btn:disabled {
    background-color: #999;
    cursor: not-allowed;
    transform: none;
}

/* 常用路径网格布局 */
.coupon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem;
    margin-bottom: 0.1rem;
}

.coupon-grid {
    display: flex;
    justify-content: space-between;
    margin: 0 -0.05rem;
    text-align: center;
}

.coupon-grid .grid-item {
    width: calc(50% - 0.15rem);
    margin: 0 0.05rem;
    box-sizing: border-box;
}

/* 查看更多按钮样式 */
.show-more {
    width: 100%;
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #d8d8d8;
    padding: 0.07rem 0;
    border-radius: 0.06rem;
    margin-top: 0.12rem;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.13rem;
    font-weight: 500;
}

.show-more:hover {
    background-color: #ffffff;
    color: #bbbbbc;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 0.1rem);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0.2rem;
    box-shadow: 0 0.15rem 0.4rem rgba(0,0,0,0.12);
    z-index: 2000;
    padding: 0.35rem 0.25rem;
    box-sizing: border-box;
    display: none;
    border: 1px solid #f0f0f0;
}
.search-dropdown.show { display: block; }
.search-dropdown .dt {
    font-size: 0.28rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search-dropdown .dt .clear {
    font-weight: normal;
    color: #999;
    font-size: 0.24rem;
    cursor: pointer;
}
.search-dropdown .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.18rem;
    margin-bottom: 0.4rem;
}
.search-dropdown .tags a {
    display: inline-block;
    padding: 0.12rem 0.24rem;
    background: #f5f5f5;
    border-radius: 0.08rem;
    font-size: 0.26rem;
    color: #666;
    text-decoration: none;
    line-height: 1.4;
}
.card a h2,
ts {
    color: #333 !important;
    text-decoration: none;
}
.card a h2 {
    font-size: 0.32rem;
    line-height: 1.4;
    margin-bottom: 0.15rem;
    display: flex;
    align-items: flex-start;
    font-weight: 500;
}
.card a h2 .card-title {
    display: block;
    min-width: 0;
    flex: 1;
}
.card h2 .imgt {
    width: 0.36rem;
    height: 0.36rem;
    margin-right: 0.1rem;
    margin-top: 0.04rem;
    flex-shrink: 0;
    background: none;
    box-shadow: none;
}
.card_table td .imgt {
    background: none;
    box-shadow: none;
}
.card_body {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.2rem;
}
.card_body .thumb {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: cover;
    border-radius: 0.08rem;
    margin-right: 0.2rem;
    flex-shrink: 0;
    background: #f8f8f8;
}
.card_body p {
    color: #999;
    font-size: 0.26rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card .highlight {
    color: #3d85fc !important;
    font-weight: bold;
}

/* 去除iOS下input[type="search"]默认的放大镜图标和清除按钮 */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
    -webkit-appearance: none;
}
