* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: #ededed;
    color: #191919;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.55;
}
.sheet {
    width: min(860px, calc(100% - 24px));
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 0;
    background: #f7f7f7;
}
.main { padding: 22px 22px 28px; }
h1 { margin: 0 0 8px; font-size: 28px; font-weight: 650; }
.intro { margin: 0 0 12px; color: #333; }
.target { display: flex; align-items: baseline; gap: 8px; color: #07c160; }
.target input {
    width: 3.2ch;
    border: 0;
    background: transparent;
    color: #07c160;
    font-size: 84px;
    line-height: 0.95;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding: 0;
}
.target span { font-size: 22px; font-weight: 650; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 16px; }
.stats span { display: block; color: #888; font-size: 13px; }
.stats strong { display: block; min-height: 28px; font-size: 20px; font-weight: 650; }
.pick {
    display: inline-block;
    color: #07c160;
    border-bottom: 1px solid #07c160;
    cursor: pointer;
}
.pick input { display: none; }
.name { margin: 8px 0; color: #555; }
#start-btn {
    border: 0;
    background: #07c160;
    color: #fff;
    padding: 10px 16px;
    cursor: pointer;
}
#start-btn:disabled { opacity: 0.45; cursor: default; }
.progress { height: 3px; background: #ddd; margin-top: 12px; }
#progress-bar { height: 100%; width: 0; background: #07c160; }
.status { min-height: 1.4em; color: #555; }
.status.is-error { color: #c03636; }
.result a { color: #07c160; }
.promo {
    background: #07c160;
    color: #fff;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}
.promo p { margin: 0; font-weight: 650; }
.promo span { font-size: 13px; line-height: 1.45; }
.promo a {
    display: block;
    text-align: center;
    background: #fff;
    color: #07c160;
    text-decoration: none;
    padding: 8px 4px;
}
.foot { width: min(860px, calc(100% - 24px)); margin: 22px auto 32px; color: #555; }
.foot h2 { font-size: 15px; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 0; }
.foot a { color: #128a45; }
@media (max-width: 720px) {
    .sheet { grid-template-columns: 1fr; }
    .target input { font-size: 64px; }
}
