* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 400;
}

html {
    touch-action: manipulation;
}

body {
    background: var(--color-white);
    width: 100%;
    min-height: 100vh;
    font-size: 0;
    zoom: 1;
}

ul,
li {
    list-style: none;
}

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

button {
    border: none;
    background: transparent;
    cursor: pointer;
}

input,
textarea {
    border: none;
    outline: none;
}

img {
    width: 100%;
}

/* 全局变量配置 */
:root {
    --brand-main: #ff6b38;
    --brand-sub: #ff7869;
    --brand-deep: rgb(255, 39, 0);
    --color-text-main: #0f1419;
    --color-text-sub: #536471;
    --color-text-mute: #9B9B9B;
    --color-text-light: #F7F9F9;
    --color-text-error: #ff2700;
    --color-text-btn-disable: #9B9B9B;
    --color-input-bg: #F5F5F5;
    --link-main: #1251C3;
    --link-blue: #06C;
    --bg-page: #f5f5f5;
    --bg-card: #EFF3F4;
    --bg-btn-main: #FF2700;
    --bg-gray-light: #eee;
    --border-gray: rgba(239, 243, 244, .88);
    --color-white: #FFF;
    --color-black: #000;
    --color-dark-222: #222;
    --color-dark-666: #666;
    --font-size-h1: 24px;
    --font-size-h2: 20px;
    --font-size-h3: 18px;
    --font-size-h4: 17px;
    --font-size-subhead-16: 16px;
    --font-size-subhead-15: 15px;
    --font-size-content: 15px;
    --font-size-desc-14: 14px;
    --font-size-desc-13: 13px;
    --font-size-tiny: 12px;
}

html.dark {
    --brand-main: #FF2700;
    --brand-deep: rgb(255, 39, 0);
    --bg-page: #16181C;
    --bg-card: #EFF3F4;
    --color-text-main: #F7F9F9;
    --color-text-light: #F7F9F9;
    --color-text-mute: #9B9B9B;
    --color-text-sub: #8B98A5;
    --fontColor-9b: rgba(155, 155, 155, 1, 1);
    --color-text-error: #ff2700;
    --border-gray: rgba(54, 68, 78, 0.70);
    --bg-btn-main: #FF2700;
    --bg-gray-light: #000;
    --color-dark-222: #222;
    --color-dark-666: #666;
    --link-blue: #06C;
    --brand-sub: #ff7869;
    --color-white: #000;
    --color-black: #FFF;
    --link-main: #1251C3;
}

.icon {
    display: block;
    background-position: top left;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.PostContent-box {
    font-size: var(--font-size-content);
    padding: 24px 12px 0 12px;
    word-wrap: break-word;
    word-break: keep-all;
}

.page-wrap {
    display: block;
    width: 100%;
}

.main-content_big {
    width: 100%;
    padding: 0;
    margin-left: 25px;
    word-break: break-all;
    box-sizing: border-box;
    min-width: 0;
    position: relative;
    border-left: 1px solid var(--border-gray);
    border-right: 1px solid var(--border-gray);
}

.logo {
    width: 187px;
    height: 22px;
    background-image: url(../images/logo_orange.png);
}

.search-wrap {
    position: relative;
    width: 100%;
    margin-top: 11px;
}

/* 下拉面板 默认隐藏 */
.search-dropdown {
    display: none;
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    min-height: 180px;
    background: var(--color-white);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border: 1px solid var(--border-gray);
    box-shadow: 0 4px 15.7px 0 rgba(0, 0, 0, 0.10);
    padding: 30px 20px 20px 20px;
    z-index: 2;
}

/* input聚焦显示下拉 */
.emptyText {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--font-size-content);
    color: var(--bg-gray-light);
}

.search-group {
    display: none;
}

/* 分组标题 */
.group-title {
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-desc-13);
    color: var(--color-text-main);
    opacity: .5;
    position: relative;
    height: 24px;
    line-height: 24px;
}

.arrow-right {
    display: inline-block;
    position: absolute;
    top: 0;
    margin-left: 6px;
    width: 24px;
    height: 24px;
    background-image: url(../images/chevron-left_gray.png);
}

/* 搜索推荐条目 */
.search-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-top: 12px;
    padding-left: 27px;
    cursor: pointer;
    position: relative;
    font-size: var(--font-size-desc-13);
}

.search-item .search-icon {
    left: 0;
}

/* 用户条目 */
.user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-top: 10px;
    font-size: var(--font-size-desc-13);
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.username {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-main);
    font-weight: 700;
    position: relative;
}

.username>span {
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}

.username .verify-tag {
    width: 16px;
    height: 16px;
}

.user-desc {
    font-size: var(--font-size-tiny);
    color: var(--color-text-sub);
    margin-top: 4px;
}

.top-search-box {
    flex: 1;
    position: relative;
    margin-top: 11px;
    z-index: 3;
}

.search-icon {
    position: absolute;
    width: 17px;
    height: 17px;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-main);
    background-image: url(../images/searchIcon.png);
}

.search-input {
    width: 100%;
    font-size: var(--font-size-desc-13);
    height: 38px;
    line-height: 38px;
    padding-left: 36px;
    border-radius: 9999px;
    border: 1px solid var(--brand-deep);
    background: var(--color-white);
    box-shadow: 0 0 4.5px 0 rgba(255, 39, 0, 0.40);
}

.search-input::placeholder {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-sub);
    opacity: 0.56;
}

.header-opt {
    display: flex;
    gap: 14px;
    align-items: center;
}

.opt-icon {
    font-size: 0;
    color: var(--color-text-main);
    cursor: pointer;
}

.opt-icon i {
    width: 38px;
    height: 38px;
    display: block;
    transition: background-image 0.3s ease;
}

.opt-icon .icon-search {
    display: none;
}

.opt-icon .icon-edit {
    background-image: url("../images/dark/edit.png");
}

.opt-icon .icon-edit:hover {
    background-image: url("../images/light/edit.png");
}

.opt-icon .icon-changescheme {
    background-image: url("../images/dark/moon.png");
}

.opt-icon .icon-changescheme:hover {
    background-image: url("../images/light/moon.png");
}

.opt-icon .icon-message {
    background-image: url("../images/dark/message.png");
}

.opt-icon .icon-message:hover {
    background-image: url("../images/light/message.png");
}

.opt-icon .icon-bell {
    background-image: url("../images/dark/bell.png");
}

.opt-icon .icon-bell:hover {
    background-image: url("../images/light/bell.png");
}

.avatar-min {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-gray);
    object-fit: cover;
}

.line {
    width: 100%;
    border-bottom: 1px solid var(--border-gray);
    margin: 12px 0;
}

.tab-bar {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    padding: 10px 0;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    margin: 16px -16px 20px -16px;
    background-color: var(--color-white);
    gap: 36px;
}

.tab-bar::-webkit-scrollbar,.preview-thumb-list::-webkit-scrollbar {
    height: 0 !important;
}

.tab-item {
    color: var(--color-text-sub);
    cursor: pointer;
    position: relative;
    text-align: center;
    font-size: 0;
}

.tab-item a {
    display: block;
    padding: 10px 20px;
    font-size: var(--font-size-h4);
    flex-shrink: 0;
    white-space: nowrap;
}

.tab-item.active a {
    color: var(--brand-main);
    font-weight: 500;
}

/* ========== 帖子卡片 ========== */
.post-card-item {
    padding-bottom: 10px;
    margin: 0 -16px 20px -16px;
    border-bottom: 1px solid var(--bg-page);
}

.post-card {
    padding: 0 16px;
    display: flex;
    gap: 8px;
    padding-bottom: 10px;
}

.post-card:nth-last-of-type(1) {
    margin-bottom: 0 !important;
    border-bottom: none;
}

.post-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.author {
    display: flex;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info .name {
    font-weight: 600;
    font-size: var(--font-size-h4);
    display: flex;
    align-items: center;
    gap: 5px;
}

.verify-tag {
    background-image: url(../images/check-verified.png);
    width: 18px;
    height: 18px;
    display: none !important;
}

.author-info .meta {
    font-size: var(--font-size-content);
    color: var(--color-text-sub);
    line-height: 20px;
    opacity: .88;
}

.post-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-follow {
    border: 1px solid var(--brand-main);
    color: var(--brand-main);
    font-weight: 500;
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    transition: background-color 0.3s ease, color 0.4s ease;
}

.btn_hover:hover {
    background-color: var(--brand-deep);
    border: 1px solid var(--brand-deep);
    color: var(--color-white);
    transition: background-color 0.3s ease, color 0.4s ease;
}

.plus-tag {
    display: block;
    background-image: url(../images/plus.png);
    width: 15px;
    height: 15px;
    transition: background-image 0.3s ease;
}

.btn_hover:hover .plus-tag {
    background-image: url(../images/plus-white.png);
    transition: background-image 0.3s ease;
}

.post-close {
    cursor: pointer;
    background-image: url(../images/dark/close.png);
    width: 20px;
    height: 20px;
}

.post-content {
    padding-top: 12px;
    white-space: pre-wrap;
    line-height: 1.6;
    display: inline;
    position: relative;
}

.post-content .text-box {
    color: rgba(15, 20, 25, 0.88);
    font-size: var(--font-size-content);
    letter-spacing: 0.5px;
    display: inline-block;
    width: 100%;
    line-height: 1.6;
    max-height: calc(1.6em * 4);
    overflow: hidden;
    transition: max-height 0.3s ease;
    vertical-align: bottom;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: normal;
}

.text-box.expand {
    max-height: 9999px;
    display: block;
}

.toggle-text{
    cursor: pointer;
    color: var(--brand-main);
}
.imagesList {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 8px;
    margin-top: 12px;
}

.imagesList .post-img {
    flex: 1;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.imagesList .post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.item-1 {
    gap: 0 !important;
}

.item-1 .post-img {
    aspect-ratio: auto;
    width: 100%;
}

.item-2 .post-img,
.item-4 .post-img {
    width: calc((100% - 8px) / 2);
    min-width: calc((100% - 8px) / 2);
    max-width: calc((100% - 8px) / 2);
}

.item-3 .post-img,
.item-5 .post-img,
.item-6 .post-img {
    width: calc((100% - 8px*2) / 3);
    min-width: calc((100% - 8px*2) / 3);
    max-width: calc((100% - 8px*2) / 3);
}

.post-content .gray-text {
    color: var(--color-text-main);
}

.post-content .Post_HashTag {
    color: var(--brand-main);
    cursor: pointer;
}

.post-content .Post_AtTag {
    color: var(--brand-main);
    cursor: pointer;
}

.post-content .red-tag {
    color: var(--brand-main);
    font-weight: 500;
}

.img-row {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.img-row img {
    flex: 1;
    border-radius: 8px;
    width: 0;
}

.post-action {
    position: relative;
}

.post-action-body {
    display: flex;
    position: relative;
    justify-content: space-between;
    color: var(--color-text-main);
    padding-top: 16px;
    padding-bottom: 16px;
}

.action-item,
.action-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.action-item span {
    font-size: var(--font-size-desc-14);
    color: var(--color-text-sub);
    opacity: .88;
}

.action-item i {
    display: block;
    width: 16px;
    height: 16px;
}

.action-item-message {
    background-image: url(../images/light/message-dots-square.png);
}

.action-item-message {
    background-image: url(../images/light/message-dots-square.png);
}

.action-item-Retweet {
    background-image: url(../images/dark/Retweet.png);
}

.action-item-bookmark {
    background-image: url(../images/dark/bookmark.png);
}

.marked .action-item-bookmark {
    background-image: url(../images/light/bookmarked.png);
    transition: background-image 0.3s ease;
}

.action-item-like {
    background-image: url(../images/light/like.png);
    transition: background-image 0.3s ease;
}

.liked .action-item-like {
    background-image: url(../images/light/liked.png);
    transition: background-image 0.3s ease;
}

.action-item-share {
    background-image: url(../images/dark/share.png);
}

.action-item-share2 {
    background-image: url(../images/share_2.png);
}

.loginBtn {
    width: 38px;
    height: 38px;
    cursor: pointer;

}

.loginBtn a {
    cursor: pointer;
    width: 100%;
    height: 100%;
    border-radius: 99999px;
    position: relative;
}

.unlogin {
    width: auto !important;
    height: auto;
    display: block;
    border-radius: 999px;
    text-align: center;
}

.unlogin a {
    display: block;
    background-color: var(--bg-page);
    font-size: var(--font-size-content);
    color: var(--color-text-main);
    padding: 8px 12px;
}

.login-keep-checkbox {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
}

.check-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    position: relative;
    background: var(--bg-gray-light);
    border: 1px solid var(--bg-gray-light);
}

.check-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid transparent;
    border-width: 0 1px 1px 0;
    transform: rotate(35deg);
}

.check-box.checked {
    background-color: var(--bg-btn-main) !important;
    border: none;
}

.check-box.checked::after {
    border-color: #fff;
}

.check-text {
    font-size: var(--font-size-tiny);
    color: var(--color-dark-666);
}

.memberFaceLink {
    display: block;
    border: 1px solid var(--color-text-error);
    padding: 2px;
}

.memberFaceLink img {
    width: 100%;
    height: 100%;
    border-radius: 99999px;
    overflow: hidden;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.userFacechevronDown {
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 12px;
    height: 12px;
    background-image: url(../images/userFacechevron-down.png);
}

.memberCenter_postList {
    border-top: 1px solid var(--border-gray);
    margin: 20px -16px;
    padding: 20px 16px
}

#publishing-text,
#publishing-comment-text {
    width: 100%;
    height: 90px;
    padding: 12px 16px;
    font-size: var(--font-size-content);
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--bg-page);
    color: rgba(83, 100, 113, .56);
    margin-top: 20px;
    resize: none;
    outline: none;
}

