
html,body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Helvetica, Arial, PingFangSC-Regular,"PingFang SC", "Microsoft YaHei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

[v-cloak] {
    display: none;
}

img[src=""],img:not([src]) {
    opacity: 0;
}

/* 内外边距通常让各个浏览器样式的表现位置不同 */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    margin: 0;
    padding: 0;
}
input,select,textarea {
    font-size: 100%;
}
/* 去掉各 Table  cell 的边距并让其边重合 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* 去除默认边框 */
fieldset,img {
    border: 0;
}
/* 去掉 firefox 下此元素的边框 */
abbr,acronym {
    border: 0;
    font-variant: normal;
}
/* 一致的 del 样式 */
del {
    text-decoration: line-through;
}
address,caption,cite,code,dfn,em,th,var {
    font-style: normal;
    font-weight: 500;
}
/* 去掉列表前的标识, li 会继承 */
ol,ul {
    list-style: none;
}
/* 对齐是排版最重要的因素, 别让什么都居中 */
caption,th {
    text-align: left;
}
/* 来自 yahoo, 让标题都自定义, 适应多个系统应用 */
h1,h2,h3,h4,h5,h6 {
    font-size: 100%;
    font-weight: 500;
}
q:before,q:after {
    content: '';
}
/* 统一上标和下标 */
sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
/* 正常链接 未访问 */
/* 鼠标悬停 */
a:hover {
    text-decoration: underline;
}
/* 默认不显示下划线，保持页面简洁 */
ins,a {
    text-decoration: none;
}








[v-cloak]{display: none;}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(180deg, rgba(236, 242, 255, 0.6) 0%, rgba(236, 242, 255, 0.6) 35.1%, rgba(248, 248, 248, 0.6) 100%);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.page-header {
    background: #000000B2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
    width: 100%;
    height: 96px;
    box-sizing: border-box;
    -webkit-transition: height 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -moz-transition: height 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: height 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nav_content_logo {
    width: 171px;
    height: 48px;
}
.header_nav_item {
    font-size: 20px;
    color: #222222;
    margin-left: 56px;
    display: inline-block;
    position: relative;
}
.nav_item_a {
    cursor: pointer;
    color: #ffffff;
    font-weight: bold;
    line-height: 96px;
}
.nav_arroror_icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: top;
    margin: 36px 0 0 4px;
    background: url("https://txcdn-file-m-mvbox-cn.wehappy.cc/handup/b014c55668e92d5e7985639de86942a5.png") no-repeat;
    background-position: 0 0;
}
.nav_arroror_icon_down {
    background-position: -48px 0;
}
.contact-wrapper {
    display: inline-block;
    position: relative;
    margin-right: 48px;
    line-height: 90px;
}
.label-wrapper {
    display: inline-block;
    cursor: pointer;
    font-size: 30px;
    line-height:1;
    color: white;
}
.icon-mail {
    font-size: 20px;
    vertical-align: middle;
}
.contact-text {
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
}
.label-wrapper:hover {
    color: #efefef;
}
.label-wrapper:hover+.contact-dialog {
    display: block;
}
.contact-dialog {
    display: none;
    position: absolute;
    transform: translate(-50%, 10%);
    top: 80%;
    left: 50%;
    background-color: rgba(0,0,0,0.3);
    border-radius:10px;
    padding: 10px 15px;
    font-size: 14px;
    color: #ffffff;
    line-height: 1;
}
.contact-dialog::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0,0,0,0.3);    
    position: absolute;
    transform: translate(-50%, -15px);
    top: 10px;
    left: 50%;
}
.menulist_wrap {
    position: absolute;
    left: 50%;
    transform: translateX(calc(-50% - 28px));
    top: 70px;
    line-height: 1;
    padding: 20px 0px;
    pointer-events: none;
    text-align: center;
    z-index: 101;
    max-width: 328px;
    min-width: 170px;
}
.menulist_wrap.login-out-wrap {
    top: 54px;
}
.menu_item {
    opacity: 0;
    width: 100%;
    min-width: 110px;
    font-size: 20px;
    padding: 10px 40px;
    color: #222222;
    -webkit-transition: margin 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),opacity 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -moz-transition: margin 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),opacity 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: margin 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),opacity 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    
}
.menu_item:hover {
    font-weight: bold;
    background:rgba(0,0,0,0.05);
}
.menu_item.menu_item_publish_video{
    display: none;
}
.menulist_wrap.contact_item .menu_item:hover {
    font-weight: normal;
    background: #ffffff;
    cursor: default;
}
.nav_item_hover {
    cursor: pointer;
    opacity: 1;
}
.menulist_wrap_hover{
    pointer-events: auto;
    background: #FFFFFF;
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.1);
    border-radius: 16px;
}
.mb_nav_ul {
    display: flex;
    align-items: center;
}
.nav_login_wrap {
    display: inline-block;
}
.nav_unlogin_button {
    font-size:20px;
    color:#fff;
    font-weight:bold;
    cursor:pointer;
    line-height: 96px;
}
.nav_login_box {
    position: relative;
}
.nav_head_img {
    width: 48px;
    height: 48px;
    /* margin-top: 20px; */
    border-radius: 50%;
    cursor: pointer;
}
.menulist_wrap{
    transform: translateX(-50%);
}





