/* ---------- 人生 ---------- */
.hud { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: end; }
.hud-age { font-family: var(--f-disp); line-height: .9; display: flex; align-items: baseline; gap: 2px; }
.hud-age b { font-weight: 400; font-size: 54px; font-variant-numeric: tabular-nums; }
.hud-age span { font-size: 18px; }
.hud-money { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; justify-items: end; font-size: 13px; color: var(--sub); }
.hud-money b { font-family: var(--f-disp); font-weight: 400; font-size: 20px; color: var(--fluor); font-variant-numeric: tabular-nums; }
.hud-money .k { justify-self: start; align-self: center; }
.track { position: relative; height: 34px; margin-top: -4px; }
.track-bar { position: absolute; left: 0; right: 0; top: 6px; height: 10px; border: 2px solid #07081a; background: linear-gradient(90deg, #3e6ad0 0 76.7%, #e08a3a 76.7% 97.7%, var(--shu) 97.7%); box-shadow: 0 3px 0 #07081a; }
.track-done { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 3px, rgba(255,255,255,.3) 3px 6px); transition: width .5s steps(8); }
.track-pin { position: absolute; top: -2px; width: 4px; height: 22px; background: #fff; border: 2px solid #07081a; transform: translateX(-50%); transition: left .5s steps(8); }
.track-ticks { position: absolute; left: 0; right: 0; top: 20px; font-size: 11px; color: var(--sub); }
.track-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.track-ticks .gake { color: #f0a050; }
.track-ticks .tenjo { color: #ff8a70; transform: translateX(-100%); }
.track-ticks span:first-child { transform: none; }
.odds {
  background: var(--void-2);
  border: 3px solid #07081a;
  box-shadow: inset 0 0 0 2px var(--line);
  padding: 12px 14px;
  display: grid; gap: 8px;
}
.odds h2 { margin: 0; font-size: 14px; font-weight: 400; display: flex; justify-content: space-between; gap: 8px; }
.odds h2 span { color: var(--sub); font-size: 12px; }
.odds-bars { display: grid; gap: 5px; }
.ob { display: grid; grid-template-columns: 34px 1fr 52px; gap: 8px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.ob .bar { height: 10px; background: #0c0e24; border: 1px solid #07081a; position: relative; }
.ob .bar i { position: absolute; left: 0; top: 0; bottom: 0; }
.ob .bar em { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #fff; opacity: .7; }
.ob b { font-weight: 400; text-align: right; }
.fact { margin: 0; font-size: 13px; line-height: 1.7; color: var(--sub); border-top: 2px dotted var(--line); padding-top: 8px; }
.fact cite { font-style: normal; display: block; font-size: 11px; opacity: .9; }
.career h2 { font-family: var(--f-doc); font-weight: 800; font-size: 16px; margin: 0 0 6px; letter-spacing: 0.3em; }
.career ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.career li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.career li .a { font-family: var(--f-disp); color: var(--sub); }
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, var(--void) 70%, rgba(18,21,48,0));
}
.actionbar-in { max-width: 440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.act {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 6px 8px;
  border: 3px solid #07081a;
}
.act b { font-family: var(--f-disp); font-weight: 400; font-size: 22px; line-height: 1.1; }
.act small { font-size: 12px; }
.act-stay { background: var(--paper); color: var(--ink); box-shadow: inset 3px 3px 0 #fff, inset -3px -3px 0 #c9c4b4, 0 5px 0 #07081a; }
.act-quit { background: var(--shu); color: #fff; box-shadow: inset 3px 3px 0 #f07a5e, inset -3px -3px 0 var(--shu-d), 0 5px 0 #07081a; }
.act:active { transform: translateY(4px); box-shadow: none; }
.act:disabled { opacity: .5; }
.act-auto { grid-column: 1 / -1; background: none; border: none; color: var(--sub); font-size: 13px; padding: 4px; text-decoration: underline; text-underline-offset: 3px; }
.life-pad { height: 120px; }