#publishing-text:focus,
#publishing-comment-text:focus {
    color: var(--color-text-sub);
    border-color: var(--brand-main);
    background-color: var(--color-white);
}

#publishing-text::placeholder,
#publishing-comment-text::placeholder {
    font-size: var(--font-size-content);
    color: var(--color-text-sub);
    opacity: 0.56;
}

.header-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 3px 30px 0 rgba(0, 0, 0, 0.35);
    padding: 16px 12px;
    display: none;
    z-index: 99;
    overflow: hidden;
}

.header-dropdown-menu.show {
    display: block;
}

.dpMenu-1,
.dpMenu-2 {
    position: relative;
}

.dpMenu-2 {
    display: none;
}

/* 菜单项通用样式 */
.menu-item,
.MenuMemberCenter {
    display: flex;
    height: 38px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 9px;
    font-size: var(--font-size-content);
    gap: 8px;
    cursor: pointer;
    margin-top: 4px;
}

.MenuMemberCenter {
    padding: 0;
    height: auto !important;
}

.MenuMemberFace {
    width: 32px;
    height: 32px;
    border-radius: 32px;
    overflow: hidden;
}

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

.menuMemberName {
    color: var(--color-text-main);
    font-size: var(--font-size-content);
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    flex: 1;
}

.header-menuicon {
    width: 20px;
    height: 20px;
}

.language {
    background-image: url(../images/language.png);
}

.arrow {
    background-image: url(../images/chevron-left.png);
}

.setting {
    background-image: url(../images/setting.png);
}

.help {
    background-image: url(../images/help.png);
}

.exit {
    background-image: url(../images/exit.png);
}

/* 语言项高亮背景 */
.menu-item.active,
.menu-item:hover {
    background: var(--bg-page);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.20);
    border-radius: 8px;
}

.menu-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.menu-text {
    flex: 1;
    font-weight: 500;
}

.dpMenu-2 .active {
    height: auto;
}

.dpMenu-2 .menu-item {
    display: block;
    height: auto !important;
    position: relative;
    margin-top: 4px;
}

.dpMenu-2 .language_title {
    display: block;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    font-size: var(--font-size-content);
    gap: 8px;
}

.dpMenu-2 .title {
    display: flex;
    padding: 8px 0;
}

.dpMenu-2 .title .menu-text {
    font-size: var(--font-size-h2);
}

.back {
    width: 24px;
    height: 24px;
    background-image: url(../images/chevron-right.png);
}

.dpMenu-2 .menu-item.active {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
}

.dpMenu-2 .languageSearch {
    margin-top: 4px;
}

.dpMenu-2 .languageSearch .top-search-box {
    margin-top: 0;
    padding: 4px 0;
}

.dpMenu-2 .languageSearch .top-search-box .lang-search-input {
    width: 100%;
    font-size: var(--font-size-desc-13);
    height: 36px;
    padding-left: 34px;
    border-radius: 9999px;
    border: none;
    background: var(--bg-gray-light);
    box-shadow: none;
}

.dpMenu-2 .languageSearch .top-search-box .lang-search-icon {
    width: 10px;
    height: 10px;
}

.languageCheck {
    width: 16px;
    height: 16px;
    background-image: url(../images/check.png);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8px;
    display: none;
}

.dpMenu-2 .menu-item.active .languageCheck {
    display: block;
}

.dpMenu-2 .menu-text {
    display: block;
}

.menu-fontColor-sub-text {
    display: block;
    font-size: 12px;
    font-weight: 400;
}

.arrow {
    width: 24px;
}

.upload-wrap {
    display: none;
    align-items: center;
    margin-top: 12px;
}

.upload-list {
    display: flex;
    gap: 4px;
    position: relative;
}

#preview-wrap {
    display: flex;
    gap: 4px;
    position: relative;
}

/* 已上传图片卡片 */
.upload-item {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.upload-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 删除按钮 */
.del-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background-image: url(../images/uploadDel.png);
}

/* 虚线上传框 */
.upload-box {
    width: 90px;
    height: 90px;
    border: 1px dashed var(--bg-gray-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    background-color: var(--color-white);
}

.upload-box:hover {
    border-color: var(--color-text-mute);
    background: var(--color-text-light);
}

.upload-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -24px;
    margin-left: -24px;
    width: 48px;
    height: 48px;
    background-image: url(../images/uploadPlus.png);
    opacity: .25;
}

.upload-box:hover .upload-icon {
    opacity: .25;
}

/* 隐藏原生input */
.file-input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    inset: 0;
    font-size: 0;
    cursor: pointer;
    z-index: 10;
    line-height: 0;
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
}

.shareBtn .file-input::-webkit-file-upload-button {
    visibility: hidden;
    display: none;
    width: 0;
    height: 0;
}

.publishimg-preview-wrap {
    margin-top: 8px;
}

.publishimg-preview-wrap span {
    width: 50px;
    height: 50px;
    display: block;
    position: relative;
}

.publishimg-preview-wrap span .del-btn {
    top: 0;
    right: 0;
}

.publishimg-preview-wrap span img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.publishing-wrap {
    width: 100%;
    position: relative;
}

.suggest-pop {
    position: absolute;
    width: 320px;
    background: var(--color-white);
    border: 1px solid var(--bg-gray-light);
    border-radius: 4px;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
}

.pop-header {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-main);
    padding: 4px 0;
    opacity: 0.8;
    background: rgba(255, 39, 0, 0.10);
}

.pop-list {
    max-height: 240px;
    overflow-y: auto;
}

.pop-list .item {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-main);
    margin-top: 4px;
    padding: 4px 0;
    cursor: pointer;
    opacity: .8;
}

.pop-list .item:hover {
    opacity: 0.8;
    background: rgba(255, 39, 0, 0.10);
}

#login,
#forgetPwd {
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-gray-light);
}

#login .FullPage,
#forgetPwd .FullPage {
    width: 100%;
    position: absolute;
    background-color: var(--color-white);
    top: 0;
    left: 0;
}

.FullScreenModal {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 333;
    display: none;
}

.register-tips-header {
    color: var(--color-text-main);
    font-size: var(--font-size-h1);
    font-weight: 600;
    line-height: 24px;
}

#yzm_tipsModal {
    display: block;
}

#yzm_tipsModal .lr-modal-box,
#yzm_ResendCode .lr-modal-box {
    width: 400px;
    height: auto !important;
    min-height: auto !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 24px 20px !important;
}

.yzmtipsLine {
    display: flex;
}

.zym_body {
    margin-top: 20px;
    border-radius: 20px;
    border: 2px solid var(--bg-card);
    overflow: hidden;
}

.yzm_left {
    flex: 1;
}

.yzm_right {
    width: 28px;
    height: 28px;
}

.yzm_right .close {
    width: 28px;
    height: 28px;
    background-image: url("../images/x.png");
    cursor: pointer;
}

.zym_body .yzmtipsLine {
    padding: 15px 20px;
    border-bottom: 2px solid var(--bg-card);
    cursor: pointer;
}

#yzm_tipsModal .zym_body .yzmtipsLine:hover {
    background-color: var(--bg-gray-light);
}

.zym_body .yzmtipsLine:nth-last-of-type(1) {
    border-bottom: 0;
}

.zym_body .yzm_left {
    font-size: var(--font-size-h4);
    color: var(--color-text-sub);
    font-weight: 400;
    text-align: left;
}

#ipt_NewEmail {
    display: block;
    width: 100%;
    height: 100%;
    font-size: var(--font-size-h4);
    color: var(--color-text-sub);
}

.RightArrow {
    width: 28px;
    height: 28px;
    background-image: url("../images/chevron-left.png");
    opacity: .5;
}

.btn_yzm {
    flex: 1;
    height: 40px;
    border-radius: 20px;
    border: 2px solid var(--bg-card);
    font-size: var(--font-size-h4);
}

.yzm_cancle {
    color: var(--color-text-sub);
}

.yzm_confirm {
    background-color: var(--bg-btn-main);
    color: var(--color-white);
}

#yzm_ResendCode .back {
    width: 28px;
    height: 28px;
    opacity: .5;
    cursor: pointer;
}

/* 登录/注册 全屏遮罩底层 */
.login-modal-mask {
    position: relative;
    padding-top: 52px;
    width: 100%;
    height: 100vh;
}

/* 弹窗白色容器 */
.lr-modal-box {
    width: 90%;
    max-width: 480px;
    min-height: 700px;
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    margin: 0 auto;
    margin-top: 52px;
}

/* 表单通用 */
.reg-form-item {
    margin-bottom: 16px;
}

.reg-form-label {
    display: block;
    font-size: var(--font-size-subhead-16);
    color: var(--color-dark-222);
    margin-bottom: 12px;
    font-weight: 500;
}

.reg-form-input,
.reg-custom-select-box {
    width: 100%;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--bg-card);
    background: var(--color-white);
    padding: 0 16px;
    font-size: var(--font-size-subhead-15);
    color: var(--color-text-sub);
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-left: 8px;
}

.reg-custom-select-box {
    cursor: pointer;
}

.reg-custom-select {
    flex: 1;
    position: relative;
}

.reg-select-text {
    color: var(--color-text-sub);
    opacity: .7;
}

.reg-form-input::placeholder {
    color: var(--color-text-sub);
    opacity: .7;
}

.reg-form-input:focus,
.reg-custom-select-box:focus {
    color: var(--color-text-sub);
    border-color: var(--brand-main);
    background-color: var(--color-white);
}

.reg-form-item .inputError {
    border: none;
    position: relative;
}

.inputErrorBorder {
    border: 1px solid var(--color-text-error);
}

.inputError .reg-form-input {
    border-radius: 4px;
    border: 1px solid var(--color-text-error);
    position: relative;
}

.BaseInfoErrorTips {
    font-size: 14px !important;
    padding: 4px 8px !important;
    padding-left: 14px !important;
    color: var(--color-text-error) !important;
    text-align: center;
    display: none;
}

.reg-form-btn {
    width: auto;
    min-width: 120px;
    height: 40px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--bg-card);
    margin-left: 12px;
    color: var(--color-text-sub);
    font-size: var(--font-size-desc-14);
}

#captchaImg {
    width: 120px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--bg-card);
    margin-left: 12px;
    cursor: pointer;
}

#forgetPwd .email-modal-box {
    display: block !important;
}

#forgetPwd .reg-form-input {
    border-radius: 12px;
}

#forgetPwd .reg-form-item {
    margin-bottom: 16px !important;
}

#forgetPwd #emailInput {
    flex: 1;
    position: relative;
}

#forgetPwd .btn-login-register {
    margin-bottom: 0 !important;
}

/* 下拉箭头 */
.reg-select-arrow {
    width: 24px;
    height: 24px;
    background-image: url(../images/chevron-down2.png);
}

