
/* MIIGO_V4_COMMON_SEARCH_FORCE_SHOW_20260623
   强制让 video/anime/manga/novel 顶部搜索框显示。
   只作用 .miigo-shell-search，不碰标签/分类/内容。
*/
#miigo-v4-empty-shell-v1[data-channel="video"] .miigo-shell-page.miigo-shell-channel-video .miigo-shell-slot.miigo-shell-search,
#miigo-v4-empty-shell-v1[data-channel="anime"] .miigo-shell-page.miigo-shell-channel-anime .miigo-shell-slot.miigo-shell-search,
#miigo-v4-empty-shell-v1[data-channel="manga"] .miigo-shell-page.miigo-shell-channel-manga .miigo-shell-slot.miigo-shell-search,
#miigo-v4-empty-shell-v1[data-channel="novel"] .miigo-shell-page.miigo-shell-channel-novel .miigo-shell-slot.miigo-shell-search,
body.miigo-v4-empty-shell-active #miigo-v4-empty-shell-v1[data-channel="video"] .miigo-shell-page.miigo-shell-channel-video .miigo-shell-slot.miigo-shell-search,
body.miigo-v4-empty-shell-active #miigo-v4-empty-shell-v1[data-channel="anime"] .miigo-shell-page.miigo-shell-channel-anime .miigo-shell-slot.miigo-shell-search,
body.miigo-v4-empty-shell-active #miigo-v4-empty-shell-v1[data-channel="manga"] .miigo-shell-page.miigo-shell-channel-manga .miigo-shell-slot.miigo-shell-search,
body.miigo-v4-empty-shell-active #miigo-v4-empty-shell-v1[data-channel="novel"] .miigo-shell-page.miigo-shell-channel-novel .miigo-shell-slot.miigo-shell-search {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 99 !important;

    width: calc(100% - 36px) !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 8px 18px 12px !important;

    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: hidden !important;
}

/* MIIGO_V4_COMMON_SEARCH_EXACT_LIKE_ANIME_20260623
   不依赖 body.miigo-v4-empty-shell-active，直接命中 empty-shell 搜索槽。
   让 video / manga / novel 与 anime 搜索框视觉一致。
*/
#miigo-v4-empty-shell-v1[data-channel="video"] .miigo-shell-page.miigo-shell-channel-video .miigo-shell-slot.miigo-shell-search,
#miigo-v4-empty-shell-v1[data-channel="manga"] .miigo-shell-page.miigo-shell-channel-manga .miigo-shell-slot.miigo-shell-search,
#miigo-v4-empty-shell-v1[data-channel="novel"] .miigo-shell-page.miigo-shell-channel-novel .miigo-shell-slot.miigo-shell-search,
#miigo-v4-empty-shell-v1[data-channel="anime"] .miigo-shell-page.miigo-shell-channel-anime .miigo-shell-slot.miigo-shell-search {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: calc(100% - 36px) !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 8px 18px 12px !important;
    padding: 0 !important;
    box-sizing: border-box !important;

    background-color: rgba(218, 218, 218, .76) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'%3E%3C/circle%3E%3Cpath d='M20 20l-4.3-4.3'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: 24px 24px !important;
    background-position: 16px center !important;

    border: 0 !important;
    outline: 0 !important;
    border-radius: 999px !important;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.34),
        0 2px 8px rgba(15,23,42,.05) !important;

    color: transparent !important;
    font-size: 0 !important;
    line-height: 42px !important;
    text-indent: -9999px !important;
    overflow: hidden !important;

    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;

    z-index: 99 !important;
}

