.ck-stealth-hud {
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(440px, calc(100vw - 28px));
  box-sizing: border-box;
  padding: 10px 12px;
  background: rgba(29, 26, 22, .96);
  border: 1px solid #a27f4c;
  border-radius: 8px;
  color: #f7e3be;
  font: 14px/1.35 system-ui, sans-serif;
  box-shadow: 0 3px 18px #15110bbe;
}

.ck-stealth-hud.is-chased { border-color: #f0836d; }
.ck-stealth-status { min-height: 1.35em; overflow-wrap: anywhere; }
.ck-stealth-hud label { display: flex; align-items: center; gap: 12px; margin: 6px 0; }
.ck-stealth-hud meter { flex: 1; min-width: 0; }

.ck-stealth-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.ck-stealth-visit { margin-top: 8px; }

.ck-stealth-controls button, button.ck-pillage-button {
  font: inherit;
  color: #f4dfb8;
  background: #45372a;
  border: 1px solid #9d7948;
  border-radius: 4px;
  padding: 6px 10px;
  min-height: 38px;
  white-space: normal;
  cursor: pointer;
}

.ck-stealth-controls button:disabled, button.ck-pillage-button:disabled {
  opacity: .55;
  cursor: default;
}

.ck-stealth-controls [aria-pressed="true"], .ck-stealth-book nav [aria-pressed="true"] {
  background: #6c542e;
  color: #fff1d2;
}

button.ck-pillage-button { margin-top: 6px; width: 100%; }

.ck-stealth-book section { display: flow-root; padding-bottom: 12px; }
.ck-stealth-tavern { float: right; object-fit: contain; margin: 0 0 4px 12px; }
.ck-stealth-list { padding-left: 20px; }
.ck-stealth-list li { margin: 6px 0; }
.ck-stealth-order { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 8px 0; }
.ck-stealth-order strong { width: 100%; }
.ck-stealth-order input { width: 5.5em; }
.ck-stealth-order label { display: grid; gap: 2px; }
.ck-stealth-book .ck-routes-card { overflow-wrap: anywhere; }
.ck-stealth-replay { padding-left: 25px; }
.ck-stealth-replay:not([hidden]) li { animation: ck-stealth-reveal .22s ease both; }
.ck-stealth-replay li:nth-child(2) { animation-delay: .45s; }
.ck-stealth-replay li:nth-child(3) { animation-delay: .9s; }
.ck-stealth-replay li:nth-child(4) { animation-delay: 1.35s; }
@keyframes ck-stealth-reveal { from { opacity: 0; transform: translateX(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .ck-stealth-replay:not([hidden]) li { animation: none; }
}
@media (max-width: 600px) {
  .ck-stealth-hud { font-size: 13px; }
  .ck-stealth-controls button { min-height: 44px; }
  .ck-stealth-tavern { width: 76px; height: 70px; }
}