/* 生日三列下拉 */
.reg-birth-row {
    width: 100%;
    display: flex;
    gap: 12px;
}

.reg-birth-row .reg-custom-select-box {
    flex: 1;
}

/* 下拉弹出面板 */
.reg-select-dropdown-panel {
    position: absolute;
    top: 40px;
    left: 0;
    width: 115px;
    max-height: 200px;
    padding: 8px;
    gap: 4px;
    border-radius: 4px;
    border: 1px solid var(--bg-card);
    background: var(--color-white);
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    z-index: 99;
    display: none;
}

.reg-select-option {
    padding: 4px;
    font-size: var(--font-size-desc-13);
    cursor: pointer;
    opacity: 0.8;
    margin-top: 4px;
}

.reg-select-option.active {
    background: rgba(255, 39, 0, 0.10);
    color: var(--bg-btn-main);
}

.reg-select-option:hover:not(.active) {
    color: var(--bg-btn-main);
    background: rgba(255, 39, 0, 0.10);
}

/* 邮箱小字提示 */
.reg-mail-tip {
    margin-top: 8px;
    font-size: 12px;
    color: var(--color-dark-666);
    line-height: 20px;
    display: none;
}

.reg-mail-tip a {
    color: var(--link-blue);
    text-decoration: none;
}

.reg-mail-tip a:hover {
    text-decoration: underline;
}

/* 按钮组 */
.reg-btn-wrap {
    position: relative;
}

/* 关闭按钮 */
.modal-close {
    position: absolute;
    width: 28px;
    height: 28px;
    right: 12px;
    top: 12px;
    cursor: pointer;
    background-image: url("../images/dark/close.png");
}

.checkSuccess {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -12px;
    display: none;
}

.inputError .checkSuccess {
    display: block;
    background-image: url("../images/error.png");
}

.inputError input::placeholder {
    color: var(--color-text-sub);
}

/* 输入检测正确时显示 */
.success .checkSuccess {
    display: block;
    background-image: url("../images/check_green.png");
}

/* 标题 */
.modal-title {
    text-align: center;
    font-size: var(--font-size-h1);
    font-weight: bold;
    color: var(--color-dark-222);
}

/* 顶部提示文字 */
.modal-tip {
    text-align: center;
    color: var(--color-dark-666);
    font-size: var(--font-size-desc-14);
    line-height: 1.6;
    margin-top: 12px;
    margin-bottom: 20px;
}

.modal-tip a {
    color: var(--link-main);
    text-decoration: none;
}

/* 输入框容器 */
.form-item {
    display: flex;
    align-items: center;
    border: 1px solid var(--bg-page);
    border-radius: 4px;
    height: 40px;
    gap: 10px;
    padding: 0 8px;
    margin-top: 8px;
    position: relative;
}

.inputError {
    border: 1px solid var(--color-text-error);
    background: var(--bg-page);
}

.errorTips {
    display: none;
    text-align: right;
    color: var(--color-text-error);
}

/* 显示错误提示 */
.showErrorTips .errorTips {
    display: block;
}

.form-item input {
    flex: 1;
    border: none;
    outline: none;
    font-size: var(--font-size-content);
    color: var(--color-text-sub);
}

.form-item input::placeholder {
    color: var(--color-text-sub);
    opacity: .5;
}

.icon-mail,
.icon-lock,
.icon-eye {
    width: 20px;
    height: 20px;
}

.icon-mail {
    background-image: url(../images/letter.png);
}

.icon-lock {
    background-image: url(../images/lock.png);
}

.icon-eye {
    transition: background-image 0.3s ease;
}

.eye-open {
    cursor: pointer;
    background-image: url(../images/eye.png);
}

.eye-close {
    cursor: pointer;
    background-image: url(../images/eye-off.png);
}

/* 文字链接行 */
.otherLink {
    padding: 16px 0;
}

.link-row {
    display: flex;
    font-size: var(--font-size-tiny);
    line-height: 20px;
}

.forget-pwd {
    flex: 1;
    color: var(--link-main);
    text-decoration: none;
}

.link-row span {
    color: var(--color-dark-666);
}

.register-link {
    color: var(--link-main);
    text-decoration: none;
    margin-left: 4px;
}

/* 登录主按钮 */
.btn-login-register {
    width: 100%;
    height: 40px;
    border-radius: 30px;
    font-size: var(--font-size-h4);
    color: var(--color-text-light);
    font-weight: 500;
    background-color: var(--bg-btn-main);
    margin: 12px 0 36px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-login-register:disabled {
    border: none;
    font-size: var(--font-size-h4);
    color: var(--color-text-mute);
    background-color: var(--bg-page);
    cursor: not-allowed;
}

/* 分割线 */
.split-line {
    display: flex;
    align-items: center;
    color: var(--color-dark-666);
    margin-bottom: 24px;
}

.split-line::before,
.split-line::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--bg-gray-light);
}

.split-line span {
    padding: 0 16px;
    font-size: var(--font-size-h4);
    color: var(--color-text-mute);
}

/* Google登录按钮 */
.btn-google {
    display: flex;
    width: 100%;
    height: 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 93px;
    border: 1px solid rgba(83, 100, 113, 0.30);
    font-size: var(--font-size-subhead-15);
    color: var(--color-text-main);
    font-weight: 500;
}

.register-modal-box .btn-google {
    margin-bottom: 24px;
}

.google-icon {
    width: 24px;
    height: 24px;
    background-image: url(../images/googleLogo.png);
}

/* 顶部下拉按钮组 */
.top-select-group {
    display: flex;
    gap: 16px;
    justify-content: left;
    margin-bottom: 48px;
    margin-top: 20px;
    position: relative;
    z-index: 333;
}

.select-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 100px;
    background: rgba(255, 39, 0, 0.20);
    font-size: var(--font-size-content);
    cursor: pointer;
    position: relative;
    height: 52px;
}

.select-btn span {
    font-size: var(--font-size-content);
    font-weight: 500;
}

.select-btn i {
    width: 24px;
    height: 24px;
}

.top-select-wrap {
    position: absolute;
    display: none;
    left: 0;
    top: 52px;
    border-radius: 12px;
    background: var(--color-white);
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.10);
    z-index: 3;
}

.top-select-wrap li {
    display: flex;
    white-space: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    margin-top: 4px;
    transition: background-color 0.3s ease, color 0.4s ease;
}

.top-select-wrap .selected,
.top-select-wrap li:hover {
    background-color: var(--bg-page);
}

.top-select-wrap li:nth-of-type(1) {
    margin-top: 0 !important;
}
.top-select-wrap li a{
    width: 100%;
    height: 100%;
    display: block;
    padding: 14px 20px;
}
.chevron-down {
    background-image: url(../images/chevron-down.png);
}

/* 整体左右布局容器 */
.policy-wrap {
    display: flex;
    gap: 60px;
}

/* 左侧侧边栏 */
.policy-sidebar {
    width: 220px;
    flex-shrink: 0;
    margin-left: 186px;
    padding-top: 92px;
}

.sidebar-title {
    font-size: var(--font-size-h1);
    font-weight: 600;
    margin-bottom: 24px;
}

.policy-sidebar-menu {
    padding-left: 20px;
}

/* 修改后：policy-menu-item 代替 menu-item */
.policy-menu-item {
    font-size: var(--font-size-content);
    margin: 12px 0;
    padding-left: 4px;
    list-style: disc;
    cursor: pointer;
}

.policy-menu-item::marker {
    color: var(--color-dark-222);
    font-size: var(--font-size-content);
}

.policy-menu-item.active {
    color: var(--color-text-error);
}

/* 右侧正文区域 */
.policy-content {
    flex: 1;
    max-width: 570px;
}

.content-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 12px;
}

.effect-date {
    color: var(--color-dark-666);
    font-size: var(--font-size-content);
    margin-bottom: 40px;
}

.content-block {
    margin-bottom: 36px;
}

.content-subtitle {
    font-size: var(--font-size-h2);
    font-weight: 600;
    margin: 40px 0 24px;
}

.text-paragraph {
    font-size: var(--font-size-subhead-15);
    color: rgba(0, 0, 0, 0.88);
    margin-top: 24px;
}

.text-list {
    padding-left: 0;
    margin-bottom: 16px;
}

.text-list li {
    font-size: var(--font-size-content);
    line-height: 1.75;
    margin: 6px 0;
}

.reg-btn-submit {
    margin: 0;
    margin-top: 8px;
}

.reg-btn-login {
    display: block;
    line-height: 40px;
    text-align: center;
    color: var(--color-text-mute);
    background-color: var(--color-white);
    border: 1px solid var(--bg-card);
    margin: 0;
    margin-top: 12px;
}

.register-modal-box,
.email-modal-box {
    overflow: hidden;
}

.email-modal-box {
    display: none;
}

.emailCheck {
    width: 100%;
    height: 580px;
    display: flex;
    flex-direction: column;
}

.email-modal-box .reg-form-item {
    margin-bottom: -4px !important;
}

.email-modal-box .back {
    position: absolute;
    top: 12px;
    left: 12px;
    cursor: pointer;
}

.email-modal-box .close {
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 12px;
    right: 12px;
    background-image: url(../images/dark/close.png);
}

.email-modal-box .reg-mail-tip {
    position: relative;
    padding-left: 16px;
    color: var(--color-text-sub);
}

.email-modal-box .reg-btn-wrap {
    margin-top: auto;
}

.email-modal-box .reg-btn-continue {
    margin-bottom: 0 !important;
}

.info-circle {
    width: 12px;
    height: 12px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -6px;
    background-image: url(../images/info-circle.png);
}

.fullPageErrorModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 10000;
}

.fullPageErrorModal .ModalTipsBody {
    display: inline-block;
    width: auto;
    height: auto;
    min-width: 200px;
    text-align: center;
    border-radius: 999px;
    padding: 20px 40px;
    font-size: var(--font-size-content);
    color: var(--color-white);
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* 顶部横幅轮播 */
.event-banner-wrap {
    width: 973px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.event-banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-banner-text {
    position: absolute;
    left: 32px;
    top: 131px;
    z-index: 3;
}

.event-banner-desc {
    font-size: var(--font-size-h2);
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.80);
    margin-bottom: 12px;
    line-height: 1;
}

.eventGrayModal {
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(102, 102, 102, 0.00) 0%, rgba(27, 27, 27, 0.72) 61.32%, var(--color-black) 86.54%);
    position: absolute;
    top: 0;
    left: 0;
}

.event-banner-title {
    font-size: 40px;
    color: var(--color-white);
    font-weight: 700;
    line-height: 1;
}

/* 横幅下方缩略图 */
.event-banner-thumbs {
    position: absolute;
    display: flex;
    gap: 10px;
    bottom: 62px;
    left: 19px;
    z-index: 3;
}

