/* Link-Check – nutzt die Bausteine aus design.css (.h-*). Quelle der Logik: web/src/linkcheck/ */
.lc-main { max-width: 820px; }
#lc { margin-bottom: var(--sp-7); display: flex; flex-direction: column; gap: var(--sp-4); }
.lc-form { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.lc-in { min-height: 84px; font-size: var(--fs-m); }
.lc-row { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap; }
.lc-row > .h-btn--primary { flex: 1; }
.lc-plat { margin: 0; }
.lc-drop { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); border: 2px dashed var(--border); border-radius: var(--r-m); cursor: pointer; color: var(--muted); transition: border-color var(--t-fast), background var(--t-fast); }
.lc-drop:hover, .lc-drop:focus-visible, .lc-drop.is-over { border-color: var(--accent); background: var(--accent-soft); outline: none; }
.lc-drop b { color: var(--text); }
.lc-drop-ico { font-size: 1.6rem; }
.lc-files { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.lc-file { position: relative; width: 92px; height: 92px; border-radius: var(--r-m); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.lc-file img, .lc-file video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-file small { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 4px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 11px; text-align: center; }
.lc-file-x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; cursor: pointer; font-size: 12px; line-height: 1; }
.lc-need ol { margin: 6px 0 0; padding-left: 1.2em; }
.lc-need li { margin: 3px 0; }

.lc-h2 { font-size: var(--fs-xl); margin: var(--sp-5) 0 var(--sp-3); }
.lc-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.lc-item { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); }
.lc-item-main { flex: 1; display: flex; align-items: center; gap: var(--sp-3); text-align: left; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: var(--sp-2); min-width: 0; }
.lc-item-main > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lc-item-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-item-main small { color: var(--muted); }
.lc-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; }
.lc-dot--rot { background: #e5484d; } .lc-dot--gelb { background: #f5b301; } .lc-dot--gruen { background: #30a46c; }

/* Warten */
.lc-wait { padding: var(--sp-5); }
.lc-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--sp-2) 0; }
.lc-steps span { font-size: var(--fs-xs); padding: 4px 10px; border-radius: 99px; background: var(--surface-2); color: var(--muted); transition: all .3s; }
.lc-steps span.on { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }

/* Ergebnis */
.lc-verdict { padding: var(--sp-6); border-top: 6px solid var(--border); }
.lc-verdict--rot { border-top-color: #e5484d; background: color-mix(in srgb, #e5484d 6%, var(--surface)); }
.lc-verdict--gelb { border-top-color: #f5b301; background: color-mix(in srgb, #f5b301 7%, var(--surface)); }
.lc-verdict--gruen { border-top-color: #30a46c; background: color-mix(in srgb, #30a46c 6%, var(--surface)); }
.lc-verdict-top { display: flex; gap: var(--sp-4); align-items: flex-start; }
.lc-light { font-size: 2.6rem; line-height: 1; flex: none; }
.lc-verdict-top small { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: var(--fs-xs); color: var(--muted); }
.lc-verdict h2 { margin: 2px 0 4px; font-size: var(--fs-xl); line-height: 1.25; }
.lc-meta { color: var(--muted); font-size: var(--fs-s); }
.lc-fazit { font-size: var(--fs-l); line-height: 1.5; margin: var(--sp-4) 0 var(--sp-2); font-weight: 500; }
.lc-src { font-size: var(--fs-s); color: var(--muted); word-break: break-all; }
.lc-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.lc-fact { padding: var(--sp-4); border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.lc-fact small { color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
.lc-fact b { font-size: var(--fs-m); }
.lc-fact p { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.lc-fact--ok b { color: #218358; } .lc-fact--mid b { color: #ad6f00; } .lc-fact--bad b { color: #ce2c31; }
.lc-meter { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #e5484d, #f5b301 45%, #30a46c); position: relative; margin: 4px 0; }
.lc-meter i { position: absolute; inset: 0 auto 0 0; border-right: 3px solid var(--text); border-radius: 99px 0 0 99px; background: transparent; }
.lc-block { padding: var(--sp-5); }
.lc-block h3 { margin: 0 0 var(--sp-3); font-size: var(--fs-l); }
.lc-block p { margin: 0 0 var(--sp-2); line-height: 1.55; }
.lc-ul { margin: var(--sp-2) 0; padding-left: 1.2em; line-height: 1.55; }
.lc-ul li { margin: 4px 0; }
.lc-soft { color: var(--muted); font-size: var(--fs-s); }
.lc-claims { display: flex; flex-direction: column; gap: var(--sp-3); }
.lc-claim { display: flex; gap: var(--sp-3); padding: var(--sp-3); border-radius: var(--r-m); background: var(--surface-2); }
.lc-claim-ico { font-size: 1.3rem; flex: none; }
.lc-claim b { display: inline; }
.lc-claim-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; font-size: var(--fs-xs); font-weight: 700; background: var(--surface); }
.lc-claim--falsch .lc-claim-tag { color: #ce2c31; } .lc-claim--teils .lc-claim-tag { color: #ad6f00; } .lc-claim--stimmt .lc-claim-tag { color: #218358; }
.lc-claim p { margin: 4px 0 0; font-size: var(--fs-s); color: var(--muted); }
.lc-chip { cursor: default; }
.lc-tricks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--sp-3); }
.lc-trick { padding: var(--sp-3); border-radius: var(--r-m); background: var(--warn-soft); }
.lc-trick p { margin: 4px 0 0; font-size: var(--fs-s); }
.lc-ask { background: var(--accent-soft); }
.lc-cites { margin: 0; padding-left: 1.2em; font-size: var(--fs-s); }
.lc-cites li { margin: 4px 0; word-break: break-word; }
.lc-disclaimer { text-align: center; }
.lc-actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }
@media (max-width: 700px) { .lc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .lc-form, .lc-verdict, .lc-block { padding: var(--sp-4); }
  .lc-fazit { font-size: var(--fs-m); }
}

/* Hinweise + Dialoge (ui.js) */
.tg-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #111827; color: #fff; padding: 10px 16px; border-radius: var(--r-m); opacity: 0; pointer-events: none; transition: .2s; z-index: 1100; max-width: calc(100% - 32px); text-align: center; }
.tg-toast.on { opacity: 1; transform: translate(-50%, 0); }
.tg-noscroll { overflow: hidden; }
.tg-modal { position: fixed; inset: 0; background: rgba(10, 12, 25, .55); z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 700px) { .tg-modal { align-items: center; } }
.tg-sheet { background: var(--surface); width: 100%; max-width: 520px; max-height: 94vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 16px 18px 22px; }
@media (min-width: 700px) { .tg-sheet { border-radius: var(--r-l); } }
.tg-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tg-x { border: 0; background: none; font-size: 1.2rem; padding: 4px 8px; color: var(--text); cursor: pointer; }
