/* MIIGO_COMMON_SEARCH_REBUILD_REAL_INPUT_BASE_CSS_V1_20260703
   重建共用搜索框基础样式。
   只保留视频/动漫/漫画/小说搜索框外观。
*/

#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{
    position:relative !important;
    pointer-events:auto !important;
    cursor:text !important;
}

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

/* MIIGO_COMMON_SEARCH_INNER_INPUT_SKIN_FIX_V4_20260703
   功能已经可输入；这里只把 .miigo-inner-search 的真实 input 做回原来的胶囊外观。 */
.miigo-inner-search.miigo-search-rebuild-v1{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    overflow:hidden !important;
    pointer-events:auto !important;
    cursor:text !important;
}

.miigo-inner-search.miigo-search-rebuild-v1::before,
.miigo-inner-search.miigo-search-rebuild-v1::after{
    content:"" !important;
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
}

.miigo-inner-search.miigo-search-rebuild-v1 .miigo-search-real-icon-v1{
    position:absolute !important;
    left:12px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    width:18px !important;
    height:18px !important;
    z-index:5 !important;
    pointer-events:none !important;
    opacity:.78 !important;
}

.miigo-inner-search.miigo-search-rebuild-v1 .miigo-search-real-icon-v1::before{
    content:"⌕" !important;
    display:block !important;
    font-size:19px !important;
    line-height:18px !important;
    color:#55708f !important;
}

.miigo-inner-search.miigo-search-rebuild-v1 .miigo-search-real-form-v1{
    position:absolute !important;
    inset:0 !important;
    z-index:4 !important;
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    height:100% !important;
    box-sizing:border-box !important;
    padding:0 14px 0 34px !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
}

.miigo-inner-search.miigo-search-rebuild-v1 .miigo-search-real-input-v1{
    display:block !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    height:100% !important;
    border:0 !important;
    outline:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#55708f !important;
    font-size:15px !important;
    font-weight:600 !important;
    line-height:normal !important;
    padding:0 8px 0 0 !important;
    margin:0 !important;
    appearance:none !important;
    -webkit-appearance:none !important;
    pointer-events:auto !important;
}

.miigo-inner-search.miigo-search-rebuild-v1 .miigo-search-real-input-v1::-webkit-search-decoration,
.miigo-inner-search.miigo-search-rebuild-v1 .miigo-search-real-input-v1::-webkit-search-cancel-button,
.miigo-inner-search.miigo-search-rebuild-v1 .miigo-search-real-input-v1::-webkit-search-results-button,
.miigo-inner-search.miigo-search-rebuild-v1 .miigo-search-real-input-v1::-webkit-search-results-decoration{
    display:none !important;
}

.miigo-inner-search.miigo-search-rebuild-v1 .miigo-search-real-input-v1::placeholder{
    color:#55708f !important;
    opacity:1 !important;
}

.miigo-inner-search.miigo-search-rebuild-v1 .miigo-search-real-submit-v1{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 auto !important;
    height:100% !important;
    border:0 !important;
    border-left:1px solid rgba(85,112,143,.28) !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#334155 !important;
    font-size:14px !important;
    font-weight:700 !important;
    padding:0 0 0 12px !important;
    margin:0 !important;
    box-shadow:none !important;
    cursor:pointer !important;
}
