*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #F1F1F3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

#app {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 20px 0 20px;
    overflow-y: auto;
}

.application {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.application > .title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.application > .app-detail {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.application > .app-detail > .app-logo {
    width: 100px;
    height: 100px;
    border-radius: 8px;
}

.application > .app-detail > .app-logo > img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
}

.application > .app-detail > .app-info {
    display: flex;
    flex-direction: column;
    height: 100px;
    justify-content: space-between;
}

.application > .app-detail > .app-info > div {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.description {
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.description > .desc-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.desc-toggle {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.desc-content {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.desc-content.clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.score-comment {
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.score-comment > .sc-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sc-toggle {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.sc-content {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
}

/* 左侧：分数 + 星 */
.sc-left {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.sc-score {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.sc-stars {
    display: flex;
    flex-direction: row;
    gap: 5px;
    width: 100%;
    justify-content: center;
}

.sc-stars > img {
    width: 20px;
    height: 20px;
}

/* 右侧：星级分布条 */
.sc-right {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sc-bar-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.sc-bar-label {
    font-size: 11px;
    color: #888;
    width: 22px;
    text-align: right;
    flex-shrink: 0;
}

.sc-bar-track {
    flex: 1;
    height: 6px;
    background: #E0E0E0;
    border-radius: 3px;
    overflow: hidden;
}

.sc-bar-fill {
    height: 100%;
    /* background: #FFB800; */
    background: #4E4D52;
    border-radius: 3px;
}

.sc-footer {
    font-size: 16px;
    font-weight: bold;
    padding-top: 10px;
    text-decoration: underline;
}


.detailinfo {
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detailinfo > .info-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-item-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item-box > .info-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.info-item-value {
    font-weight: 500;
}

.download-btn {
    margin-top: auto;
    padding: 24px 0 36px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button {
    width: 100%;
    height: 48px;
    background: #377AFF;
    border-radius: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}