#suggestList {
    position: absolute;
    left: 0;
    top: 60px;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    padding: 8px 15px;
    box-shadow: 0 2px 8px #52525257;
    z-index:999;
} 
#suggestList li{
    display: block;
    position: relative;
    height: 35px;
    padding: 0 14px;
    text-decoration: none;
    line-height: 35px;
    font-size: 16px;
}
html {
        -ms-scroll-chaining: none;
        height: 100%;
        overflow-y: hidden;
        overscroll-behavior: none
}
:root {
    --sidebar-width: 70px;
    --bg-overlay: rgba(0, 0, 0, 0.3);
    --card-bg: rgba(255, 255, 255, 0.95);
    --primary-blue: #3A86FF;
    --text-dark: #333;
    --text-gray: #888;
}
body {
  scrollbar-width: none;
}
/* Chromeã€Edgeã€Safari */
::-webkit-scrollbar {
  width: 0; /* åž‚ç›´æ»šåŠ¨æ¡å®½åº¦ç½®0 */
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
a {
    color: #303030;
    text-decoration: none;
}
body {
    height: 100%;
    width: 100%;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=2073&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    color: var(--text-dark);
}

/* ä¾§è¾¹æ  */
.sidebar {
    background: rgb(30 30 30 / 22%);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 999;
    flex-shrink: 0;
    margin: 20px;
    border-radius: 10px;
    height: calc(100vh - 140px);
    overflow: hidden;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 76px;
    left: 0;
    transition: left 0.3s, right 0.3s;
}
.sidebar.sidebar-right {
    left: auto;
    right: 0;
}
.sidebar.sidebar-right .nav-item.active::before {
    left: auto;
    right: 0;
    border-radius: 2px 0 0 2px;
}

.nav-item {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-size: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}
.nav-item i { font-size: 20px; margin-bottom: 4px; }
.nav-item.active { color: #fff; }
.nav-item.active::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 24px; background: var(--primary-blue); border-radius: 0 2px 2px 0;
}
.nav-item:hover { color: #fff; }
.nav-spacer { flex: 1; }
.shortcut-tip { font-size: 10px; color: #666; margin-top: 10px; text-align: center; line-height: 1.2;}

/* ä¸»å†…å®¹åŒº */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 100%;
}

#pageContainer {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* æ ¸å¿ƒï¼šä½ç§»è¿‡æ¸¡ + active æŽ§åˆ¶ï¼Œæ— è¡Œå†…transform */
.content-section {
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}
.content-section.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.fixed-header {
    padding: 40px 0 0px;
    width: 100%;
    backdrop-filter: blur(5px);
    background: linear-gradient(180deg, rgba(21, 22, 21, .85), rgba(47, 49, 47, 0));
    position: relative;
    z-index: 999;
}

.top-clock {
    position: fixed; top: 15px; right: 20px;
    color: #fff; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,0.5); z-index: 200;
}

.logo-title { 
    font-size: 36px; font-weight: 800; color: #fff; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); margin-bottom: 20px; letter-spacing: 1px;
}
.logo-title span { font-size: 20px; vertical-align: super; margin-left: 2px; }

.search-box {
    background: #fff; border-radius: 12px; padding: 12px 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15); display: flex; flex-direction: column; gap: 10px;
    width: 600px; max-width: 90%;
}
.search-placeholder { color: #aaa; font-size: 16px; padding-left: 5px; }
.search-actions { display: flex; justify-content: space-between; align-items: center; }
.model-select { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; cursor: pointer; }
.model-select img { width: 20px; height: 20px; border-radius: 50%; }
.btn-search {
    background: #fff; border: 1px solid var(--primary-blue); color: var(--primary-blue);
    padding: 6px 16px; border-radius: 20px; font-size: 14px; cursor: pointer;
    display: flex; align-items: center; gap: 5px; transition: all 0.2s;
}
.btn-search:hover { background: var(--primary-blue); color: #fff; }
.btn-upload { 
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid #ddd; 
    display: flex; align-items: center; justify-content: center; color: #888; cursor: pointer;
}

/* å¡ç‰‡ç½‘æ ¼å¸ƒå±€ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 20px;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.card-label { 
    position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; 
    font-size: 11px; color: #bbb; 
}

/* å¤©æ°”å¡ç‰‡ */
.card.weather {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    height: 210px;
    width: 180px;
    padding: 15px;
}
.weather .loc { font-size: 13px; opacity: 0.9; margin-bottom: 5px; }
.weather .temp-main { font-size: 48px; font-weight: 700; line-height: 1; }
.weather .temp-sub { font-size: 13px; opacity: 0.8; margin-top: 5px; }

.card.weather .forecast-scroll-box {
    width: 100%;
    height: 40px !important;
    overflow: hidden !important;
    margin-top: auto;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}
.card.weather .forecast-scroll-list {
    display: block !important;
    transition: transform 0.6s ease-in-out !important;
}
.card.weather .forecast-mini {
    height: 40px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    gap: 30px;
}
.card.weather .forecast-mini span {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 13px;
}



/* çƒ­æœå¡ç‰‡æ ·å¼ */
.content-box{
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: 10px;
}
.hot-card-wrap {
    width: 400px;
}
.tab-header {
    display: flex;
    background: linear-gradient(90deg, #f26038, #ff7a45);
    border-radius: 16px 16px 0 0;
    padding: 12px 20px;
    gap: 10px;
}
.tab-item {
    padding: 5px;
    font-size: 14px;
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tab-item.active {
    background: #ffffff;
    color: #333;
}
.tab-item:hover:not(.active) {
    background: rgba(255,255,255,0.25);
}
.hot-content-box {
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: 10px;
}
.hot-panel {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.hot-panel.active {
    display: grid;
}
.hot-row {
    display: flex;
    font-size: 14px;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.rank-num {
    width: 36px;
    text-align: center;
    flex-shrink: 0;
}
.rank-1 { color: #e62121; font-weight: bold; }
.rank-2 { color: #ff6819; font-weight: bold; }
.rank-3 { color: #ffaa22; font-weight: bold; }
.rank-other { color: #888888; }
.hot-text {
    color: #222;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.bottom-tip {
    text-align: center;
    color: #fff;
    font-size: 14px;
    margin-top: 5px;
}
/* 木鱼卡片容器 */
.muyu-card{
    width: 200px;
    background:#fffbfb;
    border-radius:24px;
    padding: 15px;
    position:relative;
    box-shadow:0 8px 30px #00000025;
    text-align:center;
    overflow:visible;
    height: 200px;
    /* 新增弹性布局实现图片居中 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.count-text{
    font-size: 20px;
    color:#333;
    /* height: 10px; */
}
.count-text span{
    font-size: 20px;
    color:#6b3812;
    font-weight:bold;
    margin:0 8px;
}
.muyu-img{
    width: 80px;
    cursor:pointer;
    transition:transform 0.1s ease;
    filter:drop-shadow(0 10px 12px #00000022);
    /* 清除默认外边距避免偏移 */
    margin: 0;
}
.muyu-img:active{
    transform:scale(0.92);
}
.bottom-title{
    color: #181717;
    font-size: 15px;
    text-shadow:0 2px 6px #00000035;
}
.merit{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    font-size:15px;
    color:#b82020;
    font-weight:bold;
    pointer-events:none;
    animation:floatUp 1s ease-out forwards;
}
@keyframes floatUp {
    0%{
        opacity:1;
        transform:translate(-50%,-50%) scale(1);
    }
    100%{
        opacity:0;
        transform:translate(-50%,-180px) scale(1.3);
    }
}
/* åº”ç”¨å›¾æ ‡ç½‘æ ¼ */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 15px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    margin-top: 20px;
}
.app-icon {
    display: flex; align-items: center; gap: 6px; cursor: pointer;
    transition: transform 0.2s;
    flex-direction: column;
}

.app-icon:hover { transform: translateY(-3px); }
.app-icon .icon-box {
    width: 72px; height: 72px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 22px; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
img.icon-box {
    width: 72px; height: 72px; border-radius: 12px; object-fit: contain; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.app-icon a { text-decoration: none; display: flex; flex-direction: column; align-items: center; }
.app-icon a .app-name { display: block; text-align: center; margin-top: 6px; }
.app-icon .app-name { font-size: 12px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.6); white-space: nowrap; }

.icon-tmall { background: #FF0036; }
.icon-1688 { background: #FF6600; }
.icon-qqmail { background: #FFCC00; color: #333 !important; }
.icon-process { background: #2979FF; }
.icon-mita { background: #333; }
.icon-douyin { background: #111; }
.icon-taobao { background: #FF5000; }
.icon-add { background: #fff; color: #FF4444 !important; border: 1px dashed #ccc; }

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
}
.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* è®¾ç½®å¼¹çª— */
.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    justify-content: flex-end;
}
.settings-overlay.active { display: flex; }
.settings-panel {
    width: 380px;
    max-width: 90%;
    height: 100%;
    background: #f5f7fa;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    padding: 20px;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}
.settings-title { font-size: 20px; font-weight: 600; color: #333; }
.settings-close {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: #e0e0e0;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: all 0.2s;
}
.settings-close:hover { background: #d0d0d0; color: #333; }
.settings-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.settings-section .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.settings-section .section-title i { color: var(--primary-blue); }
.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.setting-item:last-child { border-bottom: none; }
.setting-label { font-size: 14px; color: #555; }
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}
.toggle-switch.active { background: var(--primary-blue); }
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-switch.active::after { transform: translateX(20px); }
.position-toggle {
    display: flex;
    gap: 4px;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 3px;
}
.pos-btn {
    padding: 5px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.pos-btn.active {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 2px 6px rgba(58,134,255,0.3);
}
.pos-btn:hover:not(.active) {
    background: #e0e0e0;
    color: #555;
}
.wallpaper-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.wallpaper-cat-btn {
    padding: 6px 14px;
    border-radius: 16px;
    border: none;
    background: #f0f0f0;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.wallpaper-cat-btn.active {
    background: var(--primary-blue);
    color: #fff;
}
.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}
.wallpaper-thumb {
    aspect-ratio: 16/9;
    border-radius: 8px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.wallpaper-thumb:hover { transform: scale(1.05); }
.wallpaper-thumb.selected { border-color: var(--primary-blue); }
.reset-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #ffebee;
    color: #d32f2f;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}
.reset-btn:hover { background: #ffcdd2; }

/* æ·»åŠ åº”ç”¨å¼¹çª— */
.add-app-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}
.add-app-overlay.active { display: flex; }
.add-app-modal {
    width: 90%;
    max-width: 1200px;
    height: 600px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: flex;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.add-app-sidebar {
    width: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px 15px;
    color: #fff;
}
.add-app-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}
.add-app-nav-item {
    padding: 12px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.add-app-nav-item:hover {
    background: rgba(255,255,255,0.15);
}
.add-app-nav-item.active {
    background: rgba(255,255,255,0.25);
    font-weight: 600;
}
.add-app-nav-item i { width: 20px; text-align: center; }
.add-app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.add-app-tabs {
    display: flex;
    gap: 15px;
    padding: 15px 25px;
    border-bottom: 1px solid #e0e0e0;
}
.add-app-tab {
    padding: 8px 18px;
    border-radius: 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    color: #666;
}
.add-app-tab:hover { background: #f5f5f5; }
.add-app-tab.active {
    background: var(--primary-blue);
    color: #fff;
}
.add-app-list {
    overflow-y: auto;
    padding: 20px 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.app-card {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.2s;
    border-bottom: 1px solid #ececec;
}
.app-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: hidden;
}
.app-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.app-card-info {
    flex: 1;
}
.app-card-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.app-card-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.app-card-add {
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    background: var(--primary-blue);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.app-card-add:hover {
    background: #2a75d9;
    transform: translateY(-2px);
}
.app-card-add.added {
    background: #f44336;
}
.app-card-add.added:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

.copyright {
    font-size: 11px; color: rgba(255,255,255,0.6); text-align: center; 
    margin-top: auto; padding-bottom: 10px; text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* å³é”®èœå• */
.context-menu {
    position: fixed;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 100000;
    display: none;
    min-width: 140px;
    overflow: hidden;
    animation: contextMenuFadeIn 0.15s ease-out;
}
@keyframes contextMenuFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.context-menu.active { display: block; }
.context-menu-item {
    padding: 10px 16px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}
.context-menu-item:hover {
    background: #f0f5ff;
    color: var(--primary-blue);
}
.context-menu-item i {
    font-size: 14px;
    width: 18px;
    text-align: center;
}
.context-menu-item.danger {
    color: #f44336;
}
.context-menu-item.danger:hover {
    background: #fff5f5;
}
.context-menu-divider {
    height: 1px;
    background: #eee;
    margin: 4px 0;
}

/* ç¼–è¾‘æŠ–åŠ¨åŠ¨ç”» */
@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-2deg); }
    30% { transform: rotate(2deg); }
    50% { transform: rotate(-2deg); }
    70% { transform: rotate(2deg); }
    90% { transform: rotate(-1deg); }
}
.edit-mode .app-icon {
    animation: shake 0.5s infinite;
    position: relative;
}
.edit-mode .app-icon::after {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    background: #f44336;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(244,67,54,0.4);
    transition: all 0.2s;
}
.edit-mode .app-icon:hover::after {
    background: #d32f2f;
    transform: scale(1.2);
}

/* æ·»åŠ åˆ†ç±»å¼¹çª— */
.add-category-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 100001;
    display: none;
    justify-content: center;
    align-items: center;
}
.add-category-overlay.active { display: flex; }
.add-category-modal {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    width: 380px;
    max-width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease-out;
}
.add-category-modal h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}
.add-category-modal input,
.add-category-modal select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 15px;
    outline: none;
}
.add-category-modal input:focus,
.add-category-modal select:focus {
    border-color: var(--primary-blue);
}
.add-category-modal label {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    display: block;
}
.add-category-btns {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.add-category-btns button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.add-category-btns .btn-confirm {
    background: var(--primary-blue);
    color: #fff;
}
.add-category-btns .btn-confirm:hover {
    background: #2a75d9;
}
.add-category-btns .btn-cancel {
    background: #f0f0f0;
    color: #666;
}
.add-category-btns .btn-cancel:hover {
    background: #e0e0e0;
}
.icon-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}
.icon-preview i {
    font-size: 24px;
    color: var(--primary-blue);
}

/* æœç´¢åŒºåŸŸæ ·å¼ */
.search-section {
    border-radius: 8px;
    padding-top: 30px;
    box-shadow: none;
    width: 100%;
    height: 100%;
}
.search-section .logo {
    margin-bottom: 30px;
    text-align: center;
    display: block;
}
.search-section .logo img{
    height: 40px;
}
.new-search-container {
    max-width: 800px;
    margin: 0 auto 20px;
    position: relative;
            margin-top: 40px;
}
.search-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}
.search-tab {
    padding: 5px 15px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 20px;
}
.search-tab:hover {
    color: #333;
}
.search-tab.active {
    color: #f65978;
    font-weight: 500;
}
.new-search-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 8px 15px;
    box-shadow: 0 2px 8px #f6597857;
    border: 1px solid #f65978;
    position: relative;
}
.new-search-box .hot{
    padding: 4px 8px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b5b5b5;
}
.new-search-box .hot:hover{
    color:#f65978
}
.new-search-box .hot i {
    margin-right: 5px;
    width: 20px;
    height: 20px;
}
.search-engine-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    flex-shrink: 0;
}
.search-engine-icon i, .search-engine-icon img {
    width: 24px;
    height: 24px;
}
.new-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    padding: 8px 10px;
    outline: none;
    color: #333;
}
.new-search-box input::placeholder {
    color: #999;
}
.new-search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.new-search-btn i {
    margin-right: 10px;
    height:24px;
}
.new-search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}
.new-search-btn svg {
    fill: #000000;
}
.history-short-bar{
  display:flex;
  align-items:center;
  margin-top:16px;
  gap:12px;
}
.dot-btn{
  background:transparent;
  border:0;color:#eee;font-size:28px;cursor:pointer;padding:0 4px;
  position:relative;
}
.dot-menu{
  position:absolute;
  top:44px;
  left:0;
  background:#fff;
  color:#000;
  width: 100px;
  border-radius:4px;
  box-shadow:0 3px 16px #0004;
  display:none;
  z-index:999;
}
.dot-menu div{padding: 5px;font-size: 14px;cursor:pointer;border-radius: 4px;}
.dot-menu div:hover{background:#f1f1f1}
.short-history-scroll{
  display:flex;
  gap:28px;
  overflow:hidden;
  flex:1;
  padding: 5px;
}
.history-tag{
  display:flex;align-items:center;gap:6px;
  font-size:18px;color:#f8f8f8;white-space:nowrap;position:relative;cursor:pointer;
}
.del-x{
  position:absolute;
  top: -5px;
  right:-9px;
  width: 15px;
  height: 15px;
  background:#ddd;
  color:#222;
  border-radius:50%;
  text-align:center;
  line-height: 15px;
  font-size: 12px;
  display:none;
}
.history-short-bar.edit .del-x{display:block}
.expand-all-btn{
  background:transparent;border:0;color:#eee;font-size:24px;cursor:pointer;padding:0 4px;
}
.all-history-modal{
  width:100%;
  background:#fff;
  color:#222;
  padding:20px;
  border-radius:8px;
  display:none;
  z-index:100;
  position: absolute;
}
.history-grid{
  display:grid;grid-template-columns: repeat(5, 1fr);gap:14px;
}
.grid-item{
  position:relative;
}
.grid-del{
  position:absolute;
  top: 0;
  right:-8px;
  width:18px;
  height:18px;
  background:#ddd;
  border-radius:50%;
  text-align:center;
  line-height:18px;
  font-size:13px;
  display:none;
}
.all-history-modal.edit .grid-del{display:block}
.empty-tip{color:#999;text-align:center;padding:30px 0;font-size:16px}
/* é®ç½©å±‚ */
.mask{
  position:fixed;inset:0;
  background:rgba(0,0,0,0.08);
  backdrop-filter: blur(4px);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:9999;
}
.mask.show{display:flex;}
/* å¼¹çª—ä¸»ä½“ */
.pop-modal{
  width:78vw;max-width:1180px;
  background:rgba(255,255,255,0.76);
  backdrop-filter: blur(16px);
  border-radius:20px;
  padding:32px 28px 26px;
  position:relative;
}
/* å¼¹çª—é¡¶éƒ¨æ ‡é¢˜ï¼šç‚¹å‡»æ”¹å */
.pop-top-wrap{
  text-align:center;
  margin-bottom:24px;
}
.pop-top-text{
  font-size:28px;
  color:#333;
  cursor:pointer;
  display:inline-block;
  padding:2px 8px;
  border-radius:6px;
}
.pop-top-text:hover{
  background:rgba(0,0,0,0.06);
}
.pop-top-input{
  font-size:28px;
  text-align:center;
  border:none;
  border-radius:6px;
  padding:2px 8px;
  width:220px;
  outline:none;
  display:none;
}
.pop-close{
  position:absolute;
  top:14px;right:14px;
  width:24px;height:24px;
  border:none;background:rgba(0,0,0,0.08);
  border-radius:50%;
  font-size:16px;cursor:pointer;color:#222;
}
/* å¼¹çª—å†…æ¨ªå‘åº”ç”¨å•è¡Œ */
.pop-app-row{
  display:flex;gap:28px;white-space:nowrap;
}
/* æ¡Œé¢æ–‡ä»¶å¤¹2Ã—2å›ºå®šç½‘æ ¼ */
.desktop-folder{
  /* width:430px; */
  background:rgba(255,255,255,0.32);
  backdrop-filter: blur(6px);
  border-radius:18px;
  padding: 10px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  cursor:pointer;
}
/* å•ä¸ªåº”ç”¨é¡¹ */
.app-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}
/* é“¾æŽ¥å–æ¶ˆä¸‹åˆ’çº¿ */
.app-item a {
  text-decoration: none;
}
.big-icon{
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit:cover;
}
/* æ¡Œé¢å †å å››å®«æ ¼ */
.stack-box{
  width:72px;height:72px;
  display:grid;grid-template-columns:1fr 1fr;gap:3px;
}
.stack-box .big-icon{
  width:33px;height:33px;border-radius:8px;
}
/* æ¡Œé¢æ–‡ä»¶å¤¹åº•éƒ¨é™æ€åç§° */
.folder-label{
  margin-top: 10px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
}

.folder-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
}