/* Lista drużyny pod wskaźnikiem pociągu (lewy górny róg) */
#lt { position: absolute; left: 22px; top: 34px; width: 188px; display: flex; flex-direction: column; gap: 8px; }
#team { display: flex; flex-direction: column; gap: 4px; }
.tm-row { display: flex; align-items: center; gap: 7px; padding: 4px 8px 4px 6px; background: rgba(15,17,11,.55); border: 1px solid rgba(110,106,86,.45); font-size: 12px; font-weight: 700; line-height: 1; }
.tm-row.me { background: rgba(15,17,11,.72); border-color: rgba(110,106,86,.8); }
.tm-row i { width: 4px; height: 18px; background: var(--pc); flex: none; box-shadow: 0 0 6px var(--pc); }
.tm-row b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e6e0c4; letter-spacing: .06em; }
.tm-hp { width: 46px; height: 6px; background: rgba(8,10,6,.8); border: 1px solid #4a4d3a; flex: none; }
.tm-hp u { display: block; height: 100%; background: linear-gradient(#d4483a, #a02f25); text-decoration: none; }
.tm-row svg { width: 16px; height: 16px; flex: none; fill: #cfc9ac; stroke: #cfc9ac; stroke-width: 1.8; opacity: .85; }
.tm-row svg .w { fill: #14160f; stroke: none; }
.tm-row.st-down svg { fill: #e0453a; stroke: none; animation: tmPulse .8s ease-in-out infinite; }
.tm-row.st-down b { color: #e0453a; }
.tm-row.st-mist svg { stroke: #9fb4c8; fill: none; }
.tm-row.st-ground svg { opacity: .55; }
@keyframes tmPulse { 50% { opacity: .35; } }

/* ---- N25: kooperacja — podgląd drużyny (poziom, profesja, broń, strzałka i odległość, prośba) ---- */
.tm-row { cursor: pointer; }
.tm-row.me { cursor: default; }
.tm-lv { flex: none; font-size: 10px; letter-spacing: .04em; color: #9c967c; }
.tm-pr { flex: none; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; font-size: 10px; letter-spacing: .04em; color: #a8a284; }
.tm-wp { flex: none; width: 22px; height: 22px; }
.tm-rq { flex: none; font-size: 10px; letter-spacing: .04em; color: #f0c040; animation: tmPulse 1.2s ease-in-out infinite; }
.tm-dir { flex: none; display: inline-flex; align-items: center; gap: 3px; color: #cfc9ac; }
.tm-dir svg { width: 12px; height: 12px; fill: currentColor; }
.tm-dir small { min-width: 34px; text-align: right; font-size: 10px; font-weight: 700; color: #9c967c; }

/* ---- N25: czat drużyny (ui/chat.js): wiadomości 8 s, pole po Enter, historia po H ---- */
#chat-feed { position: fixed; left: 16px; bottom: 176px; width: 380px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; z-index: 40; font: 600 13px Bahnschrift, sans-serif; text-shadow: 0 1px 2px #000; }
.ch-line { padding: 3px 8px; background: rgba(12,14,9,.6); border-left: 2px solid rgba(110,106,86,.6); color: #e6e0c4; animation: chIn .25s ease-out both; }
.ch-line b { font-weight: 800; }
.ch-line .ch-cmd { font-style: italic; color: #d8d2b4; }
@keyframes chIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
#chat-in { position: fixed; left: 16px; bottom: 136px; width: 380px; display: none; flex-direction: column; gap: 4px; z-index: 45; }
#chat-in.on { display: flex; }
#chat-in input { font: 600 14px Bahnschrift, sans-serif; color: #e6e0c4; background: rgba(12,14,9,.92); border: 1px solid #8a8464; padding: 7px 9px; outline: none; }
#chat-in .ch-hint { font-size: 11px; color: #8a866f; }
#chat-hist { position: fixed; left: 16px; bottom: 176px; width: 380px; max-height: 300px; display: none; flex-direction: column; background: rgba(15,17,11,.94); border: 1px solid #5a5746; z-index: 45; }
#chat-hist.on { display: flex; }
#chat-hist .ch-h { display: flex; justify-content: space-between; padding: 6px 8px; border-bottom: 1px solid #3a3a2e; font-size: 12px; color: #9c967c; }
#chat-hist .ch-list { display: flex; flex-direction: column; gap: 3px; padding: 6px; overflow-y: auto; }
#chat-hist .ch-line { animation: none; }

/* ---- N25: koło szybkich komend (ui/wheel.js): przytrzymaj V, wskaż myszą, puść ---- */
#wheel { position: fixed; width: 0; height: 0; display: none; z-index: 60; pointer-events: none; }
#wheel.on { display: block; }
.wh-ring { position: absolute; left: 0; top: 0; }
.wh-slot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: rgba(15,17,11,.82); border: 1px solid #5a5746; color: #cfc9ac; transform: rotate(var(--a)) translate(104px) rotate(calc(var(--a) * -1)); }
.wh-slot svg { width: 24px; height: 24px; }
.wh-slot.on { background: #c9b86a; border-color: #c9b86a; color: #15170f; }
.wh-c { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: rgba(229,224,196,.7); }
.wh-tip { position: absolute; left: 0; top: 0; transform: translate(-50%, 130px); white-space: nowrap; font: 800 15px Bahnschrift, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #f1e6a8; text-shadow: 0 1px 3px #000; }
/* szerokość listy: poziom, profesja, broń i strzałka mieszczą się obok nazwy (nazwa nie znika) */
#lt { width: 252px; }
.tm-row b { min-width: 64px; }
.tm-hp { flex: 1 1 36px; min-width: 36px; }
