/* Learning languages (features.lingo, Sprachduell – lingo.js): the settings card, the line on the free-play page,
   and the other player's version at the reveal of a cross-language duel. Theme tokens only (every theme, dark too). */
.lgo-code { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 20px; padding: 0 5px; border-radius: 6px;
  background: var(--accent); color: var(--solid, #fff); font-size: 11px; font-weight: var(--w-bold); letter-spacing: .04em; line-height: 1; flex: none; }

/* settings card */
.lgo-card .lgo-lead { text-align: left; margin: 4px 0 10px; }
.lgo-langs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lgo-tick .tk { min-height: 44px; }
.lgo-tick input:not(:checked) + .tk .lgo-code { background: var(--line); color: var(--text-2); }
.lgo-mix-row { margin-top: 10px; }
.lgo-mix-row .sl { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.lgo-mix-sub { text-align: left; margin: 0; }
.lgo-mix[disabled] { opacity: .45; cursor: not-allowed; }
.lgo-cross { text-align: left; margin: 10px 0 0; }
.lgo-err:empty { display: none; }

/* summary (free play) */
.lgo-sum { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lgo-chip { display: inline-flex; align-items: center; gap: 5px; font-weight: var(--w-bold); color: var(--text); font-size: 14px; }
.lgo-how { font-size: 13px; color: var(--text-2); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
.lgo-free-slot { margin: 6px 0 10px; }
.lgo-free { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; text-decoration: none; color: inherit; }
.lgo-free-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lgo-free-h { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; font-weight: var(--w-bold); }
.lgo-free-go { flex: none; color: var(--accent); font-weight: var(--w-bold); font-size: 14px; }

/* duel: whom one plays against (question) and his word for the task (reveal) */
.lgo-opp { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 0 0; font-size: 12.5px; color: var(--text-2); }
.lgo-opp .lgo-code { min-width: 22px; height: 17px; font-size: 10px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); }
.lgo-peer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 8px auto 0; padding: 6px 12px; width: fit-content; max-width: 100%;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.lgo-peer b { color: var(--text); font-weight: var(--w-bold); }
.lgo-term { color: var(--text); font-weight: var(--w-bold); overflow-wrap: anywhere; }
.lgo-mark { display: inline-flex; width: 18px; height: 18px; font-weight: var(--w-bold); }
.lgo-mark .ico { width: 18px; height: 18px; }
.lgo-mark.ok { color: var(--ok); }
.lgo-mark.bad { color: var(--bad); }
.lgo-card { scroll-margin-top: 80px; }
