body {
    max-width: 820px;
    font-family: Arial, sans-serif;
    margin: 0 auto;
    padding: 0;

}

header {
    position: fixed;
    top: 0px;
    z-index: 10;
    max-width: 820px;
    width: 100%;
}

.tvpubd-web-header-title.open ul {
    display: flex;
    flex-direction: column;
}

/*css导航栏样式*/
.tvpubd-web-header-title {
    display: flex;
    /* background: linear-gradient(to right, #FFF8F2, #FFF); */
    background: #3CA0D0;
    color: #fff;
    align-items: center;
    justify-content: space-between;
    /* width: 100%; */
    height: 6vh;
    padding: 0 10px;
    position: relative;
   

}

.tvpubd-web-header-title img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.tvpubd-web-header-title ul {
    list-style-type: none;
    margin: 0;
    padding: 20px 0px;
    display: flex;
    align-items: center;
    display: none;
}

.tvpubd-web-header-title li {
    position: relative;
    margin: 20px 0px;

}

.tvpubd-web-header-title li a:hover {
    color: #707070;
}

.tvpubd-title-left img {
    display: block;
    height: 4vh;
}

.tvpubd-title-center img {
    display: block;
    height: 4vh;
}


.tvpubd-title-right img {
    display: block;
    position: relative;
    height: 3vh;
    cursor: pointer;
}

/* 展开菜单时的导航栏样式 */
.tvpubd-web-header-title.open ul {
    display: flex;
    flex-direction: column;
}

.tvpubd-nav-ul-li {
    width: 38%;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    align-items: start;
    height: 94vh;
    top: 6vh;
    right: 0px;
    z-index: 10;
}

.tvpubd-nav-ul-li li a {
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.tvpubd-game-item {
    border-radius: 10px;
    background-color: #fff;
    position: relative;
    box-shadow: 0px 0px 10px #DDDDDD;
}

.tvpubd-game-item a {

    text-decoration: none;
}

.tvpubd-game-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    display: block;

}

.tvpubd-game-cover-diff img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.6;
    object-fit: cover;
    border-radius: 10px;
    display: block;

}

.tvpubd-game-cover-recommend img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px 10px 0px 0px;
    display: block;

}

.tvpubd-game-item h3 {
    color: #fff;
    margin: 5px 0px;
    font-size: 0.75rem;

}

.tvpubd-game-item p {
    color: #000;
    margin: 0px;
    font-size: 1rem;
}

.tvpubd-game-info {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    position: absolute;
    bottom: 0px;
    height: 4vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
    border-radius: 0px 0px 10px 10px;
}

.tvpubd-game-info p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.8rem;
    color: #fff;
    padding: 0px 5px;
}

.tvpubd-game-info-hot {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    bottom: 0px;
    height: 4vh;
    border-radius: 0px 0px 10px 10px;
}

.tvpubd-game-info-hot p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.8rem;
    color: #000;
    padding: 0px 5px;
}

.common-game-right {
    display: flex;
    width: 20%;
    /* height: 25px; */
    /* background: linear-gradient(to bottom, #4BACEC, #3B0DAA); */
    border-radius: 5px;
    right: 0px;
    justify-content: center;
    align-items: center;
}

.common-game-right img {
    /* width: 60px; */
    /* height: 20px; */
}

.tvpubd-recomed-div {
    margin: 20px 1rem;
}

.tvpubd-common-recommend-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #63ADD0;
    border-radius: 10px;
    padding: 0px 10px;
}

.tvpubd-common-recommend-title p {
    color: #fff;
    font-size: 1rem;
    /* padding: 0px 10px; */
    margin: 10px 0px;
    font-weight: bold;
}

.tvpubd-common-recommend-title img {
    width: 20px;
    height: 20px;
}

.tvpubd-common-recommend-title-left {
    display: flex;
    align-items: center;
    gap: 10px;
}


.tvpubd-common-recommend-content {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two columns layout */
    gap: 15px;
    /* Gap between items */
}

.tvpubd-common-recommend-content-2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Two columns layout */
    gap: 0.5rem;
    /* Gap between items */
}

.game-big-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.game-big-3 {
    grid-column: span 3;
    grid-row: span 3;
}



footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: #3CA0D0;
    text-align: center;
}

.tvpubd-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    /* Space between links */
    margin-bottom: 10px;
}

.tvpubd-footer-links a {
    font-size: 0.7em;
    color: #fff;
    text-decoration: none;
}

.tvpubd-footer-links a:hover {
    text-decoration: underline;
}

footer .tvpubd-copyright {
    font-size: 0.8em;
    color: #fff;
    margin: 10px 0px;
}

