* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: #f7f4ef;
    color: #241f1a;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.55;
}
.page { width: min(920px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0 16px; }
h1 { margin: 0 0 8px; font-size: 30px; }
.intro { margin: 0 0 16px; color: #4d463f; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; align-items: start; }
.pick { cursor: pointer; border-bottom: 1px solid #241f1a; }
.pick input { display: none; }
.name { color: #6d645c; }
.axis { position: relative; height: 72px; margin: 12px 0; background: #fff; border: 1px solid #e4ddd4; }
.axis input { position: relative; z-index: 1; width: 100%; height: 72px; margin: 0; accent-color: #241f1a; background: transparent; }
#mark { position: absolute; top: 0; bottom: 0; width: 2px; background: #241f1a; z-index: 2; pointer-events: none; }
.parts p { margin: 4px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #e4ddd4; padding: 6px 0; }
#fallback input { width: 120px; margin-left: 8px; }
#start-btn { margin-top: 12px; border: 0; background: #241f1a; color: #fff; padding: 10px 16px; cursor: pointer; }
#start-btn:disabled { opacity: 0.4; cursor: default; }
.progress { height: 3px; background: #e4ddd4; margin-top: 12px; }
#progress-bar { height: 100%; width: 0; background: #241f1a; }
.status { min-height: 1.4em; color: #6d645c; }
.status.is-error { color: #9d2c2c; }
.result { display: flex; flex-wrap: wrap; gap: 8px; }
.result a { background: #fff; color: #241f1a; text-decoration: none; border: 1px solid #241f1a; padding: 8px 10px; }
.probe { position: fixed; left: -2000px; width: 320px; height: 180px; }
.promo { border-left: 3px solid #241f1a; padding: 4px 0 4px 12px; display: flex; flex-direction: column; gap: 12px; min-height: 180px; }
.promo p { margin: 0; font-weight: 700; }
.promo a { color: #241f1a; }
.foot { margin-top: 28px; color: #6d645c; }
.foot h2 { font-size: 15px; color: #241f1a; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; }
.foot a { color: #241f1a; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; } }
