@charset "utf-8";

body {
    padding-top: 70px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f7f8fa;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* 全局去除点击时的黑色焦点轮廓 */
*:focus,
*:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3) !important;
}

ul {
    list-style: none !important;
}

.navtop {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: none;
    padding: 5px 0;
}

.navtop .navbar-brand {
    font-weight: 800;
    color: #007bff !important;
    font-size: 22px;
}

.navtop .navbar-nav>li>a {
    color: #444 !important;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.navtop .navbar-nav>li>a:hover,
.navtop .navbar-nav>li.active>a {
    color: #007bff !important;
    background: transparent;
}

.search-form {
    width: 100%;
    max-width: 450px;
    margin: 0 20px;
}

.navbar-form {
    margin-top: 8px;
    margin-bottom: 0;
    padding: 0;
    box-shadow: none;
}

.search-form .input-group-addon {
    background: #f1f3f5;
    border: 1px solid #e9ecef;
    border-right: none;
    border-radius: 20px 0 0 20px;
    color: #888;
}

.search-form .form-control {
    border: 1px solid #e9ecef;
    border-left: none;
    box-shadow: none;
    height: 38px;
    background: #f1f3f5;
}

.search-form .form-control:focus {
    background: #fff;
    border-color: #007bff;
    box-shadow: none !important;
}

.search-form .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 0 20px 20px 0;
    padding: 8px 20px;
    font-weight: 600;
}

