#main {
    background-color: transparent;
}

#koomicsMainBanner {
    font-family: Saira, EnterSansman, 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 3.2rem;
    font-style: italic;
    position: relative;
    top: 0;
    right: 0;
    width: 95%;
    color: #fff;
    margin-bottom: 1rem;
    text-indent: 2.5rem;
    background: linear-gradient(90.01deg, #8053E0 24.66%, rgba(240, 146, 255, 0.29) 111.24%);
    clip-path: polygon(1.15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

#ad-layer {
    height: 100vh;
    width: 98vw;
    left: 1vw;
    position: fixed;
    box-sizing: border-box;
    background-color: transparent;
    pointer-events: none;
}

#ad-layer>div {
    height: 500px;  
    position: absolute; 
    margin-top: 175px;
}

#ad-layer>div:nth-child(2) {
    right: 0;
}

#koomicsContent {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.koomics-panel-image {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 0.25rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.koomics-paginator {
    position: relative;
    z-index: 10000;
    background-color: #d1e2fe;
    margin: 0 auto;
    width: 100%;
    padding: 0 .5rem;
    border-radius: 5px;
}

.koomics-panel-section {
    position: relative;
    margin: 0 auto;
    width: calc(100% - 600px);
    min-width: 370px;
    max-width: 1200px;
}

.koomics-paginator.top {
    position: fixed;
    top: 0px;
    /* same with .koomics-panel-section */
    margin: 0;
    width: inherit;
    min-width: 370px;
    max-width: 1200px;
}

.koomics-panel-selector {
    color: #5354c0;
    background-color: #fff;
    background-image: url(../design/dropdown.png);
    background-position: 97%;
    background-repeat: no-repeat;
    background-size: 1rem;
    text-align: left;
    border-radius: 0.25rem;
    min-width: 200px;
    border: none;
    font-size: 1rem;
    padding: 0.4rem 1.5rem 0.4rem 0.75rem;
    margin: 0.3rem auto;
    font-weight: bolder;
}

.full-text {
    display: block;
}

.short-text {
    display: none;
}

.koomics-paginator-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.koomics-pagination-btn {
    color: transparent;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 3.25rem;
    height: 3.25rem;
    background-color: transparent;
    border: none;
    margin: 0 0.25rem;
}

.koomics-pagination-btn.bottom {
    width: 4.5rem;
    height: 4.5rem;
}

.koomics-btn-next {
    background-image: url(../design/comics/btn_next_l.png);
}


.koomics-btn-next:disabled,
.koomics-btn-next.disabled {
    background-image: url(../design/comics//btn_next_l_gray.png);
}

.koomics-btn-skip {
    background-image: url(../design/comics//btn_skip_l.png);
}

.koomics-btn-skip:disabled,
.koomics-btn-skip.disabled {
    background-image: url(../design/comics/btn_skip_l_gray.png);
}

.koomics-btn-skip.right,
.koomics-btn-next.right {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
}

#koomicsPanelWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

#koomicsPanelWrapper.two-page img,
#koomicsPanelWrapper.two-page .koomics-skeleton-loading {
    width: 50%;
    height: auto;
}

.koomics-skeleton-loading {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.koomics-skeleton-bone {
    background: linear-gradient(120deg,
            #e5e5e5 30%,
            #f0f0f0 38%,
            #f0f0f0 40%,
            #e5e5e5 48%);
    margin: 0 0 1rem 0;
    border-radius: 0.5rem;
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-animation: skeleton-loading 1.25s linear infinite;
    animation: skeleton-loading 1.25s linear infinite;
    --height-t1: 310px;
    --height-mid: 230px;
    --height-b1: 290px;
}

.koomics-skeleton-bone.t1 {
    width: 100%;
    height: var(--height-t1);
}

.koomics-skeleton-bone.mid1,
.koomics-skeleton-bone.mid2 {
    display: inline-block;
    width: 50%;
    height: var(--height-mid);
}

.koomics-skeleton-bone.mid1 {
    clip-path: polygon(0 0, 100% 0%, 93% 100%, 0% 100%);
}

.koomics-skeleton-bone.mid2 {
    clip-path: polygon(7% 0, 100% 0%, 100% 100%, 0% 100%);
}

.koomics-skeleton-bone.b1 {
    width: 75%;
    height: var(--height-b1);
    margin: 0 auto;
}

.koomics-alert {
    background-color: #77a7fd;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    border-radius: 3px;
    margin: 1rem auto;
}

#koomicsDownloadSection {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
}

#koomicsPlayNowBubble {
    order: 1;
    z-index: 10;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 340px;
    height: 59px;
    background-size: 340px 59px;
    background-image: url(../design/comics/speech_bubble_dl.webp);
    background-position: center center;
    background-repeat: no-repeat;
}

.no-webp #koomicsPlayNowBubble {
    background-image: url(../design/comics/speech_bubble_dl.png);
}

