* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; }
body {
    color: #1a1a1a;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.55;
}
.page { width: min(880px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 20px; }
h1 { margin: 0 0 8px; font-size: 28px; font-weight: 650; }
.intro { margin: 0 0 8px; color: #444; }
.rate-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 18px; align-items: center; }
.rate { text-align: center; padding: 12px 0 8px; }
#rate-label {
    display: block;
    font-size: 112px;
    line-height: 0.9;
    font-weight: 720;
    color: #e24a1b;
    font-variant-numeric: tabular-nums;
}
#rate { width: min(420px, 100%); accent-color: #e24a1b; }
.files { margin-top: 18px; }
.add { display: inline-block; color: #e24a1b; border-bottom: 2px solid #e24a1b; cursor: pointer; }
.add input { display: none; }
#file-list { list-style: none; margin: 12px 0 0; padding: 0; }
#file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eee; }
#file-list button { border: 0; background: transparent; color: #e24a1b; cursor: pointer; }
#start-btn { margin-top: 16px; border: 0; background: #e24a1b; color: #fff; padding: 10px 16px; cursor: pointer; }
#start-btn:disabled { opacity: 0.4; cursor: default; }
.progress { height: 4px; background: #f3d2c6; margin-top: 12px; }
#progress-bar { height: 100%; width: 0; background: #e24a1b; }
.status { color: #666; min-height: 1.4em; }
.status.is-error { color: #b42318; }
.result a { display: inline-block; margin: 0 10px 8px 0; color: #e24a1b; }
.promo { display: flex; flex-direction: column; gap: 10px; padding-left: 12px; }
.promo p { margin: 0; color: #e24a1b; font-size: 20px; font-weight: 700; }
.promo span { color: #555; font-size: 14px; }
.promo a { color: #fff; background: #e24a1b; text-decoration: none; text-align: center; padding: 8px 6px; }
.foot { margin-top: 36px; color: #666; }
.foot h2 { font-size: 15px; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; }
.foot a { color: #e24a1b; }
@media (max-width: 720px) {
    .rate-row { grid-template-columns: 1fr; }
    #rate-label { font-size: 80px; }
}