/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.85);
    padding: 20px 0;
    position: relative;
    margin: 0 auto 20px;
    border-radius: 16px;
}

.logo {
    display: flex;
    align-items: center;
    color: #4285f4;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

.logo-icon {
    width: 290px;
    height: 46px;
    margin-right: 8px;
}

.search-bar {
    width: 512px;
    height: 50px;
    position: relative;
    display: flex;
    margin-left: 30px;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 46px;
    border: 1px solid #222222;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    background-color: #fff;
}

.search-bar input:focus {
    border-color: #4285f4;
}

.search-btn {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    background: url('../images/search-icon.png') no-repeat center;
    background-size: contain;
    width: 16px;
    height: 16px;
    outline: none;
}
.ai-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    background: url('../images/ai-icon.png') no-repeat center;
    background-size: contain;
    width: 30px;
    height: 30px;
    outline: none;
}

.search-btn:hover {
    background-color: #f8f9fa;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #5f6368;
    font-size: 14px;
}

/* 城市选择器样式 */
.city-selector {
    position: relative;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.city-selector:hover {
    background-color: #f8f9fa;
}

.city {
    font-size: 18px;
    color: #222222;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    background: url('../images/down-icon.png') no-repeat center;
    background-size: contain;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
    margin-top: 4px;
    min-width: 120px;
}

.city-option {
    padding: 10px 16px;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    transition: background-color 0.2s;
}

.city-option:hover {
    background-color: #f5f5f5;
}

.city-option.selected {
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: 500;
}

.theme-toggle {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.register-btn {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.register-btn:hover {
    background: #1557b0;
}

/* Main Layout - Header, Content, Footer Structure */
.main-container {
    display: block;
    max-width: 1400px;
    margin: 20px auto 0;
    padding: 0 40px;
    position: relative;
}

.content-wrapper {
    display: grid;
    grid-template-areas:
        "content sidebar";
    grid-template-columns: 940px 360px;
    gap: 20px;
    align-items: start;
}

.left-section {
    grid-area: content;
}

.right-section {
    grid-area: sidebar;
}

/* Left Section */
.left-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Navigation Icons Section (Top) */
.nav-icons {
    background: white;
    border-radius: 16px;
    padding: 20px 40px 20px 20px;
    width: 940px;
    margin: 0 auto;
}

.nav-category {
    margin-bottom: 20px;
    display: flex;
    border-bottom: 1px solid rgba(216, 216, 216, 0.2);
    position: relative;
}

.nav-category:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.nav-category h3 {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
    padding-top: 0px;
    position: relative;
    cursor: pointer;
    padding-top: 26px;
    margin-right: 20px;
    width: 84px;
}

.nav-category .toggle-arrow {
    transition: transform 0.3s ease;
    color: #a3a7ad;
    width: 12px;
    height: 12px;
    background: url('../images/arrow-icon.png') center center no-repeat;
    background-size: contain;
    position: absolute;
    right: -15px;
    top: 36px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-category .toggle-arrow.expanded {
    transform: rotate(90deg);
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
    flex: 1;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-category.shopping .icon-grid,.nav-category.tools .icon-grid {
    max-height: 110px;
}

.nav-category.shopping.expanded .icon-grid,.nav-category.tools.expanded .icon-grid {
    max-height: 212px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-item:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

.icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 6px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 1px solid #e5e7eb;
}

.nav-item span {
    font-size: 14px;
    color: #4b5563;
    font-weight: 500;
    line-height: 1.4;
    margin: 4px 0 8px;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Categories Section (Middle) */
.categories {
    background: white;
    border-radius: 16px;
    padding: 20px;
    width: 940px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.category-item {
    padding: 10px 14px;
    text-align: center;
    font-size: 16px;
    color: #222222;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    border-bottom: 1px solid rgba(241, 241, 241, 1);
    position: relative;
}
.category-item::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 20px;
    background: rgba(241, 241, 241, 1);
    right: 0;
}
.category-item.border-bottom-none {
    border-bottom: none;
}
.category-item.border-right-none::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
}

.category-item:hover {
    background: #e5e7eb;
    color: #1f2937;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

/* 动态分类项的加载状态 */
.categories.loading .category-item {
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 空状态提示 */
.categories-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.categories-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.categories-empty .empty-text {
    font-size: 14px;
    margin-bottom: 8px;
}

.categories-empty .empty-subtext {
    font-size: 12px;
    color: #9ca3af;
}

/* Waterfall Section (Bottom) */
.waterfall-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 940px;
    margin: 0 auto;
}

.waterfall-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.waterfall-category h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.more-link {
    color: #3b82f6;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

.more-link:hover {
    color: #1d4ed8;
}

.waterfall-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.waterfall-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    gap: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid #f3f4f6;
}

.waterfall-item:hover {
    transform: translateY(-2px);
    border-color: #e5e7eb;
}

.waterfall-item img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
    line-height: 1.3;
}

.item-content p {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 8px;
}

.item-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.item-actions button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.item-actions button:hover {
    background-color: #f3f4f6;
}

/* Right Section */
.right-section {
    /* position: sticky; */
    /* top: 100px; */
    height: fit-content;
}

.hot-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.hot-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    padding: 20px 20px 15px;
    border-bottom: 1px solid #f3f4f6;
    margin: 0;
}
.hot-items {
    max-height: 1000px;
    overflow-y: auto;
}

.hot-item {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hot-item:hover {
    background-color: #f8f9fa;
}

.hot-item:last-child {
    border-bottom: none;
}
.hot-item .masonry-content-desc {
    max-width: 180px;
}


.hot-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hot-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

.hot-content p {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.hot-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.hot-actions button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 3px 5px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.hot-actions button:hover {
    background-color: #f3f4f6;
}

/* App Download Section */
.app-download {
    width: 360px;
    height: 180px;
    margin-top: 20px;
    background: #f5f5f5;
    border-radius: 0 0 12px 12px;
    padding: 20px 26px 0;
    background: url('../images/down-bg.png') no-repeat center;
    background-size: contain;
}

.wehappy-info {
    display: flex;
}

.wehappy-logo {
    font-size: 18px;
}
.wehappy-logo img {
    width: 100px;
}
.wehappy-logo div {
    font-size: 14px;
    color: #222222;
    line-height: 1.4;
    margin-bottom: 15px;
}

.qr-code {
    width: 90px;
    height: 90px;
}
.qr-code img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    border: 1px solid rgba(216,216,216,0.5);
}

.download-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.download-buttons img {
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.down-btn-wrap {
    width: 140px;
    height: 48px;
}
.down-btn-wrap.ios {
    background: url('../images/app-store.png') no-repeat center;
    background-size: contain;
}
.down-btn-wrap.android {
    background: url('../images/google-play.png') no-repeat center;
    background-size: contain;
}









.note-list-area {
    width: 940px;
    margin: 0 auto;
}

.note-list {
    width: 940px !important;
    margin: 0 auto;
    position: relative;
}

.note-item {
    width: 460px;
    margin-bottom: 16px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 16px 16px;
}
.gutter-sizer {
    width: 20px;
}

/* .note-item:hover {
    transform: translateY(-2px);
} */

.masonry-header {
    display: flex;
    justify-content: space-between;
}
.masonry-header .masonry-title {
    font-size: 18px;
    color: #222222;
    font-weight: bold;
}
.masonry-header .masonry-more {
    font-size: 14px;
    color: #666666;
    position: relative;
    display: flex;
    align-items: center;
}
.masonry-header .masonry-more::after {
    content: '';
    width: 12px;
    height: 12px;
    background: url('../images/arrow-icon.png') center center no-repeat;
    background-size: contain;
    margin-left: 3px;
}
.masonry-list .masonry-item {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-top: 22px;
    cursor: pointer;
}
.masonry-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-right: 12px;
}
.masonry-content {
    flex: 1;
}
.masonry-content-title {
    font-size: 18px;
    font-weight: bold;
    color: #222222;
}
.masonry-content-desc {
    font-size: 12px;
    color: #a3a7ad;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.masonry-actions {
    display: flex;
}
.masonry-content-icon {
    width: 58px;
    height: 22px;
    margin-right: 6px;
    margin-top: 8px;
}
.masonry-content-icon.phone {
    background: url('../images/phone-icon.png') center center no-repeat;
    background-size: contain;
}
.masonry-content-icon.message {
    background: url('../images/msg-icon.png') center center no-repeat;
    background-size: contain;
}
.masonry-content-icon.location {
    background: url('../images/location-icon.png') center center no-repeat;
    background-size: contain;
}
.masonry-content-icon.back-none {
    background: none ;
    background-size: contain;
}


.copyright {
    text-align: center;
}



/* 底部样式 */
.footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin-top: 40px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 130px;
}
.footer .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1f2937;
}

.footer p {
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}

.back-to-top {
    display: block;
    text-align: center;
    color: #bdc3c7;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.back-to-top:hover {
    color: white;
}



.gotop {
    width: 40px;
    height: 40px;
    background: url('../images/gotop.png') no-repeat center;
    background-size: contain;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    cursor: pointer;
}




/* 响应式设计 */
/* @media (max-width: 1240px) {
    .main-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .content-wrapper {
        grid-template-columns: 1fr 280px;
        gap: 20px;
    }

    .container {
        padding: 0 20px;
    }

    .categories, .nav-icons, .waterfall-section {
        width: 100%;
        max-width: none;
    }
} */

@media (max-width: 1240px) {
    .content-wrapper {
        grid-template-areas:
            "content"
            "sidebar";
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .main-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }

    .logo {
        flex-direction: column;
        gap: 15px;
    }
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .left-section {
        grid-area: content;
    }

    .right-section {
        grid-area: sidebar;
    }

    .categories .category-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .search-bar {

    }
    .hot-items {
        overflow-y: initial;
        max-height: none;
    }
    .app-download {
        margin: 20px auto;
    }
}

@media (max-width: 990px) {
    .nav-icons {
        width: 830px;
    }
    .categories {
        width: 830px;
    }
    .waterfall-section {
        width: 830px;
    }
}


@media (max-width: 768px) {
    .main-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }

    .logo {
        flex-direction: column;
        gap: 15px;
    }
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .search-bar {
        margin: 0;
        max-width: none;
    }

    .nav-icons {
        width: 680px;
    }
    .categories {
        width: 680px;
    }
    .waterfall-section {
        width: 680px;
    }

    .categories .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-item {
        padding: 8px 10px;
        font-size: 12px;
    }

    .waterfall-section {
        width: 100%;
    }

    .note-list-area {
        width: 100%;
    }

    .note-list {
        width: 100% !important;
    }

    .masonry-img {
        width: 60px;
        height: 60px;
    }

    .masonry-content-title {
        font-size: 13px;
    }

    .masonry-content-desc {
        font-size: 9px;
        max-width: 200px;
    }

    .masonry-content-icon {
        width: 40px;
        height: 14px;
        margin-right: 4px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 13px;
    }
    .hot-items {
        overflow-y: initial;
        max-height: none;
    }
    .app-download {
        margin: 20px auto;
    }
 
    .page-header {
        display: flex;
        flex-direction: column;
        height: 150px;
        justify-content: center;
    }

}

@media (max-width: 480px) {
    .main-container {
        padding: 0 10px;
        gap: 15px 0;
    }
    
    .header .container {
        padding: 10px 15px;
    }
    
    .header {
        border-radius: 8px;
        padding: 12px 0;
    }
    
    .footer {
        border-radius: 8px;
        padding: 25px 0 15px;
    }
    
    .logo {
        font-size: 18px;
        cursor: pointer;
    }
    
    .logo-icon {
        font-size: 20px;
    }
    
    .icon-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 10px;
    }
    
    .icon-item .icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .icon-item span {
        font-size: 10px;
    }
    
    .categories {
        padding: 10px;
    }
    
    .categories .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-item {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .content-layout {
        padding: 10px;
        gap: 15px;
    }
    
    .section-header .section-second-tab {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-item {
        margin-right: 15px;
        font-size: 11px;
    }
    
    .tab-item.active {
        font-size: 12px;
    }
    
    .masonry-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        cursor: pointer;
    }
    
    .masonry-img {
        width: 120px;
        height: 120px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .masonry-content-desc {
        max-width: 100%;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer p {
        font-size: 14px;
    }
    .hot-items {
        overflow-y: initial;
        max-height: none;
    }
    .app-download {
        margin: 20px auto;
    }
    .page-header {
        display: flex;
        flex-direction: column;
        height: 150px;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .icon-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories .category-grid {
        grid-template-columns: 1fr;
    }
    
    .category-item {
        text-align: left;
        padding: 8px 12px;
    }
    
    .icon-item .icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .icon-item span {
        font-size: 9px;
    }
    .hot-items {
        overflow-y: initial;
        max-height: none;
    }
    .app-download {
        margin: 20px auto;
    }
    .page-header {
        display: flex;
        flex-direction: column;
        height: 150px;
        justify-content: center;
    }
}

/* Swiper Styles */
.swiper-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    transition-timing-function: ease;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.swiper-slide .icon-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
    width: 100%;
}

/* Toggle arrow for Swiper - enhanced styles */
.nav-category .toggle-arrow:hover {
    color: #374151;
    transform: scale(1.1);
}





.loginLayerBox *{
    box-sizing: border-box;
}
.loginLayerBox input::-webkit-input-placeholder{
    color: #CCC;
}
.loginLayerBox input:-moz-placeholder{/* Mozilla Firefox 4 to 18 */
    color: #CCC;
}
.loginLayerBox input::-moz-placeholder{
    color: #CCC;
}/* Mozilla Firefox 19+ */
.loginLayerBox input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #CCC;
}
.loginLayerBox{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}
.loginBox1{
    width: 800px;
    height: 480px;
    border-radius: 16px;
    padding-bottom: 40px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.loginContent{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}
.loginCloseBtn{
    display: block;
    width: 24px;
    height: 24px;
    background: url('https://txcdn-file-m-mvbox-cn.wehappy.cc/handup/32c135a654a467ef7df504f74fc5660c.png') no-repeat;
    position: absolute;
    top: 28px;
    right: 28px;
    cursor: pointer;
    background-position: -1px -4px;
}
.loginCloseBtn:hover{
    background-position: -25px -4px;
}
.loginMobileBox,.loginQRCodeBox{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top:46px;
    flex: 1;
}
.rowLine{
    width: 1px;
    height: 480px;
    background: #EBEBEB;
    border-radius: 1px;
}


.loginHeader{
    width: 520px;
    text-align: center;
    border-bottom: 1px solid #EEEEEE;
    margin-bottom: 40px;
}

.loginNavBox{
    margin: 0 auto;
    display: inline-block;
}

.loginNavItem{
    float: left;
    font-size: 18px;
    color: #222222;
    line-height: 24px;
    padding: 18px 0;
    max-width: 100px; 
    cursor: pointer;
}

.loginNavItem.active{
    color: #EC5244;
    position: relative;
}
.loginNavItem::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 32px;
    height: 3px;
    background: #EC5244;
    margin-left: -16px;
}
.loginNavItem:nth-child(2){
    margin: 0 40px;
}
.loginCloseBtn{
    display: block;
    width: 18px;
    height: 18px;
    background: url('https://txcdn-file-m-mvbox-cn.wehappy.cc/handup/32c135a654a467ef7df504f74fc5660c.png') no-repeat;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    background-position: -1px -4px;
}
.loginCloseBtn:hover{
    background-position: -25px -4px;
}

/* vv/手机号登录 */
.loginVvBox{
    text-align: center;
}
.loginVvItem{
    width: 304px;
    height: 48px;
    background: #F7F7F7;
    border-radius: 24px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.areaCodeValBox{
    margin-top: 76px;
    position: relative;
}
.mobileCodeBox{
    width: 304px;
    height: 48px;
    background: #F7F7F7;
    border-radius: 24px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobileCode{
    flex: 1;
    min-width: 130px; 
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 0 12px 16px;
    color: #222222;
    font-size: 16px;
    line-height: 24px;
}
.mobileCode::placeholder{
    color: #BCBCBC;
    font-size: 16px;
    line-height: 24px;
}
.getMobileCode{
    color: #FB8C9B;
    padding: 12px 24px;
    cursor: pointer;
    color: #FB8C9B;
    font-size: 16px;
}
.loginMobileBoxTit{
    color: #222222;
    font-size: 18px;
    line-height: 26px;
    font-weight: bold;
}
.areaCodeVal{
    color: #222222;
    font-size: 16px;
    line-height: 24px;
    padding:12px 16px;
    cursor: pointer;
}
.areaCodeLine{
    height: 24px;
    width: 1px;
    background: #E4E4E4;
    margin-right: 8px;
}
.areaCodeArrow{
    float: left;
    margin: 13px 12px 0 0;
    width: 20px;
    height: 20px;
    background: url('https://txcdn-file-m-mvbox-cn.wehappy.cc/handup/acced443301ad7e7ccda12960e328ca1.png') no-repeat;
    background-size: 80px 20px;
    background-position: 0 0;
    cursor: pointer;
}
.areaCodeArrowDown:hover{
    background-position: -20px 0;
}
.areaCodeArrowTop{
    background-position: -40px 0;
}
.areaCodeArrowTop:hover{
    background-position: -60px 0;
}
.areaCodeDivider{
    float: left;
    margin-top: 12px;
    width: 2px;
    height: 24px;
    background: #F0F0F0;
    border-radius: 1px;
}
.mobileNum{
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 16px 12px 0;
    color: #222222;
    font-size: 16px;
    line-height: 24px;
}
.mobileNum::placeholder{
    color: #BCBCBC;
    font-size: 16px;
    line-height: 24px;
}
.areaCodePanel{
    position: absolute;
    left: 0px;
    top: 54px;
    width: 304px;
    max-height: 248px;
    overflow: auto;
    background: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #E2E2E2;
}
.areaCodeItem{
    padding: 0 32px 0 16px;
    width: 100%;
    height: 38px;
    font-size: 18px;
    line-height: 38px;
    cursor: pointer;
}
.areaCodeItem:hover{
    background: rgba(240, 240, 240, 0.7);
}
.areaCodeItemActive{
    color: #222222;
    background: rgba(240, 240, 240, 0.7);
}
.areaCodeItem:first-child{
    margin-top: 10px;
}
.areaCodeItem:last-child{
    margin-bottom: 10px;
}
.areaCodeItemKey{
    float: left;
    font-size: 18px;
    color: #666666;
}
.areaCodeItemVal{
    float: right;
    font-size: 18px;
    color: #666666;
}
.loginMobileBoxToggleBtn{
    position: absolute;
    font-size: 18px;
    line-height: 18px;
    top: 124px;
    left: 80px;
    color: #4075DA;
    cursor: pointer;
}


.otherLoginBox {
    // display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 490px;
    overflow: hidden;
    transform: translateX(-50%) translateY(-50%);
    background: #333;
    z-index: 999;
}
.otherLoginBox p {
    font-size: 14px;
    line-height: 40px;
    color: #7e7e7e;
    text-indent: 10px;
    text-align: left;
    background-color: #f9f9f9;
    }
.otherLoginBox .otherLoginClose {
    float: right;
    display: block;
    width: 24px;
    height: 24px;
    margin: 8px;
    background: url('https://txcdn-file-m-mvbox-cn.wehappy.cc/handup/dacba279e2d3050acae54ba51a3c733f.png') no-repeat 0 0;
    cursor: pointer;
}
.otherLoginBox .otherLoginClose:hover {
    background-position: 0 -24px;
}
.otherLoginIframe {
    display: block;
    width: 800px;
    height: 450px;
    overflow: hidden;
    padding-top : 30px;
}
/* 二维码登录 */
.loginQRCodeBox{
    text-align: center;
    flex: 1;
}
.loginQRCodeBoxTit{
    color: #222222;
    font-size: 18px;
    line-height: 26px;
    font-weight: bold;
}
.otherDesc{
    margin-bottom: 20px;
    color: #222222;
    font-size: 14px;
    line-height: 20px;
} 
.otherLogin{
    display: flex;
    justify-content: center;
    align-items: center;
}
.otherLogin .item{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #666666;
    font-size: 12px;
    line-height: 12px;
    cursor: pointer;
    margin-right: 22px;
} 
.otherLogin .item:last-child{
    margin-right: 0;
}
.otherLogin .item .icon{
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
}
.QRCodeContent{
    text-align: center;
    margin: 40px 0 32px;
}
.QRCodeBox{
    width: 170px;
    height: 170px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid #EEEEEE;
    padding: 12px;
    position: relative;
}
.QRCode{
    position: relative;
    height: 144px;
    width: 144px;
}
.qrCodeLogo{
    position: absolute;
    top: 50%;
    left: 50%;
    height: 26px;
    width: 26px;
    margin: -13px 0 0 -13px;
}
.scanResult{
    width: 168px;
    height: 168px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.scanFail,
.scanExpire{
    cursor: pointer;
}
.scanResultImg{
    width: 22px;
    height: 22px;
    /* background: #FF4E46; */
}
.scanResultText{
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    color: #FE2442;
    font-weight: bold;
}
.scanResultText.color{
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    color: #666666;
}
.entryImg{
    display: inline-block;
    width: 130px;
    height: 234px;
}

.QRCodeDesc{
    font-size: 16px;
    color: #666666;
    text-align: center;
    line-height: 24px;
}
.QRCodeDesc .red{
    color: red;
}
.moreIcon{
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url('https://txcdn-file-m-mvbox-cn.wehappy.cc/handup/4027e92d7bf65b30d7212b2b7b2b9a50.png') no-repeat center;
    background-size: 14px 14px;
}

/*  */
.loginBottom{
    margin-top: 40px;
}
.loginBtn{
    width: 304px;
    height: 48px;
    background: #FE2442;
    border-radius: 24px;
    margin-top: 50px;
    @include word(16px,#FFFFFF,bold,48px);
    font-size: 16px;
    color: #FFFFFF;
    line-height: 48px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}
.loginTypeBox{
    text-align: center;
}
.loginTypeItem{
    display: inline-block;
    text-align: center;
    cursor: pointer;
}
.loginType_qq{
    margin-right: 75px;
}
.loginTypeIcon{
    width: 48px;
    height: 48px;
}
.loginTypeTxt{
    padding-top: 10px;
    text-align: center;
    font-size: 16px;
    color: #222222;
    display: block;
}

.toastBox{
    width: 100%;
    position: absolute;
    top: 73px;
    left: 0;
    z-index: 1000;
    text-align: center;
}
.toastBox span{
    display: inline-block;
    height: 32px;
    color: #fff;
    padding: 0 30px;
    font-size: 14px;
    line-height: 32px;
    text-align: center;
    border-radius: 30px;
    background: rgba(0,0,0,0.6);
}


/* 选择账号 */
.accountDialog{
    // display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}
.accountBox{
    width: 380px;
    height: 268px;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin:-134px 0 0  -190px;
}
.accountHeader{
    height: 40px;
    line-height: 40px;
    padding-left: 14px;
    background: #F8554D;
    border-radius: 4px 4px 0px 0px;
    position: relative;
}
.accountTitle{
    font-size: 14px;
    color: #FFFFFF;
    line-height: 40px;
    padding: 0 14px;
    line-height: 1;
}
.accountCloseBtn{
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    background-image: url('https://txcdn-file-m-mvbox-cn.wehappy.cc/handup/b98d2dcc2b5a2135448287e06aa24484.png');
    background-position: 0 0;
    background-size: 80px 20px;
    background-repeat: no-repeat;
    cursor: pointer;
}
.accountContent{
    height: 228px;
    overflow: auto;
}
.accountDesc{
    font-size: 14px;
    color: #333333;
    padding: 20px 0 10px 22px;
}
.accountItem{
    cursor: pointer;
    padding: 0 24px;
}
.accountItem:hover{
    background: #F7F7F7;
}
.avatar{
    float: left;
    width: 40px;
    height: 40px;
    background: #000000;
    border-radius: 50%;
    margin: 10px 12px 10px 0;
}
.userInfo{
    float: left;
    margin: 12px 0;
    line-height: 1;
}
.nickname{
    font-size: 14px;
    color: #333333;
    margin-bottom: 8px;
}
.vvNum{
    font-size: 12px;
    color: #999999;
}