.event-banner-thumb-item {
    width: 67px;
    height: 40px;
    border-radius: 8px;
    opacity: 0.4;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.event-banner-thumb-item:hover,
.event-banner-thumb-actived {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.event-banner-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 博主信息栏 */
.event-author-bar {
    width: 973px;
    height: 132px;
    background: var(--bg-page);
    position: relative;
}

.event-top-author-info {
    display: flex;
    padding: 16px 19px;
    align-items: center;
    justify-content: space-between;
}

.event-author-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.event-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-btn-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 24px;
    font-weight: bold;
}

.event-author-info h3 {
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: var(--color-text-main);
}

.event-author-sub {
    font-size: var(--font-size-content);
    color: var(--color-text-sub);
    margin-top: 4px;
}

.event-follow-btn {
    padding: 8px 20px;
    border-radius: 999px;
    color: var(--color-text-light);
    background-color: var(--color-text-main);
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.event-follow-btn::after {
    font-size: var(--font-size-content);
    font-weight: 500;
}

.event-follow-btn:hover {
    background-color: var(--color-dark-222);
}

.event-followed {
    background-color: var(--bg-gray-light) !important;
    color: var(--color-text-main);
    border: 1px solid var(--color-text-sub);
    opacity: .5;
}

.event-followed .plus-tag {
    display: none;
}

/* 导航标签 */
.event-tab-wrap {
    display: flex;
    left: 16px;
    gap: 24px;
    position: absolute;
    bottom: 0;
}

.event-tab-item {
    padding: 10px 20px;
    font-size: var(--font-size-h4);
    color: var(--color-text-sub);
    cursor: pointer;
    position: relative;
}

.event-tab-item.active {
    color: var(--bg-btn-main);
    border-bottom: 2px solid var(--bg-btn-main);
}

/* 最新活动区域 */
.event-section-wrap {
    padding: 28px 20px;
}

.event-section-title {
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 16px;
}

/* 活动卡片列表 */
.event-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 24px;
}

.event-listBlock {
    display: block;
}

.event-card-post-list {
    display: none;
    border-radius: 12px;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    overflow: hidden;
    padding: 20px !important;
    margin: 0 !important;
}

.event-card-item {
    flex: 1;
    width: calc((100% - 24px * 3) / 4);
    min-width: calc((100% - 24px * 3) / 4);
    max-width: calc((100% - 24px * 3) / 4);
    flex-direction: column;
    gap: 12px;
}

.event-card-img-box {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
}

.event-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-title {
    font-size: var(--font-size-h4);
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 20px;
    margin-top: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-card-desc {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-sub);
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tech-tab-top {
    display: flex;
    gap: 12px;
    padding-bottom: 20px;
    margin-top: 20px;
}

.tech-tab-top-item {
    border-radius: 12px;
    font-weight: 500;
    background: var(--bg-page);
    font-size: var(--font-size-h4);
    color: var(--color-text-sub);
    cursor: pointer;
    opacity: .7;
}

.tech-tab-top-item.active {
    color: var(--color-text-main);
    opacity: 1;
}

.tech-tab-top-item a {
    font-weight: 500;
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 20px;
}

/* 板块标题栏 */
.tech-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 8px;
    padding: 0 4px;
}

.tech-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
}

.tech-refresh-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-dark-666);
    font-size: 14px;
    cursor: pointer;
}

/* 视频卡片列表 一行4个 flex布局 */
.tech-video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 16px;
    padding: 0 4px;
    padding-bottom: 32px;
}

.tech-video-item {
    width: calc((100% - 16px * 3) / 4);
    display: flex;
    flex-direction: column;
}

.tech-video-img-box {
    width: 100%;
    aspect-ratio: 219 / 140;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.tech-video-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 视频时长角标 */
.tech-video-time {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

.tech-video-title {
    font-size: var(--font-size-content);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    margin-top: 12px;
    color: var(--color-text-main);
}

.tech-video-author {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: var(--font-size-desc-13);
    color: var(--color-text-sub);
    margin-top: 4px;
}

.tech-author-mini {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
}

.tech-author-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文章板块 */
.tech-article-wrap {
    margin-left: -24px;
    margin-right: -24px;
    margin-top: -20px;
    padding: 0 24px;
}

.tech-section-body {
    display: flex;
    gap: 16px;
    margin-top: 4px;
    align-items: flex-start;
}

.tech-article-meta {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-sub);
    display: flex;
    align-items: center;
    gap: 4px;
}

.tech-article-meta span {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-sub);
}

.tech-article-meta .avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.tech-article-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tech-article-right {
    width: 200px;
    aspect-ratio: 5 / 2;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.tech-article-title {
    font-size: var(--font-size-content);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
}

.tech-article-desc {
    font-size: 12px;
    color: var(--color-text-main);
    opacity: .5;
}

/* 文章底部统计栏 */
.tech-article-stat {
    display: flex;
    gap: 24px;
    font-size: 12px;
    color: var(--color-text-sub);
    margin-top: 8px;
}

.tech-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tech-stat-item i {
    width: 16px;
    height: 16px;
}

.fullLine {
    height: 16px;
    padding: 0 16px;
    margin: 0 -16px 20px -16px;
    border-bottom: 1px solid var(--border-gray);
}

.tech-article-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-card);
}

.tool-icons {
    position: relative;
}

/* 表情面板改成贴在文本域底部、居中/靠右 */
.emoji-panel {
    display: none;
    position: absolute;
    width: 100%;
    left: 0;
    background: var(--color-white);
    border: 1px solid var(--bg-gray-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 12px;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.emoji {
    font-size: 18px;
    text-align: center;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
}

.emoji:hover {
    background-color: var(--bg-page);
}

.quick_post,
.quick_comment {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 100;
}

.quick_post #quick_post,
.quick_comment #quick_commentBox {
    border-radius: 12px;
    padding: 16px 20px;
    width: 600px;
    background-color: var(--color-white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#quick_post .register-tips-header {
    font-size: var(--font-size-h4);
    color: var(--color-text-main);
}

#quick_post .close {
    opacity: 1;
}

#topMenu_member {
    height: auto !important;
}

.MenuMemberCenter {
    width: 100%;
    margin-top: 0 !important;
}

/* 会员中心 */
.membercenter-page {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

/* 顶部返回栏 */
.membercenter-header {
    margin-top: 12px;
}

.membercenter-back {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.membercenter-back span {
    font-size: var(--font-size-h2);
    font-weight: 600;
}

/* 封面大图 */
.membercenter-banner {
    /* width: 100%; */
    height: 200px;
    margin: 0 -16px;
    position: relative;
    margin-top: 8px;
    background-color: var(--bg-page);
}

.membercenter-banner img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
}

/* 个人信息区 */
.membercenter-info {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding-left: 134px;
}

.membercenter-avatar-box {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 6px solid var(--color-white);
    overflow: hidden;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    top: -60px;
}

/* 桌面顶部右侧按钮 */
.top-header-opt {
    position: absolute;
    right: 0;
    top: 11px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#memberCenter_fansNum,
#memberCenter_FollowNum,
#memberCenter_LikesNum {
    font-weight: 600;
    color: var(--color-text-main);
}

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

.membercenter-info-right {
    flex: 1;
    position: relative;
    padding: 12px 0;
}

.membercenter-name-row {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    line-height: 1;
}

.membercenter-username {
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--color-text-main);
}

.membercenter-edit-btn {
    width: 122px;
    height: 36px;
    text-align: center;
    border-radius: 666px;
    border: 1px solid var(--bg-card);
    background-color: var(--color-white);
    position: absolute;
    right: 0;
    top: 12px;
    font-size: var(--font-size-content);
    font-weight: 500;
}

.friednbuttons {
    display: flex;
    gap: 8px;
}

#leaveMessage {
    border: 1px solid var(--color-text-main);
    opacity: 0.7;
    color: var(--color-text-main);
}

.membercenter-data-row {
    margin-top: 4px;
    font-size: var(--font-size-subhead-15);
    color: var(--color-text-sub);
}

.membercenter-data-item {
    margin-left: 12px;
    font-size: var(--font-size-content);
    color: var(--color-text-sub);
}

.membercenter-data-item:nth-of-type(1) {
    margin-left: 0;
}

.membercenter-desc {
    font-size: var(--font-size-content);
    color: var(--color-text-sub);
    margin-top: 4px;
}

/* 底部标签栏 */
.membercenter-tab-bar {
    margin: 0 -16px;
    padding: 10px 0;
    display: flex;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    margin-top: 12px;
    margin-bottom: 20px;
}

.membercenter-tab-item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: var(--font-size-h4);
    color: var(--color-text-sub);
    position: relative;
    cursor: pointer;
}

.membercenter-tab-item.active {
    color: var(--bg-btn-main);
    font-weight: 500;
}

.post-delete {
    width: 24px;
    height: 24px;
    background-image: url('../images/trash-03.png');
    opacity: .5;
    cursor: pointer;
}

.memberBack {
    width: 20px;
    height: 20px;
    background-image: url("../images/Arrow_Back.png");
}

.video-detail-page {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    padding-top: 20px;
}

/* 视频播放器区域 */
.video-player-box {
    width: 100%;
    position: relative;
}

.video-cover {
    width: 100%;
    display: block;
}

.video-control-layer {
    position: absolute;
    left: 0;
    bottom: 30px;
    width: 100%;
    padding: 0 12px;
}

.play-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin-bottom: 10px;
}

.progress-dot {
    width: 8px;
    height: 8px;
    background: var(--color-white);
    border-radius: 50%;
    margin-top: -2.5px;
    margin-left: 30%;
}

.video-bottom-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-white);
    font-size: 13px;
}

.tool-right-group {
    display: flex;
    gap: 16px;
    align-items: center;
}

.tool-item {
    cursor: pointer;
}

.video-view-info {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 4px 12px;
    color: var(--color-white);
    font-size: 12px;
}

.phone-btn {
    border: 1px solid var(--color-white);
    padding: 2px 8px;
    border-radius: 12px;
}

#VideoDetail .main-content {
    border-left: none;
    border-right: none;
}

/* 标题与互动数据 */
.video-title-area {
    padding: 24px 12px;
}

.video-title {
    font-size: var(--font-size-h2);
    font-weight: 500;
    line-height: 1;
}

.video-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-main);
    font-size: var(--font-size-subhead-15);
    line-height: 1;
    margin-top: 12px;
}

.video-meta-row span {
    opacity: .5;
}

.event-like span {
    opacity: 1;
}

.video-title-area .liked {
    opacity: 1 !important;
}

.video-title-area .liked span {
    opacity: .5 !important;
}

.action-tool-group {
    display: flex;
    gap: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* 博主卡片 */
.author-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 16px;
    border-top: 1px solid var(--border-gray);
}

.author-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-name {
    font-size: var(--font-size-h4);
    font-weight: 600;
    line-height: 1;
}

.author-desc {
    line-height: 1;
    font-size: var(--font-size-content);
    color: var(--color-text-sub);
    margin-top: 4px;
}

.follow-btn {
    border: 1px solid var(--color-text-error);
    color: var(--color-text-error);
    background: var(--color-white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 15px;
}

.author-desc-text {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-main);
    opacity: .7;
    margin-bottom: 24px;
}

.action-btn i {
    width: 20px;
    height: 20px;
}

.video-like {
    background-image: url("../images/heart_selected.png");
}

/* 评论区域 */
.comment-wrap {
    border-top: 1px solid var(--border-gray);
    padding-top: 16px;
}

.comment-title {
    font-size: var(--font-size-h4);
    font-weight: 600;
}

.comment-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    background-color: var(--color-white);
}

.input-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.comment-input-d {
    flex: 1;
    position: relative;
    height: 36px;
    display: flex;
}

.RewordUser {
    font-size: var(--font-size-content);

}

.comment-input-d .tool-Emoji {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 8px;
    top: 50%;
    margin-top: -10px;
    z-index: 2;
    background-image: url('../images/emoji.png');
    cursor: pointer;
}

#ipt_comment {
    position: relative;
    height: 36px;
    z-index: 1;
    width: 100%;
    border-radius: 8px;
    color: var(--color-text-sub);
    font-size: var(--font-size-content);
    background-color: var(--bg-page);
    border: 1px solid transparent;
    padding-left: 36px;
    padding-right: 8px;
    transition: border 0.3s ease, background-color 0.3s ease;
}

#ipt_comment::placeholder {
    font-size: var(--font-size-content);
    background-color: var(--bg-page);
}

#ipt_comment:focus {
    border: 1px solid var(--color-text-error);
    background-color: var(--bg-page);
    transition: border 0.3s ease, background-color 0.3s ease;
}

.submit-comment-btn {
    background-color: var(--brand-sub);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: var(--font-size-content);
}

.comment-sort-tab {
    display: flex;
    gap: 24px;
    margin: 16px 0;
}

.sort-item {
    font-size: var(--font-size-content);
    color: var(--color-text-sub);
    transition: color 0.3s ease;
    cursor: pointer;
}

.sort-item.active {
    color: var(--brand-main);
    font-weight: 500;
    transition: color 0.3s ease;
}

/* 评论列表 */
.comment-item {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-name-row {
    display: flex;
    align-items: center;
    color: var(--bg-btn-main);
}

.comment-name {
    color: var(--bg-btn-main);
}

.viewBigImg {
    font-size: var(--font-size-desc-13);
    color: #06C;
    cursor: pointer;
}

.blog-tag {
    padding: 2px 4px;
    border-radius: 4px;
    opacity: 0.8;
    background: var(--color-text-error);
    font-size: 12px;
    color: var(--color-text-light);
    margin-left: 4px;
    flex-shrink: 0;
}

.comment-content {
    font-size: var(--font-size-content);
    line-height: 1.5;
    color: var(--color-text-main);
    display: inline;
    word-break: break-all;
}

.comment-time {
    opacity: .5;
}

.comment-right {
    flex: 1;
}

.comment-bottom-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-text-main);
    margin-left: auto;
    width: 100%;
    margin-top: 4px;
}

