/* ROM之家风格 - 手机应用详情页 */
html { font-size: 20px; }
@media (max-width: 360px) { html { font-size: 18px; } }
@media (min-width: 414px) { html { font-size: 22px; } }

.rom-app-detail {
    margin: 0;
    padding: 0;
    background: #f3f3f6;
    font-family: "Helvetica Neue", Helvetica, "Microsoft YaHei", sans-serif;
    color: #333;
    -webkit-text-size-adjust: 100%;
}
.rom-app-detail header {
    margin: 0;
    padding: 0;
    display: block;
}
.rom-app-detail * { box-sizing: border-box; }
.rom-app-detail a { text-decoration: none; color: inherit; }
.rom-app-detail ul, .rom-app-detail li { list-style: none; margin: 0; padding: 0; }
.rom-app-detail img { border: 0; vertical-align: middle; max-width: 100%; }

.rom-app-detail .head {
    position: relative;
    height: 2.7rem;
    background: var(--wap-primary, #237cd2);
    overflow: hidden;
    margin: 0;
}
.rom-app-detail .home {
    float: left;
    width: 2.7rem;
    height: 2.7rem;
    position: relative;
}
.rom-app-detail .home:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.1rem;
    height: 1.1rem;
    margin: -0.55rem 0 0 -0.55rem;
    border: 2px solid #fff;
    border-radius: 3px;
}
.rom-app-detail .home:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.5rem;
    height: 0.5rem;
    margin: -0.35rem 0 0 -0.25rem;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}
