/* @🍮 */
/* --- 🍮的世界书分类折叠样式 --- */
.wb-category-group {
    margin-bottom: 10px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.wb-category-header {
    padding: 15px 20px;
    font-weight: bold;
    color: var(--primary-color);
    background-color: #fff8fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wb-category-header::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s ease;
}
.wb-category-group.open .wb-category-header::after {
    transform: rotate(180deg);
}
.wb-category-content {
    display: none;
}
.wb-category-group.open .wb-category-content {
    display: block;
}
.wb-category-content .world-book-item {
    border-bottom: 1px solid #f0f0f0;
}
.wb-category-content .world-book-item:last-child {
    border-bottom: none;
}

/* --- 🍮的世界书多选样式 --- */
#wb-multi-select-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #eee;
    z-index: 20;
    border-bottom-left-radius: var(--phone-corner-radius);
    border-bottom-right-radius: var(--phone-corner-radius);
    animation: slideUp 0.3s ease-out;
}

#wb-multi-select-bar.visible {
    display: flex;
}

#world-book-screen.multi-select-active .content {
    padding-bottom: 70px;
}

.world-book-item.multi-select-selected {
    background-color: rgba(144, 202, 249, 0.2);
}

.wb-category-header.multi-select-selected {
    background-color: rgba(144, 202, 249, 0.3);
}

