﻿/* 16.10.2026 (Martin): language tooltip («mini-Wikipedia»), see lang_info.js / TTN_LangInfo.cs */
.li-lang.li-has { cursor: help; border-bottom: 1px dotted #7a8aa6; }
.li-lang.li-has:hover, .li-lang.li-has:focus { color: #1e4fa3; border-bottom-color: #1e4fa3; outline: none; }
.li-lang.li-has:focus-visible { outline: 2px solid #1e4fa3; outline-offset: 2px; border-radius: 2px; }

.li-tip {
  position: fixed; z-index: 100000; width: 380px; max-width: calc(100vw - 16px); box-sizing: border-box;
  padding: 14px 16px 12px; background: #fff; color: #1d2433; border: 1px solid #c9d3e3; border-radius: 10px;
  box-shadow: 0 14px 38px rgba(17, 30, 60, .22), 0 2px 6px rgba(17, 30, 60, .08);
  font: 13px/1.4 Calibri, "Segoe UI", Arial, sans-serif; text-align: left;
}
.li-tip[hidden] { display: none; }
.li-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.li-name { font-size: 18px; font-weight: 700; color: #13284d; }
.li-auto { font-size: 16px; color: #4a5872; }
.li-fam { margin-top: 1px; color: #4a5872; font-size: 12.5px; }

.li-mapbox { position: relative; margin: 10px 0 4px; aspect-ratio: 2 / 1; border-radius: 6px; overflow: hidden; background: #e9f0f9; }
.li-mapbox svg { display: block; width: 100%; height: 100%; }
.li-mapbox path { fill: #d9dee6; stroke: #ffffff; stroke-width: .35; vector-effect: non-scaling-stroke; }
.li-mapbox path.li-sphere { fill: #e9f0f9; stroke: none; }
.li-mapbox path.li-on { fill: #8fb3e8; }
.li-mapbox path.li-off { fill: #1e4fa3; }
.li-maploading { position: absolute; inset: 0; background: linear-gradient(90deg, #e9f0f9 0%, #f4f7fb 50%, #e9f0f9 100%); }

.li-legend { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #4a5872; }
.li-legend span { margin-right: 8px; }
.li-k { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.li-k-off { background: #1e4fa3; }
.li-k-on { background: #8fb3e8; }

.li-facts { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 10px 0 0; }
.li-facts dt { color: #4a5872; }
.li-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.li-sum { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid #e4e9f1; }
.li-src { margin-top: 8px; font-size: 11px; color: #7a8aa6; }
