/* =========================================================
   Open Graph Vorschau – Styles (Basis: assets/css/tool-ui.css)
   Die Vorschauen sind bewusst schlicht nachgebaut (Schriften des Systems, typische Abstände und Farben).
   ========================================================= */
.og { display: grid; gap: 20px; }
.og .tu-card__head { flex-wrap: wrap; }
.og-form .tu-card__title { margin-bottom: 14px; }
.og-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.og-input { height: 54px; font-size: 17px; }
.og-go { height: 54px; padding: 0 26px; font-size: 15px; }
.og-go:disabled { opacity: .6; cursor: progress; }
.og-form .tu-hint { margin: 12px 0 0; }
.og-status { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; background: rgba(91,140,255,.08); overflow-wrap: anywhere; }
.og-status[hidden] { display: none; }
.og-status[data-level="err"] { background: rgba(209,52,56,.08); color: #8f1f1a; }
.og-spin { width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; border: 2.5px solid rgba(91,140,255,.25); border-top-color: var(--blue); animation: ogSpin .8s linear infinite; }
@keyframes ogSpin { to { transform: rotate(360deg); } }
.og-result[hidden] { display: none; }
.og.is-busy .og-result { opacity: .45; transition: opacity .2s; }

.og-tabs { margin-bottom: 0; }
.og-stage { display: grid; place-items: center; padding: 26px 18px; border-radius: 16px; background: #f0f2f5; }
.og-stage > [role="tabpanel"] { width: 100%; max-width: 520px; }
.og-stage > [role="tabpanel"][hidden] { display: none; }
.og-note { margin: 12px 0 0; }
.og-hint { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.og-noimg { display: grid; place-items: center; background: #dfe3ea; color: #65676b; font: 600 13px/1.3 -apple-system, "Segoe UI", Arial, sans-serif; }
.og-sysfont, .og-fb, .og-li, .og-x, .og-wa, .og-sl { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }

/* Facebook */
.og-fb { overflow: hidden; border-radius: 8px; background: #f0f2f5; border: 1px solid #dadde1; }
.og-fb__img { display: block; width: 100%; aspect-ratio: 1.91; object-fit: cover; }
.og-fb__body { display: grid; gap: 3px; padding: 10px 12px 12px; background: #f0f2f5; border-top: 1px solid #dadde1; }
.og-fb__domain { font-size: 12px; color: #65676b; text-transform: uppercase; letter-spacing: .02em; }
.og-fb__title { font-size: 16px; line-height: 1.3; color: #050505; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.og-fb__desc { font-size: 14px; line-height: 1.35; color: #65676b; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.og-fb.is-small { display: grid; grid-template-columns: 130px minmax(0, 1fr); }
.og-fb.is-small .og-fb__img { height: 100%; aspect-ratio: 1; border-right: 1px solid #dadde1; }
.og-fb.is-small .og-fb__body { border-top: 0; align-content: center; }

/* LinkedIn */
.og-li { overflow: hidden; border-radius: 8px; background: #fff; border: 1px solid #e0dfdc; box-shadow: 0 0 0 1px rgba(0,0,0,.02); }
.og-li__img { display: block; width: 100%; aspect-ratio: 1.91; object-fit: cover; }
.og-li__body { display: grid; gap: 4px; padding: 10px 14px 12px; background: #edf3f8; }
.og-li__title { font-size: 14px; line-height: 1.35; font-weight: 600; color: rgba(0,0,0,.9); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.og-li__domain { font-size: 12px; color: rgba(0,0,0,.6); }
.og-li.is-small { display: grid; grid-template-columns: 128px minmax(0, 1fr); }
.og-li.is-small .og-li__img { height: 100%; aspect-ratio: 1; }
.og-li.is-small .og-li__body { align-content: center; }

/* X */
.og-x { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid #cfd9de; background: #fff; }
.og-x__img { display: block; width: 100%; aspect-ratio: 1.91; object-fit: cover; }
.og-x__overlay { position: absolute; left: 12px; bottom: 12px; padding: 2px 6px; border-radius: 4px; font-size: 13px; color: #fff; background: rgba(0,0,0,.77); }
.og-x__below { margin: 4px 2px 0; font-size: 13px; color: #536471; }
.og-x__body { display: grid; gap: 2px; padding: 12px; }
.og-x__domain, .og-x__desc { font-size: 15px; line-height: 1.3; color: #536471; }
.og-x__title { font-size: 15px; line-height: 1.3; font-weight: 400; color: #0f1419; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.og-x__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.og-x.is-small { display: grid; grid-template-columns: 130px minmax(0, 1fr); }
.og-x.is-small .og-x__img { height: 100%; aspect-ratio: 1; border-right: 1px solid #cfd9de; }
.og-x.is-small .og-x__body { align-content: center; }

/* WhatsApp */
.og-wa { padding: 14px; border-radius: 12px; background: #efeae2; }
.og-wa__bubble { position: relative; max-width: 360px; margin-left: auto; padding: 4px 4px 20px; border-radius: 8px 0 8px 8px; background: #d9fdd3; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.og-wa__card { overflow: hidden; border-radius: 6px; background: #d1f4cc; }
.og-wa__img { display: block; width: 100%; aspect-ratio: 1.91; object-fit: cover; }
.og-wa__card.is-small { display: grid; grid-template-columns: 76px minmax(0, 1fr); }
.og-wa__card.is-small .og-wa__img { height: 100%; aspect-ratio: 1; }
.og-wa__body { display: grid; gap: 2px; padding: 8px 10px; }
.og-wa__body b { font-size: 13.5px; color: #111b21; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.og-wa__body span { font-size: 12.5px; color: #54656f; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.og-wa__body small { font-size: 12px; color: #667781; }
.og-wa__link { display: block; padding: 6px 6px 0; font-size: 13.5px; color: #027eb5; word-break: break-all; }
.og-wa__time { position: absolute; right: 8px; bottom: 4px; font-size: 11px; color: #667781; }

/* Slack */
.og-sl { display: grid; grid-template-columns: 4px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 10px; background: #fff; }
.og-sl__bar { border-radius: 4px; background: #dddddd; }
.og-sl__body { display: grid; gap: 3px; min-width: 0; }
.og-sl__site { font-size: 13px; font-weight: 700; color: #1d1c1d; }
.og-sl__title { font-size: 15px; font-weight: 700; color: #1264a3; }
.og-sl__desc { font-size: 15px; line-height: 1.45; color: #1d1c1d; }
.og-sl__img { display: block; max-width: 360px; width: 100%; margin-top: 8px; border-radius: 8px; }

/* Tags & Code */
.og-tablewrap { overflow-x: auto; }
.og-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12.5px; }
.og-table th, .og-table td { padding: 7px 0; vertical-align: top; text-align: left; border-top: 1px solid rgba(15,19,48,.07); }
.og-table th { width: 34%; padding-right: 12px; font-family: var(--mono); font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.og-table tr.is-og th { color: var(--ink); }
.og-table td { color: var(--ink); overflow-wrap: anywhere; }
.og-checks li span { min-width: 0; overflow-wrap: anywhere; }
.og-checks li b { color: var(--ink); }
.og-checks li.is-info { background: rgba(91,140,255,.07); }
.og-checks li.is-info::before { background-color: var(--blue); }
.og-pre { max-height: 420px; font-size: 11.5px; white-space: pre; overflow: auto; }
.og-links { margin: 0; }
.og-links a { color: var(--blue); }

@media (max-width: 560px) {
  .og-row { grid-template-columns: minmax(0, 1fr); }
  .og-stage { padding: 16px 10px; }
  .og-fb.is-small, .og-li.is-small, .og-x.is-small { grid-template-columns: 96px minmax(0, 1fr); }
  .og-table th { width: 40%; }
}
@media (prefers-reduced-motion: reduce) { .og-spin { animation-duration: 2.4s; } }
