* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: #e4e4e4;
    color: #2a2a2a;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.55;
}
h1, .intro, .columns, .foot { width: min(980px, calc(100% - 28px)); margin-left: auto; margin-right: auto; }
h1 { margin: 28px auto 8px; font-size: 32px; font-weight: 650; letter-spacing: 0; }
.intro { margin: 0 auto 18px; color: #4e4e4e; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 16px; align-items: start; }
.compare {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    gap: 12px;
    align-items: end;
    background: #f3f3f3;
    padding: 18px 16px 14px;
}
.figure span, .tier { color: #666; font-size: 13px; }
.figure strong, #tier-name {
    display: block;
    min-height: 64px;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 650;
    color: #222;
    font-variant-numeric: tabular-nums;
}
#tier-name { min-height: 0; font-size: 28px; margin-bottom: 8px; }
.tier { text-align: center; }
.tier input { width: 100%; accent-color: #8a5a2b; }
.stops { display: flex; justify-content: space-between; font-size: 12px; color: #777; }
.stops i { font-style: normal; }
.files { margin-top: 14px; }
.add {
    display: inline-block;
    background: #2f2f2f;
    color: #fff;
    padding: 8px 14px;
    cursor: pointer;
}
.add input { display: none; }
#file-list { list-style: none; margin: 10px 0 0; padding: 0; }
#file-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #cfcfcf;
    font-size: 14px;
}
#file-list button { border: 0; background: transparent; color: #8a5a2b; cursor: pointer; }
#start-btn {
    margin-top: 14px;
    border: 0;
    background: #8a5a2b;
    color: #fff;
    padding: 10px 18px;
    cursor: pointer;
}
#start-btn:disabled { opacity: 0.45; cursor: default; }
.progress { height: 4px; background: #ccc; margin-top: 12px; }
#progress-bar { height: 100%; width: 0; background: #8a5a2b; }
.status { min-height: 1.4em; color: #555; }
.status.is-error { color: #9d2c2c; }
.result { margin: 8px 0 20px; }
.result a {
    display: inline-block;
    margin: 0 8px 8px 0;
    color: #2f2f2f;
    background: #fff;
    padding: 8px 12px;
    text-decoration: none;
}
.promo {
    background: #5c5346;
    color: #f6f1e8;
    min-height: 220px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}
.promo p { margin: 0; font-size: 18px; }
.promo span { font-size: 13px; line-height: 1.45; }
.promo a {
    display: block;
    text-align: center;
    background: #f3e6d4;
    color: #3a2e22;
    text-decoration: none;
    padding: 8px 6px;
}
.foot { margin: 28px auto 36px; color: #555; }
.foot h2 { font-size: 15px; font-weight: 650; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 0; }
.foot a { color: #5c5346; }
@media (max-width: 760px) {
    .columns, .compare { grid-template-columns: 1fr; }
    .figure strong { font-size: 36px; }
}