.search-form .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.multi-lang-menu {
    min-width: 150px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.multi-lang-menu>li>a {
    padding: 8px 20px;
    color: #333 !important;
    transition: background 0.2s;
}

.multi-lang-menu>li>a:hover {
    background-color: #f8f9fa;
    color: #007bff !important;
}

.section-wrapper {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}

.section-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.section-title a {
    color: #1a1a1a;
}

.section-title a:hover {
    color: #007bff;
}

.app-grid {
    margin: 0 -10px;
}

.app-col {
    padding: 10px;
}

.app-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.app-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.app-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.app-version {
    font-size: 12px;
    color: #999;
}

.app-list-grid {
    padding-left: 0 !important;
    margin-left: -10px !important;
    margin-right: -10px !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.app-grid-item {
    width: 33.33333% !important;
    padding: 10px !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.app-list-card {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 15px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.25s, box-shadow 0.25s !important;
    position: relative !important;
    overflow: hidden !important;
    height: 100% !important;
    border: none !important;
}

.app-list-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.app-list-link {
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 2;
    position: relative;
}

.app-list-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.app-list-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-list-info {
    flex-grow: 1;
    overflow: hidden;
}

.app-list-info .app-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #888;
}

.update-time {
    margin-left: 8px;
    white-space: nowrap;
}

.app-hover-action {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 3;
}

.app-list-card:hover .app-hover-action {
    opacity: 1;
    visibility: visible;
}

.btn-download {
    background: #007bff;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-btn-group {
    display: inline-flex;
    background: #eef1f5;
    border-radius: 20px;
    padding: 4px;
}

.sort-btn {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #555 !important;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sort-btn:hover {
    color: #007bff !important;
    text-decoration: none;
}

.sort-btn.active {
    background: #fff !important;
    color: #007bff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.custom-breadcrumb-wrapper {
    background: transparent !important;
    padding: 15px 15px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #eaeaea !important;
    font-size: 14px;
    box-sizing: border-box;
}

.custom-breadcrumb-wrapper ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    align-items: center;
}

.custom-breadcrumb-wrapper li {
    color: #888;
    margin-right: 5px;
}

.custom-breadcrumb-wrapper li a {
    color: #007bff;
    text-decoration: none;
}

.info-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-grid {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.info-grid li {
    width: calc(50% - 8px);
    font-size: 14px;
    display: flex;
    color: #333;
}

.info-grid li .itip {
    width: 110px;
    color: #888;
    font-weight: 500;
    flex-shrink: 0;
}

.download-section {
    background: #fff;
    border-radius: 16px;
    padding: 25px 15px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
}

.download-section .btn-download-main,
.download-section .btn-download-alt {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    min-width: auto !important;
    width: auto !important;
    height: auto !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center;
}

.download-section .btn-download-main {
    background: linear-gradient(135deg, #00b09b, #96c93d) !important;
    color: #fff !important;
    box-shadow: 0 6px 15px rgba(0, 176, 155, 0.3) !important;
    border: none !important;
    padding: 14px 30px !important;
    font-size: 16px !important;
    height: 52px !important;
    min-width: 280px !important;
    margin-bottom: 10px !important;
}

.download-section .btn-download-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 176, 155, 0.4) !important;
    color: #fff !important;
}

.download-section .btn-download-main .version-badge {
    font-size: 12px !important;
    background: rgba(0, 0, 0, 0.15) !important;
    padding: 4px 8px !important;
    border-radius: 10px !important;
    margin-left: 8px !important;
    white-space: nowrap;
}

.download-section .btn-download-alt {
    background: #f1f3f5 !important;
    color: #333 !important;
    border: 1px solid #e9ecef !important;
    font-size: 13px !important;
    padding: 10px 16px !important;
    height: 40px !important;
    border-radius: 20px !important;
}

.download-section .btn-download-alt:hover {
    background: #e2e6ea !important;
    color: #007bff !important;
}

.content-section {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.content-section .section-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.description-content {
    color: #444;
    line-height: 1.8;
    font-size: 15px;
}

.permission-list {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.permission-list li {
    width: 100%;
    padding: 15px !important;
    background: #f8f9fa !important;
    border-radius: 10px !important;
    border-left: 4px solid #007bff !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.permission-list li strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.permission-list li p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

.version-list {
    padding: 0;
    margin: 0;
}

.version-list li {
    padding: 12px 0 !important;
    border-bottom: 1px dashed #eee !important;
    display: flex;
    align-items: center;
    font-size: 14px;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    background: transparent !important;
}

.version-list li:last-child {
    border-bottom: none !important;
}

.version-date {
    color: #888;
    width: 100px;
    flex-shrink: 0;
}

.version-link {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
}

.download-page-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.download-action-area {
    text-align: center;
    background: #f8fbff;
    border-radius: 12px;
    padding: 30px 20px;
    margin-bottom: 30px;
    border: 1px dashed #b8daff;
}

.download-action-area .end-middle {
    margin: 0;
}

.details-block {
    flex: 1;
    min-width: 300px;
}

.block-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-list {
    padding: 0;
    margin: 0;
}

.details-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
    color: #333;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list li span:not(.itip) {
    overflow: hidden;
    text-overflow: ellipsis;
}

.details-list li span {
    width: 110px;
    color: #888;
    flex-shrink: 0;
    font-weight: 500;
}

.details-list li a {
    color: #007bff;
}

.compact-permissions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
    margin: 0;
}

.compact-permissions li {
    width: 100% !important;
    padding: 10px 12px !important;
    background: #fff !important;
    border-radius: 8px !important;
    border: 1px solid #eaeaea !important;
    border-left: 3px solid #007bff !important;
    margin: 0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.compact-permissions li strong {
    display: block;
    font-size: 13px;
    color: #333;
    margin-bottom: 3px;
    word-break: break-all;
}

.compact-permissions li p {
    font-size: 12px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

.ad-container {
    margin: 25px 0;
    text-align: center;
}

.promo-banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 16px;
    padding: 30px;
    color: #fff;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(30, 60, 114, 0.2);
}

.promo-content h3 {
    color: #4db8ff;
    margin-top: 0;
    font-weight: 800;
    font-size: 22px;
}

.promo-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-size: 14px;
}

.promo-btn {
    background: #00d2ff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
    transition: all 0.3s;
}

.promo-btn:hover {
    background: #00b8e6;
    color: #fff;
    transform: translateY(-2px);
}

.allstar50,
.allstar40,
.allstar30,
.allstar20,
.allstar10 {
    display: inline-block;
    width: 73px;
    height: 12px;
    background: url(../images/midstars.gif) no-repeat;
    overflow: hidden;
    margin-top: 2px;
}

.allstar50 {
    background-position: 0 -100px;
}

.allstar40 {
    background-position: 0 -80px;
}

.allstar30 {
    background-position: 0 -60px;
}

.allstar20 {
    background-position: 0 -40px;
}

.allstar10 {
    background-position: 0 -20px;
}

.full-width-block {
    width: 100% !important;
    flex: none !important;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eaeaea;
}

.full-width-block .details-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.full-width-block .details-list li {
    border-bottom: none !important;
    width: calc(33.33% - 14px);
    padding: 0 !important;
    align-items: center;
}

.full-width-block .details-list li span {
    width: 100px;
}

.permissions-details {
    display: block;
}

.permissions-details:not([open]) .mt-2 {
    display: none;
}

.permissions-details[open] .show-more-btn .text-show {
    display: none;
}

.permissions-details[open] .show-more-btn .text-hide {
    display: inline-block;
}

.show-more-btn .text-hide {
    display: none;
}

.compact-permissions.mt-2 {
    margin-top: 10px !important;
}

.show-more-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-top: 15px;
    background: #fff;
    border: 1px dashed #007bff;
    color: #007bff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    list-style: none;
}

.show-more-btn:hover {
    background: #f0f7ff;
}

.show-more-btn::-webkit-details-marker {
    display: none;
}

.app-detail-header-gp {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.gp-header-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.gp-app-icon {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    background: #f8f9fa;
}

.gp-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-app-title-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5px;
}

.gp-app-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.2;
    word-break: break-word;
}

