body {
    --w-accent: #0ea5e9;
    --w-accent-hover: #0284c7;
    --w-bg-light: #e0f2fe;
    --w-box-shadow: none;
    --bs-body-color: #0c4a6e;
    --bs-body-bg: #f0f9ff;
}

.container {
    --bs-gutter-x: 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 8px 0;
    font-size: 12px;
    text-align: center;
    background-color: rgba(224, 242, 254, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.site-header a {
    white-space: nowrap;
}

.member-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    min-height: 50vh;
    font-size: 14px;
}

@media(min-width:768px) {
    .member-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(min-width:1024px) {
    .member-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media(min-width:1380px) {
    .member-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

.item {
    position: relative;
}

.item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: 0.3s;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
}

.item a {
    display: block;
    text-decoration: none !important;
}

.item a:hover img {
    transform: scale(1.04);
    opacity: 1;
}

.item[class$="BNK48"] {
    --band: #c995c1;
}

.item[class$="CGM48"] {
    --band: #3ac3b1;
}

.item .name {
    /* background-color: var(--band, var(--w-accent)); */
    background-color: var(--w-accent);
    color: #fff;
    font-weight: 700;
    padding: 10px 4px;
    border-radius: 30px;
    line-height: 1;
    text-align: center;
    margin: -20px 8px 0;
    z-index: 1;
    position: relative;
    text-transform: uppercase;
    white-space: nowrap;
}

.item svg {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 8px;
    width: 2em;
}

.nav-pills {
    --bs-nav-link-color: var(--w-accent);
    --bs-nav-link-hover-color: var(--w-accent);
    --bs-nav-pills-border-radius: 50px;
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: var(--w-accent);
    font-size: 14px;
}

.nav-pills .nav-item {
    background-color: var(--w-bg-light);
}

.nav-pills .nav-item:first-child {
    border-radius: 50px 0px 0px 50px;
}

.nav-pills .nav-item:last-child {
    border-radius: 0px 50px 50px 0px;
}

.nav-pills .nav-item .nav-link {
    margin-top: 4px;
    margin-bottom: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.nav-pills .nav-item:first-child .nav-link {
    margin-left: 4px;
}

.nav-pills .nav-item:last-child .nav-link {
    margin-right: 4px;
}

.info-box {
    background-color: var(--w-bg-light);
    height: 100%;
    display: grid;
    align-items: center;
    border-radius: 8px;
    padding: 24px;
}

.sum-grid {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    margin: 0 auto;
}

.sum-item {
    background-color: #bae6fd;
    line-height: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    width: 64px;
    height: 64px;
    border-radius: 5px;
}

.sum-item h2 {
    font-weight: 400;
    font-size: 14px;
}

.sum-item span {
    font-size: 20px;
    font-weight: 700;
    display: block;
}

.sum-item small {
    font-weight: 400;
    font-size: 12px;
    display: block;
}

h1 strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

h1 small {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.site-footer {
    padding: 8px 0;
    font-size: 12px;
    text-align: center;
}