.comment-action-like {
    background-image: url(../images/dark/share.png);
}

.comment-action-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.comment-action-group .icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
    opacity: .5;
}

.comment-action-group .liked .icon {
    opacity: 1;
}

.comment-action-group span {
    display: flex;
    gap: 4px;
    align-items: center;
}

.moreComment {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-main);
    text-align: center;
    border-top: 1px solid var(--border-gray);
    padding: 12px 0;
    margin-bottom: -10px;
}

.rewords {
    margin-left: 44px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 10px 0;
    padding-left: 8px !important;
    border-left: 2px solid var(--border-gray);
}

#VideoDetail .hot-block {
    padding: 0;
    margin: 0;
    border: 0;
    margin-top: 20px;
}

.hotVideo-card {
    display: flex;
    gap: 14px;
    /* padding: 12px; */
    align-items: center;
    background: var(--color-white);
}

/* 左侧封面区域 */
.hotVideo-card-left {
    position: relative;
    width: 150px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.hotVideo-cover {
    width: 150px;
    height: 100px;
    object-fit: cover;
}

.hotVideo-duration {
    position: absolute;
    right: 4px;
    bottom: 4px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--color-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* 右侧文字区域 */
.hotVideo-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hotVideo-title {
    font-size: var(--font-size-content);
    font-weight: 500;
    color: var(--color-text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hotVideo-author {
    font-size: var(--font-size-subhead-15);
    color: var(--color-text-sub);
    line-height: 1;
}

.hotVideo-meta {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-sub);
    line-height: 1;
    margin-top: 4px;
}

#VideoDetail .hot-list li {
    background-color: var(--color-white);
    transition: background-color 0.4s ease;
}

#VideoDetail .hot-list li:hover {
    background-color: var(--color-black);
    transition: background-color 0.3s ease;
}

#VideoDetail .hot-list a img {
    transform: scale(1);
    transition: transform 0.4s ease;
}

#VideoDetail .hot-list a:hover img {
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

/* 会员中心修改个人信息 */
/* 全屏遮罩，水平垂直居中 */
.membercenter-edit-mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    z-index: 9999;
}

/* 弹窗主体容器 */
.membercenter-edit-dialog {
    width: 600px;
    padding: 16px 20px;
    background: var(--color-white);
    border-radius: 16px;
}

/* 弹窗头部 */
.membercenter-edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.membercenter-edit-title {
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--color-dark-222);
}

.membercenter-edit-close {
    width: 26px;
    height: 26px;
    background-image: url("../images/x.png");
    cursor: pointer;
}

/* 封面背景上传区 */
.membercenter-edit-banner {
    width: 100%;
    height: 200px;
    background: var(--color-dark-666);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 20px;
    background-color: var(--bg-page);
}

.membercenter-edit-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.membercenter-edit-icon-camera {
    width: 40px;
    height: 40px;
    background-image: url("../images/camera-plus.png");
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* 头像行 */
.membercenter-edit-avatar-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 0 20px;
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.membercenter-edit-avatar-box {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 6px solid var(--color-white);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.membercenter-edit-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.membercenter-edit-tip {
    padding: 8px 24px;
    background: var(--bg-page);
    font-size: var(--font-size-h4);
    color: var(--color-text-main);
    font-weight: 500;
    border-radius: 55px;
    border: 1px solid var(--bg-card);
    background: var(--bg-gray-light);
}

/* 表单区域 */
.membercenter-edit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.membercenter-edit-form-item {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--bg-card);
    background: var(--color-white);
    padding: 8px;
    position: relative;
}

.membercenter-edit-form-arrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.membercenter-edit-label {
    font-size: 12px;
    color: var(--color-text-sub);
    display: block;
    margin-bottom: 4px;
}

.membercenter-edit-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: var(--font-size-h4);
    color: var(--color-text-main);
}

.membercenter-edit-textarea {
    width: 100%;
    border: none;
    outline: none;
    font-size: var(--font-size-h4);
    color: var(--color-text-main);
    min-height: 40px;
    resize: none;
}

.membercenter-edit-arrow-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.membercenter-edit-value {
    font-size: 28px;
    color: var(--color-black);
}

#membercenter-edit-birthdayT {
    border-radius: 0;
    border: 0 !important;
    cursor: pointer;
}

.membercenter-edit-icon-arrow {
    width: 24px;
    height: 24px;
    background-image: url("../images/chevron-left_gray.png");
    position: absolute;
    top: 50%;
    margin-top: -12px;
    right: 8px;
}

/* 全屏遮罩，弹窗水平垂直居中 */
.membercenter-birthday-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
}

.birthday-maskBody {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 弹窗容器 */
.membercenter-birthday-dialog {
    width: auto;
    max-width: 300px;
    background: var(--color-white);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* 标题 */
.membercenter-birthday-title {
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--color-text-main);
}

/* 提示文字 */
.membercenter-birthday-tip {
    font-size: var(--font-size-desc-14);
    color: var(--color-text-sub);
    text-align: left;
}

/* 按钮区域 */
.membercenter-birthday-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.membercenter-birthday-btn {
    width: 100%;
    height: 40px;
    border-radius: 999px;
    font-size: var(--font-size-h4);
    border: none;
    cursor: pointer;
}

.btns {
    margin-top: 16px;
    text-align: center;
}

/* 红色编辑按钮 */
.membercenter-birthday-btn.edit-btn,
.membercenter-birthday-btn.saveUserInfo {
    max-width: 300px;
    color: var(--color-white);
    background-color: var(--bg-btn-main);
    margin-top: 12px;
}

/* 白色取消按钮 */
.membercenter-birthday-btn.cancel-btn {
    color: var(--color-text-mute);
    border-radius: 93px;
    border: 2px solid var(--bg-card);
}

.birthdayEdit {
    padding: 8px;
    display: none;
}

.birthdayEdit .reg-select-dropdown-panel {
    top: -200px;
}

.birthdayEdit .reg-birth-row {
    margin-top: 16px;
}

.bedit_title {
    font-size: var(--font-size-desc-13);
    font-weight: 700;
    color: var(--color-text-main);
}

.bedit_title span {
    font-weight: 500;
    color: var(--bg-btn-main);
    margin-left: 4px;
}

.bedit_tips {
    color: var(--color-text-sub);
    font-size: var(--font-size-content);
    margin-top: 4px;
}

.bedit_tips a {
    color: var(--bg-btn-main);
    font-size: var(--font-size-content);
    font-weight: 400;
    line-height: 20px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.membercenter-edit-banner-upload {
    width: 40px;
    height: 40px;
    position: relative;
}

.yourEmail {
    font-weight: 600;
    color: var(--color-text-sub);
}

.load-tips {
    text-align: center;
    padding: 15px;
    color: rgb(153, 153, 153);
    margin-top: 20px;
}

.no-more-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    color: rgba(83, 100, 113, .7);
    font-size: 12px;
    opacity: .5;
}

.no-more-wrap::before,
.no-more-wrap::after {
    content: "";
    height: 1px;
    background-color: rgba(0, 0, 0, .5);
    opacity: .5;
}

.emojiPanelReword {
    display: none;
}

.reply-target a {
    color: var(--color-text-sub);
}

.img-preview-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.preview-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background-image: url(../images/bigImgShow_close.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    user-select: none;
    z-index: 10;
    cursor: pointer;
}

.preview-main-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76.3vw;
    height: 590px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-main-img {
    width: 100%;
    height: 100%;
    border-radius: 12px 12px 0 0;
    background: rgba(56, 56, 56, 0.80);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.preview-img-inner {
    width: 100%;
    height: 100%;
    padding: 60px 216px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-show-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: default;
    padding: 20px 40px;
}

.preview-arrow-left,
.preview-arrow-right {
    position: absolute;
    top: 0;
    width: 35%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    display: none !important;
}
.preview-arrow-left {
    left: 0;
    justify-content: flex-start;
}
.preview-arrow-right {
    right: 0;
    justify-content: flex-end;
}
.preview-thumb-wrap {
    display: flex;
    width: 76.3vw;;
    padding: 20px;
    gap: 10px;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #545454;
    background: rgba(56, 56, 56, 0.80);
}
.preview-thumb-wrap::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.preview-thumb-list {
    width: 100%;
    overflow-x: auto;
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
}
.preview-thumb-list.center-items {
    justify-content: center;
}
.preview-thumb-list.scroll-items {
    justify-content: flex-start;
}

.preview-thumb-item {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 10.549px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.preview-thumb-item .gray_mask{
    width: 100%;
    height: 100%;
    border-radius: 10.549px;
    background: rgba(0, 0, 0, 0.40);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 333;
}
.preview-thumb-item.active {
    border: 2px solid var(--bg-btn-main);
}
.preview-thumb-item.active .gray_mask{
    display: none;
}

.preview-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-left,.preview-right{
    width: 44px;
    height: 44px;
    position: absolute;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    top: 50%;
    margin-top: -22px;
}
.preview-left{
    left: 10px;
    background-image: url(../images/bigImgShow_left.png);
}
.preview-right{
    right: 10px;
    background-image: url(../images/bigImgShow_right.png);
}
/* 朋友 */
#friends .membercenter-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-gray);
    margin: 0 -16px 0 -16px;
}

.friend-author-list {
    background: var(--color-white);
}

.friend-recommend-item {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bg-card);
    gap: 12px;
    margin: 0 -16px 0 -16px;
}

.friend-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.friend-author-avatar img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}

.friend-author-info {
    flex: 1;
    overflow: hidden;
}

.friend-author-name {
    font-size: var(--font-size-content);
    color: var(--color-text-main);
    font-weight: 600;
}

.friend-author-desc {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-sub);
    line-height: 1;
}

.friend-author-slogan {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-sub);
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sendTips {
    padding: 8px 20px;
    align-items: center;
    color: var(--color-text-main);
    gap: 12px;
    font-size: var(--font-size-desc-13);
    border-radius: 6px;
    border: 1px solid #46B65B;
    background: rgba(70, 182, 91, 0.10);
    position: absolute;
    top: 2px;
    right: 0px;
    display: none;
}

/* 转发样式 */
.share-open {}

.share-publish-bar {
    display: none;
    width: 100%;
    background: var(--color-white);
    padding: 0 16px;
    margin-top: 12px;
    box-sizing: border-box;
}
.comment-list{
    margin-top: 12px;
}
.publish-block {
    display: flex;
    border-bottom: 1px solid var(--bg-page);
}

.share-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

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

.share-publish-body {
    flex: 1;
    margin-left: 8px;
}

.share-input {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    background: var(--color-input-bg);
    border: 1px solid rgba(0, 0, 0, 0);
    font-size: var(--font-size-desc-13);
    color: var(--color-text-main);
    outline: none;
}
.share-input:focus{
    background: var(--color-white);
    border: 1px solid var(--color-text-error);
}

.share-input::placeholder {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-main);
    opacity: 0.56;
}

/* 底部工具栏 */
.share-tool {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    margin-bottom: 10px;
    position: relative;
}

.share-tool .emoji-panel {
    top: 35px;
}

.tool-left {
    display: flex;
    align-items: center;
    gap: 7px;
}

.shareBtn {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
}

.check-comment {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-desc-13);
    color: var(--color-text-sub);
    cursor: pointer;
    position: relative;
}

.check-comment input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("/images/checkBoxDefault.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.check-comment input[type="checkbox"]:checked+.checkbox-custom {
    background-image: url("/images/CheckBoxChecked.png");
}

/* 发布按钮 */
.btn-share-publish {
    width: 76px;
    height: 30px;
    background: var(--brand-main);
    color: var(--color-white);
    border-radius: 999px;
    font-size: var(--font-size-desc-14);
    border: none;
}

.btn-share-publish:disabled {
    background: var(--brand-main);
    color: var(--color-text-light);
    cursor: not-allowed;
    opacity: .6;
}

