/* [telep3d] TELEP – a klán székhelye meccs nélkül + 3D-s építés (public/js/telep.js). B · Műszak tokenek; kevés szín: csak az állapot
   (zöld / piros) és a pálya fénye (kijelölés). A meccs-HUD (eredmény, óra, pénz, lőszer, életerő) a telepen rejtve. */
#hud.tp-on :is(#topCenter, #bottomRight, #objective, #killfeed, .hp, #hpNum, #hpFill, .sta-bar, #armorBox, #sneakTag, #reloadHint, #lrCue) { display: none !important; }
#hud.tp-on.tp-cur #cross { opacity: 0; }
#tpHud { position: absolute; inset: 0; pointer-events: none; font-family: var(--f-body); color: var(--ink); }
#tpHud kbd { font-family: var(--f-mono); font-size: 10px; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line-2); border-radius: var(--r-xs); padding: 0 4px; line-height: 15px; margin-right: 6px; }
/* bal felül: TELEP · klán · szerep */
#tpHud .tp-top { position: absolute; left: 50%; top: var(--edge); transform: translateX(-50%); display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
#tpHud .tp-ttl { font-family: var(--f-disp); font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; }
#tpHud .tp-clan { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
#tpHud .tp-chip { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 1px 8px; }
#tpHud .tp-chip.on { color: var(--ink); border-color: var(--line-3); }
/* a célkereszt alatt: a szellem / célzott elem, és a rövid visszajelzés */
#tpHud .tp-gh, #tpHud .tp-tip { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; font-size: 13px; max-width: min(560px, 80vw); text-shadow: var(--hud-sh-lg); }
#tpHud .tp-gh { top: calc(50% + 26px); font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; }
#tpHud .tp-tip { top: calc(50% + 48px); }
#tpHud :is(.tp-gh, .tp-tip) .ok { color: var(--acc); }
#tpHud :is(.tp-gh, .tp-tip) .bad { color: var(--bad); }
/* alul: billentyű-súgó; építő módban fölötte a paletta */
#tpHud .tp-keys { position: absolute; left: 50%; bottom: var(--edge); transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; max-width: calc(100vw - 2 * var(--edge) - 360px); overflow: hidden; text-overflow: ellipsis; }
#tpHud .tp-bar { position: absolute; left: 50%; bottom: calc(var(--edge) + 24px); transform: translateX(-50%); display: grid; gap: 6px; justify-items: center; max-width: calc(100vw - 2 * var(--edge) - 330px); }
#tpHud .tp-bar:empty { display: none; }
#tpHud .tp-tabs { display: flex; align-items: center; gap: 2px; }
#tpHud .tp-tabs kbd { margin: 0 6px; }
#tpHud .tp-tabs button { background: none; border: 0; color: var(--muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-bottom: 1px solid transparent; cursor: pointer; }
#tpHud .tp-tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
#tpHud .tp-its { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
#tpHud .tp-its button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 2px; text-align: left; min-width: 112px; padding: 6px 9px; background: var(--surface); backdrop-filter: var(--blur); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-2); cursor: pointer; text-shadow: none; }
#tpHud .tp-its button kbd { grid-row: 1 / 3; align-self: center; }
#tpHud .tp-its button b { font-weight: 600; font-size: 12.5px; color: var(--ink); }
#tpHud .tp-its button small { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); }
#tpHud .tp-its button.on { border-color: var(--ink); background: var(--surface-2); }
/* jobb oldal (építő mód): keret, állapot, ellenőrzőlista, gombok */
#tpHud .tp-side { position: absolute; right: var(--edge); top: calc(var(--edge) + 40px); width: 300px; max-height: calc(100vh - 2 * var(--edge) - 60px); overflow: auto; display: grid; gap: 10px; align-content: start; }
#tpHud .tp-side:empty { display: none; }
#tpHud .tp-side > * { text-shadow: none; }
#tpHud .tp-cnt { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
#tpHud .tp-cnt > div { background: var(--surface-2); padding: 6px 9px; }
#tpHud .tp-cnt dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
#tpHud .tp-cnt dd { margin: 0; font-family: var(--f-mono); font-size: 14px; color: var(--ink); }
#tpHud .tp-cnt dd.bad { color: var(--bad); }
#tpHud .tp-st { font-size: 12.5px; color: var(--ink-2); padding: 6px 9px; border-left: 2px solid var(--line-3); background: var(--surface); }
#tpHud .tp-st.rdy { border-left-color: var(--ink); color: var(--ink); }
#tpHud .tp-st.ok { border-left-color: var(--acc); color: var(--ink); }
#tpHud .tp-sel { padding: 6px 9px; background: var(--surface); border: 1px solid var(--light); border-radius: var(--r); display: grid; gap: 2px; }
#tpHud .tp-sel b { font-size: 13px; }
#tpHud .tp-sel small { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); }
#tpHud .tp-ck { margin: 0; padding: 8px 9px; list-style: none; display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
#tpHud .tp-ck li { display: grid; grid-template-columns: 14px 1fr; gap: 6px; font-size: 12px; line-height: 1.3; color: var(--ink-2); }
#tpHud .tp-ck li > i { font-style: normal; font-family: var(--f-mono); color: var(--dim); text-align: center; }
#tpHud .tp-ck li.ok > i { color: var(--acc); }
#tpHud .tp-ck li.bad > i { color: var(--bad); font-weight: 700; }
#tpHud .tp-ck li.bad b { color: var(--ink); }
#tpHud .tp-ck small { display: block; color: var(--muted); font-size: 11px; }
#tpHud .tp-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
#tpHud .tp-acts button { height: var(--h-sm); padding: 0 10px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
#tpHud .tp-acts button.pri { background: var(--paper); color: var(--on-paper); border-color: var(--paper); font-weight: 600; }
#tpHud .tp-acts button.ghost { background: none; }
#tpHud .tp-acts button:disabled { opacity: .4; cursor: default; }
#hud.tp-on:not(.tp-cur) #tpHud :is(button) { pointer-events: none; }
#hud.tp-cur #tpHud .tp-side { outline: 1px solid var(--line-3); outline-offset: 6px; border-radius: var(--r); }
@media (max-width: 900px) {
  #tpHud .tp-side { width: 240px; }
  #tpHud .tp-bar, #tpHud .tp-keys { max-width: calc(100vw - 2 * var(--edge) - 260px); }
}
#clanMenu .cm-tpcta { margin: 2px 0 4px; }   /* [telep3d] Belépés a telepre – a klán-fejléc alatt */
