/* Geogenial · Plattentektonik – baut auf geogenial.css und koordinaten.css (Logbuch, Knoepfe, Nadel) auf. */
:root {
  --grenze-div: #d9730d;
  --grenze-kon: #6a3d9a;
  --grenze-tra: #2f8a4f;
  --beben-flach: #f2c14e;
  --beben-mittel: #de7a22;
  --beben-tief: #7a3510;
  --vulkan: #2b2320;
}

/* ---------------------------------------------------------------- Flaeche: Blatt oben, Zeitleiste unten */
.tk-tisch { display: flex; flex-direction: column; gap: 12px; }
.tk-blatt { flex: 1; min-height: 0; margin-right: 0 !important; }
.tk-kartenhost { position: absolute; inset: 6px; }
.tk-kartenhost[hidden], .tk-werkstatt[hidden], .zl[hidden] { display: none !important; }
.tk-karte { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.tk-karte:active { cursor: grabbing; }
body[data-zustand="expedition"] .tk-karte { cursor: crosshair; }
.tk-zoom { right: 12px; bottom: 12px; }

/* Karte */
.tk-meer { fill: #d3e4ee; stroke: #9fbfd4; stroke-width: 1; }
.tk-gradnetz { fill: none; stroke: #9fbfd4; stroke-width: 0.6; opacity: 0.7; }
.tk-land { fill: #e3ebcf; stroke: #e3ebcf; stroke-width: 0.8; stroke-linejoin: round; }
.tk-gebirge-flaeche { fill: url(#tk-gebirge-muster); stroke: #a0743f; stroke-width: 0.6; }
.tk-schraffur { stroke: #a0743f; stroke-width: 1.2; }

.tk-grenze { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tk-g-div { stroke: var(--grenze-div); stroke-width: 4.2; }
.tk-g-div-innen { stroke: #fff; stroke-width: 1.5; }
.tk-g-kon { stroke: var(--grenze-kon); stroke-width: 2.8; }
.tk-g-tra { stroke: var(--grenze-tra); stroke-width: 2.2; stroke-dasharray: 6 4; }
.tk-g-frueher { opacity: 0.85; }
.tk-grenze-halo { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; opacity: 0.9; }
.tk-grenze-gewaehlt { stroke-width: 5; }
.tk-grenze-gewaehlt.tk-g-div-innen { stroke-width: 2; }
/* Neutral fuer "Tippe auf eine … Grenze" */
.tk-neutral .tk-g-div, .tk-neutral .tk-g-kon, .tk-neutral .tk-g-tra { stroke: #6f7a74; stroke-width: 2.6; stroke-dasharray: none; }
.tk-neutral .tk-g-div-innen { stroke: #6f7a74; }

.tk-beben { stroke: rgba(40, 20, 5, 0.35); stroke-width: 0.4; }
.tk-beben-flach { fill: var(--beben-flach); }
.tk-beben-mittel { fill: var(--beben-mittel); }
.tk-beben-tief { fill: var(--beben-tief); }
.tk-vulkan-aktiv { fill: var(--vulkan); stroke: #fff; stroke-width: 0.8; stroke-linejoin: round; }
.tk-vulkan-alt { fill: none; stroke: var(--vulkan); stroke-width: 0.9; opacity: 0.6; }
.tk-live { fill: none; stroke: var(--wasser); stroke-width: 1.6; }
.tk-live-neu { stroke-width: 2.4; animation: live 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes live { 0% { opacity: 1; } 70% { opacity: 0.35; } 100% { opacity: 1; } }

.tk-name { font-family: var(--schrift-schmal); font-weight: 600; font-size: 14px; letter-spacing: 0.03em; text-anchor: middle; dominant-baseline: central; fill: #2d2d29; paint-order: stroke; stroke: rgba(227, 235, 207, 0.9); stroke-width: 3.5px; stroke-linejoin: round; pointer-events: none; }
.tk-urname { font-family: var(--schrift-schmal); font-weight: 600; font-size: 24px; letter-spacing: 0.3em; text-anchor: middle; dominant-baseline: central; fill: #4b3a1c; opacity: 0.8; paint-order: stroke; stroke: rgba(255, 255, 255, 0.6); stroke-width: 4px; pointer-events: none; }
.tk-urmeer { fill: #1d5d90; font-style: italic; font-weight: 500; letter-spacing: 0.35em; font-size: 20px; }
.tk-plattenname { font-family: var(--schrift); font-style: italic; font-weight: 500; font-size: 12.5px; text-anchor: middle; dominant-baseline: central; fill: #3c3c38; paint-order: stroke; stroke: rgba(255, 255, 255, 0.85); stroke-width: 3px; pointer-events: none; }

.tk-markierung { fill: rgba(27, 45, 56, 0.08); stroke: var(--einband); stroke-width: 2.2; stroke-dasharray: 5 4; animation: marsch 1.2s linear infinite; }
@keyframes marsch { to { stroke-dashoffset: -18; } }
.tk-zone { fill: rgba(231, 241, 223, 0.55); stroke: var(--richtig); stroke-width: 2; stroke-dasharray: 5 4; }
.tk-beispiel { cursor: pointer; }
.tk-beispiel circle { fill: #fff; stroke: var(--einband); stroke-width: 2; }
.tk-beispiel text { font-family: var(--schrift-schmal); font-weight: 600; font-size: 12.5px; text-anchor: middle; dominant-baseline: central; fill: var(--einband); pointer-events: none; }
.tk-beispiel:hover circle, .tk-beispiel-an circle { fill: var(--einband); }
.tk-beispiel:hover text, .tk-beispiel-an text { fill: #fff; }
.tk-vulkan-name text { font-weight: 600; font-size: 13.5px; fill: var(--tinte); paint-order: stroke; stroke: #fff; stroke-width: 3.5px; }

/* Legende auf dem Blatt */
.tk-legende { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 4px 12px; max-width: calc(100% - 90px); padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 1px 2px rgba(20, 30, 25, 0.12); font-size: 13px; }
.tk-legende[hidden] { display: none; }
.lg { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lg i, .tk-info-art i { display: inline-block; flex: none; }
.lg-div { width: 22px; height: 6px; border-radius: 3px; background: var(--grenze-div); box-shadow: inset 0 0 0 1.6px var(--grenze-div), inset 0 0 0 3px #fff; }
.lg-kon { width: 22px; height: 4px; border-radius: 2px; background: var(--grenze-kon); }
.lg-tra { width: 22px; height: 3px; background: repeating-linear-gradient(90deg, var(--grenze-tra) 0 6px, transparent 6px 10px); }
.lg-beben { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(40, 20, 5, 0.35); }
.lg-flach { background: var(--beben-flach); }
.lg-mittel { background: var(--beben-mittel); }
.lg-tief { background: var(--beben-tief); }
.lg-vulkan { width: 12px; height: 10px; background: var(--vulkan); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lg-vulkan-alt { background: none; box-shadow: none; position: relative; }
.lg-vulkan-alt::before { content: ''; position: absolute; inset: 0; background: var(--vulkan); clip-path: polygon(50% 0, 100% 100%, 0 100%, 0 100%, 17% 85%, 83% 85%, 50% 22%, 17% 85%, 0 100%); opacity: 0.6; }
.lg-live { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--wasser); }
.lg-gebirge { width: 14px; height: 10px; background: repeating-linear-gradient(55deg, #a0743f 0 1.2px, transparent 1.2px 4px); border: 1px solid #a0743f; }
.lg-hinweis { color: var(--tinte-2); white-space: normal; }

/* ---------------------------------------------------------------- Zeitleiste */
.zl { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr) 188px; align-items: center; gap: 14px; padding: 10px 14px 8px; background: #fff; border-radius: 3px; box-shadow: var(--schatten-blatt); }
.zl-spielen { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--einband); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px -8px rgba(27, 45, 56, 0.9); }
.zl-spielen:hover { background: var(--einband-2); }
.zl-spielen svg { width: 22px; height: 22px; fill: currentColor; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.zl-spur { position: relative; height: 58px; }
.zl-baender { position: absolute; left: 0; right: 0; top: 4px; height: 26px; border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(28, 33, 30, 0.25); }
.zl-band { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.zl-band + .zl-band { box-shadow: inset 1px 0 0 rgba(28, 33, 30, 0.3); }
.zl-kurz { display: none; }
.zl-band i { font-style: normal; font-family: var(--schrift-schmal); font-weight: 600; font-size: 13px; letter-spacing: 0.03em; color: rgba(28, 33, 30, 0.85); white-space: nowrap; }
.zl-zukunft { background: repeating-linear-gradient(135deg, #eef0ea 0 6px, #dde1d6 6px 12px); }
.zl-regler { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 34px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.zl-regler:focus-visible { outline: 2px solid var(--wasser); outline-offset: 2px; border-radius: 4px; }
.zl-regler::-webkit-slider-runnable-track { height: 34px; background: transparent; }
.zl-regler::-moz-range-track { height: 34px; background: transparent; }
.zl-regler::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 38px; margin-top: -2px; border-radius: 4px; background: var(--einband); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(20, 30, 25, 0.45); }
.zl-regler::-moz-range-thumb { width: 12px; height: 36px; border-radius: 4px; background: var(--einband); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(20, 30, 25, 0.45); }
.zl-marken { position: absolute; left: 0; right: 0; top: 36px; height: 20px; }
.zl-marken span { position: absolute; transform: translateX(-50%); font-family: var(--schrift-schmal); font-weight: 600; font-size: 13px; color: var(--tinte-2); white-space: nowrap; }
.zl-marken span:first-child { transform: none; }
.zl-marken span:last-child { transform: translateX(-100%); }
.zl-anzeige { display: grid; line-height: 1.1; }
.zl-anzeige b { font-family: var(--schrift-schmal); font-weight: 600; font-size: 24px; font-variant-numeric: tabular-nums; }
.zl-anzeige span { font-size: 14px; color: var(--tinte-2); }

/* ---------------------------------------------------------------- Logbuch: Stationen */
.tk-station-knopf { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; width: 100%; padding: 8px 10px 8px 12px; border: 0; background: none; text-align: left; border-radius: var(--r-kind); }
.tk-station-knopf:hover { background: var(--pult-2); }
.tk-station-knopf b { display: block; font-size: 16.5px; font-weight: 600; }
.tk-station-knopf small { display: block; font-size: 13.5px; color: var(--tinte-2); }
.tk-station-bild { width: 40px; height: 40px; border-radius: 8px; background: var(--pult-2); }
.tk-stationen .lb-eintrag { min-height: 58px; }
.tk-station-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tk-station-kopf h2 { margin: 0; font-family: var(--schrift-schmal); font-weight: 600; font-size: 23px; }
.s-strich { fill: none; stroke: var(--einband); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.s-div { fill: none; stroke: var(--grenze-div); stroke-width: 5; stroke-linecap: round; }
.s-div-innen { fill: none; stroke: #fff; stroke-width: 1.6; }
.s-vulkan { fill: var(--vulkan); }
.s-beben { fill: var(--beben-mittel); }
.s-platte { fill: #e3ebcf; stroke: #6f6a5f; stroke-width: 1.2; }

.tk-text { margin: 0 0 10px; font-size: 15.5px; line-height: 1.5; }
.tk-klein { margin: 8px 0 6px; font-size: 14px; color: var(--tinte-2); }
.tk-epoche { margin: 2px 0 6px; font-family: var(--schrift-schmal); font-weight: 600; font-size: 20px; }
.tk-h { margin: 6px 0 8px; font-family: var(--schrift-schmal); font-weight: 600; font-size: 18px; }
.tk-zwischen { margin: 16px 0 6px; font-family: var(--schrift-schmal); font-weight: 600; font-size: 18px; }
.tk-sprung { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.tk-chip { height: 34px; padding: 0 12px; border-radius: 17px; border: 1.5px solid var(--linie-stark); background: #fff; font-weight: 600; font-size: 14px; color: var(--tinte); }
.tk-chip:hover { border-color: var(--einband); }
.tk-chip[aria-pressed="true"] { background: var(--einband); border-color: var(--einband); color: #fff; }
.tk-schalter { display: grid; gap: 2px; margin: 4px 0 10px; }
.tk-schalter .schalter-reihe { font-size: 15px; gap: 12px; min-height: 36px; }
.tk-schalter small { margin-left: auto; margin-right: 8px; font-size: 12.5px; color: var(--tinte-2); font-weight: 400; }
.tk-arten { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 10px; }
.tk-arten li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: start; }
.tk-arten svg { width: 48px; height: 18px; margin-top: 3px; }
.tk-arten b { display: block; font-size: 15.5px; }
.tk-arten span { font-size: 14.5px; line-height: 1.45; color: var(--tinte-2); }
.tk-arten span b { display: inline; color: var(--tinte); font-size: inherit; }
.lg-svg-div { stroke: var(--grenze-div); stroke-width: 6; fill: none; stroke-linecap: round; }
.lg-svg-div-innen { stroke: #fff; stroke-width: 2; fill: none; }
.lg-svg-kon { stroke: var(--grenze-kon); stroke-width: 4; fill: none; stroke-linecap: round; }
.lg-svg-tra { stroke: var(--grenze-tra); stroke-width: 3; fill: none; stroke-dasharray: 6 4; }
.tk-info { margin-top: 12px; }
.tk-tipp-gross { margin: 0; padding: 12px 14px; border-radius: var(--r-kind); background: var(--wasser-hell); color: var(--wasser-tief); font-size: 15px; }
.tk-karte-info { padding: 12px 14px; border-radius: var(--r-kind); background: var(--pult); border: 1px solid var(--linie); animation: aufschlagen 0.25s var(--ease); }
.tk-karte-info h3 { margin: 0 0 4px; font-family: var(--schrift-schmal); font-weight: 600; font-size: 20px; }
.tk-karte-info .tk-karte-info { margin-top: 10px; background: #fff; }
.tk-info-art { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 600; font-size: 14px; }
.tk-link { padding: 0; border: 0; background: none; color: var(--wasser); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.tk-beispiele { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 2px; }
.tk-beispiele button { display: flex; gap: 8px; align-items: flex-start; width: 100%; padding: 6px 8px; border: 0; border-radius: 8px; background: none; text-align: left; }
.tk-beispiele button:hover { background: var(--pult-2); }
.tk-beispiele b { display: block; font-size: 14.5px; line-height: 1.25; }
.tk-beispiele button > span:last-child { min-width: 0; }
.tk-beispiele small { display: block; font-size: 13px; color: var(--tinte-2); }
.tk-bsp-nr { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--einband); display: grid; place-items: center; font-family: var(--schrift-schmal); font-weight: 600; font-size: 12.5px; }

/* Aufgaben */
.tk-ort { display: block; margin-top: 2px; font-family: var(--schrift-schmal); font-weight: 600; font-size: 22px; color: var(--einband); }
.tk-ereignis { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--r-kind); background: var(--pult); border: 1px solid var(--linie); font-size: 16.5px; line-height: 1.45; font-weight: 500; }
.tk-artwahl .wahl-knopf { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; }
.tk-artwahl svg { width: 48px; height: 18px; }
.tk-artwahl b { display: block; font-size: 16px; }
.tk-artwahl small { display: block; font-weight: 500; font-size: 13.5px; color: var(--tinte-2); }
.tk-artwahl .wahl-knopf[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.8); }
.tk-artwahl .wahl-knopf:disabled { cursor: default; opacity: 0.75; }
.tk-hilfen { margin-top: 10px; align-items: center; }
.tk-art-div { color: #a4550a; } .tk-art-kon { color: var(--grenze-kon); } .tk-art-tra { color: var(--grenze-tra); }

/* Werkstatt im Logbuch */
.tk-ws-schritte { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 12px; font-size: 15px; }
.tk-ws-schritte li::marker { font-family: var(--schrift-schmal); font-weight: 600; }
.tk-ws-gesperrt { opacity: 0.45; pointer-events: none; }
.tk-ws-zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.tk-ws-zeile span { font-size: 14px; color: var(--tinte-2); }
.tk-ws-zeile .umschalter button { height: 36px; font-size: 14.5px; }
.tk-ws-bew { display: grid; gap: 6px; margin-top: 6px; }
.tk-ws-bew .wahl-knopf { min-height: 42px; font-size: 15px; }
.tk-ws-vorhersage { display: grid; gap: 4px; margin-top: 6px; }
.tk-check { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 10px; border-radius: 8px; border: 1.5px solid var(--linie); background: #fff; font-size: 15px; font-weight: 500; cursor: pointer; }
.tk-check:has(input:checked) { border-color: var(--einband); box-shadow: inset 0 0 0 1px var(--einband); }
/* eigenes Haekchen: die Wahl des Kindes bleibt auch nach dem Sperren deutlich sichtbar */
.tk-check input { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 2px solid var(--linie-stark); border-radius: 5px; background: #fff; cursor: pointer; }
.tk-check input:checked { border-color: var(--einband); background: var(--einband) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5.5 12.5 4.2 4.2L18.5 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.tk-check input:focus-visible { outline: 2px solid var(--wasser); outline-offset: 2px; }
.tk-check input:disabled { cursor: default; }
.tk-check:has(input:disabled) { cursor: default; }
.tk-ws-ergebnis { margin-top: 10px; padding: 12px 14px; border-radius: var(--r-kind); background: var(--pult); border: 1px solid var(--linie); animation: aufschlagen 0.3s var(--ease); }
.tk-ws-ergebnis h3 { margin: 0 0 8px; font-family: var(--schrift-schmal); font-weight: 600; font-size: 20px; }
.tk-ws-liste { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.tk-ws-liste li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; }
.tk-ws-liste .lb-zeichen { width: 20px; height: 20px; }
.tk-ws-liste .tk-ok .lb-zeichen { stroke: var(--richtig); }
.tk-ws-liste .tk-nein .lb-zeichen { stroke: var(--daneben); }

/* ---------------------------------------------------------------- Werkstatt: Versuchsfeld */
.tk-werkstatt { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr 1fr auto; gap: 6px; padding: 12px 14px 10px; }
.ws-oben, .ws-unten { position: relative; min-height: 0; display: flex; flex-direction: column; }
.ws-titel { margin: 0 0 4px; font-family: var(--schrift-schmal); font-weight: 600; font-size: 16px; letter-spacing: 0.02em; }
.ws-titel span { font-family: var(--schrift); font-weight: 400; font-size: 13px; color: var(--tinte-2); margin-left: 6px; }
.ws-svg { flex: 1; min-height: 0; width: 100%; border-radius: 4px; background: #f7f9fa; box-shadow: inset 0 0 0 1px var(--linie); }
.ws-uhr { margin: 0; text-align: center; font-family: var(--schrift-schmal); font-weight: 600; font-size: 20px; color: var(--einband); }
.ws-flaeche { stroke: #6f6a5f; stroke-width: 1.4; }
.ws-ozean .ws-flaeche { fill: #c5dbe8; }
.ws-kontinent .ws-flaeche { fill: #c5dbe8; }
.ws-land { fill: #e3ebcf; stroke: #6f6a5f; stroke-width: 1.2; }
.ws-welle { fill: none; stroke: #9fbfd4; stroke-width: 1; }
.ws-platte { cursor: pointer; }
.ws-platte:focus-visible .ws-flaeche { stroke: var(--wasser); stroke-width: 3; }
.ws-platte-b:hover .ws-flaeche { stroke: var(--einband); stroke-width: 2.4; }
.ws-plattentext { font-family: var(--schrift-schmal); font-weight: 600; font-size: 17px; text-anchor: middle; fill: var(--tinte-2); }
.ws-zieh { font-family: var(--schrift-schmal); font-weight: 600; font-size: 18px; text-anchor: middle; fill: var(--einband); }
.ws-berg { fill: none; stroke: #7a4a1c; stroke-width: 2.4; stroke-linejoin: round; }
.ws-tiefsee { stroke: #0f3a5a; stroke-width: 5; stroke-dasharray: 8 5; }
.ws-vulkan { fill: var(--vulkan); }
.ws-graben-flaeche { fill: #b98d5e; }
.ws-neuboden { fill: #a9cbe0; }
.ws-streifen { stroke: #7fa9c6; stroke-width: 2; }
.ws-ruecken { stroke: var(--grenze-div); stroke-width: 5; }
.ws-strasse { fill: none; stroke: #55554f; stroke-width: 4; stroke-dasharray: 12 6; }
.ws-stoerung { stroke: var(--grenze-tra); stroke-width: 4; stroke-dasharray: 10 6; }
.ws-pfeil { fill: none; stroke: var(--einband); stroke-width: 5; stroke-linecap: round; }
.ws-spitze { fill: var(--einband); }
.ws-beben { fill: var(--beben-mittel); stroke: #7a3510; stroke-width: 1; }
.ws-schnitt { stroke: var(--einband); stroke-width: 1.6; stroke-dasharray: 3 5; opacity: 0.7; }
.ws-luft { fill: #eef5f9; }
.ws-asthenosphaere { fill: #eccba0; }
.ws-lithosphaere { fill: #b69a78; }
.ws-kkruste { fill: #d9c697; stroke: #8a7650; stroke-width: 1; }
.ws-okruste { fill: #5f6f78; }
.ws-okruste-hell { fill: #8c9ba3; }
.ws-wasser { fill: #9cc4dc; opacity: 0.85; }
.ws-grabenwasser { fill: #6e9fbe; }
.ws-grabenboden { fill: #eef5f9; stroke: none; }
.ws-gebirge { fill: #c7a574; stroke: #7a4a1c; stroke-width: 1.4; }
.ws-falte { fill: none; stroke: #7a4a1c; stroke-width: 1.2; opacity: 0.7; }
.ws-vulkankegel { fill: #5a4636; stroke: #2b2320; stroke-width: 1; }
.ws-magma { fill: #e0762c; }
.ws-magmakammer { fill: #e0762c; opacity: 0.8; }
.ws-stoerung-profil { stroke: var(--grenze-tra); stroke-width: 3; stroke-dasharray: 8 5; }
.ws-meeresspiegel { stroke: #4a7da3; stroke-width: 1; stroke-dasharray: 4 4; }
.ws-schicht { font-size: 13px; fill: var(--tinte-2); }
.ws-hinweis { font-family: var(--schrift-schmal); font-weight: 600; font-size: 16px; fill: var(--einband); }

/* ---------------------------------------------------------------- Quellen, Beamer */
.tk-quellen { flex: none; margin: -4px 2px 0; font-size: 11px; line-height: 1.35; color: var(--tinte-2); }
body.tk-praesentation .kt-flaeche { grid-template-columns: 0 minmax(0, 1fr); }
body.tk-praesentation .logbuch { visibility: hidden; }
body.tk-praesentation .zl-anzeige b { font-size: 30px; }

body.tk-in-werkstatt .tk-legende { display: none; }

@media (max-width: 900px) {
  .tk-tisch { height: auto !important; }
  .tk-blatt { height: clamp(260px, 72vw, 52dvh); flex: none; }
  body.tk-in-werkstatt .tk-blatt { height: 520px; }
  .zl { grid-template-columns: auto minmax(0, 1fr); }
  .zl-anzeige { grid-column: 1 / -1; grid-row: 1; display: flex; gap: 10px; align-items: baseline; }
  .zl-anzeige b { font-size: 21px; }
  .zl-band i { font-size: 11px; }
  .tk-ansicht { display: none; }
  .tk-beispiele { grid-template-columns: 1fr; }

  .tk-legende { font-size: 12px; max-width: calc(100% - 70px); }
}
.ws-bruchkante { fill: none; stroke: #7a4a1c; stroke-width: 2; stroke-linejoin: round; }

/* ---------------------------------------------------------------- Werkbank der Lehrkraft */
.tl-tisch { overflow: auto; }
.tl-katalog { max-width: 820px; margin: 0 auto; }
.tl-gruppe { margin-top: 18px; }
.tl-gruppe h3 { margin: 0; font-family: var(--schrift-schmal); font-weight: 600; font-size: 19px; }
.tl-gruppe > p { margin: 2px 0 8px; font-size: 13.5px; color: var(--tinte-2); }
.tl-gruppe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tl-aufgabe { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-radius: var(--r); border: 1px solid var(--linie); background: #fff; cursor: pointer; }
.tl-aufgabe:hover { border-color: var(--tinte-2); }
.tl-aufgabe.tl-an { border-color: var(--einband); box-shadow: inset 0 0 0 1px var(--einband); background: #fbfbf6; }
.tl-aufgabe input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--einband); }
.tl-aufgabe b { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.35; }
.tl-aufgabe small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--tinte-2); }
.kl-vorschau { font-size: 14px; }
.tl-katalog { background: #fff; border-radius: 3px; box-shadow: var(--schatten-blatt); padding: 22px 24px 26px; }
.tl-katalog .lb-blatt-kopf { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 8px; border-bottom: 1.5px solid var(--tinte); }
.tl-katalog .lb-blatt-kopf h2 { margin: 0; font-family: var(--schrift-schmal); font-weight: 600; font-size: 26px; }
.tl-katalog .lb-blatt-kopf span { font-size: 14px; color: var(--tinte-2); }

/* Kleine Karte (Handy): feinere Linien und Namen */
.tk-host[data-klein="1"] .tk-g-div { stroke-width: 2.8; }
.tk-host[data-klein="1"] .tk-g-div-innen { stroke-width: 1; }
.tk-host[data-klein="1"] .tk-g-kon { stroke-width: 1.8; }
.tk-host[data-klein="1"] .tk-g-tra { stroke-width: 1.5; stroke-dasharray: 4 3; }
.tk-host[data-klein="1"] .tk-name { font-size: 11.5px; }
.tk-host[data-klein="1"] .tk-urname { font-size: 16px; letter-spacing: 0.2em; }
@media (max-width: 900px) {
  .tk .tk-station-inhalt .lb-knoepfe, .tk .lb-aufgabe .lb-knoepfe { position: static; margin: 14px 0 0; padding: 0; background: none; }
}

@media (max-width: 900px) {
  .zl-lang { display: none; }
  .zl-kurz { display: inline; }
}
/* Auf kleinen Karten Zoom per Fingergeste; die Knoepfe wuerden Namen und Legende verdecken */
.tk-host[data-klein="1"] .tk-zoom { display: none; }
.tk-host[data-klein="1"] ~ .tk-legende, .tk-blatt:has(.tk-host[data-klein="1"]) .tk-legende { max-width: calc(100% - 24px); }
.tk-quellen-unten { order: 3; margin: 0; padding: 10px 16px 20px; }
