/* Debug HUD-style notice stack (riveted bronze mock). Not live journal toasts. */

#hud-style-preview {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 18;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none !important;
  image-rendering: pixelated;
}

#hud-style-preview.hidden {
  display: none;
}

#hud-style-preview .hud-style-notice {
  pointer-events: auto !important;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 28px;
  align-items: stretch;
  width: 268px;
  min-height: 56px;
  background: #3c3c44;
  color: #efe9d8;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 3px solid #c17a32;
  box-shadow:
    0 0 0 2px #5c3212,
    inset 0 0 0 2px #8d5420,
    5px 5px 0 #16110c;
}

#hud-style-preview .hud-style-notice-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 8px 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #1a1612;
  color: #fff8e8;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.28);
}

#hud-style-preview .hud-style-notice--notice .hud-style-notice-badge {
  background: #2f9bb8;
}

#hud-style-preview .hud-style-notice--error .hud-style-notice-badge {
  background: #c43333;
}

#hud-style-preview .hud-style-notice--warning .hud-style-notice-badge {
  background: #d4a017;
  color: #2a1a08;
}

#hud-style-preview .hud-style-notice--lore .hud-style-notice-badge {
  background: #3a9a48;
  font-size: 13px;
}

#hud-style-preview .hud-style-notice-copy {
  padding: 8px 8px 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

#hud-style-preview .hud-style-notice-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#hud-style-preview .hud-style-notice-line--emph {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#hud-style-preview .hud-style-notice-close {
  appearance: none;
  margin: 6px 6px 6px 0;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 2px solid #5c3212;
  background: #3c3c44;
  color: #e24a3a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  align-self: start;
}

#hud-style-preview .hud-style-notice-close:hover {
  background: #2e2e34;
  color: #ff6b5a;
}