#miigo-v4-empty-shell-v1[data-channel="video"] .miigo-shell-page.miigo-shell-channel-video .miigo-shell-slot.miigo-shell-search::before,
#miigo-v4-empty-shell-v1[data-channel="manga"] .miigo-shell-page.miigo-shell-channel-manga .miigo-shell-slot.miigo-shell-search::before,
#miigo-v4-empty-shell-v1[data-channel="novel"] .miigo-shell-page.miigo-shell-channel-novel .miigo-shell-slot.miigo-shell-search::before,
#miigo-v4-empty-shell-v1[data-channel="anime"] .miigo-shell-page.miigo-shell-channel-anime .miigo-shell-slot.miigo-shell-search::before {
    content: "主角" !important;
    position: absolute !important;
    left: 48px !important;
    top: 0 !important;
    height: 42px !important;
    line-height: 42px !important;

    display: block !important;
    color: rgba(71,85,105,.82) !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    letter-spacing: .3px !important;
    white-space: nowrap !important;
    text-indent: 0 !important;
    text-shadow: none !important;
}

#miigo-v4-empty-shell-v1[data-channel="video"] .miigo-shell-page.miigo-shell-channel-video .miigo-shell-slot.miigo-shell-search::after,
#miigo-v4-empty-shell-v1[data-channel="manga"] .miigo-shell-page.miigo-shell-channel-manga .miigo-shell-slot.miigo-shell-search::after,
#miigo-v4-empty-shell-v1[data-channel="novel"] .miigo-shell-page.miigo-shell-channel-novel .miigo-shell-slot.miigo-shell-search::after,
#miigo-v4-empty-shell-v1[data-channel="anime"] .miigo-shell-page.miigo-shell-channel-anime .miigo-shell-slot.miigo-shell-search::after {
    content: "|  筛选" !important;
    position: absolute !important;
    right: 16px !important;
    top: 0 !important;
    height: 42px !important;
    line-height: 42px !important;

    display: block !important;
    color: rgba(71,85,105,.82) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    text-indent: 0 !important;
    text-shadow: none !important;
}

#miigo-v4-empty-shell-v1[data-channel="video"] .miigo-shell-page.miigo-shell-channel-video .miigo-shell-slot.miigo-shell-search *,
#miigo-v4-empty-shell-v1[data-channel="manga"] .miigo-shell-page.miigo-shell-channel-manga .miigo-shell-slot.miigo-shell-search *,
#miigo-v4-empty-shell-v1[data-channel="novel"] .miigo-shell-page.miigo-shell-channel-novel .miigo-shell-slot.miigo-shell-search *,
#miigo-v4-empty-shell-v1[data-channel="anime"] .miigo-shell-page.miigo-shell-channel-anime .miigo-shell-slot.miigo-shell-search * {
    display: none !important;
}

/* MIIGO_V4_COMMON_SEARCH_COMMUNITY_20260623 */
#miigo-v4-empty-shell-v1[data-channel="community"] .miigo-shell-page.miigo-shell-channel-community .miigo-shell-slot.miigo-shell-search {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: calc(100% - 36px) !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 8px 18px 12px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background-color: rgba(218, 218, 218, .76) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'%3E%3C/circle%3E%3Cpath d='M20 20l-4.3-4.3'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: 24px 24px !important;
    background-position: 16px center !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 999px !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.34), 0 2px 8px rgba(15,23,42,.05) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 42px !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 99 !important;
}
#miigo-v4-empty-shell-v1[data-channel="community"] .miigo-shell-page.miigo-shell-channel-community .miigo-shell-slot.miigo-shell-search::before {
    content: "主角" !important;
    position: absolute !important;
    left: 48px !important;
    top: 0 !important;
    height: 42px !important;
    line-height: 42px !important;
    display: block !important;
    color: rgba(71,85,105,.82) !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    letter-spacing: .3px !important;
    white-space: nowrap !important;
    text-indent: 0 !important;
}
#miigo-v4-empty-shell-v1[data-channel="community"] .miigo-shell-page.miigo-shell-channel-community .miigo-shell-slot.miigo-shell-search::after {
    content: "|  筛选" !important;
    position: absolute !important;
    right: 16px !important;
    top: 0 !important;
    height: 42px !important;
    line-height: 42px !important;
    display: block !important;
    color: rgba(71,85,105,.82) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    text-indent: 0 !important;
}
#miigo-v4-empty-shell-v1[data-channel="community"] .miigo-shell-page.miigo-shell-channel-community .miigo-shell-slot.miigo-shell-search * {
    display: none !important;
}
