body {
    height: 100vh;
    background-color: var(--body-color);
}

.containered {
    margin: 0 auto;
    max-width: 1000px;
}

.wrap-box {
    width: 100%;
    border: 1px solid #eee;
    background-color: #fff;
}

.not-found {
    padding: 80px 0;
    text-align: center;
    color: #999;
}


footer {
    margin-top: 8px;
    padding: 20px 20px 20px 10px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    color: #333;
}

footer .logo {
    color: #ccc;
    font-size: 28px;
    display: flex;
    align-items: center;
}


footer .logo img {
    width: 140px;
    filter: grayscale(100%);
    opacity: 0.5;
}


footer .at-counter {

}


footer .at-counter .count-item {
    margin: 10px 16px 0 0;
    font-size: 16px;
}


footer .at-counter .count-item .label {
    color: #999;
}



.wrap-box .header {
    padding: 0 16px;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.wrap-box .header .title {
    font-size: 18px;
    font-weight: 600;
}

.wrap-box .header .subtitle {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #999;
}

.wrap-box .header .right a {
    margin-left: 8px;
    padding: 4px 16px;
    display: block;
    text-align: center;
    border-radius: 8px;
    background-color: var(--body-color);
}

.wrap-box .header .right .more {
    font-size: 12px;
    color: #666;
    background-color: unset;
}

.wrap-box .content {
    padding: 16px 8px;
    position: relative;
}


.box-search-bar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-search-bar i {
    position: absolute;
    right: 8px;
}

.box-search-bar input[type=search] {
    padding: 0 16px;
    width: 100%;
    height: 36px;
    border-radius: 18px;
    background-color: #f6f6f6;
}

.box-search-bar input[type=search]:focus {
    padding: 0 16px;
}


.porn-categories {
    margin-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.porn-categories::-webkit-scrollbar {
    display: none;
}

.porn-categories ul {
    display: flex;
    flex-wrap: nowrap;
    list-style-type: none;
}

.porn-categories ul li a {
    margin: 0 4px;
    background-color: #f6f6f6;
    padding: 6px 16px;
    display: block;
    border-radius: 8px;
    word-break: break-word;
    white-space: nowrap;
    color: #999;
}

.porn-categories ul li.active a {
    background-color: var(--color-primary);
    color: #fff;
}




.porn-with-grid-list {
    margin: 0 auto;
    display: grid;
    justify-content: center;

    grid-template-columns: repeat(auto-fill, 20%);
    justify-content: center;
    justify-items: center;
}

.porn-with-grid-list .porn-grid-item {
    width: 90%;
    margin: 8px 0px;
    padding: 8px;
    background-color: #fff;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 10px #ddd;
}

.porn-with-grid-list .porn-grid-item .thumbnail {
    margin: 0 auto;
    width: 100%;
    padding-bottom: 144%;
    background-position: center;
    background-size: cover;
    background-color: #f6f6f6;
    border-radius: 8px;
}

.porn-with-grid-list .title {
    margin: 8px 0;
    padding: 0 4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

.porn-with-grid-list .option {
    padding: 0 4px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    color: #999;
}



.porn-list {
    width: 100%;
}

.porn-list .porn-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 8px;
    padding: 8px;
    background-color: #fff;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 10px #ddd;
}

.porn-list .title {
    margin: 8px 0;
    padding: 0 4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}


.porn-list .option {
    width: 100px;
    padding: 0 4px;
    font-size: 12px;
    color: #999;
    text-align: right;
}

@media (min-width: 1px) and (max-width: 480px) {

}



.porn-content img{
    width: 100%;
    display: block;
    vertical-align: top;
}

.porn-video-source-list {
    width: 100%;
    display: inline-grid;
    grid-template-columns: 33.333333% 33.333333% 33.333333%;
}

.porn-video-source-list .source-item {
    margin: 8px;
    padding: 8px 0;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.05);
}

.porn-video-source-list .source-item.active {
    background-color: var(--color-primary);
}

.porn-float-navbar {
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
    bottom: 10px;
    font-size: 0;
}

.porn-float-navbar ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 25px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
}

.porn-float-navbar ul li {
    width: 70px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}






.eobso-list {
    margin: 0 auto;
    display: grid;
    justify-content: center;

    grid-template-columns: repeat(auto-fill, 20%);
    justify-content: center;
    justify-items: center;
}

.eobso-list .porn-grid-item {
    width: 90%;
    margin: 8px 0px;
    padding: 8px;
    background-color: #fff;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 10px #ddd;
}

.eobso-list .porn-grid-item .thumbnail {
    margin: 0 auto;
    width: 100%;
    padding-bottom: 100%;
    background-position: center;
    background-size: cover;
    background-color: #f6f6f6;
    border-radius: 8px;
}

.eobso-list .title {
    margin: 8px 0;
    padding: 0 4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 600;
}

.eobso-list .option {
    padding: 0 4px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    color: #999;
}

.eobso-content img{
    width: 100%;
    display: block;
    vertical-align: top;
}

.float-call-button {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 10px #666;
}







/**
    pagination style
 */
.pagination {
    padding: 30px 0;
    display: flex;
    justify-content: center;
}
.pagination ul {
    padding: 0 8px;
    display: inline-flex;
    height: 50px;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    background-color: var(--pagination-bg-color);
    box-shadow: 0 0 15px var(--pagination-shadow-color);
}
.pagination ul li {
    margin: 0 4px;
    display: none;
    list-style: none;
    border-radius: 30px;
    line-height: 30px;
    background-color: var(--pagination-button-bg-color);
}
.pagination ul li a {
    display: block;
    padding: 0 16px;
    width: 100%;
    height: 30px;
    border-radius: 30px;
}
.pagination ul li a:hover {
    color: var(--pagination-button-active-text-color);
    background-color: var(--pagination-button-active-bg-color);
}
.pagination ul li.active {
    color: var(--pagination-button-active-text-color);
    background-color: var(--pagination-button-active-bg-color);
}
.pagination ul li.etc {
    padding: 0 16px;
}
.pagination ul li.disabled {
    height: 30px;
    padding: 0 16px;
    color: var(--pagination-button-disabled-text-color);
    background-color: var(--patination-button-disabled-bg-color);
    cursor: default;
}






/* episode list */
.episodes-list a {
    margin: 8px 0;
    padding: 4px;
    display: flex;
    justify-content: flex-start;
    border-radius: 8px;
    box-shadow: 0 0 5px #ddd;
}

.episodes-list a:first-child {
    margin: 0;
}


.episodes-list .thumbnail {
    width: 80px;
    height: 80px;
    background-position: center;
    background-size: cover;
    background-color: #f6f6f6;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}


.episodes-list .title {
    padding: 16px;
    display: flex;
    align-items: center;
    font-size: 14px;
    flex-shrink: 1;
}



.ally-list {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
}

.ally-list a {
    width: 20%;
    padding: 4px;
}

.ally-list a .thumbnail {
    width: 100%;
    padding-bottom: 50%;
    background-size: contain;
}

.ally-list a .title {
    padding: 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}