.search-container {
    position: relative;
    width: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    z-index: 10;
}
.search-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #171717;
    border: 1px solid #444;
    border-radius: 5px;
    width: 100%;
    padding: 8px;
    position: relative;
}
.search-bar.flat-bottom {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.search-bar-column {
    display: flex;
    align-items: center;
    width: 100%;
    transition: all 0.3s;
    position: relative;
}
.search-bar:focus-within {
    border: 1px solid #444;
}
.search-icon {
    color: #666;
    width: 9px;
    height: 19px;
    margin-right: 15px;
}
.search-icon:hover {
    color: #aaa;
}
.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 16px;
    outline: none;
}
.search-input {
    width: 100%;
}
.clear-btn {
    color: #666;
    text-decoration: underline;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
}
.clear-btn:hover {
    color: #aaa;
}
.search-bar-column .tip {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #aaa;
    margin-left: 20px;
    cursor: pointer;
}
.tip .icon {
    width: 16px;
    height: 16px;
    fill: #aaa;
}
.search-popup {
    position: absolute;
    top: 100%;
    width: 100.45%;
    background: #171717;
    border-left: 1px solid #444;
    border-right: 1px solid #444;
    border-bottom: 1px solid #444;
    border-radius: 0 0 5px 5px;
    border-top: none;
    overflow-y: auto;
    box-shadow: 0 8px 6px -6px black;
}
.results-container {
    width: 100%;
}
.result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.result-item:nth-child(odd) {
    background-color: #1c1c1c;
}
.result-item:nth-child(even) {
    background-color: #171717;
}
.result-item:not(.highlighted):hover {
    background: rgba(40, 30, 53, 0.52);
}
.result-item.highlighted {
    background-color: rgba(40, 30, 53, 0.52);
}
.additional-content {
    background-color: #171717;
    color: #ccc;
    border-top: none;
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
    line-height: 1rem;
    border-bottom: 1px solid #292929;
    padding: 10px 15px 5px;
}
.additional-content {
    display: none;
}
.search-bar:focus + .additional-content,
.additional-content.active {
    display: flex;
}
.result-item img {
    width: 50px;
    height: 70px;
    object-fit: cover;
    margin-right: 10px;
}
.result-item .info {
    color: #aaa;
}
.result-item .title {
    font-size: 16px;
    font-weight: bold;
}
.footer-search .icon-search {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.additional-contents.search-popup .footer-search {
    background: #202020;
    color: #666;
    line-height: 2.5rem;
    font-size: 1.1rem;
    padding: 0 12px;
    overflow: hidden;
}
.anime-header-text {
    font-size: 14px;
    margin-bottom: 0rem;
}
.start .additional-contents.search-popup .additional-content .tip .filter {
    margin-top: -15px;
    text-decoration: none;
    color: #666 !important;
    font-size: 14px;
}
.start .additional-contents.search-popup .additional-content .tip .filter:hover {
    color: #aaa !important;
}
.result-item .meta {
    display: flex;
    gap: 5px;
    font-size: 12px;
    color: #aaa;
}
.dot:before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #515151;
    vertical-align: middle;
    display: inline-block;
    margin-left: 5px;
    margin-right: 8px;
}
.name {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    font-size: 1rem;
    display: -webkit-box;
    line-height: 1.5rem;
    max-height: 3rem;
    overflow: hidden;
}
.rating {
    font-size: .8em;
    border: 1px solid #666;
    color: #666;
    border-radius: 5px;
    padding: 0 3px;
}
.fa-star:before {
    content: "\2605";
    font-family: system-ui;
    font-weight: bold;
}
@media screen and (max-width: 1264px) {
    .search-container {
        margin-left: 0;
    }
    .search-popup {
        width: 100.2%;
    }
    .additional-contents.search-popup .tip a.filter {
        color: #666;
        fill: #666;
    }
}
/* Mobile Style */
@media screen and (max-width: 770px) {
    .search-input {
        font-size: 14px;
    }
}
@media screen and (max-width: 550px) {
    .search-container {
        width: 100%;
    }
    .search-bar {
        width: 100%;
    }
    .search-popup {
        width: 100.5%;
    }
    .result-item .meta {
        gap: 0px;
        font-size: 8.8px;
    }
}