/* 桌面发帖框 */
.publish-box {
    width: 640px;
    background: var(--bg-page);
    border-radius: 8px;
    padding: 16px;
    margin: 0 auto 24px;
}

#publish-text {
    width: 100%;
    height: 80px;
    background: transparent;
    resize: none;
    font-size: var(--font-size-content);
    color: #333;
}

.publishing-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.tool-icons {
    gap: 10px;
    flex: 1;
}

.tool-btnItem {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.tool-Media {
    background-image: url(../images/dark/Media.png);
}

.tool-Emoji {
    background-image: url(../images/dark/Emoji.png);
}

.tool-hashtag {
    background-image: url(../images/dark/hashtag.png);
}

.tool-attag {
    background-image: url(../images/dark/attag.png);
}

.btn-publish {
    background: var(--brand-main);
    color: var(--color-white);
    width: 110px;
    height: 42px;
    border-radius: 999px;
    font-size: var(--font-size-subhead-15);
}

.btn-publish:disabled {
    color: var(--color-text-light);
    cursor: not-allowed;
    border-color: #ddd;
    opacity: .6;
}

::-webkit-scrollbar-track {
    background: var(--border-gray);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-gray-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bg-gray-light);
}

#noticeList {
    margin-top: 16px;
    padding: 16px 12px;
    border-radius: 16px;
    border: 1px solid var(--bg-card);
    background: var(--color-whiteFFF);
    gap: 4px;
}

#noticeList .view-all {
    display: none;
}

.noticeList {
    background: var(--color-white);
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% - 100px);
}

/* 通知弹窗核心 */
.notify-panel {
    position: absolute;
    top: 44px;
    right: 0;
    width: 350px;
    height: calc(100vh - 80px);
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 3.804px 30.431px 0 rgba(0, 0, 0, 0.35);
    padding: 16px 12px;
    display: none;
    z-index: 99999;
}

.notify-panel.show {
    display: block;
}

/* 标题 */
.notify-title {
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--text-primary);
    padding: 8px;
    color: var(--color-text-main);
}

/* 标签切换 */
.notify-tab {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.notifytab-item,
.notifytab-itemPage {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-main);
    cursor: pointer;
    position: relative;
    padding: 6px 12px;
}

.notifytab-item.active,
.notifytab-itemPage.active {
    color: var(--color-text-error);
    font-weight: 600;
    background-color: rgba(255, 39, 0, 0.20);
    border-radius: 93px;
}

/* 分区标题 */
.notify-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 12px 12px 0;
}

.notify-section-head span {
    font-size: 12px;
    color: var(--color-text-main);
    font-weight: 500;
}

.view-all span {
    color: var(--color-text-error);
    font-size: 12px;
    font-weight: 400;
}

/* 单条通知 */
.notify-item {
    display: flex;
    padding: 8px 12px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.notify-item:hover {
    background: var(--bg-page);
    transition: background-color 0.3s ease;
}

.notify-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    margin-right: 12px;
}

.notify-text-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
}

.notify-text {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-main);
}

.notify-time {
    font-size: 12px;
    color: var(--bg-btn-main);
    margin-top: 4px;
    opacity: .7;
}

/* 好友请求按钮 */
.notify-btns {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.notify-btns button {
    width: 118px;
    height: 28px;
    border-radius: 4px;
    overflow: hidden;
    opacity: .8;
}

.btn-confirm {
    background-color: var(--bg-btn-main);
    color: var(--color-text-light);
}

.btn-del {
    background-color: var(--bg-gray-light);
    color: var(--color-text-main);
}

/* 未读红点 */
.dot-unread {
    width: 8px;
    height: 8px;
    background: var(--bg-btn-main);
    border-radius: 50%;
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    margin-top: -4px;
    right: 8px;
}

.notice_empty {
    text-align: center;
    padding: 40px;
    color: var(--color-dark-666);
    font-size: 12px;
}

/* 铃铛右上角未读小红点 */
#notify-btn {
    position: relative;
}

#notify-btn .red-dot {
    position: absolute;
    top: 9px;
    right: 12px;
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
}

#notify-btn .red-dot i {
    display: block;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 4px;
    height: 4px;
    background: var(--bg-btn-main);
    border-radius: 50%;
}

.emptyTips {
    font-size: 12px;
    min-height: 205px;
    text-align: center;
    opacity: .5;
    padding-top: 60px;
}


.chat-panel {
    position: absolute;
    top: 44px;
    right: 0;
    width: 350px;
    height: calc(100vh - 80px);
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 3.804px 30.431px 0 rgba(0, 0, 0, 0.35);
    padding: 16px 12px;
    display: none;
    z-index: 99999;
}

#chatPanel .top {
    padding: 8px 8px 12px 8px;
    border-radius: 12px;
    background: var(--bg-page);
}

.chat-panel.show {
    display: block;
}

/* 标题 */
.chat-title {
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--text-primary);
    padding: 8px;
    color: var(--color-text-main);
}

/* 顶部标签栏 */
.chat-tab {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.chat-tab-item {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-main);
    cursor: pointer;
    position: relative;
    padding: 6px 12px;
}

.chat-tab-item.active {
    color: var(--color-text-error);
    font-weight: 600;
    background-color: rgba(255, 39, 0, 0.2);
    border-radius: 93px;
}

.chat-list {
    height: calc(100% - 80px);
    overflow-y: auto;
    overflow-x: hidden;
}

.chat-item {
    display: flex;
    padding: 8px 12px;
    position: relative;
    border-radius: 12px;
    background: var(--color-white);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.chat-item.top {
    background: #f7f7f7;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    margin-right: 12px;
}

.chat-info {
    flex: 1;
    min-width: 0;
    padding-right: 50px;
}

.chat-name {
    font-size: var(--font-size-content);
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 4px;
}

.chat-desc {
    color: var(--color-text-sub);
    font-size: 12px;
}

.chat-more-btn {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    margin-top: -15px;
    right: 20px;
    background-image: url('../images/dots-horizontal.png');
    /* display: none; */
}

/* 动态生成的下拉弹窗 */
.chat-more-pop {
    position: absolute;
    top: 46px;
    right: 0;
    width: 300px;
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: 0 3px 24px 0 rgba(0, 0, 0, 0.35);
    padding: 12px;
    z-index: 9999;
}

.chat-more-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    font-size: var(--font-size-desc-13);
    font-weight: 500;
    cursor: pointer;
}

.chat-more-item:hover {
    background: #f7f7f7;
}

.chat-more-item i {
    width: 24px;
    height: 24px;
}

.chat-unread {
    background-image: url("../images/notification-message.png")
}

.chat-homepage {
    background-image: url("../images/user-circle-1.png")
}

.chat-delete {
    background-image: url("../images/trash-03-1.png")
}

.chat-block {
    background-image: url("../images/notification-message.png")
}

.chat-report {
    background-image: url("../images/user-x-01.png")
}

/* 用户对话弹窗 fixed 悬浮窗口 */
.usersdialog {
    position: fixed;
    width: 360px;
    height: 460px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    right: 60px;
    bottom: 30px;
    display: none;
    z-index: 999999;
    flex-direction: column;
}

.usersdialog.show {
    display: flex;
}

/* 弹窗头部 */
.usersdialog-header {
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 10px;
}

.usersdialog-avatar {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    object-fit: cover;
}

.usersdialog-name {
    color: var(--color-text-main);
    font-size: var(--font-size-content);
    font-weight: 500;
}

.usersdialog-arrow {
    width: 24px;
    height: 24px;
    background-image: url('../images/chevron-left_dialog.png');
}

.usersdialog-operate {
    display: flex;
    margin-left: auto;
}

.usersdialog-operate .icon {
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.usersdialog-minus {
    background-image: url('../images/min-dialog.png');
}

.usersdialog-close {
    background-image: url('../images/x_dialog.png');
}

/* 分割线 */
.usersdialog-divider {
    width: 100%;
    height: 1px;
    background: #eee;
    display: none;
}

/* 滚动容器核心：dialogScroll 负责整体滚动 */
.dialogScroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    /* 底部预留输入框高度，避免内容被遮挡 */
    padding-bottom: 70px;
}

/* 用户简介区 */
.usersdialog-user-intro {
    text-align: center;
    padding: 20px 0;
}

.usersdialog-intro-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.usersdialog-intro-text {
    color: var(--color-text-sub);
    font-size: 12px;
}

.usersdialog-intro-text .usersdialog-name {
    color: var(--color-text-sub);
    font-size: 12px;
    font-weight: 400;
}

/* 消息区域 取消flex:1，由外层dialogScroll统一滚动 */
.usersdialog-message-box {
    padding: 0 12px;
}

/* 对方消息 左侧 */
.usersdialog-msg-other {
    margin-bottom: 24px;
}

.usersdialog-msg-other .usersdialog-msg-content {
    background: var(--bg-page);
    border-radius: 12px;
    padding: 12px;
    max-width: 70%;
    display: inline-block;
    font-size: var(--font-size-content);
    color: var(--color-text-main);
}

.usersdialog-msg-self img,
.usersdialog-msg-other img {
    max-width: 220px;
    border-radius: 6px;
    overflow: hidden;
}

.usersdialog-msg-time {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-sub);
    margin-top: 4px;
}

/* 自己消息 右侧 */
.usersdialog-msg-self {
    text-align: right;
    margin-bottom: 24px;
}

.usersdialog-msg-self .usersdialog-msg-content {
    background: rgba(255, 39, 0, 0.10);
    border-radius: 74px;
    padding: 12px;
    max-width: 70%;
    display: inline-block;
    font-size: var(--font-size-content);
    color: var(--color-text-main);
}

/* 底部输入区域 */
.usersdialog-input-area {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 12px;
    gap: 12px;
    position: absolute;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    background: var(--color-white);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.usersdialog-input-area .icon {
    cursor: pointer;
}

.usersdialog-input-add {
    width: 28px;
    height: 28px;
    background-image: url("../images/dialog-plus.png");
}

.usersdialog-input {
    flex: 1;
    width: 100%;
    height: 40px;
    background: #f3f3f3;
    border-radius: 22px;
    border: none;
    padding: 0 40px 0 20px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.usersdialog-input-emoji,
.usersdialog-input-send {
    width: 24px;
    height: 24px;
}

.usersdialog-inputr {
    position: relative;
    flex: 1;
}

.usersdialog-input-send {
    background-image: url("../images/send-03.png")
}

.usersdialog-input-emoji {
    position: absolute;
    top: 50%;
    margin-top: -12px;
    right: 12px;
    background-image: url("../images/dialog-emoji.png")
}

.chatDialog-upload-box {
    position: relative;
    cursor: pointer;
    width: 28px;
    height: 28px;
}

#chatImageUpload {
    position: absolute;
    opacity: 0;
    width: 28px;
    height: 28px;
    z-index: 222;
    left: 0;
    top: 0;
    cursor: pointer;
}

#ChatEmojiPanel {
    bottom: 45px;
    width: 120%;
    margin-left: -10%;
}

#mini_dialogUserFace {
    width: 60px;
    height: 60px;
    padding: 2px;
    display: none;
    border-radius: 60px;
    box-shadow: 0 4px 15.7px 0 rgba(0, 0, 0, 0.10);
    position: fixed;
    bottom: 60px;
    right: 10px;
    z-index: 30000;
    cursor: pointer;
}

#mini_dialogUserFace img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
}

.closeDialog {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url("../images/closeDialog.png")
}

.articleContent {
    margin: 29px 20px 0 20px;
    color: var(--color-text-main);
}

/* 标题区域 */
.article-header {
    margin-bottom: 16px;
}

.article-title {
    font-size: var(--font-size-h2);
    font-weight: 600;
}

.article-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: var(--font-size-desc-13);
    color: var(--color-text-sub);
    flex-wrap: wrap;
    margin-top: 4px;
}

.meta-like,
.meta-comment {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-like .icon,
.meta-comment .icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    flex-shrink: 0;
}

.tag-original {
    padding: 2px 4px;
    color: var(--color-text-error);
    font-size: var(--font-size-desc-13);
    border-radius: 4px;
    background: rgba(255, 39, 0, 0.15);
}

/* 图片块 */
.article-img-block {
    width: 100%;
    margin: 16px 0;
}

.article-img-block img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

