/* Turbokurve – eigene Umsetzung. Nur Klassen (CSP). */
body.g-turbokurve { --acc: #e03131; }
.tk-main { position: relative; }
.tk-over { position: absolute; inset: 0; z-index: 10; background: rgba(12, 14, 30, .94); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 10px; padding: 14px max(12px, env(safe-area-inset-left)); overflow: auto; text-align: center; }
.tk-over[hidden] { display: none; }
.tk-over h1 { margin: 0; font: 900 clamp(28px, 6vw, 48px)/1 'Courier New', monospace; color: #ff6b6b; letter-spacing: .06em; font-style: italic; text-shadow: 0 4px 0 #7a1414; }
.tk-over h2 { margin: 0; font-size: clamp(20px, 4vw, 28px); color: #ffd43b; }
.tk-sub { margin: 0; color: #c3c8e6; font-size: 14px; }
.tk-strecken { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; width: min(100%, 900px); }
.tk-st { border: 2px solid rgba(255, 255, 255, .15); background: #22263f; color: #fff; border-radius: 12px; padding: 6px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 3px; align-items: center; min-width: 0; }
.tk-st canvas { width: 100%; height: auto; border-radius: 8px; }
.tk-st b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tk-st small { font-size: 11px; color: #a7acc8; }
.tk-st.an { border-color: #ffd43b; background: #33304f; }
.tk-segs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tk-seg { display: inline-flex; background: #22263f; border-radius: 999px; padding: 3px; gap: 2px; }
.tk-seg button { border: 0; background: transparent; color: #c3c8e6; border-radius: 999px; padding: 6px 11px; font: 700 13px/1 system-ui, sans-serif; cursor: pointer; }
.tk-seg button.an { background: #ffd43b; color: #1b1b2b; }
.tk-raum { margin: 0; color: #ffd43b; font-size: 13px; font-weight: 700; }
.tk-raum:empty { display: none; }
.tk-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tk-btns .fr-btn.alt { background: #2b3157; color: #fff; }
.tk-erg { list-style: none; margin: 0; padding: 0; width: min(100%, 420px); display: flex; flex-direction: column; gap: 5px; }
.tk-erg li { display: flex; gap: 10px; align-items: center; background: #22263f; border-radius: 10px; padding: 7px 12px; }
.tk-erg li.mensch { background: #3a3360; }
.tk-erg b { width: 26px; color: #ffd43b; }
.tk-erg span { flex: 1; text-align: left; font-weight: 700; }
.tk-erg em { font-style: normal; color: #c3c8e6; font-size: 13px; }
.tk-muenz { margin: 0; color: #ffd43b; font-weight: 700; min-height: 18px; }
/* Touch: Gas groß, Lenktasten weg, wenn Neigen an ist */
.cz-pad.neigen .cz-t.lenk { display: none; }
.cz-t.gas { background: rgba(81, 207, 102, .35); }
.cz-t.gas.an { background: rgba(81, 207, 102, .95); }
.tk-overneig { position: absolute; top: 34px; left: 8px; z-index: 6; display: flex; flex-direction: column; gap: 4px; }
.tk-overneig .cz-cextra { padding: 0; justify-content: flex-start; }
.tk-overneig .cz-cextra button { padding: 6px 10px; font-size: 12px; background: rgba(0, 0, 0, .45); }
.tk-overneig .cz-lenk { margin: 0; width: 140px; }
.tk-ctrl .cz-lenk { margin: 4px 20% 0; }
@media (max-width: 760px), (max-height: 460px) {
  .tk-strecken { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tk-over { gap: 6px; }
  .tk-sub { font-size: 12px; }
}
