.download-section {
    font-family: -apple-system, system-ui, sans-serif;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
    .download-section {
        max-width: 350px;
    }
}

main {
    flex: 1;
    padding: 5px;
}

.app-header {
    display: flex;
    align-items: center;

    gap: 20px;
    margin-bottom: 25px;
}

.app-icon-wrapper {
    flex-shrink: 0;
    position: relative;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    object-fit: cover;
    display: block;
}

.badge-flash {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6e4a;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid #fff;
}


.app-info-main {
    flex: 1;
    min-width: 0;
}

.app-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: nowrap;

}

.app-name {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.official-badge {
    color: #007bff;
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;

}

.app-developer {
    color: #888;
    font-size: 15px;
    margin-top: 5px;
}


.app-stats-grid {
    display: flex;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 20px;
}

.stat-column {
    flex: 1;
    text-align: center;
    border-right: 1px solid #eee;
}

.stat-column:last-child {
    border-right: none;
}

.stat-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.stars {
    color: #ffc107;
    font-size: 12px;
}

.download-btn {
    display: block;
    width: 100%;
    background: #ff6e4a;
    color: white;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}


@media (max-width: 600px) {
    .app-header {
        gap: 15px;
    }

    .app-icon {
        width: 75px !important;
        height: 75px;
    }


    .app-title-row {
        flex-wrap: wrap;
        gap: 5px;
    }

    .app-name {
        font-size: 18px;
        max-width: 100%;
        white-space: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-height: 1.2;
    }

    .official-badge {
        font-size: 12px;
    }


    .app-stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-column {
        border: none;
        text-align: left;
        padding-left: 10px;
    }
}


.rating-card {
    font-family: -apple-system, system-ui, sans-serif;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    color: #333;
}


.rating-notice {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
}

.rating-notice a {
    color: #ff6e4a;
    text-decoration: none;
}


.rating-content {
    display: flex;
    align-items: center;
    gap: 40px;
}


.score-box {
    text-align: center;
    min-width: 120px;
}

.score-number {
    font-size: 64px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1;
}

.stars {
    color: #000;
    font-size: 18px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.review-count {
    color: #888;
    font-size: 14px;
}


.progress-container {
    flex: 1;

}

.rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.rating-row:last-child {
    margin-bottom: 0;
}

.row-label {
    width: 20px;
    font-size: 13px;
    color: #888;
}

.progress-bar-bg {
    flex: 1;
    height: 12px;
    background: #eee;
    border-radius: 6px;
    margin-left: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #ff6e4a;

    border-radius: 6px;
}


@media (max-width: 600px) {
    .rating-card {
        padding: 16px;
        margin: 10px;
    }

    .rating-content {
        flex-direction: column;

        gap: 20px;
    }

    .score-box {
        min-width: unset;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 20px;
        width: 100%;
    }

    .progress-container {
        width: 100%;
    }

    .score-number {
        font-size: 56px;
    }
}

#hhhs h1,
#hhhs h2,
#hhhs h3,
#hhhs h4,
#hhhs h5,
#hhhs h6,
#hhhs li,
#hhhs span,
#hhhs a,
#hhhs p,
#hhhs td {
    color: black !important;
    line-height: 1.5;
}

#hhhs h2,
#hhhs h3,
#hhhs h4 {
    text-align: center;
}

#hhhs td {
    font-size: 16px;
}

#hhhs h2 {
    font-size: 23px;
}

#hhhs h3 {
    font-size: 21px;
}

#hhhs li {
    list-style: none;
    text-align: left;
}

#hhhs h4 {
    font-size: 20px;
}

#hhhs p {
    font-size: 17px;
    margin: 10px 0px;
    text-align: left;
}

#hhhs img {
    width: 100%;
}

#hhhs {
    margin: 10px 80px;
}

@media (max-width: 767px) {
    #hhhs figure {
        width: 100% !important;
        overflow: hidden;
    }
}

@media (max-width: 767px) {
    #hhhs {
        margin: 10px 10px;
    }
}

.game-card24 {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .game-section-container {
        max-width: 100%;
    }

    .image-wrapper {
        height: 130px;
    }

    .game-slider-viewport {
        scrollbar-width: none;

        padding-bottom: 0;
    }

    .game-slider-viewport::-webkit-scrollbar {
        display: none;

    }
}

.game-card24:hover .image-wrapper img {
    transform: scale(1.05);
}

.image-wrapper24 {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: #eee;
}

.image-wrapper24 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}