.rom-app-detail .logo {
    position: absolute;
    top: 50%;
    left: 2.8rem;
    transform: translateY(-50%);
    max-width: 8rem;
    height: 1.3rem;
    line-height: 1.3rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rom-app-detail .nav-menu {
    float: right;
    width: 2.7rem;
    height: 2.7rem;
    position: relative;
    cursor: pointer;
}
.rom-app-detail .nav-menu-ico {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.rom-app-detail .nav-menu-ico:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 1rem;
    width: 1.1rem;
    height: 2px;
    margin-left: -0.55rem;
    background: #fff;
    border-radius: 1px;
    box-shadow: 0 0.35rem 0 #fff, 0 0.7rem 0 #fff;
}
.rom-app-detail .nav-menu-list {
    position: absolute;
    top: 2.7rem;
    right: 0.5rem;
    width: 6.5rem;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 0.2rem;
    z-index: 99;
    height: 0;
    overflow: hidden;
    padding: 0;
}
.rom-app-detail .nav-menu-list a {
    display: block;
    height: 2rem;
    line-height: 2rem;
    color: #fff;
    font-size: 0.7rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.rom-app-detail .nav-menu.active .nav-menu-list {
    height: auto;
    padding: 0.25rem 0;
}

.rom-app-detail .page-root {
    display: block;
    height: 1.75rem;
    line-height: 1.75rem;
    padding: 0 0.75rem;
    font-size: 0.55rem;
    color: #999;
    background: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
}
.rom-app-detail .page-root a { color: #999; }
.rom-app-detail .page-root .sep { color: #ccc; margin: 0 0.1rem; }
.rom-app-detail .page-root em { color: #333; font-style: normal; font-weight: 500; }

.rom-app-detail .software-head {
    background: #fff;
    padding-bottom: 0.85rem;
    border-bottom: 0.25rem solid #eee;
}
.rom-app-detail .software-head-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.75rem 0;
}
.rom-app-detail .software-img {
    display: block;
    margin: 0;
    width: 3.6rem;
    height: 3.6rem;
    flex-shrink: 0;
    border-radius: 0.75rem;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.rom-app-detail .software-head-text {
    flex: 1;
    min-width: 0;
}
.rom-app-detail .software-head h1 {
    display: block;
    margin: 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.35rem;
    text-align: left;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rom-app-detail .like-peo {
    display: block;
    text-align: left;
    color: #999;
    font-size: 0.6rem;
    margin-top: 0.25rem;
}
.rom-app-detail .software-info {
    display: flex;
    align-items: stretch;
    margin: 0.75rem 0.75rem 0;
    padding: 0;
    background: #f8f9fb;
    border-radius: 0.4rem;
    overflow: hidden;
}
.rom-app-detail .software-info li {
    flex: 1;
    float: none;
    width: auto;
    text-align: center;
    position: relative;
    padding: 0.55rem 0.25rem;
    min-width: 0;
}
.rom-app-detail .software-info li:after {
    content: "";
    position: absolute;
    top: 0.45rem;
    right: 0;
    width: 1px;
    height: calc(100% - 0.9rem);
    background: #e8eaed;
}
.rom-app-detail .software-info li:last-child:after { display: none; }
.rom-app-detail .soft-stars {
    line-height: 1;
    margin-bottom: 0.2rem;
    font-size: 0;
}
.rom-app-detail .soft-stars i {
    font-style: normal;
    font-size: 0.55rem;
    color: #ddd;
    letter-spacing: 0.02rem;
}
.rom-app-detail .soft-stars i.on {
    color: #ffb400;
}
.rom-app-detail .software-info li b {
    display: block;
    font-size: 0.72rem;
    color: #222;
    font-weight: bold;
    line-height: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 0.15rem;
}
.rom-app-detail .software-info li span {
    display: block;
    color: #999;
    font-size: 0.55rem;
    margin-top: 0.15rem;
}
.rom-app-detail .software-hot b {
    color: #ffb400 !important;
}
.rom-app-detail .software-time b {
    font-size: 0.62rem !important;
}

.rom-app-detail .soft-btn { margin: 1rem 0.75rem 0; }
.rom-app-detail .gs-btn {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
    width: 100%;
    max-width: 16rem;
    height: 2.25rem;
    background: var(--wap-button, #ff831e);
    border-radius: 0.25rem;
    line-height: 2.25rem;
    margin: 0 auto;
    font-weight: bold;
}
.rom-app-detail .pt-btn {
    display: block;
    width: 100%;
    max-width: 16rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.65rem;
    margin: 0.5rem auto 0;
    border: 1px solid #ddd;
    border-radius: 0.2rem;
    background: #fafafa;
}
.rom-app-detail .source-info {
    text-align: center;
    margin: 0.75rem 0.75rem 0;
    padding: 0.4rem 0;
    background: #f5f5f5;
    border-radius: 0.15rem;
}
.rom-app-detail .source-info span {
    color: #999;
    font-size: 0.6rem;
    margin: 0 0.5rem;
}

.rom-app-detail .tab-box {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}
.rom-app-detail .ul-tabbox {
    display: flex;
    align-items: center;
    height: 2.2rem;
    padding: 0 0.75rem;
}
.rom-app-detail .ul-tab { flex: 1; overflow: hidden; }
.rom-app-detail .ul-tab li {
    float: left;
    font-size: 0.75rem;
    color: #666;
    padding: 0 0.5rem;
    height: 2.2rem;
    line-height: 2.2rem;
    cursor: pointer;
    position: relative;
}
.rom-app-detail .ul-tab li.active { color: var(--wap-accent, #237cd2); font-weight: bold; }
.rom-app-detail .ul-tab li.active:after { content: ""; position: absolute; bottom: 0; left: 0.5rem; right: 0.5rem; height: 2px; background: var(--wap-accent, #237cd2);
}
.rom-app-detail .fix-btn {
    width: 3rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    background: var(--wap-button, #ff831e);
    color: #fff !important;
    font-size: 0.65rem;
    border-radius: 0.2rem;
}

.rom-app-detail .img-lb {
    background: #fff;
    padding: 0.5rem 0;
    border-bottom: 0.25rem solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    line-height: 0;
    font-size: 0;
}
.rom-app-detail .img-lb-list {
    white-space: nowrap;
    padding: 0 0.75rem;
    margin: 0;
    font-size: 0;
    line-height: 0;
}
.rom-app-detail .img-lb-list li {
    display: inline-block;
    margin-right: 0.5rem;
    vertical-align: top;
    line-height: 0;
}
.rom-app-detail .img-lb-list li:last-child { margin-right: 0; }
.rom-app-detail .img-lb-list img {
    height: 12rem;
    width: auto;
    border-radius: 0.25rem;
    border: 1px solid #eee;
    display: block;
}

.rom-app-detail .summary,
.rom-app-detail .package-info,
.rom-app-detail .guess-you-like {
    background: #fff;
    margin-top: 0.25rem;
    padding-bottom: 0.75rem;
}
.rom-app-detail .g-modal-tit {
    padding: 0.75rem 0.75rem 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}
.rom-app-detail .g-modal-tit h4 {
    margin: 0;
    font-size: 0.8rem;
    color: #333;
    font-weight: bold;
    padding-left: 0.5rem;
    border-left: 3px solid var(--wap-accent, #237cd2);
}
.rom-app-detail .summary-count {
    padding: 0.75rem;
    font-size: 0.7rem;
    line-height: 1.5rem;
    color: #555;
    word-break: break-all;
}
.rom-app-detail .summary-count.collapsed {
    max-height: 14rem;
    overflow: hidden;
    position: relative;
}
.rom-app-detail .summary-count.collapsed:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3rem;
    background: linear-gradient(transparent, #fff);
}
.rom-app-detail .summary-count img { max-width: 100%; height: auto; margin: 0.5rem 0; }
.rom-app-detail .addmore {
    display: block;
    text-align: center;
    color: var(--wap-accent, #237cd2);
    font-size: 0.65rem;
    padding: 0.5rem;
    cursor: pointer;
}
.rom-app-detail .package-info-list { padding: 0.5rem 0.75rem; }
.rom-app-detail .package-info-list li {
    font-size: 0.65rem;
    color: #666;
    line-height: 1.8rem;
    border-bottom: 1px dashed #f0f0f0;
}
.rom-app-detail .package-info-list li span { color: #333; }

.rom-app-detail .like-list li { border-bottom: 1px solid #f0f0f0; }
.rom-app-detail .like-list li a {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.75rem;
}
.rom-app-detail .like-list li img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
}
.rom-app-detail .like-list li h5 {
    flex: 1;
    margin: 0 0.6rem;
    font-size: 0.72rem;
    font-weight: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rom-app-detail .like-btn {
    width: 2.8rem;
    height: 1.4rem;
    line-height: 1.4rem;
    text-align: center;
    background: var(--wap-button, #ff831e);
    color: #fff;
    font-size: 0.6rem;
    border-radius: 0.15rem;
}
.rom-app-detail .like-empty {
    padding: 1rem;
    text-align: center;
    color: #999;
    font-size: 0.65rem;
}
.rom-app-detail .wrap-footer {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.55rem;
    color: #aaa;
    background: #f3f3f6;
}