/* Kampf, Besetzung, Hauptstadtfall */
.alert-banner {
  position: absolute; top: 58px; left: 50%; transform: translateX(-50%); z-index: 4; max-width: min(640px, calc(100% - 24px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 9px 14px; font-size: 0.88rem;
  background: linear-gradient(180deg, #5a1c16, #3d120e); border: 1px solid #b5483d; border-radius: 9px; box-shadow: 0 10px 26px rgba(0,0,0,0.5);
}
.alert-banner[hidden] { display: none; }
.alert-banner strong { color: #ffd2c8; }
.alert-banner.dead { background: linear-gradient(180deg, #2b2d31, #1c1d20); border-color: #6a6d73; }
.map-stage:not(.has-resbar) .alert-banner { top: 12px; }
.combat-box { display: flex; flex-direction: column; gap: 7px; margin: 8px 0; padding: 9px 10px; background: #1d1515; border: 1px solid #5c2a24; border-radius: 8px; }
.combat-box .note { margin: 0; }
.combat-box .pbar-top span:first-child { flex: 1; min-width: 0; }
button.danger { background: linear-gradient(180deg, #c0503f, #8e2f22); color: #fff; border-color: #6e2219; }
button.danger-text { color: #f08a7d; }
.combat-controls { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.combat-controls h4 { margin: 6px 0 0; }
.gb-hp { font-size: 0.8rem; color: #8fd493; font-variant-numeric: tabular-nums; }
.gb-hp.hurt { color: #e3b341; }
@media (max-width: 640px) {
  .alert-banner { top: 54px; left: 8px; right: 8px; transform: none; max-width: none; font-size: 0.82rem; }
}
img.flag { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.55); flex: none; vertical-align: middle; }
img.flag.big { width: 28px; height: 21px; }
.admin-box { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--panel-edge); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.admin-box h4 { margin: 0; color: #f08a7d; }
/* Ton */
.sound-menu { position: relative; }
.sound-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: min(320px, calc(100vw - 24px)); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--panel-edge); border-top: 3px solid var(--brass); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0,0,0,0.5); }
.sound-panel[hidden] { display: none; }
.sound-panel h4 { margin: 0; }
.sound-row { display: flex; flex-direction: column; gap: 6px; font-size: 0.86rem; }
.sound-row.off { opacity: 0.55; }
.sound-row-head { display: flex; align-items: center; gap: 10px; }
.sound-value { color: var(--brass-light); font-variant-numeric: tabular-nums; margin-right: auto; }
.sound-row input[type=range] { width: 100%; height: 28px; accent-color: var(--brass); padding: 0; margin: 0; cursor: pointer; touch-action: none; }
/* Weltgeschehen */
.news-feed { position: absolute; left: 12px; bottom: 60px; z-index: 3; width: min(420px, calc(100% - 24px));
  background: rgba(24, 27, 31, 0.92); border: 1px solid var(--panel-edge); border-radius: 9px; overflow: hidden; }
.news-head { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; font-size: 0.84rem; }
.news-title { color: var(--brass-light); font-weight: 700; white-space: nowrap; }
.news-badge { background: #b5483d; color: #fff; border-radius: 9px; padding: 0 6px; font-size: 0.75rem; font-weight: 700; }
.news-last { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.news-list { list-style: none; margin: 0; padding: 0 10px 8px; max-height: 32vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; }
.news-list[hidden] { display: none; }
.news-list li { display: flex; flex-direction: column; gap: 1px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 5px; }
.news-list li.mine { border-left: 3px solid #b5483d; padding-left: 6px; }
.news-list time { color: var(--muted); font-size: 0.72rem; }
.map-stage:has(.group-bar:not([hidden])) .news-feed:not(.open) { display: none; }
@media (max-width: 640px) {
  .news-feed { bottom: 8px; left: 8px; width: calc(100% - 16px); }
  .map-stage:has(.province-panel:not([hidden])) .news-feed { display: none; }
}
