* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Avenir", Helvetica, Arial, sans-serif;
}

a {
    text-decoration: none;
}

ul, li {
    list-style: none;
}

.main-section {
    /*margin: 15px;*/
}

#stars {
    margin: 8px 8px 8px 0;
    display: inline-block;
    vertical-align: middle;
}

.star-rating {
    --rating: 0;
    --star-size: 16px;
    position: relative;
    display: inline-block;
    font-size: var(--star-size);
    line-height: 1;
    letter-spacing: 2px;
    height: 1em;
    width: calc(5em + 8px);
    color: #ddd;
}

.star-rating::before,
.star-rating::after {
    content: "★★★★★";
    font-family: Arial, Helvetica, sans-serif;
    white-space: nowrap;
}

.star-rating::after {
    color: #E4AD22;
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--rating) / 5 * 100%);
    overflow: hidden;
}

@font-face {
    font-family: 'iconfont';
    src: url('/css/game33/font/iconfont.woff2') format('woff2'),
    url('/css/game33/font/iconfont.woff') format('woff');
    font-display: swap;
}

.iconfont {
    font-family: "iconfont";
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon {
    width: 3em;
    height: 3em;
    fill: currentColor;
    overflow: hidden;
}

body {
    max-width: 700px;
    margin: 0 auto;
}

body > * {
    max-width: 100%;
    text-align: center;
    /*overflow-x: hidden;*/
}

.headerbar {
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding: 16px 18px;
    background-color: #fff;
}

.headerbar h2 {
    color: #333;
    font-size: 20px;
    font-weight: 400;
}

.headerbar .btn span {
    font-size: 22px;

}

#shareBtn span {
    display: none;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .2);
    z-index: 2147483647;
    display: none;
}

#sidebar1 {
    background-color: #ffffff;
    position: absolute;
    top: 0;
    transform: translateX(-65vw);
    min-height: 100vh;
    padding: 20px 30px;
    max-width: 65vw;
    animation: menudrop .3s linear forwards;
}

.hide #sidebar1 {
    animation: menudrop 1s ease reverse forwards;
}

@keyframes menudrop {
    0% {
        transform: translateX(-65vw);
    }
    100% {
        transform: translateX(0);
    }
}

.close-sidebar {
    text-align: center;
    margin-bottom: 20px;
}

.close-sidebar span {
    font-weight: 600;
    font-size: 30px;
}

#sidebar1 ul li {
    padding: 12px 0;
}

#sidebar1 ul li a {
    color: #212121;
    font-size: 16px;
    font-weight: 500;
}

#sidebar2 {
    background-color: #ffffff;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(240px);
    padding: 20px 30px;
    max-width: 240px;
    animation: sharedrop1 .3s linear forwards;
}

.hide #sidebar2 {
    animation: sharedrop1 1s linear reverse forwards;
}

@keyframes sharedrop1 {
    0% {
        transform: translateX(240px);
    }
    100% {
        transform: translateX(0);
    }
}

#sidebar2 ul li {
    padding: 5px 0;
}

.foot, .copy {
    text-align: center;
    font-size: 14px;
    color: #767676; /* was #999: 2.8:1 on white, fails WCAG AA */
    line-height: 14px;
    margin-left: 4px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.foot span, .foot img {
    vertical-align: middle;
}

.copy {
    padding: 5px 0 5px;
}

#toggleMask {
    background-color: rgba(255, 255, 255, .2);
}

#sidebar3 {
    background-color: #000;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(240px);
    padding: 20px 30px;
    min-height: 100vh;
    animation: sharedrop3 .3s linear forwards;
}

.hide #sidebar2 {
    animation: sharedrop3 1s linear reverse forwards;
}

@keyframes sharedrop3 {
    0% {
        transform: translateX(240px);
    }
    100% {
        transform: translateX(0);
    }
}

.leftBtn.iconfont {
    font-size: 25px !important;
}

.foot_link a {
    color: #d02141;
    text-decoration: none
}

.foot_link {
    text-align: center;
    color: #767676; /* was #d6ac12: fails WCAG AA on white */
    margin-left: 4px;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 10px;
}

p {
    margin-top: 5px;
}

/* Screen-reader-only text: gives links/images accessible names without visual change */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.logo-img {
    height: 40px;
    aspect-ratio: auto;
    width: auto;
}

body {
    color: #F9FAFF;
    font-family: "Fredoka", "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.00938em;
}

h1, h2, h3 {
    font-weight: 400;
    font-family: Fredoka;
}

.sortTitle {
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding: 11px 15px;
}

.sortTitle h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.sortTitle a {
    font-weight: 500;
    font-size: 14px;
    font-family: Fredoka-SemiBold, Fredoka;
    color: #767676;
    line-height: 2em;
}

#pop {
    margin-bottom: 15px;
}

#pop .pop {
    width: calc(100% - 30px);
    margin-left: 15px;
    overflow-x: hidden;
    padding-top: 22px;
}

#pop .pop .swiper-slide {
    width: 154px;
    margin-right: 15px;
}

#pop .pop .swiper-slide > a {
    display: block;
    border-radius: 10px;
    padding: 15px 10px;
}

#pop .pop .swiper-slide > a .imgThum {
    position: relative;
}

#pop .pop .swiper-slide > a .imgThum .thum {
    position: absolute;
    height: 65px;
    width: 65px;
    border-radius: 10px;
    border: 3px solid #fff;
    bottom: 0;
}

#pop .pop .swiper-slide > a .imgThum .thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

#pop .pop .swiper-slide > a .imgThum .desc {
    text-align: right;
    font-size: 12px;
    color: #fff;
    padding: 0px 0 10px;
}

#pop .pop .swiper-slide > a .imgThum .desc span {
    color: #FFE082;
}

#pop .pop .swiper-slide h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding-top: 5px;
    overflow: hidden;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

#pop .pop .swiper-slide:nth-child(odd) > a {
    background-color: rgba(45, 100, 15, .95);
}

#pop .pop .swiper-slide:nth-child(even) > a {
    background-color: rgba(30, 88, 45, .95);
}

#categorized-games {
    min-height: 100vh;
}

#site-description {
    margin-bottom: 15px;
    color: black;
}

#site-description .site-description {
    width: calc(100% - 30px);
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 15px;
    text-align: justify;
    overflow-x: hidden;
}

.gameList {
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gameList li {
    width: calc((100% - 30px) / 3);
    margin-bottom: 15px;
}

.gameList li a {
    display: block;
}

.gameList li a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

.gameList li a h3 {
    text-align: center;
    line-height: 18px;
    max-height: 36px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(71, 74, 79, .87);
    overflow: hidden;
}

#menuBtn .leftBtn {
    display: none;
}

.swiper-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

.swiper-container-android .swiper-slide, .swiper-wrapper {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.swiper-container-free-mode > .swiper-wrapper {
    -webkit-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    margin: 0 auto
}

.swiper-slide {
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform
}

.swiper-slide-invisible-blank {
    visibility: hidden
}

.swiper-container .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1000
}