.gp-developer-name {
    font-size: 16px;
    color: #555;
    margin-bottom: 4px;
}

.gp-version-text {
    font-size: 14px;
    color: #888;
}

.gp-header-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 10px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
}

.stat-val {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

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

.stat-divider {
    width: 1px;
    height: 30px;
    background: #eee;
}

.gp-actions {
    margin-top: 20px;
    text-align: center;
}

.btn-gp-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #007bff;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transition: all 0.2s;
}

.btn-gp-download:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.allversion {
    margin-bottom: 30px !important;
    padding: 25px !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.desc-wrapper {
    position: relative;
    max-height: 250px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.desc-wrapper.expanded {
    max-height: none !important;
    overflow: visible !important;
}

.desc-wrapper .description-content {
    margin: 0;
}

.desc-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.desc-wrapper.expanded .desc-fade-overlay {
    display: none !important;
}

.desc-toggle-btn {
    display: block;
    text-align: center;
    padding: 12px 0 0;
    color: #007bff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.desc-toggle-btn:hover {
    color: #0056b3;
}

.catepage {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.catepage .pagination {
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.catepage .pagination>li>a,
.catepage .pagination>li>span {
    color: #333;
    border: none;
    padding: 10px 16px;
}

.catepage .pagination>.active>a,
.catepage .pagination>.active>span {
    background-color: #007bff;
    color: #fff;
    border-radius: 6px;
}

@media (min-width: 768px) {

    .mobile-search-trigger,
    .mobile-search-container {
        display: none !important;
    }

    .navbar-toggle {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .search-form {
        max-width: 300px;
    }

    .app-grid-item {
        width: 50% !important;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 50px !important;
    }

    .navtop {
        height: 50px;
        padding: 0 !important;
        background: #fff !important;
        margin-bottom: 12px !important;
    }

    .navtop .navbar-nav>li>a {
        padding: 15px 20px;
        border-bottom: 1px solid #f8f9fa;
    }

    .navtop .navbar-nav>li:last-child>a {
        border-bottom: none;
    }

    .search-form {
        margin: 10px 0;
        max-width: 100%;
    }

    .promo-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .app-hover-action {
        display: none !important;
    }

    .app-grid-item {
        width: 100% !important;
    }

    .app-detail-header {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px 15px !important;
    }

    .app-detail-icon {
        margin: 0 auto 15px auto !important;
        width: 80px !important;
        height: 80px !important;
        border-radius: 18px !important;
    }

    .app-detail-meta {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 15px !important;
    }

    .app-detail-actions {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .app-detail-actions .btn-header-download {
        width: 80% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 15px !important;
    }

    .app-detail-title {
        font-size: 20px !important;
        text-align: center !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }

    .info-grid li {
        width: 100%;
    }

    .btn-primary-download {
        width: 100%;
    }

    .download-section {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .download-section .btn-download-main,
    .download-section .btn-download-alt {
        width: 100% !important;
        min-width: 100% !important;
        height: auto !important;
        min-height: 46px !important;
        white-space: normal !important;
        text-align: center !important;
        justify-content: center !important;
        margin-bottom: 0 !important;
    }

    .compact-permissions {
        grid-template-columns: 1fr;
    }

    .download-page-card {
        padding: 0 15px;
    }

    .custom-breadcrumb-wrapper {
        padding: 10px 15px !important;
    }

    .full-width-block .details-list li {
        width: 100%;
    }

    .download-page-card~.section-wrapper {
        padding: 0 15px !important;
    }

    .download-page-card~.section-wrapper .app-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        margin: 0 -5px !important;
    }

    .download-page-card~.section-wrapper .app-grid .app-col {
        width: 50% !important;
        float: none !important;
        padding: 5px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .download-page-card~.section-wrapper .app-grid .app-card {
        padding: 10px 5px !important;
        border-radius: 10px !important;
    }

    .download-page-card~.section-wrapper .app-grid .app-icon-wrap {
        width: 56px !important;
        height: 56px !important;
        margin-bottom: 8px !important;
        border-radius: 12px !important;
    }

    .download-page-card~.section-wrapper .app-grid .app-title {
        font-size: 11px !important;
        margin-top: 4px !important;
        line-height: 1.2 !important;
    }

    .content {
        padding: 0 12px !important;
        padding-top: 0 !important;
    }

    .section-wrapper {
        margin-bottom: 25px !important;
    }

    .section-wrapper:first-child {
        margin-top: 5px !important;
    }

    .section-header {
        margin-bottom: 12px !important;
    }

    .section-title {
        font-size: 16px !important;
    }

    .featured-grid,
    .recent-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        margin: 0 -4px !important;
    }

    .featured-grid .app-col,
    .recent-grid .app-col {
        width: 33.333333% !important;
        float: none !important;
        padding: 4px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .recent-grid .app-col {
        width: 50% !important;
        padding: 6px !important;
    }

    .recent-grid .app-list-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        padding: 12px !important;
        border-radius: 12px !important;
        min-height: 76px !important;
    }

    .recent-grid .app-list-link {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: 100% !important;
    }

    .recent-grid .app-list-icon {
        width: 48px !important;
        height: 48px !important;
        margin-right: 10px !important;
        margin-bottom: 0 !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
    }

    .recent-grid .app-list-info {
        flex-grow: 1 !important;
        overflow: hidden !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .recent-grid .app-title {
        font-size: 13px !important;
        margin-bottom: 4px !important;
        text-align: left !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .recent-grid .app-meta {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 5px !important;
    }

    .recent-grid .app-meta .star-img {
        transform: scale(0.8);
        transform-origin: left center;
    }

    .recent-grid .app-meta .update-time {
        font-size: 11px !important;
        margin-left: 0 !important;
        color: #888 !important;
        white-space: nowrap !important;
    }

    .app-grid .app-card {
        padding: 10px 4px !important;
        border-radius: 10px !important;
    }

    .app-grid .app-icon-wrap {
        width: 52px !important;
        height: 52px !important;
        margin-bottom: 5px !important;
    }

    .app-grid .app-title {
        font-size: 11px !important;
        margin-top: 2px !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .app-grid .app-version {
        font-size: 10px !important;
    }

    .mobile-search-bar {
        display: none !important;
    }

    .navbar-collapse {
        background: #fff;
        border-top: 1px solid #eaeaea;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    }

    .navtop .search-form {
        display: none !important;
    }

    .mobile-header-wrapper {
        position: relative;
        width: 100%;
        height: 50px;
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box;
    }

    .navbar-toggle {
        display: block !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none;
        position: relative !important;
        z-index: 20;
        width: 40px;
    }

    .navbar-toggle .icon-bar {
        background-color: #333 !important;
        height: 3px;
        border-radius: 2px;
        width: 22px;
        margin-left: 0;
    }

    .navbar-toggle .icon-bar+.icon-bar {
        margin-top: 4px;
    }

    .mobile-header-wrapper .navbar-brand {
        float: none !important;
        margin: 0 0 0 8px !important;
        padding: 0 !important;
        line-height: 50px;
        height: 50px;
        transition: opacity 0.3s ease;
        position: relative;
        z-index: 1;
        font-size: 20px;
    }

    .logo-area img {
        max-height: 28px;
        margin-top: -3px;
    }

    .mobile-search-trigger {
        display: block !important;
        position: relative;
        float: none !important;
        width: 40px;
        height: 50px;
        background: transparent;
        border: none;
        font-size: 20px;
        color: #333;
        z-index: 2;
        transition: opacity 0.3s ease;
        margin-left: auto;
        padding: 0;
        text-align: right;
    }

    .mobile-search-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 50px;
        background: #fff;
        display: flex;
        align-items: center;
        padding: 0 15px !important;
        transform: translateX(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 10;
        box-sizing: border-box;
    }

    .mobile-header-wrapper.search-active .mobile-search-container {
        transform: translateX(0);
        opacity: 1;
    }

    .mobile-header-wrapper.search-active .navbar-brand,
    .mobile-header-wrapper.search-active .mobile-search-trigger,
    .mobile-header-wrapper.search-active .navbar-toggle {
        opacity: 0;
        pointer-events: none;
    }

    .mobile-search-container form {
        flex-grow: 1;
        margin: 0;
        display: flex;
        width: 100%;
        min-width: 0;
    }

    .mobile-search-container .input-group {
        width: 100% !important;
        display: flex !important;
    }

    .mobile-search-container .form-control {
        height: 36px;
        border: 1px solid #e9ecef;
        box-shadow: none;
        background: #f1f3f5;
        flex: 1 1 auto;
        width: 1%;
        border-radius: 20px 0 0 20px !important;
    }

    .mobile-search-container .input-group-btn {
        width: 1%;
        white-space: nowrap;
        vertical-align: middle;
        display: table-cell;
    }

    .mobile-search-container .input-group-btn .btn {
        height: 36px;
        background: #007bff;
        color: #fff;
        border: none;
        border-radius: 0 20px 20px 0 !important;
        padding: 0 15px;
    }

    .mobile-search-back {
        background: transparent !important;
        border: none !important;
        color: #333;
        font-size: 20px;
        padding: 0 12px 0 0 !important;
        outline: none;
        position: relative !important;
        z-index: 20;
        margin-left: 0 !important;
        flex-shrink: 0;
    }

    .app-detail-header-gp {
        padding: 15px;
    }

    .gp-header-top {
        gap: 15px;
        margin-bottom: 20px;
    }

    .gp-app-icon {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .gp-app-title {
        font-size: 20px;
    }

    .gp-developer-name {
        font-size: 14px;
    }

    .gp-header-stats {
        padding-top: 15px;
        flex-wrap: wrap;
    }

    .stat-val {
        font-size: 13px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-divider {
        height: 24px;
    }

    .allversion {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    .app-col {
        width: 50%;
        float: left;
    }
}

.version-show-more-wrapper {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.version-show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #007bff;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border: 1px dashed #007bff;
    border-radius: 20px;
    transition: background 0.2s;
}

.version-show-more-btn:hover {
    background: #f0f7ff;
    text-decoration: none;
}