.tp-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-family: var(--mono); font-size: .9rem; color: var(--ash); }
.tp-leiste b { color: var(--bone); font-weight: 500; }
.tp-leiste button { font: inherit; padding: 6px 14px; border-radius: 4px; border: 1px solid var(--line); background: var(--iron); color: var(--bone); cursor: pointer; }
.tp-leiste button:hover { border-color: var(--zx-accent); }
.tp-leiste button[aria-pressed="true"] { border-color: var(--zx-accent); background: var(--zx-accent); color: #05080c; }
.tp-baeume { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tp-baum { background: var(--iron); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.tp-baum h3 { margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; color: var(--bone); }
.tp-baum h3 span { font-family: var(--mono); font-size: .85rem; color: var(--zx-accent); }
.tp-gitter { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 58px; gap: 6px; justify-items: center; }
.tp-t { position: relative; width: 44px; height: 44px; border-radius: 6px; border: 2px solid #3a3f47; background: #05080c center / cover; cursor: pointer; padding: 0; filter: grayscale(1) brightness(.55); }
.tp-t.frei { filter: none; border-color: #2fae4d; }
.tp-t.teil { filter: none; border-color: #2fae4d; }
.tp-t.voll { filter: none; border-color: #ffd100; }
.tp-t span { position: absolute; right: -6px; bottom: -8px; font: 600 .7rem/1 var(--mono); background: #05080c; color: var(--bone); border: 1px solid #3a3f47; border-radius: 4px; padding: 2px 4px; }
.tp-t.voll span { color: #ffd100; }
.tp-st { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #05080c; vertical-align: middle; }
.tp-t .tp-st { position: absolute; left: -5px; top: -5px; } .tp-st-n { background: #2fd3c7; } .tp-st-g { background: #ffd100; }
.tp-legende { font-size: .85rem; color: var(--ash); margin: 6px 0 0; } .tpt-st { color: #2fd3c7; font-size: .85rem; }
.tp-t:focus-visible { outline: 2px solid var(--zx-accent); outline-offset: 2px; }
.tp-info { min-height: 92px; background: var(--iron); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.tp-info b { color: #ffd100; } .tp-info small { color: var(--ash); font-family: var(--mono); }
.tp-info p { margin: 6px 0 0; }
.tpt { position: fixed; left: 0; top: 0; z-index: 2147483000; width: max-content; max-width: min(330px, calc(100vw - 16px)); pointer-events: none; font-family: "Barlow", system-ui, sans-serif; font-size: 13.5px; line-height: 1.38; color: #fff; }
.tpt.fest { pointer-events: auto; }
.tpt[hidden] { display: none; }
.tpt-in { background: linear-gradient(180deg, rgba(10,14,30,0.97), rgba(4,6,16,0.97)); border: 1px solid #4b5b80; border-radius: 6px; padding: 8px 10px; box-shadow: 0 14px 40px -8px rgba(0,0,0,0.85); }
.tpt-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tpt-n { font-size: 15px; color: #fff; }
.tpt-rang { color: #fff; }
.tpt-eck { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 0 18px; }
.tpt-eck span:nth-child(even) { text-align: right; }
.tpt-vor { color: #fff; } .tpt-vor.rot { color: #ff2020; }
.tpt-text { margin: 4px 0 0; color: #ffd100; }
.tpt-naechst { margin-top: 8px; color: #fff; }
.tpt-knoepfe { display: flex; gap: 8px; margin-top: 10px; }
.tpt-knoepfe button { flex: 1; font: 600 .9rem/1 var(--mono, monospace); padding: 10px 8px; border-radius: 4px; border: 1px solid #2fae4d; background: #10301a; color: #fff; cursor: pointer; }
.tpt-knoepfe .tpt-minus { border-color: #4b5b80; background: #141a2c; }
.tpt-knoepfe button:disabled { opacity: .45; cursor: default; }
.tpt-zu { background: none; border: 0; color: #c8ccd6; font-size: 20px; line-height: 1; padding: 0 2px; cursor: pointer; }
.tpt-hinweis { margin: 6px 0 0; color: #f2b84b; font-size: .85em; }
.tp-folge ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tp-folge li { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; padding: 4px 10px 4px 4px; background: var(--iron); border: 1px solid var(--line); border-radius: 6px; font-size: .88rem; }
.tp-folge li span { font: 600 .75rem/1 var(--mono); color: var(--zx-accent); background: #05080c; border-radius: 4px; padding: 4px 5px; white-space: nowrap; }
.tp-folge li i { flex: none; width: 22px; height: 22px; border-radius: 4px; background: #05080c center / cover; border: 1px solid #000; }
.tp-folge li b { font-weight: 500; color: var(--bone); overflow-wrap: anywhere; }
.tp-folge li small { color: var(--ash); font-family: var(--mono); white-space: nowrap; }
@media (max-width: 900px) { .tp-baeume { grid-template-columns: minmax(0, 1fr); } }