/* 正文文字 */
.article-text {
    font-size: var(--font-size-desc-13);
}

.text-red {
    font-size: var(--font-size-desc-13);
    color: var(--color-text-error);
}

.articleContent img {
    width: auto;
    max-width: 100%;
}

.info-line {
    font-size: 15px;
    margin: 6px 0;
}

p {
    font-size: var(--font-size-content);
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 9999px var(--color-white) inset !important;
    -webkit-text-fill-color: var(--color-text-sub) !important;
}

.usersdialog-arrow {
    display: none !important;
}

.FullPage {
    background-color: var(--color-white);
}

#page-right-uper {
    /* padding-left: 0;
    padding-right: 0; */
}

#page-right-uper #refresh_hotUper {
    margin-bottom: 0 !important;
}

#page-right-uper .recommend-list {
    margin: 0 -16px 0 -16px;
}

#page-right-uper .recommend-list .recommend-item {
    padding: 15px 16px;
    margin-bottom: 0 !important;
    transition: all 0.3s ease;
}

#page-right-uper .recommend-list .recommend-item:hover {
    background-color: var(--bg-page);
    transition: all 0.3s ease;
}

.lineContact-mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

/* 弹窗主体卡片 */
.lineContact-modal {
    width: min(90vw, 520px);
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-sizing: border-box;
    position: relative;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 关闭按钮 */
.lineContact-close {
    display: block !important;
    position: absolute;
    right: 0;
    top: 0;
    width: 28px;
    height: 28px;
    cursor: pointer;
    opacity: 0.6;
    background-image: url(../images/dark/close.png);
}

/* 标题 */
.lineContact-title {
    color: var(--color-text-main);
    font-size: var(--font-size-h1);
    font-weight: 600;
    text-align: left;
    position: relative;
    width: 100%;
    height: 30px;
}

/* 二维码容器 */
.lineContact-qrcodeWrap {
    width: 165px;
    height: 165px;
    margin: 0 auto;
    margin-top: 20px;
}

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

/* LINE ID文字 */
.lineContact-idText {
    font-size: var(--font-size-h2);
    color: var(--color-text-sub);
    padding: 20px 0;
    font-weight: 500;
}
.sidebar-left{
    display: flex !important;
    align-items: center;
}
.confirm-mask{
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.55);
    top: 0;
    left: 0;
    z-index: 22222;
    display: none;
}
.confirmBody{
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: inline-flex;
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 20px;
    background: var(--color-white);
    box-shadow: 0 4px 13px 0 rgba(0, 0, 0, 0.25);
}
.confirmTips{
    color: var(--color-text-main);
    font-size: var(--font-size-h2);
    text-align: left;
    font-weight: 600;
}
.confirmBtns{
    margin-top: 12px;
    width: 100%;
    text-align: center;
}
.confirmBtns button{
    width: 113px;
    height: 40px;
    border-radius: 93px;
    font-size: var(--font-size-h4);
    font-weight: 600;
}
#cancleDel{
    border: 2px solid var(--bg-card);
    color: var(--color-text-btn-disable);
    background: var(--color-input-bg);
}
#confirmDel{
    margin-left: 12px;
    color: var(--color-white);
    background: var(--color-text-error);
}
.main-content {
    width: 100%;
    padding: 0;
    position: relative;
}

/* PC适配 */
@media screen and (min-width: 1060px) {
    body {
        padding-bottom: 24px;
        background-color: var(--color-white);
    }

    .page-wrap {
        display: flex;
        max-width: 1248px;
        margin: 0 auto;
    }

    .FullPage {
        width: 100%;
        border-bottom: 1px solid var(--border-gray);
        height: 60px;
        position: sticky;
        top: 0;
        left: 0;
        z-index: 222;
        background-color: var(--color-white);
    }

    #topMenu {
        position: relative;
        z-index: 9999;
        height: 60px
    }

    /* 桌面端显示左右侧边栏 */
    .sidebar-left,
    .sidebar-right {
        display: block;
        position: relative;
    }

    .sticky {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 60px;
        align-self: flex-start;
        z-index: 99;
    }

    .mobile-header {
        display: none;
    }

    .main-content {
        width: 600px;
        min-width: 600px;
        max-width: 600px;
        padding: 0 16px;
        margin: 0 24px;
        position: relative;
        border-left: 1px solid var(--border-gray);
        border-right: 1px solid var(--border-gray);
    }

    #topMenu .main-content {
        border-left: 0px;
        border-right: 0px;
    }

    /* 桌面端左侧侧边栏样式 */
    .sidebar-left {
        width: 250px;
        min-width: 250px;
        max-width: 250px;
    }

    .nav-list {
        margin-top: 16px;
    }

    .nav-list .nav-item {
        border-radius: 100px;
        margin-top: 4px;
    }

    .nav-list .nav-item:nth-of-type(1) {
        margin-top: 0;
    }

    .nav-list .active span {
        font-weight: 500;
    }

    .nav-item a,
    .nav-sub-item .subItem {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 250px;
        height: 48px;
        line-height: 48px;
        padding-left: 12px;
        border-radius: 9999px;
        color: var(--color-text-main);
        transition: background 0.2s;
        font-size: var(--font-size-h4);
    }

    .subItem>span {
        font-size: 17px;
        font-weight: 500;
    }

    .nav-item.active a {
        background: var(--bg-page);
        color: var(--color-text-main);
        position: relative;
    }

    .nav-item:hover a {
        background: var(--bg-page);
    }

    .nav-icon {
        text-align: center;
        position: relative;
        width: 24px;
        height: 24px;
        display: block;
    }

    .nav-icon i {
        display: block;
        position: absolute;
        width: 24px;
        height: 24px;
        top: 0;
        left: 0;
    }

    .nav-icon .nav-home {
        background-image: url(../images/home.png);
    }

    .nav-icon .nav-flag {
        background-image: url(../images/flag.png);
    }

    .tool-Media:hover {
        background-image: url(../images/light/Media.png);
    }

    .tool-Emoji:hover {
        background-image: url(../images/light/Emoji.png);
    }

    .tool-hashtag:hover {
        background-image: url(../images/light/hashtag.png);
    }

    .tool-attag:hover {
        background-image: url(../images/light/attag.png);
    }

    .nav-icon .nav-chevron-down {
        transition: transform 0.4s ease;
        background-image: url(../images/chevron-down.png);
    }

    .nav-sub-item {
        cursor: pointer;
    }

    /* 收起时箭头翻转向上 */
    .nav-sub-item.collapse .nav-chevron-down {
        transform: rotate(-90deg);
        transition: transform 0.4s ease;
    }

    /* 子菜单容器 */
    .sub-nav {
        overflow: hidden;
        transition: all 0.3s ease;
    }

    /* 收起状态隐藏子菜单 */
    .nav-sub-item.collapse .sub-nav {
        height: 0;
        opacity: 0;
    }

    .nav-icon .nav-modification {
        background-image: url(../images/modification.png);
    }

    .nav-icon .nav-pickup {
        background-image: url(../images/pickup.png);
    }

    .nav-icon .nav-TechSharing {
        background-image: url(../images/TechSharing.png);
    }

    .sub-nav {
        margin-top: 4px;
    }

    /* 桌面端右侧侧边栏 */
    .sidebar-right {
        width: 350px;
        min-width: 350px;
        max-width: 350px;
        height: 0;
        position: relative;
        box-sizing: border-box;
        background-color: var(--color-white);
    }

    .block-title {
        font-size: var(--font-size-h3);
        font-weight: 500;
        margin-bottom: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--color-text-main);
    }

    .adTitle {
        color: var(--color-text-sub) !important;
    }

    .hot-block {
        max-width: 347px;
        padding: 20px 16px;
        margin: 20px 0;
        flex-direction: column;
        align-items: center;
        border-radius: 12px;
        border: 1px solid var(--border-gray);
        transition: background-color 0.3s ease;
        position: relative;
    }

    .post-close {
        /* position: absolute; */
        right: 20px;
        top: 20px;
        /* display: none; */
    }

    #hotAd:hover {
        transition: background-color 0.3s ease;
        background: var(--bg-page);
    }

    #hotAd:hover .post-close {
        display: block;
    }

    .refresh-text {
        font-size: var(--font-size-content);
        color: var(--color-text-sub);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 4px;
        opacity: .56;
    }

    .icon-refresh {
        background-image: url(../images/arrow-refresh.png);
        width: 18px;
        height: 18px;
    }

    .hot-tab-switch {
        display: flex;
        background: var(--bg-page);
        border-radius: 7.5px;
        height: 37.5px;
        padding: 3.75px;
        margin-bottom: 16px;
    }

    .hot-tab {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 7.5px;
        flex: 1 0 0;
        align-self: stretch;
        border-radius: 7.5px;
        cursor: pointer;
        font-size: var(--font-size-content);
        color: var(--color-text-sub);
        transition: background-color 0.3s ease, color 0.4s ease;
    }

    .hot-tab span {
        font-weight: 500;
        opacity: 0.8;
    }

    .hot-tab.active {
        color: var(--color-text-main);
        background: var(--color-white);
        transition: background-color 0.3s ease, color 0.4s ease;
    }

    .hot-tab.active span {
        font-weight: 500;
    }

    .hot-tab.inactive {
        color: var(--color-text-sub);
        transition: background-color 0.3s ease, color 0.4s ease;
    }

    .hot-list {
        position: relative;
    }

    .hot-list li {
        margin-bottom: 20px;
    }

    .hot-list li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .hot-list li:nth-last-of-type(1) {
        margin-bottom: 0;
    }

    .hot-list .hot-title {
        width: 233px;
        font-size: var(--font-size-content);
        color: var(--color-text-main);
        padding-left: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hot-list li:hover .hot-title {
        color: var(--brand-main);
        transition: color 0.3s ease;
    }

    .hot-list li:nth-of-type(1) .hot-title {
        padding-left: 8px;
    }

    .hot-left {
        display: flex;
        align-items: center;
    }

    .hot-num {
        width: 15px;
        color: var(--brand-main);
        font-family: Inter;
        font-size: var(--font-size-h3);
        font-style: italic;
        opacity: .7;
    }

    .hot-list li:nth-of-type(-n+3) .hot-num {
        color: var(--brand-deep) !important;
        font-weight: 500;
    }

    .hot-new-tag {
        width: 15px;
        height: 15px;
        text-align: center;
        font-size: 10px;
        background: rgba(255, 39, 0, 0.7);
        color: var(--color-white);
        border-radius: 3px;
        position: absolute;
        right: 0;
    }

    .hot-count {
        font-size: 12px;
        color: var(--color-text-sub);
        margin-right: 20px;
        opacity: .56;
    }

    .icon-more {
        background-image: url(../images/More.png);
        width: 18px;
        height: 18px;
    }

    .recommend-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 30px;
    }

    .recommend-item:nth-last-of-type(1) {
        margin-bottom: 0;
    }

    .recommend-author {
        display: flex;
        position: relative;
        align-items: center;
    }

    .recommend-author a {
        display: block;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .rec-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .rec-name {
        font-size: var(--font-size-content);
        color: var(--color-text-main);
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .rec-desc {
        font-size: var(--font-size-content);
        color: var(--color-text-sub);
        margin-top: 2px;
    }

    .rec-follow {
        border: 1px solid var(--brand-main);
        color: var(--brand-main);
        padding: 8px 20px;
        font-weight: 500;
        border-radius: 999px;
        font-size: var(--font-size-content);
    }

    .ad-card {
        overflow: hidden;
    }

    .ad-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1);
        transition: transform 0.3s ease;
    }

    .ad-card:hover img {
        transform: scale(1.05);
        transition: transform 0.3s ease;
    }

    .ad-text {
        margin-bottom: 10px;
    }

    .ad-title {
        font-size: var(--font-size-content);
        font-weight: 500;
        margin-bottom: 4px;
    }

    .ad-desc {
        font-size: var(--font-size-content);
        color: var(--color-text-main);
        font-weight: 500;
    }

    .ad-img-area {
        width: 313px;
        height: 176px;
        border-radius: 10.5px;
        overflow: hidden;
    }

    #terms {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        margin-top: -6px;
    }

    #terms li {
        margin-left: 8px;
        margin-top: 8px;
        padding-right: 8px;
        border-right: 0.75px solid var(--color-text-main);
    }

    #terms li:nth-last-of-type(1) {
        border-right: 0 !important;
    }

    #terms li a,
    #terms li span {
        font-size: 11px;
        opacity: .5;
        color: var(--color-text-main);
        transition: all 0.2s;
    }

    #terms li a:hover {
        color: var(--color-text-error);
        opacity: 1;
        text-decoration: underline;
        transition: all 0.2s;
    }
}

