/* Hehler, Kontrabandfracht & Co. auf der Stadtkarte */
.cm__pin--npc button { width: 40px; height: 40px; }
.cm__pin--npc img { filter: drop-shadow(1.5px 0 0 #16171a) drop-shadow(-1.5px 0 0 #16171a) drop-shadow(0 1.5px 0 #16171a) drop-shadow(0 -1.5px 0 #16171a) drop-shadow(0 3px 4px rgba(0,0,0,.3)); }
.cm__pin--hehler button { width: 34px; height: 46px; }
.cm__pin--atm img { filter: invert(1) drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff); }
.cm__pin--atm button { width: 30px; height: 30px; }
.cm__pin--npc.is-sel img { filter: drop-shadow(2px 0 0 var(--sun)) drop-shadow(-2px 0 0 var(--sun)) drop-shadow(0 2px 0 var(--sun)) drop-shadow(0 -2px 0 var(--sun)) drop-shadow(0 0 10px rgba(255,122,26,.8)); }
.cm.has-route .cm__pin--npc button { opacity: .35; }
.cm__where button.is-here { border-color: var(--sun); }
.ev__lhead { font: 700 11px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding: 8px 10px 2px; }

/* Events-Knopf & Fenster */
.ev__btn { position: relative; }
.ev__dot { width: 8px; height: 8px; border-radius: 50%; background: #4a4b52; }
.ev__dot.is-on { background: var(--heat); box-shadow: 0 0 0 0 var(--heat); animation: evPing 1.5s infinite; }
@keyframes evPing { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.ev { position: absolute; right: 16px; top: 66px; z-index: 8; width: min(420px, calc(100vw - 32px)); max-height: calc(100% - 140px); overflow-y: auto; background: rgba(18,19,22,.97);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: 0 24px 60px rgba(0,0,0,.45); animation: rtIn .25s; scrollbar-width: thin; }
.ev[hidden] { display: none; }
.ev__head { display: flex; justify-content: space-between; align-items: center; }
.ev__head b { font: 900 italic 26px var(--display); text-transform: uppercase; }
.ev__head .cm__x { position: static; }
.ev__note { font-size: 12.5px; color: #a9a6a0; background: rgba(255,255,255,.03); border: 1px dashed #4a4b52; border-radius: 8px; padding: 9px 11px; margin: 10px 0 12px; }
.ev__list { display: grid; gap: 8px; }
.ev__item { display: grid; grid-template-columns: 44px 1fr; gap: 12px; background: #1d1e22; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.ev__item > img { width: 44px; height: 44px; object-fit: contain; }
.ev__item b { font: 800 18px var(--display); text-transform: uppercase; display: block; }
.ev__alt { color: var(--mute); font-size: 11.5px; display: block; }
.ev__item p { margin: 6px 0 0; font-size: 13px; color: #bdbab3; }
.ev__start { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 10px; font-size: 12px; color: var(--mute); }
.ev__start button, .ev__show { border: 1px solid var(--line); background: #26272c; color: #e5e2db; border-radius: 6px; padding: 5px 8px 4px; cursor: pointer; font: 700 12.5px var(--display); letter-spacing: .06em; }
.ev__start button:hover, .ev__show:hover { border-color: var(--sun); color: #fff; }
.ev__custom { display: inline-flex; gap: 4px; }
.ev__custom input { width: 62px; border: 1px solid var(--line); background: #141518; color: #fff; border-radius: 6px; padding: 4px 6px; font: 600 12.5px ui-monospace, monospace; }
.ev__show { margin-top: 8px; }
.ev__notify { margin-top: 10px; }

/* Countdown-Leiste oben mittig */
.ev__hud { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); z-index: 6; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 560px); pointer-events: none; }
.ev__chip { pointer-events: auto; position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 6px 34px 8px 8px; border-radius: 10px; background: rgba(22,23,26,.92); border: 1px solid var(--line); color: #fff; animation: rtIn .3s; }
.ev__chip img { width: 30px; height: 30px; object-fit: contain; }
.ev__chip small { display: block; font: 700 11px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.ev__chip b { font: 900 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.ev__chip i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--sun); transition: width 1s linear; }
.ev__chip button { position: absolute; right: 6px; top: 6px; border: 0; background: none; color: var(--mute); cursor: pointer; font-size: 13px; }
.ev__chip.is-soon b { color: var(--sun-2); }
.ev__chip.is-done { border-color: var(--heat); animation: evFlash .8s steps(2) infinite; }
.ev__chip.is-done b { color: #ff7a6a; }
@keyframes evFlash { 50% { background: rgba(232,57,43,.35); } }
@media (max-width: 1000px) { .ev__hud { top: auto; bottom: 64px; max-width: calc(100% - 32px); } }
@media (min-width: 701px) { .cm.has-panel .ev__hud { left: calc(430px + (100% - 430px) / 2); max-width: calc(100% - 470px); } }
