@charset "UTF-8";

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: none;
    z-index: 999;
}

#overlay.open {
    display: block;
}

#list_content_box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(98vw, 1280px);
    height: min(78vh, 800px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
    display: none;
    overflow: hidden;
    z-index: 1000;
}

#list_content_box.open {
    display: flex;
    flex-direction: column;
}

#kansen_list_box {
    flex: 1;
    padding: 4px;
    overflow: auto;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(76px, 76px));
    justify-content: center;
    align-content: start;
}

#kansen_list_box img {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 10px;
    transition: .15s;
    cursor: pointer;
}

#kansenn_content_menu {
    height: 100px;
    padding: 0 4px;
    display: flex;
    gap: 10px;
    background: #f5f7fa;
    border-bottom: 1px solid #ddd;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#kansen_list_box img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, .25);
}

#kansen_list_box::-webkit-scrollbar {
    width: 10px;
}

#kansen_list_box::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 999px;
}

#kansenn_content_menu select,
#ship_search {
    height: 30px;
    font-size: 14px;
}

#ship_search {
    width: 250px;
}

#nation_search {
    width: 106px;
}

#type_search {
    width: 152px;
}

#rare_search {
    width: 72px;
}