/* 特殊适配 */
@media (min-width:631px) and (max-width: 1060px) {
    .policy-sidebar {
        margin-left: 20px;
    }
    #topMenu{
        border-bottom: 1px solid var(--border-gray);
    }
    #topMenu .main-content{
        display: block;
        flex: 1;
        border-left: 0px;
        border-right: 0px;
        margin-left: 12px;
        margin-top: -10px;
        background-color: var(--color-white);
        border-top: 1px solid var(--border-gray);
        border-bottom: 1px solid var(--border-gray);
    }
    .sidebar-right,
    .sidebar-left {
        display: none;
    }
    #page_publishing #publishing-text{
        margin-top: 0;
    }
    #topMenu .sidebar-left {
        display: block;
    }

    #topMenu .sidebar-right {
        display: flex;
        justify-content: flex-end;
    }

    #topMenu .top-header-opt {
        position: relative;
        top: auto;
    }

    .search-wrap {
        margin-top: 0;
    }

    .page-wrap {
        display: flex;
        width: 100%;
        padding: 10px 15px;
    }
    .membercenter-page{
        max-width: 100%;
    }
    .membercenter-banner{
        margin: 0 !important;
    }
    .data-row-friend{
        margin-left: 12px;
    }
    .membercenter-header{
        margin-bottom: 12px;
    }
}

/* 移动端适配 */
@media screen and (max-width: 630px) {
    html {
        width: 100vw;
        overflow-x: hidden;
    }

    body {
        width: 100vw;
        overflow-x: hidden;
    }

    .FullPage {
        position: sticky;
        top: 0;
        width: 100vw;
        box-sizing: border-box;
        z-index: 99;
        border-bottom: 1px solid var(--border-gray);
    }

    .sidebar-right,
    .sidebar-left {
        display: none;
    }

    .page-wrap {
        width: 100%;
        padding: 10px 15px;
    }

    .logo {
        width: 40px;
        height: 30px;
        background-image: url('../images/logo_p.png') !important;
    }

    .quick_post #quick_post,
    #quick_commentBox {
        width: 96% !important;
    }

    #page_publishing #publishing-text {
        margin-top: 0 !important;
    }

    #topMenu {
        display: flex;
        align-items: center;
    }

    #topMenu .sidebar-left {
        display: block;
        /* flex: 1; */
    }

    #topMenu .sidebar-right {
        display: flex;
        flex: 1;
        justify-content: flex-end;
    }

    #topMenu .top-header-opt {
        position: relative;
        top: auto;
    }
    #topMenu .search-wrap{
        padding: 20px;
    }
    #topMenu .main-content {
        display: none;
        position: absolute;
        width: 100%;
        left: 0;
        top: 60px;
        border-left: 0px;
        border-right: 0px;
        background-color: var(--color-white);
        border-top: 1px solid var(--border-gray);
        border-bottom: 1px solid var(--border-gray);
    }

    .search-wrap {
        margin-top: 0;
    }

    .lr-modal-box {
        max-width: 90%;
        height: auto !important;
        min-height: auto !important;
    }

    .reg-select-dropdown-panel {
        top: 40px;
        left: 0;
        width: 100px;
        max-height: 180px;
    }

    .reg-form-input,
    .reg-custom-select-box {
        padding: 0 8px;
    }

    .reg-select-text {
        font-size: var(--font-size-desc-13);
    }

    #login .FullPage,
    #forgetPwd .FullPage {
        position: relative;
    }

    .opt-icon .icon-search {
        background-image: url('../images/search.png');
        display: block;
    }

    .menu-icon {
        background-image: url('../images/hum_menu_1.png');
    }

    .logo {
        margin-top: 0;
        margin-left: 4px;
        background-image: url(../images/logo_orange.png);
    }

    .avatar-min {
        border-radius: 50%;
        border: 1px solid var(--border-gray);
        object-fit: cover;
    }

    .top-search-box {
        position: relative;
        margin: 0;
    }

    .post-follow {
        justify-content: center;
        align-items: center;
    }

    .membercenter-avatar-box {
        border: 3px solid var(--color-white);
    }
    .membercenter-desc{
        margin-top: 24px;
    }

    .load-tips {
        text-align: center;
        color: rgb(153, 153, 153);
    }

    .membercenter-edit-dialog {
        width: 96%;
        max-height: 70vh;
        overflow-y: scroll;
    }
    .friednbuttons{
        margin-top: 16px;
        margin-bottom: 12px;
    }
    #leaveMessage {
        padding: 8px 12px;
        border: 1px solid var(--color-text-sub);
    }

    .usersdialog {
        right: 10px;
    }

    .policy-sidebar {
        display: none;
    }

    .policy-content {
        margin-left: 0;
    }
    .membercenter-banner{
        margin: 0 !important;
    }
    .preview-thumb-list{
        overflow-x: hidden;
    }

    .membercenter-edit-avatar-row {
        gap: 4px;
        padding: 0 2px;
        margin-top: -40px;
    }

    .membercenter-edit-avatar-box {
        width: 80px;
        height: 80px;
        border: 2px solid var(--color-white);
    }
    .membercenter-edit-tip{
        font-size: var(--font-size-desc-13);
    }
    .membercenter-edit-btn{
        top: 4px;
        font-size: var(--font-size-desc-13);
    }
    .confirmBody{
        width: 90vw;
    }
    .membercenter-name-row{
        display: block;
    }
    .membercenter-info-right{
        padding: 0;
    }
    .membercenter-header{
        margin-bottom: 12px;
    }
}


/* 暗黑模式 */
/* ========== 暗黑模式图标背景图统一分组 ========== */
html.dark .opt-icon .icon-edit {
    background-image: url("../images/darkmodal/edit.png") !important;
}

html.dark .opt-icon .icon-search {
    background-image: url("../images/darkmodal/search.png") !important;
}

html.dark .opt-icon .icon-changescheme {
    background-image: url("../images/darkmodal/sun.png");
}

html.dark .opt-icon .icon-message {
    background-image: url("../images/darkmodal/message.png");
}

html.dark .opt-icon .icon-bell {
    background-image: url("../images/darkmodal/bell.png");
}

html.dark .nav-icon .nav-home {
    background-image: url('../images/darkmodal/home.png');
}

html.dark .nav-icon .nav-flag {
    background-image: url('../images/darkmodal/flag.png');
}

html.dark .nav-icon .nav-TechSharing {
    background-image: url('../images/darkmodal/TechSharing.png');
}

html.dark .nav-icon .nav-chevron-down {
    background-image: url('../images/darkmodal/chevron-left.png');
}

html.dark .nav-icon .nav-modification {
    background-image: url('../images/darkmodal/modification.png');
}

html.dark .nav-icon .nav-pickup {
    background-image: url('../images/darkmodal/pickup.png');
}

html.dark .menu-icon {
    background-image: url(../images/hum_menu_0.png);
}

html.dark .close,
html.dark .membercenter-edit-close {
    background-image: url(../images/light/close.png);
}

html.dark .memberBack {
    background-image: url(../images/Arrow_Back_1.png);
}

html.dark .chevron-down {
    background-image: url(../images/chevron-down2.png);
}

/* ========== 文字色  ========== */
html.dark .post-follow:hover,
html.dark .post-follow.event-followed,
html.dark .membercenter-edit-btn,
html.dark .group-title,
html.dark .search-item,
html.dark .modal-title,
html.dark .PostContent-box,
html.dark .content-title,
html.dark .select-btn,
html.dark .text-paragraph,
html.dark .policy-menu-item,
html.dark .content-subtitle,
html.dark .reg-form-label,
html.dark .reg-select-option,
html.dark .fullPageErrorModal,
html.dark .ModalTipsBody,
html.dark p,
html.dark .hot-new-tag,
html.dark .text-box {
    color: var(--color-black);
}

html.dark .policy-menu-item::marker {
    color: var(--color-black);
}

/* ========== 文字色：主文本 ========== */
html.dark .post-content p,
html.dark .author-info .name,
html.dark .ad-title,
html.dark .video-title,
html.dark .emptyTips,
html.dark .no-more-wrap,
html.dark .membercenter-edit-title,
html.dark .membercenter-birthday-btn.edit-btn,
html.dark .membercenter-birthday-btn.saveUserInfo,
html.dark .membercenter-back span,
html.dark .btn-share-publish,
html.dark .btn-publish {
    color: var(--color-text-main);
}

/* ========== 文字色：次要文本 ========== */
html.dark .author-info .meta,
html.dark .event-follow-btn {
    color: var(--color-text-sub);
}

/* ========== 黑色背景容器 ========== */
html.dark .header-dropdown-menu,
html.dark .menu-item,
html.dark .MenuMemberCenter,
html.dark .dpMenu-2 .menu-item.active,
html.dark .dpMenu-2 .languageSearch .top-search-box .lang-search-input{
    background-color: var(--color-black);
}

/* ========== 灰色背景容器 ========== */
html.dark .hot-tab-switch {
    background-color: #0c0c0c;
}

html.dark .hot-tab.active,
html.dark .search-input,
html.dark .share-input {
    color: var(--color-black);
    background-color: var(--bg-page);
}

/* ========== 白色背景输入框/表单 ========== */
html.dark .form-item input,
html.dark .membercenter-edit-input,
html.dark .membercenter-edit-textarea,
html.dark #ipt_NewEmail {
    width: 100%;
    font-size: var(--font-size-h4);
    color: var(--color-text-main);
    background-color: var(--color-white);
}

html.dark .usersdialog-input {
    color: var(--color-black);
    background-color: #2F2F2F;
}

/* ========== 谷歌自动填充样式 ========== */
html.dark input:-webkit-autofill,
html.dark input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 9999px var(--color-white) inset !important;
    -webkit-text-fill-color: var(--color-text-light) !important;
}

/* ========== 分割线、边框、遮罩 ========== */
html.dark .friend-recommend-item {
    border-bottom: 1px solid var(--border-gray);
}

html.dark .usersdialog,
html.dark .dpMenu-2 .languageSearch .top-search-box .lang-search-input {
    border: 1px solid var(--border-gray);
}

html.dark .membercenter-edit-mask {
    background: rgba(0, 0, 0, 0.8);
}

/* ========== 分割线横线元素 ========== */
html.dark .no-more-wrap::before,
html.dark .no-more-wrap::after {
    background-color: var(--color-text-main);
}

/* ========== 单独独立样式 ========== */
html.dark .menuMemberName {
    color: var(--color-white);
}

html.dark .usersdialog-msg-other .usersdialog-msg-content {
    background: #2f2f2f;
}

html.dark .usersdialog-msg-self .usersdialog-msg-content {
    background: rgba(255, 39, 0, 0.3);
}

/* ========== 暗黑模式描边 ========== */
html.dark .chat-panel,
html.dark .notify-panel,
html.dark #usersdialog,
html.dark #quick_post,
html.dark .membercenter-edit-dialog,
html.dark .fullPageErrorModal,
html.dark #mini_dialogUserFace,
html.dark #quick_commentBox {
    box-shadow: 0 0 20px 0 rgba(255, 255, 255, .5);
}

html.dark .ModalTipsBody {
    background: var(--color-black);
    color: var(--color-white);
}

html.dark #login,
html.dark #forgetPwd {
    background-color: #242424;
}

html.dark .reg-form-input,
html.dark .reg-custom-select-box {
    border: none;
    background-color: #17181c;
}

html.dark .userFacechevronDown {
    background-image: url(../images/userFacechevron-down_black.png);
}

html.dark .modal-tip a,
html.dark .forget-pwd,
html.dark .register-link {
    color: #5d8fe9;
}

html.dark .policy-menu-item.active {
    color: var(--color-text-error);
}

html.dark .check-box {
    background-color: var(--color-black);
}

html.dark .check-box.checked {
    background-color: var(--bg-btn-main);
    border: none;
}