#koomicsPlayNowBubble p {
    position: relative;
    font-family: Saira, EnterSansman, 'Courier New', Courier, monospace;
    font-weight: bold;
    font-style: italic;
    color: #fff;
    top: -5px;
    margin-bottom: 0;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: 1.35rem;
    margin: 0 auto;
    width: 99%;
}

#koomicsGlowImg {
    position: absolute;
    left: -150px;
    width: 150px;
    top: -100px;
}

#koomicStoreLinks {
    order: 2;
}

#koomicStoreLinks div {
    margin: 0 0.25rem;
}

/* Overrides */
.dropdown-menu {
    scrollbar-width: thin;
    max-height: 480px;
    overflow: auto;
}

.dropdown-item {
    color: #5354c0 !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #d1e2fe;
    font-weight: bold;
}

@-webkit-keyframes skeleton-loading {
    0% {
        background-color: hsl(200, 20%, 70%);
    }

    100% {
        background-position: -100% 0;
        background-color: hsl(200, 20%, 95%);
    }
}

@keyframes skeleton-loading {
    0% {
        background-color: hsl(200, 20%, 70%);
    }

    100% {
        background-position: -100% 0;
        background-color: hsl(200, 20%, 95%);
    }
}

@media screen and (max-width: 1590px) {
    .koomics-panel-section {
        width: 75%;
    }

    .koomics-paginator.top {
        width: 75%;
    }

    .koomics-skeleton-loading.two-page .t1 {
        height: calc(var(--height-t1) * .85);
    }

    .koomics-skeleton-loading.two-page .mid1,
    .koomics-skeleton-loading.two-page .mid2 {
        height: calc(var(--height-mid) * .85);
    }

    .koomics-skeleton-loading.two-page .b1 {
        height: calc(var(--height-b1) * .85);
    }
}

@media screen and (max-width: 1030px) {
    #koomicsDownloadSection {
        flex-direction: column;
    }

    #koomicStoreLinks {
        order: 1;
    }

    #koomicsPlayNowBubble {
        margin-top: 1rem;
        order: 2;
    }

    .koomics-skeleton-loading.two-page .t1 {
        height: calc(var(--height-t1) * .55);
    }

    .koomics-skeleton-loading.two-page .mid1,
    .koomics-skeleton-loading.two-page .mid2 {
        height: calc(var(--height-mid) * .55);
    }

    .koomics-skeleton-loading.two-page .b1 {
        height: calc(var(--height-b1) * .55);
    }
}

@media screen and (max-width: 760px) {
    #koomicsMainBanner {
        font-size: 1.30rem;
        padding: 0.5rem;
        text-indent: 1.5rem;
    }

    .koomics-alert {
        font-size: 0.85rem;
    }

    .koomics-pagination-btn.bottom {
        width: 3.5rem;
        height: 3.5rem;
    }

    .koomics-pagination-btn {
        width: 2.5rem;
        height: 2.5rem;
        margin: 0 0.1rem;
    }

    .koomics-panel-selector {
        width: fit-content;
        font-size: 0.85rem;
    }

    .short-text {
        display: block;
    }

    .full-text {
        display: none;
    }

    #koomicsPanelWrapper.two-page img,
    #koomicsPanelWrapper.two-page .koomics-skeleton-loading {
        width: 100%;
    }

    .koomics-skeleton-loading.two-page .t1 {
        height: calc(var(--height-t1) * .65);
    }

    .koomics-skeleton-loading.two-page .mid1,
    .koomics-skeleton-loading.two-page .mid2 {
        height: calc(var(--height-mid) * .65);
    }

    .koomics-skeleton-loading.two-page .b1 {
        height: calc(var(--height-b1) * .65);
    }
}