/* Лингора · игровой режим 2026-10-16: карта уровней, задания-плитки, 🔥 серия, одна строка подсказки. Только стили, логика в app.js. */
.lgp-hero { gap: 12px; }
.lgp-top { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: 0; }
.lgp-top .grow { flex: 1 1 auto; min-width: 0; }
.lgp-chip { display: inline-flex; align-items: center; gap: 4px; padding: 7px 10px; border-radius: 999px; background: var(--surface-2, rgba(255,255,255,.06)); border: 1px solid var(--line); font-size: 15px; font-weight: 800; white-space: nowrap; color: inherit; flex: none; }
.lgp-chip.on b { color: var(--saffron); }
.lgp-chip svg { width: 14px; height: 14px; }
.lgp-gift { font-size: 18px; padding: 5px 9px; animation: lgpWiggle 3.2s ease-in-out infinite; }
@keyframes lgpWiggle { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-12deg); } 95% { transform: rotate(10deg); } }
.lgp-top .pill { min-width: 0; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgp-map { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 6px 0 2px; }
.lgp-map .lgp-node { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 900; background: var(--surface-2, #241F3A); box-shadow: 0 4px 0 rgba(0,0,0,.35); color: #fff; opacity: .75; }
.lgp-map .lgp-node:nth-child(even) { transform: translateY(10px); }
.lgp-map .lgp-node.done { background: #2fbf71; opacity: 1; }
.lgp-map .lgp-node.cur { width: 58px; height: 58px; font-size: 26px; background: var(--saffron); opacity: 1; box-shadow: 0 5px 0 #b97c15; animation: lgpPulse 1.6s ease-in-out infinite; }
@keyframes lgpPulse { 50% { scale: 1.08; } }
.lgp-title { text-align: center; font-size: 17px; font-weight: 800; min-height: 1.3em; overflow-wrap: anywhere; }
.lgp-play, .lgp-big { min-height: 56px; font-size: 19px; font-weight: 900; border-radius: 18px; letter-spacing: .2px; }
.lgp-goal { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--surface-2, rgba(255,255,255,.05)); text-align: left; }
.lgp-goal > span { font-size: 24px; flex: none; }
.lgp-goal b { display: block; font-size: 14.5px; font-weight: 800; overflow-wrap: anywhere; }
.lgp-goal .meter { height: 8px; margin-top: 6px; }
/* урок */
.lgp-say { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; }
.lgp-say .mascot { flex: none; }
.lgp-bubble { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 9px 13px; font-weight: 800; font-size: 16px; min-width: 0; overflow-wrap: anywhere; }
.lgp-rule .teach-card { animation: lgpPop .4s cubic-bezier(.3,1.5,.5,1) both; }
.lgp-rule .teach-term { font-size: 28px; font-weight: 900; overflow-wrap: anywhere; }
.lgp-spk { display: block; margin: 14px auto 8px; width: 92px; height: 92px; border: 0; border-radius: 26px; background: var(--lagoon); box-shadow: 0 6px 0 #0f8a7f; font-size: 42px; cursor: pointer; }
.lgp-spk.sm { width: 56px; height: 56px; font-size: 24px; border-radius: 16px; box-shadow: 0 4px 0 #0f8a7f; margin: 12px auto 0; }
.lgp-spk:active { transform: translateY(3px); box-shadow: 0 2px 0 #0f8a7f; }
.lgp-q { font-size: 21px; font-weight: 900; line-height: 1.45; margin: 12px 0 4px; overflow-wrap: anywhere; }
.lgp-gap { display: inline-block; min-width: 64px; padding: 0 8px; border-bottom: 3px solid var(--iris); color: var(--saffron); text-align: center; }
.lgp-gap.on { animation: lgpPop .3s both; }
.lgp-tiles .opt { border-width: 2px; border-radius: 16px; box-shadow: 0 4px 0 var(--line); font-weight: 800; font-size: 17px; min-height: 52px; transition: transform .06s; }
.lgp-tiles .opt:not(:disabled):active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.lgp-tiles .opt .key { display: none; }
.lgp-tiles.gap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lgp-tiles.gap .opt { justify-content: center; text-align: center; }
.lgp-foot { position: sticky; bottom: 0; padding: 10px 0 calc(6px + env(safe-area-inset-bottom)); margin-top: 12px; background: linear-gradient(transparent, var(--bg) 22%); z-index: 3; }
.lgp-foot.row { display: flex; gap: 10px; align-items: center; }
.lgp-fb { margin-bottom: 10px; animation: lgpPop .3s both; }
.lgp-fb .fb-title { font-size: 16.5px; }
.lgp-fb .fb-why { font-size: 14px; }
.btn.lgp-ok { background: #2fbf71; color: #06210f; }
.btn.lgp-bad { background: var(--rose); }
.lgp-combo.on { color: var(--saffron); font-weight: 900; }
.lgp-jump { animation: lgpJump .5s; }
.lgp-shake { animation: lgpShake .4s; }
@keyframes lgpJump { 40% { transform: translateY(-14px) scale(1.08); } }
@keyframes lgpShake { 25% { transform: translateX(-7px); } 75% { transform: translateX(7px); } }
@keyframes lgpPop { 0% { transform: scale(.7); opacity: 0; } }
.lgp-burst { position: fixed; top: 72px; left: 50%; transform: translateX(-50%); z-index: 60; background: var(--saffron); color: #2a1a00; font-weight: 900; padding: 8px 16px; border-radius: 999px; pointer-events: none; animation: lgpPop .35s both; white-space: nowrap; }
.lgp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; margin: 12px 0; }
.lgp-st { border: 2px solid var(--saffron); border-radius: 16px; padding: 8px 4px; text-align: center; }
.lgp-st.g { border-color: #2fbf71; } .lgp-st.l { border-color: var(--lagoon); }
.lgp-st b { display: block; font-size: 21px; font-weight: 900; } .lgp-st span { font-size: 13px; color: var(--muted); }
.result-hero .lgp-goal { width: 100%; }
/* курс: тропинка уровней */
.lgp-lvbar { height: 6px; margin-top: 6px; max-width: 160px; }
.lgp-path .step .step-title { font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .lgp-gift, .lgp-map .lgp-node.cur, .lgp-jump, .lgp-shake, .lgp-rule .teach-card { animation: none !important; } }
/* 2026-10-16 #2: «Собери фразу», квизы, диалоги, экзамен, тихая награда */
.lgp-ans { min-height: 60px; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; padding: 8px 0 10px; border-bottom: 2px solid var(--line); margin-top: 6px; }
.lgp-ans.ok { border-color: #2fbf71; } .lgp-ans.bad { border-color: var(--rose); }
.lgp-pool { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.lgp-tile { padding: 10px 14px; border-radius: 14px; background: var(--surface); color: var(--ink); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); font: inherit; font-size: 17px; font-weight: 800; max-width: 100%; overflow-wrap: anywhere; cursor: pointer; }
.lgp-tile:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.lgp-tile.used { visibility: hidden; }
.lgp-tile.in { animation: lgpPop .25s both; }
.lgp-tile:disabled { cursor: default; }
.gate .lgp-big, .card .lgp-big { width: 100%; }
.gx-cele-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface-2, rgba(255,255,255,.06)); border: 1px solid var(--line); font-weight: 800; font-size: 14px; animation: lgpPop .4s both; max-width: 100%; }
.gx-cele-chip .gx-badge { width: 30px; height: 30px; flex: none; }
.gx-cele-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.lgp-goal { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; }
.lgp-goal > span { font-size: 20px; }
