/* AI 专注煮面 · 暖色面馆风：米白底 + 番茄红点缀 + 青花蓝收尾；移动优先 */
:root { --bg: #faf5ec; --card: #fffdf7; --ink: #2b2118; --muted: #8a7a68; --accent: #b3402a; --accent2: #2f5d8a; --line: #e8dcc8; --broth: #f2e3b3; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 5; flex-wrap: wrap; gap: 8px; }
.brand b { font-size: 18px; } .tag { color: var(--muted); font-size: 12px; margin-left: 6px; }
.ghost { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.primary { background: var(--accent); color: #fff; border: none; border-radius: 10px; padding: 10px 18px; cursor: pointer; font-size: 15px; }
.danger { background: none; border: 1px solid var(--accent); color: var(--accent); border-radius: 10px; padding: 10px 14px; cursor: pointer; }
.hidden { display: none !important; }
main { max-width: 860px; margin: 0 auto; padding: 16px; }
.hero h1 { font-size: 28px; margin: 8px 0; } .sub { color: #5c4f41; } .fine { color: var(--muted); font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: 14px 0; }
.card h2 { margin: 0 0 12px; font-size: 19px; } .card h3 { margin: 16px 0 8px; font-size: 16px; }
.bowl { text-align: center; padding: 8px 0 0; } .bowl-body { font-size: 72px; background: var(--broth); border-radius: 50% 50% 46% 46% / 30% 30% 60% 60%; width: 180px; margin: 0 auto; padding: 10px 0 4px; border: 3px solid var(--accent2); }
.steam { font-size: 22px; color: var(--muted); } .stage { margin-top: 6px; color: var(--accent2); font-weight: 700; }
.clock { font-size: 56px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.timer-sub { text-align: center; color: var(--muted); min-height: 20px; }
.progress { height: 8px; background: #efe6d4; border-radius: 4px; overflow: hidden; margin: 10px 0; }
.progress div { height: 100%; background: var(--accent); width: 0%; transition: width .5s; }
.mode-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.mode-row select, input[type=date], input[type=number], input[type=email], input[type=password], input[type=text], #titleInput, #makeupTitle, #codeInput, #emailCodeInput { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff; }
#titleInput { width: 100%; margin: 6px 0 10px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.6; }
.pick { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.chip.locked { opacity: .55; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat { background: #f6efe0; border-radius: 12px; padding: 12px; text-align: center; }
.stat b { display: block; font-size: 18px; } .stat span { color: var(--muted); font-size: 12px; }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 90px; margin-top: 14px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar i { display: block; width: 100%; background: var(--accent2); border-radius: 4px 4px 0 0; min-height: 2px; }
.bar span { font-size: 10px; color: var(--muted); margin-top: 4px; }
.list .row { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; flex-wrap: wrap; }
.list .row button { border: 1px solid var(--accent2); color: var(--accent2); background: none; border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.makeup { display: flex; gap: 8px; flex-wrap: wrap; }
.makeup input { flex: 1; min-width: 120px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ncard { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff8ea; }
.ncard .nemoji { font-size: 34px; } .ncard p { font-size: 14px; line-height: 1.7; color: #5c4f41; } .ncard span { color: var(--muted); font-size: 12px; }
.review-out { white-space: pre-wrap; background: #f6efe0; border-radius: 12px; padding: 14px; line-height: 1.8; font-size: 14px; }
.qr { width: 180px; border: 1px solid var(--line); border-radius: 12px; }
footer { text-align: center; color: var(--muted); font-size: 12px; padding: 18px; }
@media (max-width: 560px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .clock { font-size: 48px; } .hero h1 { font-size: 23px; } }
