/* Plain words: a tapped term opens a short sheet with the plain answer. DS3 tokens only. */
html .fg-words { display: contents; }
html main button.fg-word.fg-word { all: unset; display: inline; cursor: pointer; color: inherit; font: inherit; line-height: inherit;
  text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
  text-decoration-color: var(--fg-secondary, #6b6b6b); border-radius: 3px; -webkit-tap-highlight-color: transparent; }
html main button.fg-word.fg-word:hover { text-decoration-color: currentColor; }
html main button.fg-word.fg-word:focus-visible { outline: 2px solid var(--fg-ink, #1f1f1f); outline-offset: 2px; }
html main button.fg-word.fg-word:active { background: var(--fg-well, #f6f6f4); }

html .fg-word-sheet { position: fixed; inset: auto 0 0 0; margin: 0 auto max(12px, env(safe-area-inset-bottom)); width: min(520px, calc(100% - 24px));
  box-sizing: border-box; padding: 20px 20px 16px; border: 1px solid var(--fg-line, #e8e8e8); border-radius: 16px; background: #fff;
  color: var(--fg-ink, #1f1f1f); box-shadow: 0 12px 40px rgba(0, 0, 0, .18); font-family: inherit; text-align: left; }
html .fg-word-sheet::backdrop { background: rgba(0, 0, 0, .16); }
html .fg-word-sheet .fg-word-term { margin: 0 0 6px; font-size: 18px; line-height: 1.25; font-weight: 700; }
html .fg-word-sheet .fg-word-text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fg-ink-2, #3d3d3d); }
html .fg-word-sheet button.fg-word-close.fg-word-close { display: block; width: 100%; min-height: 44px; margin: 16px 0 0; padding: 0 16px; box-sizing: border-box;
  border: 1px solid var(--fg-line-strong, #dcdcdc); border-radius: 999px; background: #fff; box-shadow: none; color: var(--fg-ink, #1f1f1f);
  font: 600 15px/1 inherit; font-family: inherit; cursor: pointer; }
html .fg-word-sheet button.fg-word-close.fg-word-close:hover { border-color: var(--fg-ink, #1f1f1f); }
@media (min-width: 760px) { html .fg-word-sheet { margin-bottom: 32px; } }
@media (prefers-reduced-motion: no-preference) {
  html .fg-word-sheet { transition: opacity 200ms cubic-bezier(.2, 0, 0, 1), translate 240ms cubic-bezier(.2, 0, 0, 1), overlay 240ms allow-discrete, display 240ms allow-discrete; }
  html .fg-word-sheet:not(:popover-open) { opacity: 0; translate: 0 16px; }
  @starting-style { html .fg-word-sheet:popover-open { opacity: 0; translate: 0 16px; } }
}
