/* An in-flow row inside the sticky navigation: never covers controls or the world. */
.life-state { --state-color: var(--yellow, #ffc94d); order: -1; flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 9px 12px; border: 1px solid var(--state-color); border-left: 4px solid var(--state-color); border-radius: 6px; background: #101222; color: var(--ink, #eaf0ff); }
.life-state[hidden] { display: none; }
.life-state[data-kind="prison"] { --state-color: var(--down, #ff637c); }
.life-state[data-kind="hospital"] { --state-color: var(--cyan, #5de4eb); }
.life-state-icon { width: 24px; height: 24px; color: var(--state-color); shape-rendering: crispEdges; }
.life-state-copy { min-width: 0; display: grid; gap: 2px; }
.life-state-copy strong { color: var(--state-color); font: 700 13px/1.4 var(--mono); letter-spacing: .04em; }
.life-state-copy span { font: 12px/1.4 var(--mono); overflow-wrap: anywhere; }
.life-state-copy small { color: var(--ink-2, #b9c0d5); font: 11px/1.4 var(--mono); overflow-wrap: anywhere; }
.life-state-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.life-state-actions .btn { white-space: nowrap; min-height: 36px; font-size: 12px; }
.life-state-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.pc98 .life-state { background: #000011; border: 2px solid var(--state-color); border-left-width: 6px; border-radius: 0; box-shadow: 2px 2px 0 #000; }
html.pc98 .life-state-copy strong { font: 16px/1.25 var(--display); letter-spacing: .04em; }
html.pc98 .life-state-copy span { font: 14px/1.25 var(--mono); }
html.pc98 .life-state-copy small { font: 12px/1.25 var(--mono); }
html.pc98 .life-state-actions .btn { font: 14px/1.25 var(--mono); min-height: 36px; }
@media (max-width: 760px) {
  .life-state { grid-template-columns: 24px minmax(0, 1fr); gap: 5px 8px; padding: 6px 8px; }
  .life-state-actions { grid-column: 2; }
  .life-state-actions .btn, html.pc98 .life-state-actions .btn { min-height: 40px; padding: 5px 10px; font-size: 12px; }
  html.pc98 .life-state-copy strong { font-size: 14px; }
  html.pc98 .life-state-copy span { font-size: 12px; }
  html.pc98 .life-state-copy small { font-size: 11px; }
}
