:root{color:#18201f;background:#eef3ef;font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button{font:inherit}.app-shell{min-height:100vh;padding:22px;background:linear-gradient(135deg,#3a706729,#bf574314 42%,#e1b85629),#eef3ef}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1440px;margin:0 auto 18px}.topbar-actions{display:flex;gap:8px}.eyebrow,.section-label,.muted{margin:0;color:#65716d;font-size:13px}h1,h2,p{margin-top:0}h1{margin-bottom:0;color:#10211f;font-size:34px;line-height:1.15}h2{margin-bottom:8px;color:#10211f;line-height:1.18}.layout{display:grid;grid-template-columns:minmax(250px,330px) minmax(0,1fr) minmax(260px,360px);gap:18px;max-width:1440px;margin:0 auto;align-items:start}.profile-panel,.stage-panel,.timeline-panel{border:1px solid rgba(24,32,31,.11);border-radius:8px;background:#ffffffd1;box-shadow:0 18px 42px #18201f14}.profile-panel,.timeline-panel{padding:18px}.stage-panel{min-height:580px;padding:26px}.birth-card{display:grid;grid-template-columns:44px 1fr;gap:12px;margin-bottom:18px}.family-mark,.icon-button,.primary-button{display:inline-flex;align-items:center;justify-content:center}.family-mark{width:44px;height:44px;border-radius:8px;color:#fff;background:#2e6f68}.birth-card p{margin-bottom:0;color:#4f5d59;line-height:1.6}.talent-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.talent-list .section-label{flex-basis:100%}.talent-list span{padding:7px 9px;border:1px solid rgba(46,111,104,.24);border-radius:999px;color:#245852;background:#eaf4f1;font-size:13px}.stat-grid{display:grid;gap:10px}.stat-card{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;padding:12px;border:1px solid rgba(24,32,31,.09);border-radius:8px;background:#fff}.stat-card span{color:#394743;font-size:14px}.stat-card strong{font-size:18px}.bar{grid-column:1 / -1;height:7px;overflow:hidden;border-radius:999px;background:#dfe8e3}.bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2e6f68,#d8a036)}.stage-head{max-width:720px;margin-bottom:22px}.stage-head span{display:inline-flex;margin-bottom:10px;padding:5px 8px;border-radius:999px;color:#7a3b2f;background:#f8e6dc;font-size:13px;font-weight:700}.stage-head h2{font-size:30px}.stage-head p{color:#4f5d59;line-height:1.65}.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.choice{min-height:150px;padding:18px;border:1px solid rgba(24,32,31,.12);border-radius:8px;color:#18201f;background:#fff;text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.choice:hover:not(:disabled){transform:translateY(-2px);border-color:#2e6f688c;box-shadow:0 16px 30px #2e6f6824}.choice:disabled{color:#8b928f;background:#f2f4f2;cursor:not-allowed}.choice span{display:block;margin:10px 0 8px;font-weight:800}.choice small{display:block;color:#61706b;font-size:13px;line-height:1.55}.timeline{display:grid;max-height:684px;overflow:auto;gap:10px;padding-top:12px}.log-item{padding:12px;border-left:4px solid #b7c6bf;border-radius:6px;background:#fff}.log-item.good{border-left-color:#2e6f68}.log-item.bad{border-left-color:#bf5743}.log-item strong{display:block;margin-bottom:5px}.log-item p{margin-bottom:0;color:#4f5d59;font-size:13px;line-height:1.55}.icon-button,.primary-button{border:0;border-radius:8px;color:#fff;background:#2e6f68;cursor:pointer}.icon-button{width:44px;height:44px}.primary-button{gap:8px;padding:12px 16px;font-weight:800}.ending{display:grid;place-items:center;min-height:500px;text-align:center}.ending svg{color:#d8a036}.ending h2{margin:8px 0 12px;font-size:34px}.ending p:not(.eyebrow){max-width:680px;color:#4f5d59;line-height:1.75}.ending-actions{display:flex;gap:12px;margin-top:8px}@media (max-width: 1120px){.layout{grid-template-columns:1fr 1fr}.stage-panel{grid-column:1 / -1;grid-row:1}}@media (max-width: 760px){.app-shell{padding:14px}h1{font-size:26px}.layout,.option-grid{grid-template-columns:1fr}.stage-panel{min-height:auto;padding:18px}.stage-head h2,.ending h2{font-size:24px}.choice{min-height:126px}}.count-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:360px;padding:40px;max-width:460px;margin:60px auto;border:1px solid rgba(24,32,31,.11);border-radius:8px;background:#ffffffd1;box-shadow:0 18px 42px #18201f14;text-align:center}.count-number{font-size:72px;color:#2e6f68}