#back-top,
#back-home {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#flow {
    position: fixed;
    bottom: 10rem;
    right: 0.6rem;
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 0.5rem;
    gap: 10PX;
    border-radius: 10rem;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, box-shadow 0.3s;
}

#flow:hover {
    background-color: #A0A0A0(255, 255, 255, 1.0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.tvpubd-game-detail-title {
    /* width: 100%; */
    /* position: relative; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* padding: 1rem; */
    border-radius: 10px;
    position: relative;
}

.game-detail-iframe {
    width: 100%;
}

.tvpubd-game-detail-title img {
    width: 100%;
    /* Adjusted height for better appearance */
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;

}

.tvpubd-detail-info {
    /* z-index: 15; */
    /* position: absolute; */
    width: 100%;
    bottom: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    order: 1;
}

.tvpubd-detail-info h2 {
    color: #000;
    font-size: 1rem;
    margin: 10px;

}

.tvpubd-detail-info p {
    color: #000;
    font-size: 1rem;
    margin: 10px;

}

.tvpubd-game-instructions {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 1rem;
}


.tvpubd-game-instructions p {
    color: #000;
    margin: 0px;
}



.tvpubd-game-gameplay-button {
    display: flex;
    flex-direction: column;
    left: 0px;
    margin: 10px 0px;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 50px;
    width: 100%;
}

.tvpubd-game-gameplay-button img {
    width: 300px;
    height: 85px;

}

.tvpubd-game-iframe {
    /* width: 100%; */
    /* max-width: 560px; */
    /* margin: 1rem 0; */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100vh;
    position: relative;
}

#iframe-menu-btn {
    margin-top: 20px;
    margin-left: 60px;
    position: absolute;
    height: 40px;
    height: 40px;
}

#iframe-back-btn {
    margin-top: 20px;
    margin-left: 0px;
    position: absolute;
    height: 40px;
}

.tvpubd-news-detail {
    color: #000;
    text-align: start;
    padding: 1rem;
    margin-top: 8vh;
}

.tvpubd-news-detail img {
    width: 100%;
    object-fit: contain;
}

.error-page {

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.error-page h1 {
    font-size: 2em;
    color: #000;
}

.error-page p {
    font-size: 1.4em;
    color: #000;
    padding: 1rem;

}

.error-page img {
    padding: 2rem 1rem;
}

.tvpubd-game-mark {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    /* background-color: #000; */
    /* height: 4vh; */
    position: absolute;
    border-radius: 0px 0px 10px 10px;
    top: -20px;
    left: -2px;
}

.tvpubd-game-mark img {
    width: 80px;
    height: 80px;

}

.tvpubd-game-new {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    /* background-color: #000; */
    position: absolute;
    border-radius: 0px 0px 10px 10px;
    top: -2px;
    left: -2px;
}

.tvpubd-game-new img {
    width: 50px;
    height: 50px;

}

.tvpubd-game-mark p {
    color: #fff;
    font-size: 1rem;
    margin: 0px 10px;
}

#tvpubd-game-body {
    margin-top: 8vh;
}

.iframe-menu {
    display: flex;
    width: 60%;
    flex-direction: column;
    gap: 35px;
    background-color: #fff;
    position: absolute;
    align-items: start;
    height: 100vh;
    top: 0vh;
    right: 0px;
    z-index: 8;
    margin: 0;
    list-style-type: none;
    display: none;
    padding: 10px 10px;
}

/* 展开菜单时的导航栏样式 */
.iframe-menu.open {
    display: flex;
    flex-direction: column;
}

.iframe-menu li a {
    font-size: 1rem;
    color: #000;
    text-decoration: none;
}

.iframe-list-item a {
    display: flex;
    flex-direction: row;
    margin: 0px;
    justify-content: space-between;
    align-items: center;

}

.iframe-list-item a img {
    margin: 0px;
    height: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}

.iframe-list-item a p {
    margin: 0px 20px;
    position: relative;
}

.iframe-list-item-close a {
    display: flex;
    flex-direction: row;
    margin: 0px;
    justify-content: end;
    align-items: center;

}

.iframe-list-item-close img {
    margin: 0px;
    height: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}


#iframe-close-btn {
    right: 0px;
    top: 0px;
}

.tvpubd-game-info-div {
    margin: 10px;
    border-radius: 10px;
}

.tvpubd-game-about {
    margin: 0px 15px;
    padding: 15px;
    border-radius: 10px;
}

.tvpubd-game-about p {
    color: #000;
    font-size: 1rem;
    line-height:1.5rem
    
}




