/* Keep German words in the reading flow; explanations use the page language. */
button.fn-term {
  display: inline !important; width: auto !important; min-width: 0 !important;
  min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: none !important;
  color: inherit !important; font: inherit !important; letter-spacing: inherit !important;
  text-transform: inherit !important; line-height: inherit !important;
  text-decoration: underline dotted; text-underline-offset: .17em;
  text-decoration-thickness: 1.5px; cursor: help; box-shadow: none !important;
}
button.fn-term:hover { text-decoration-style: solid; }
button.fn-term:focus-visible { outline: 3px solid currentColor !important; outline-offset: 4px; }
.fn-term-tip[hidden] { display: none !important; }
.fn-term-tip {
  position: fixed !important; z-index: 2147483000; box-sizing: border-box;
  display: block; width: 320px; max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px); overflow: auto;
  padding: 16px 18px; border: 2px solid #78183e; border-radius: 14px;
  background: #fff3df; color: #111;
  font: 400 16px/1.5 Arial, sans-serif !important;
  letter-spacing: normal !important; text-transform: none !important;
  text-align: left; text-decoration: none; white-space: normal;
  box-shadow: 0 6px 20px #1112;
}
@media print { .fn-term-tip { display: none !important; } button.fn-term { text-decoration: none; } }

/* Top-layer popovers are not clipped by a scrolling modal. */
.fn-term-tip[popover] { margin: 0; inset: auto; }
div.sitcard { flex-wrap: wrap; cursor: pointer; }
div.sitcard > span:nth-child(2) { flex: 1; min-width: 0; }
div.sitcard .sitselect { margin-left: 42px; flex-basis: calc(100% - 42px); font-weight: 700; text-decoration: underline; min-height: 32px; }
