/* ======================================================================
   WERSJA 3 — „WYPRAWA". Własny świat wizualny, niezależny od wersji 1 i 2.
   Paleta: atrament #211a52 · żar #ff7a1a · zieleń trafienia #19b56b · róż błędu #ef476f
           niebo #2f8df5 · złoto #ffc233 · tło lawendowe #f4f2ff
   Pismo: Baloo 2 (nagłówki, liczby) + Nunito (treść). Przyciski mają „grubość" — dolną
   krawędź, która znika przy naciśnięciu: palec czuje, że coś wcisnął.
   ====================================================================== */
body.v3mode {
  --ink:#211a52; --ink2:#6b6790; --bg3:#f4f2ff; --card3:#ffffff; --line3:#e4e0f7;
  --ember:#ff7a1a; --ember-d:#d9560a; --ok3:#19b56b; --ok3-d:#0f8c50; --bad3:#ef476f; --bad3-d:#c92c53;
  --sky3:#2f8df5; --sky3-d:#1c6fd0; --gold3:#ffc233; --gold3-d:#d99a00;
  --head:"Baloo 2","Nunito",system-ui,"Segoe UI",sans-serif; --text:"Nunito",system-ui,"Segoe UI",Roboto,sans-serif;
  background: var(--bg3); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.45;
}
body.v3mode #app { display:block; min-height:100vh; }
body.v3mode h1, body.v3mode h2, body.v3mode h3 { font-family: var(--head); letter-spacing: 0; line-height: 1.15; }
body.v3mode button { font-family: var(--text); color: inherit; }
body.v3mode #toasts { top: auto; bottom: 96px; right: 50%; transform: translateX(50%); align-items: center; }
body.v3mode .toast { background: var(--ink); border-radius: 14px; font-weight: 700; }
.v3-muted { color: var(--ink2); font-size: 14.5px; }
.v3-center { text-align: center; }
.v3-lead { font-size: 17px; color: var(--ink); opacity: .88; }
.v3-kicker { font-weight: 800; font-size: 13.5px; color: var(--ember-d); margin-bottom: 2px; }
.hidden { display: none !important; }

/* ---------- ładowanie ---------- */
.v3-loading { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-family: var(--head); font-size: 22px; font-weight: 700; text-align: center; padding: 24px; }

/* ---------- maskotka ---------- */
.v3-mascot { flex: 0 0 auto; display: inline-block; filter: drop-shadow(0 6px 10px rgba(255,122,26,.25)); animation: v3bob 3.2s ease-in-out infinite; }
.v3-m-cheer { animation: v3hop .9s ease-in-out infinite; }
@keyframes v3bob { 50% { transform: translateY(-5px) rotate(-2deg); } }
@keyframes v3hop { 0%,100% { transform: translateY(0) scale(1,1); } 40% { transform: translateY(-12px) scale(.97,1.04); } 60% { transform: translateY(-10px); } 85% { transform: translateY(0) scale(1.05,.95); } }

/* ---------- powłoka ---------- */
.v3 { max-width: 600px; margin: 0 auto; min-height: 100vh; background: var(--bg3); padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); position: relative; }
@media (min-width: 640px) { body.v3mode { background: radial-gradient(1200px 600px at 50% -10%, #ffe7d1, transparent 60%), #e9e5ff; } .v3 { box-shadow: 0 0 0 1px var(--line3), 0 30px 80px rgba(33,26,82,.12); } }
.v3-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px; background: rgba(244,242,255,.92); backdrop-filter: blur(10px); border-bottom: 2px solid var(--line3); }
.v3-stat { display: flex; align-items: center; gap: 5px; border: 0; background: none; font-family: var(--head); font-size: 20px; font-weight: 800; padding: 4px 6px; border-radius: 12px; cursor: pointer; }
.v3-stat-ico { font-size: 22px; }
.v3-streak { color: #b8b3d6; } .v3-streak .v3-stat-ico { filter: grayscale(1) opacity(.55); }
.v3-streak.lit { color: var(--ember-d); } .v3-streak.lit .v3-stat-ico { filter: none; animation: v3flame 1.6s ease-in-out infinite; }
@keyframes v3flame { 50% { transform: scale(1.14) rotate(-4deg); } }
.v3-gems { color: var(--sky3-d); }
.v3-level { flex: 1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; }
.v3-level-n { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 50%; background: var(--gold3); border-bottom: 4px solid var(--gold3-d); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 18px; color: #5a3d00; }
.v3-level-bar, .v3-bar { height: 12px; border-radius: 99px; background: var(--line3); overflow: hidden; }
.v3-level-bar i, .v3-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold3), var(--ember)); transition: width .6s cubic-bezier(.2,.9,.3,1); position: relative; }
.v3-level-bar i::after, .v3-bar i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 2.5px; height: 3px; border-radius: 9px; background: rgba(255,255,255,.45); }
.v3-level-goal { font-size: 12px; font-weight: 700; color: var(--ink2); }
.v3-bar.xl { height: 16px; margin: 8px 0 4px; }

.v3-tabs { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 600px; display: flex; background: #fff; border-top: 2px solid var(--line3); padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); }
.v3-tab { position: relative; flex: 1; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px; border-radius: 14px; cursor: pointer; font-weight: 800; font-size: 11.5px; color: var(--ink2); }
.v3-tab-ico { font-size: 25px; line-height: 1.1; filter: grayscale(.85) opacity(.7); transition: transform .18s; }
.v3-tab.on { color: var(--ember-d); background: #fff1e4; } .v3-tab.on .v3-tab-ico { filter: none; transform: translateY(-2px) scale(1.12); }
.v3-dot { position: absolute; top: 5px; right: 24%; width: 11px; height: 11px; border-radius: 50%; background: var(--bad3); border: 2px solid #fff; }
.v3-view { padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- przyciski ---------- */
.v3-btn { border: 0; border-radius: 16px; padding: 12px 18px; font-family: var(--head) !important; font-size: 17px; font-weight: 700; cursor: pointer; background: #fff; color: var(--ink); border: 2px solid var(--line3); border-bottom-width: 5px; transition: transform .06s, border-bottom-width .06s, filter .15s; }
.v3-btn:active:not(:disabled) { transform: translateY(3px); border-bottom-width: 2px; }
.v3-btn.primary { background: var(--ember); border-color: var(--ember-d); color: #fff; }
.v3-btn.sky { background: var(--sky3); border-color: var(--sky3-d); color: #fff; }
.v3-btn.ghost { background: #fff; color: var(--ink); }
.v3-btn.wide { width: 100%; padding: 15px 18px; font-size: 19px; }
.v3-btn.small { padding: 7px 12px; font-size: 14.5px; border-radius: 12px; border-bottom-width: 4px; }
.v3-btn:disabled { background: var(--line3); border-color: #d2cdee; color: #a7a2c7; cursor: default; }
.v3-btn.ghostly { background: transparent; border-color: transparent; color: var(--ink2); font-size: 15px; }
.v3-btn.listening { background: var(--bad3); border-color: var(--bad3-d); animation: v3pulse 1s infinite; }
.v3-btn:focus-visible, .v3-opt:focus-visible, .v3-node:focus-visible, .v3-tab:focus-visible { outline: 3px solid var(--sky3); outline-offset: 2px; }
.v3-link { border: 0; background: none; color: var(--sky3-d); font-weight: 800; font-size: 15px; padding: 10px; cursor: pointer; align-self: center; }
.v3-x { border: 0; background: none; font-size: 22px; font-weight: 800; color: var(--ink2); width: 40px; height: 40px; border-radius: 12px; cursor: pointer; }

/* ---------- karty ogólne ---------- */
.v3-card { background: var(--card3); border: 2px solid var(--line3); border-bottom-width: 5px; border-radius: 22px; padding: 16px; }
.v3-card h3 { font-size: 20px; margin-bottom: 6px; }

/* ---------- powitanie na mapie ---------- */
.v3-hello { display: flex; align-items: flex-end; gap: 8px; }
.v3-hello-bubble { position: relative; flex: 1; background: #fff; border: 2px solid var(--line3); border-bottom-width: 5px; border-radius: 20px; padding: 12px 14px; }
.v3-hello-bubble::before { content: ""; position: absolute; left: -10px; bottom: 22px; width: 16px; height: 16px; background: #fff; border-left: 2px solid var(--line3); border-bottom: 2px solid var(--line3); transform: rotate(45deg); }
.v3-hello-bubble p { font-weight: 700; margin-bottom: 10px; }
.v3-hello-btns { display: flex; gap: 8px; flex-wrap: wrap; } .v3-hello-btns.center { justify-content: center; margin-top: 12px; }

/* ---------- światy i ścieżka ---------- */
.v3-world { border-radius: 26px; background: linear-gradient(180deg, var(--wl), #fff 70%); border: 2px solid var(--line3); overflow: hidden; }
.v3-world.locked { filter: saturate(.25); opacity: .75; }
.v3-world-banner { position: relative; min-height: 150px; color: #fff; display: flex; align-items: flex-end; }
.v3-world-art { position: absolute; inset: 0; } .v3-world-art svg { width: 100%; height: 100%; display: block; }
.v3-world-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(20,14,60,.62)); }
.v3-world-txt { position: relative; z-index: 1; padding: 14px 16px; text-shadow: 0 1px 6px rgba(20,14,60,.55); }
.v3-world-txt small { font-weight: 800; font-size: 13px; opacity: .9; }
.v3-world-txt h2 { font-size: 28px; text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.v3-world-txt p { font-size: 14px; font-weight: 600; max-width: 42ch; opacity: .95; }
.v3-world-stars { position: absolute; z-index: 1; top: 12px; right: 12px; background: rgba(255,255,255,.95); color: #8a5d00; font-family: var(--head); font-weight: 800; padding: 3px 12px; border-radius: 99px; font-size: 15px; }
.v3-track { position: relative; width: 340px; margin: 6px auto 10px; }
.v3-track svg { position: absolute; inset: 0; }
.v3-node { position: absolute; transform: translate(-50%,-50%); width: 78px; height: 72px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; border: 3px solid var(--line3); border-bottom-width: 9px; display: grid; place-items: center; transition: transform .08s, border-bottom-width .08s; }
.v3-node:active { transform: translate(-50%,-46%); border-bottom-width: 3px; }
.v3-node-ico { font-size: 32px; line-height: 1; }
.v3-node.done { background: var(--wc); border-color: var(--wd); }
.v3-node.cur { background: var(--ember); border-color: var(--ember-d); animation: v3pulse 1.8s infinite; }
.v3-node.boss { width: 92px; height: 84px; border-radius: 26px; }
.v3-node.lock { background: #ebe8f7; border-color: #d2cdee; } .v3-node.lock .v3-node-ico { font-size: 24px; filter: grayscale(1) opacity(.6); }
@keyframes v3pulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,26,.55); } 70% { box-shadow: 0 0 0 18px rgba(255,122,26,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,26,0); } }
.v3-node-stars { position: absolute; bottom: -27px; left: 50%; transform: translateX(-50%); color: var(--gold3-d); font-size: 15px; letter-spacing: 1px; white-space: nowrap; text-shadow: 0 1px 0 #fff; }
.v3-node-go { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); background: #fff; color: var(--ember-d); font-family: var(--head); font-weight: 800; padding: 2px 12px; border-radius: 10px; border: 2px solid var(--line3); animation: v3bob 1.4s ease-in-out infinite; }
.v3-node-go::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 10px; background: #fff; border-right: 2px solid var(--line3); border-bottom: 2px solid var(--line3); transform: translateX(-50%) rotate(45deg); }
.v3-node-lbl { position: absolute; transform: translateY(-50%); font-weight: 800; font-size: 14px; max-width: 120px; line-height: 1.15; color: var(--ink); }
.v3-node-lbl.left { text-align: right; }
.v3-node-mascot { position: absolute; z-index: 2; }
.v3-map-end { text-align: center; color: var(--ink2); font-weight: 700; padding: 8px 20px 4px; }

/* ---------- okna ---------- */
.v3-modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(33,26,82,0); display: flex; align-items: center; justify-content: center; padding: 16px; transition: background .2s; }
.v3-modal-bg.open { background: rgba(33,26,82,.55); }
.v3-modal { width: 100%; max-width: 420px; max-height: 88vh; overflow: auto; background: #fff; border-radius: 26px; padding: 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transform: scale(.85); opacity: 0; transition: transform .25s cubic-bezier(.2,1.3,.4,1), opacity .2s; font-family: var(--text); color: var(--ink); }
.v3-modal-bg.open .v3-modal { transform: none; opacity: 1; }
.v3-modal h3 { font-family: var(--head); font-size: 24px; }
.v3-modal-bg.v3sheet { align-items: flex-end; padding: 0; }
.v3-modal-bg.v3sheet .v3-modal { max-width: 600px; border-radius: 28px 28px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); opacity: 1; }
.v3-modal-bg.v3sheet.open .v3-modal { transform: none; }
.v3-modal-bg.v3tall .v3-modal { align-items: stretch; text-align: left; }
.v3-sheet-ico { width: 74px; height: 74px; border-radius: 24px; display: grid; place-items: center; font-size: 38px; border-bottom: 6px solid rgba(0,0,0,.18); }

/* ---------- LEKCJA ---------- */
.v3-play { position: fixed; inset: 0; z-index: 60; background: var(--bg3); display: flex; flex-direction: column; font-family: var(--text); color: var(--ink); }
.v3-play > * { width: 100%; max-width: 600px; margin-left: auto; margin-right: auto; }
.v3-play-top { display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 6px; }
.v3-prog { flex: 1; height: 18px; border-radius: 99px; background: var(--line3); overflow: hidden; }
.v3-prog i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--ok3), #6fe3a9); transition: width .5s cubic-bezier(.2,.9,.3,1); box-shadow: inset 0 4px 0 rgba(255,255,255,.35); }
.v3-combo { min-width: 54px; text-align: right; font-family: var(--head); font-weight: 800; font-size: 19px; color: var(--ember-d); }
.v3-comboflash { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); width: auto !important; z-index: 5; font-family: var(--head); font-weight: 800; font-size: 22px; color: #fff; background: var(--ember); padding: 4px 18px; border-radius: 99px; border-bottom: 4px solid var(--ember-d); animation: v3flash 1.3s ease-out both; pointer-events: none; white-space: nowrap; }
@keyframes v3flash { 0% { transform: translateX(-50%) scale(.3) rotate(-8deg); opacity: 0; } 25% { transform: translateX(-50%) scale(1.12) rotate(3deg); opacity: 1; } 70% { transform: translateX(-50%) scale(1); opacity: 1; } 100% { transform: translateX(-50%) translateY(-40px); opacity: 0; } }
.v3-stage { flex: 1; overflow: auto; padding: 10px 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.v3-stage.v3-in > * { animation: v3in .32s cubic-bezier(.2,.9,.3,1) both; }
@keyframes v3in { from { opacity: 0; transform: translateX(26px); } }
.v3-stage.locked .v3-opt, .v3-stage.locked .v3-tile, .v3-stage.locked .v3-mbtn { pointer-events: none; }
.v3-foot { padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--line3); background: #fff; }
.v3-foot:empty { display: none; }
.v3-foot.v3-fb { animation: v3up .25s cubic-bezier(.2,1.2,.4,1) both; border-top: 0; }
.v3-foot.v3-fb.ok { background: #d9f7e6; color: #0b6a3c; } .v3-foot.v3-fb.bad { background: #ffe1e8; color: #a3153d; }
.v3-foot.v3-fb.ok .v3-btn.primary { background: var(--ok3); border-color: var(--ok3-d); }
.v3-foot.v3-fb.bad .v3-btn.primary { background: var(--bad3); border-color: var(--bad3-d); }
@keyframes v3up { from { transform: translateY(100%); } }
.v3-fb-row { display: flex; align-items: center; gap: 12px; }
.v3-fb-ico { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 900; }
.v3-fb-txt { flex: 1; min-width: 0; } .v3-fb-txt > b { font-family: var(--head); font-size: 20px; display: block; line-height: 1.15; }
.v3-fb-ans { font-weight: 800; font-size: 17px; } .v3-fb-ans i { font-weight: 600; opacity: .8; } .v3-fb-pl { font-size: 14.5px; opacity: .85; }

.v3-qhead h2 { font-size: 27px; } .v3-qhead { margin-top: 4px; }
.v3-audio { display: flex; gap: 10px; margin-top: 8px; } .v3-audio.xl { justify-content: center; }
.v3-spk { width: 54px; height: 50px; border-radius: 16px; border: 0; background: var(--sky3); border-bottom: 5px solid var(--sky3-d); font-size: 24px; cursor: pointer; transition: transform .06s, border-bottom-width .06s; }
.v3-audio.xl .v3-spk { width: 84px; height: 72px; font-size: 36px; border-radius: 22px; } .v3-audio.xl .v3-spk.slow { width: 60px; font-size: 26px; align-self: flex-end; height: 56px; }
.v3-spk.slow { background: #fff; border: 2px solid var(--line3); border-bottom-width: 5px; }
.v3-spk.small { width: 44px; height: 42px; font-size: 19px; flex: 0 0 44px; }
.v3-spk:active { transform: translateY(3px); border-bottom-width: 2px; }

.v3-pic { display: inline-grid; place-items: center; line-height: 1; font-size: 28px; }
.v3-pic.sm { font-size: 22px; } .v3-pic.md { font-size: 34px; } .v3-pic.lg { font-size: 46px; } .v3-pic.xl { font-size: 76px; }
.v3-swatch { width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--sw); border: .06em solid rgba(33,26,82,.25); box-shadow: inset -.08em -.1em 0 rgba(0,0,0,.15), inset .08em .08em 0 rgba(255,255,255,.35); }

.v3-opts { display: grid; gap: 10px; } .v3-opts.pics { grid-template-columns: 1fr 1fr; } .v3-opts.pics.three { grid-template-columns: repeat(3, 1fr); }
.v3-opt { border: 2px solid var(--line3); border-bottom-width: 6px; border-radius: 20px; background: #fff; cursor: pointer; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .06s, border-bottom-width .06s, background .15s; min-height: 64px; justify-content: center; }
.v3-opt:active { transform: translateY(4px); border-bottom-width: 2px; }
.v3-opt-lbl { font-weight: 800; font-size: 15.5px; text-align: center; line-height: 1.15; } .v3-opt-word { font-family: var(--head); font-weight: 700; font-size: 22px; }
.v3-opt.good { background: #d9f7e6; border-color: var(--ok3); animation: v3yes .4s; } .v3-opt.wrong { background: #ffe1e8; border-color: var(--bad3); animation: v3shake .35s; }
@keyframes v3yes { 40% { transform: scale(1.06); } } @keyframes v3shake { 20%,60% { transform: translateX(-7px); } 40%,80% { transform: translateX(7px); } }
.shake { animation: v3shake .35s; }
.v3-promptcard { display: flex; align-items: center; gap: 14px; background: #fff; border: 2px solid var(--line3); border-bottom-width: 5px; border-radius: 22px; padding: 14px 16px; } .v3-promptcard h2 { font-size: 26px; }

.v3-tf { display: flex; align-items: center; justify-content: center; gap: 12px; background: #fff; border: 2px solid var(--line3); border-bottom-width: 6px; border-radius: 24px; padding: 22px 12px; }
.v3-tf-word { font-family: var(--head); font-weight: 800; font-size: 30px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; } .v3-tf-eq { font-size: 30px; color: var(--ink2); font-weight: 800; }
.v3-tf-pic { display: flex; flex-direction: column; align-items: center; font-weight: 800; text-align: center; }
.v3-tf-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .v3-tfbtn { font-family: var(--head); font-size: 22px; font-weight: 800; }
.v3-tfbtn.yes { color: var(--ok3-d); } .v3-tfbtn.no { color: var(--bad3-d); }
.v3-pop { animation: v3popin .22s cubic-bezier(.2,1.4,.4,1); } @keyframes v3popin { from { transform: scale(.85); opacity: .3; } }

.v3-match { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .v3-mcol { display: flex; flex-direction: column; gap: 10px; }
.v3-mbtn { border: 2px solid var(--line3); border-bottom-width: 5px; background: #fff; border-radius: 16px; min-height: 58px; padding: 8px; font-weight: 800; font-size: 16.5px; cursor: pointer; transition: all .12s; }
.v3-mbtn.sel { border-color: var(--sky3); background: #e3f0ff; } .v3-mbtn.done { opacity: .35; background: #d9f7e6; border-color: var(--ok3); pointer-events: none; transform: scale(.96); }

.v3-line { min-height: 64px; border-bottom: 3px dashed var(--line3); display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; padding: 6px 0 10px; }
.v3-line.letters { justify-content: center; gap: 5px; } .v3-line.good .v3-tile { background: #d9f7e6; border-color: var(--ok3); } .v3-line.wrong .v3-tile { background: #ffe1e8; border-color: var(--bad3); }
.v3-bank { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; } .v3-bank.letters { gap: 6px; }
.v3-slot { position: relative; display: inline-flex; } .v3-slot .ghost { visibility: hidden; } .v3-slot .v3-tile:not(.ghost) { position: absolute; inset: 0; }
.v3-slot:not(:has(button)) { background: var(--line3); border-radius: 14px; opacity: .7; }
.v3-tile { border: 2px solid var(--line3); border-bottom-width: 5px; background: #fff; border-radius: 14px; padding: 9px 14px; font-weight: 800; font-size: 18px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; }
.letters .v3-tile { min-width: 44px; padding: 9px 8px; font-family: var(--head); font-size: 24px; text-transform: lowercase; }
.v3-input { width: 100%; border: 3px solid var(--line3); border-radius: 18px; padding: 16px; font-family: var(--head); font-size: 24px; font-weight: 700; color: var(--ink); background: #fff; outline: none; user-select: text; -webkit-user-select: text; }
.v3-input:focus { border-color: var(--sky3); } .v3-input.good { border-color: var(--ok3); background: #d9f7e6; } .v3-input.wrong { border-color: var(--bad3); background: #ffe1e8; }
.v3-heard { text-align: center; min-height: 24px; font-weight: 700; color: var(--ink2); }
.v3-hint { text-align: center; color: var(--ink2); font-weight: 700; font-size: 14.5px; }

.v3-learn { display: flex; flex-direction: column; gap: 12px; align-items: stretch; } .v3-learn .v3-kicker { text-align: center; }
.v3-bigcard { border: 2px solid var(--line3); border-bottom-width: 8px; border-radius: 30px; background: linear-gradient(180deg, #fff, #fff7ef); padding: 22px 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; animation: v3card .45s cubic-bezier(.2,1.3,.4,1) both; width: 100%; }
.v3-bigcard.flat { animation: none; cursor: default; }
@keyframes v3card { from { transform: scale(.7) rotate(-4deg); opacity: 0; } }
.v3-bigword { font-family: var(--head); font-weight: 800; font-size: 42px; line-height: 1.05; text-align: center; }
.v3-saylike { color: var(--ink2); font-size: 15.5px; } .v3-saylike b { color: var(--ember-d); font-size: 17px; }
.v3-bigpl { font-size: 20px; font-weight: 800; color: var(--sky3-d); text-align: center; }
.v3-bigcard.bronze { border-color: #c98a4b; } .v3-bigcard.silver { border-color: #9aa7b8; } .v3-bigcard.gold { border-color: var(--gold3-d); background: linear-gradient(180deg, #fff, #fff3c9); }
.v3-exline { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 2px solid var(--line3); border-bottom-width: 4px; background: #fff; border-radius: 16px; padding: 10px 12px; cursor: pointer; }
.v3-exline b { display: block; font-size: 17.5px; } .v3-exline small { color: var(--ink2); font-size: 14.5px; font-weight: 600; } .v3-exline-spk { font-size: 20px; }

.v3-tip { display: flex; flex-direction: column; gap: 10px; } .v3-tip-head { display: flex; align-items: center; gap: 10px; } .v3-tip-head h2 { font-size: 24px; }
.v3-tip-ex { display: flex; flex-direction: column; gap: 8px; }
.v3-tip-rule { background: #fff8e1; border: 2px solid #ffe08a; border-radius: 18px; padding: 12px; animation: v3in .35s both; } .v3-tip-rule p { font-weight: 700; margin-top: 8px; }
.v3-table { width: 100%; border-collapse: separate; border-spacing: 0 5px; } .v3-table td { background: #fff; padding: 8px 10px; font-weight: 800; font-size: 16px; }
.v3-table td:first-child { border-radius: 10px 0 0 10px; color: var(--sky3-d); } .v3-table td:last-child { border-radius: 0 10px 10px 0; color: var(--ink2); font-weight: 700; } .v3-table td.c1:not(:last-child) { color: var(--ember-d); }

/* ---------- scenka ---------- */
.v3-scene { position: relative; border-radius: 22px; overflow: hidden; height: 170px; flex: 0 0 170px; border: 2px solid var(--line3); }
.v3-scene-art { position: absolute; inset: 0; } .v3-scene-art svg { width: 100%; height: 100%; display: block; }
.v3-actors { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: space-around; align-items: flex-end; }
.v3-actor { display: flex; flex-direction: column; align-items: center; transition: transform .25s; filter: drop-shadow(0 4px 4px rgba(0,0,0,.25)); } .v3-actor span { font-size: 54px; line-height: 1; }
.v3-actor small { background: rgba(255,255,255,.92); border-radius: 99px; padding: 1px 10px; font-weight: 800; font-size: 12.5px; }
.v3-actor.talk { transform: translateY(-8px) scale(1.18); animation: v3talk .5s ease-in-out infinite alternate; } @keyframes v3talk { to { transform: translateY(-12px) scale(1.2) rotate(2deg); } }
.v3-scene-ctl { display: flex; gap: 8px; justify-content: center; } .v3-ctl { min-width: 50px; height: 42px; border-radius: 14px; border: 2px solid var(--line3); border-bottom-width: 4px; background: #fff; font-weight: 800; font-size: 17px; cursor: pointer; } .v3-ctl.on { background: #e3f0ff; border-color: var(--sky3); }
.v3-scene-lines { display: flex; flex-direction: column; gap: 8px; } .v3-scene-lines.nosubs .pl { display: none; }
.v3-bubble { max-width: 86%; text-align: left; border: 2px solid var(--line3); border-bottom-width: 4px; background: #fff; border-radius: 18px 18px 18px 4px; padding: 8px 12px; display: flex; flex-direction: column; cursor: pointer; animation: v3popin .3s cubic-bezier(.2,1.4,.4,1); }
.v3-bubble.r { align-self: flex-end; border-radius: 18px 18px 4px 18px; background: #e3f0ff; border-color: #b9d8ff; } .v3-bubble b { font-size: 17.5px; } .v3-bubble .who { font-weight: 800; color: var(--ember-d); font-size: 12px; } .v3-bubble .pl { color: var(--ink2); font-weight: 600; font-size: 14px; }

/* ---------- wynik ---------- */
.v3-result { align-items: center; text-align: center; justify-content: flex-start; padding-top: 22px; } .v3-result h1 { font-size: 36px; }
.v3-stars { display: flex; gap: 6px; } .v3-star { font-size: 60px; line-height: 1; color: var(--line3); } .v3-star.on { color: var(--gold3); text-shadow: 0 4px 0 var(--gold3-d); animation: v3star .5s cubic-bezier(.2,1.6,.4,1) both; } .v3-star:nth-child(2) { transform: translateY(-10px); }
@keyframes v3star { from { transform: scale(0) rotate(-90deg); opacity: 0; } }
.v3-resgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.v3-res { border-radius: 18px; padding: 3px 3px 10px; color: #fff; display: flex; flex-direction: column; gap: 3px; } .v3-res small { font-weight: 800; font-size: 12px; padding: 3px 0; } .v3-res b { background: #fff; border-radius: 14px; padding: 9px 2px; font-family: var(--head); font-size: 22px; }
.v3-res.xp { background: var(--gold3-d); } .v3-res.xp b { color: var(--gold3-d); } .v3-res.acc { background: var(--ok3); } .v3-res.acc b { color: var(--ok3-d); } .v3-res.gem { background: var(--sky3); } .v3-res.gem b { color: var(--sky3-d); } .v3-res.time { background: #8b7fd6; } .v3-res.time b { color: #5b4bc4; }
.v3-banner { width: 100%; border-radius: 16px; padding: 10px 14px; font-weight: 700; animation: v3popin .4s .5s both; } .v3-banner.fire { background: #fff1e4; color: var(--ember-d); } .v3-banner.lvl { background: #fff8e1; color: #8a5d00; } .v3-banner.bdg { background: #ece9ff; color: #4834b8; }
.v3-newcards { width: 100%; } .v3-minirow { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.v3-mini { background: #fff; border: 2px solid var(--line3); border-bottom-width: 4px; border-radius: 14px; padding: 8px 10px; display: flex; flex-direction: column; align-items: center; font-weight: 800; font-size: 13.5px; min-width: 66px; animation: v3card .45s cubic-bezier(.2,1.3,.4,1) both; } .v3-mini.static { animation: none; }

.v3-modal-bg.chestbg.open { background: radial-gradient(circle at 50% 45%, rgba(255,194,51,.55), rgba(33,26,82,.8) 60%); }
.v3-chest { border: 0; background: none; cursor: pointer; font-size: 110px; line-height: 1; animation: v3wiggle 1s ease-in-out infinite; } .v3-chest.open { animation: v3chest .65s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes v3wiggle { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg) scale(1.05); } } @keyframes v3chest { 0% { transform: scale(1); } 40% { transform: scale(1.4) rotate(12deg); } 60% { transform: scale(.4) rotate(-20deg); } 100% { transform: scale(1.15); } }
.v3-chest-info b { font-family: var(--head); font-size: 26px; display: block; }
.v3-burst { position: fixed; top: -40px; z-index: 120; pointer-events: none; animation: v3fall linear both; } @keyframes v3fall { to { transform: translateY(112vh) rotate(540deg); opacity: .2; } }
.v3-fly { position: fixed; z-index: 130; font-family: var(--head); font-weight: 800; color: var(--gold3-d); font-size: 22px; pointer-events: none; animation: v3fly 1s ease-out both; } @keyframes v3fly { to { transform: translateY(-70px); opacity: 0; } }

/* ---------- nauka ---------- */
.v3-review { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .v3-review h2 { font-size: 21px; } .v3-review > div:nth-child(2) { flex: 1 1 200px; }
.v3-review-n { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 22px; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 30px; background: #d9f7e6; color: var(--ok3-d); } .v3-review.hot { border-color: #ffc59b; background: #fff7ef; } .v3-review.hot .v3-review-n { background: var(--ember); color: #fff; border-bottom: 5px solid var(--ember-d); }
.v3-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .v3-tier { border-radius: 16px; padding: 8px 4px; text-align: center; display: flex; flex-direction: column; border: 2px solid; border-bottom-width: 5px; background: #fff; } .v3-tier b { font-family: var(--head); font-size: 24px; line-height: 1.1; } .v3-tier span { font-weight: 800; font-size: 13.5px; } .v3-tier small { font-size: 11.5px; color: var(--ink2); font-weight: 700; }
.v3-tier.iron { border-color: #b9b5cf; } .v3-tier.bronze { border-color: #c98a4b; color: #8a4f17; } .v3-tier.silver { border-color: #9aa7b8; color: #56637a; } .v3-tier.gold { border-color: var(--gold3-d); color: #8a5d00; background: #fffaf0; }
.v3-seg { display: flex; background: var(--line3); border-radius: 16px; padding: 4px; gap: 4px; } .v3-seg button { flex: 1; border: 0; background: none; border-radius: 12px; padding: 9px 6px; font-weight: 800; font-size: 14.5px; cursor: pointer; color: var(--ink2); } .v3-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 0 rgba(33,26,82,.12); }
.v3-album-h { font-size: 19px; margin: 16px 0 8px; } .v3-album-h small { color: var(--ink2); font-family: var(--text); font-size: 14px; }
.v3-album { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.v3-acard { border: 3px solid #b9b5cf; border-bottom-width: 6px; border-radius: 18px; background: #fff; padding: 10px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; min-height: 108px; } .v3-acard b { font-family: var(--head); font-size: 16px; line-height: 1.1; text-align: center; } .v3-acard small { font-size: 12px; color: var(--ink2); font-weight: 700; text-align: center; line-height: 1.1; }
.v3-acard.bronze { border-color: #c98a4b; background: #fff6ee; } .v3-acard.silver { border-color: #9aa7b8; background: #f3f6fa; } .v3-acard.gold { border-color: var(--gold3-d); background: linear-gradient(160deg, #fffdf2, #ffe9a8); }
.v3-acard.unknown { border-style: dashed; border-color: var(--line3); background: transparent; color: #c5c0e2; cursor: default; justify-content: center; }
.v3-theory { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; border: 2px solid var(--line3); border-bottom-width: 5px; border-radius: 18px; background: #fff; padding: 12px; cursor: pointer; margin-top: 8px; } .v3-theory b { display: block; font-size: 16.5px; } .v3-theory small { color: var(--ink2); font-weight: 600; font-size: 13.5px; } .v3-theory-ico { font-size: 28px; } .v3-theory.lock { opacity: .55; cursor: default; }
.v3-flash { display: flex; flex-direction: column; gap: 12px; align-items: center; } .v3-flash-top { width: 100%; display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--ink2); }
.v3-flip { width: 100%; max-width: 340px; height: 300px; border: 0; background: none; perspective: 1000px; cursor: pointer; padding: 0; } .v3-flip-in { position: relative; width: 100%; height: 100%; transition: transform .5s cubic-bezier(.3,1.2,.4,1); transform-style: preserve-3d; } .v3-flip.flipped .v3-flip-in { transform: rotateY(180deg); }
.v3-flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 2px solid var(--line3); border-bottom-width: 8px; border-radius: 28px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px; } .v3-flip-face.back { transform: rotateY(180deg); background: #eef6ff; border-color: #b9d8ff; }

/* ---------- nagrody ---------- */
.v3-streakcard { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; background: linear-gradient(135deg, #fff1e4, #fff); border-color: #ffc59b; } .v3-streak-big { display: flex; align-items: center; font-family: var(--head); font-weight: 800; font-size: 52px; color: var(--ember-d); line-height: 1; } .v3-streak-big span { font-size: 46px; } .v3-streakcard h2 { font-size: 21px; }
.v3-week { grid-column: 1 / 3; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 6px; } .v3-wday { display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 800; font-size: 12px; color: var(--ink2); } .v3-wday i { width: 36px; height: 36px; border-radius: 50%; background: var(--line3); display: grid; place-items: center; font-style: normal; font-size: 18px; } .v3-wday.on i { background: var(--ember); border-bottom: 3px solid var(--ember-d); } .v3-wday.today { color: var(--ember-d); } .v3-wday.today i { outline: 3px solid #ffd2ad; }
.v3-dailychest { display: flex; gap: 12px; align-items: center; } .v3-dailychest > div:nth-child(2) { flex: 1; } .v3-dc-ico { font-size: 46px; } .v3-dailychest.ready { border-color: var(--gold3-d); background: #fffaf0; } .v3-dailychest.ready .v3-dc-ico { animation: v3wiggle 1s infinite; } .v3-dailychest .v3-bar { margin-top: 6px; }
.v3-quest { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 2px solid var(--line3); } .v3-quest:first-of-type { border-top: 0; } .v3-quest-ico { font-size: 28px; } .v3-quest-mid { flex: 1; } .v3-quest-mid b { font-size: 15.5px; } .v3-quest-mid .v3-bar { margin: 4px 0 1px; } .v3-quest-mid small { color: var(--ink2); font-weight: 700; font-size: 12px; } .v3-quest-gems { font-weight: 800; color: var(--sky3-d); white-space: nowrap; } .v3-quest-done { color: var(--ok3); font-size: 24px; font-weight: 900; } .v3-quest.claimed { opacity: .55; }
.v3-shop { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; } .v3-shopitem { border: 2px solid var(--line3); border-radius: 18px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; } .v3-shopitem small { color: var(--ink2); font-size: 12.5px; font-weight: 600; min-height: 32px; } .v3-shop-ico { font-size: 50px; line-height: 64px; } .v3-shopitem .v3-mascot { animation: none; }
.v3-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-top: 8px; } .v3-badge { border-radius: 16px; padding: 10px 6px; text-align: center; background: var(--bg3); display: flex; flex-direction: column; gap: 2px; opacity: .55; } .v3-badge span { font-size: 34px; filter: grayscale(1); } .v3-badge b { font-size: 13.5px; line-height: 1.1; } .v3-badge small { font-size: 11.5px; color: var(--ink2); line-height: 1.15; } .v3-badge.on { opacity: 1; background: #fff8e1; outline: 2px solid #ffe08a; } .v3-badge.on span { filter: none; }

/* ---------- ja ---------- */
.v3-me { display: flex; flex-direction: column; align-items: center; text-align: center; } .v3-me h2 { font-size: 28px; } .v3-rank { font-weight: 800; color: var(--ember-d); } .v3-me .v3-bar { width: 100%; }
.v3-statgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .v3-statbox { background: #fff; border: 2px solid var(--line3); border-bottom-width: 5px; border-radius: 18px; padding: 10px 4px; text-align: center; display: flex; flex-direction: column; } .v3-statbox span { font-size: 22px; } .v3-statbox b { font-family: var(--head); font-size: 24px; line-height: 1.1; } .v3-statbox small { font-size: 12px; color: var(--ink2); font-weight: 700; }
.v3-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 140px; align-items: end; margin: 8px 0; } .v3-chart-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; font-weight: 800; font-size: 12px; color: var(--ink2); } .v3-chart-col i { width: 100%; max-width: 34px; border-radius: 10px 10px 4px 4px; background: #d8d2f5; } .v3-chart-col.hit i { background: linear-gradient(180deg, var(--gold3), var(--ember)); }
.v3-setrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-weight: 800; } .v3-setrow .v3-seg { flex: 0 1 230px; } .v3-card > .v3-btn.wide { margin-top: 8px; font-size: 16.5px; padding: 12px; }
.v3-method { text-align: left; } .v3-method b { font-family: var(--head); font-size: 18px; } .v3-method p { color: var(--ink2); font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }

/* ---------- powitanie ---------- */
.v3-onb { max-width: 520px; margin: 0 auto; min-height: 100vh; padding: 28px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; } .v3-onb h1 { font-size: 34px; } .v3-onb > * { animation: v3in .4s both; }
.v3-onb-dots { display: flex; gap: 8px; } .v3-onb-dots i { width: 34px; height: 8px; border-radius: 9px; background: var(--line3); } .v3-onb-dots i.on { background: var(--ember); }
.v3-onb-list { display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left; } .v3-onb-item { display: flex; gap: 12px; align-items: center; background: #fff; border: 2px solid var(--line3); border-bottom-width: 5px; border-radius: 18px; padding: 12px; } .v3-onb-item > span { font-size: 22px; flex: 0 0 66px; text-align: center; white-space: nowrap; letter-spacing: -2px; } .v3-onb-item b { display: block; font-family: var(--head); font-size: 18px; } .v3-onb-item small { color: var(--ink2); font-weight: 600; font-size: 14px; }
.v3-goal-opts { display: flex; flex-direction: column; gap: 10px; width: 100%; } .v3-goal { display: grid; grid-template-columns: 1fr auto; text-align: left; border: 2px solid var(--line3); border-bottom-width: 5px; border-radius: 18px; background: #fff; padding: 12px 16px; cursor: pointer; } .v3-goal b { font-family: var(--head); font-size: 19px; } .v3-goal small { grid-column: 1; color: var(--ink2); font-weight: 600; } .v3-goal span { grid-row: 1 / 3; grid-column: 2; align-self: center; font-family: var(--head); font-weight: 800; color: var(--gold3-d); font-size: 18px; } .v3-goal.on { border-color: var(--ember); background: #fff1e4; }

/* ---------- gry ---------- */
.v3-game { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; border-radius: 24px; padding: 18px 16px; cursor: pointer; color: #fff; background: var(--gc); border-bottom: 7px solid rgba(0,0,0,.22); transition: transform .06s, border-bottom-width .06s; } .v3-game:active { transform: translateY(4px); border-bottom-width: 3px; }
.v3-game b { display: block; font-family: var(--head); font-size: 24px; } .v3-game small { font-weight: 600; font-size: 14px; opacity: .95; } .v3-game-ico { font-size: 46px; flex: 0 0 56px; text-align: center; } .v3-game-best { margin-left: auto; background: rgba(255,255,255,.22); border-radius: 99px; padding: 3px 10px; font-weight: 800; font-size: 12.5px; white-space: nowrap; } .v3-game.lock { background: #b9b5cf; }
.v3-game-title { font-family: var(--head); font-size: 20px; flex: 1; } .v3-hud { font-family: var(--head); font-weight: 800; font-size: 20px; white-space: pre; }
.v3-pairs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: auto 0; } .v3-pcard { aspect-ratio: 1 / 1.05; border: 0; background: none; perspective: 700px; cursor: pointer; padding: 0; } .v3-pcard-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .4s cubic-bezier(.3,1.2,.4,1); } .v3-pcard.up .v3-pcard-in { transform: rotateY(180deg); }
.v3-pcard .f { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; display: grid; place-items: center; text-align: center; border-bottom: 6px solid rgba(0,0,0,.2); } .v3-pcard .back { background: linear-gradient(145deg, #6c5ce7, #4834b8); font-size: 34px; } .v3-pcard .front { background: #fff; border: 2px solid var(--line3); border-bottom-width: 6px; transform: rotateY(180deg); padding: 4px; } .v3-pcard .front b { font-family: var(--head); font-size: 19px; line-height: 1.05; } .v3-pcard .front span { display: flex; flex-direction: column; align-items: center; } .v3-pcard .front small { font-weight: 800; font-size: 12px; line-height: 1.1; } .v3-pcard.found { opacity: .35; pointer-events: none; }
.v3-rain-sky { position: relative; flex: 1; min-height: 240px; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #4a5fc1, #9fd0ff); } .v3-rain-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 12%; background: #2fbf71; border-top: 5px solid #1a8f52; }
.v3-drop { position: absolute; top: 0; background: #fff; border-radius: 99px 99px 99px 12px; padding: 8px 18px; font-family: var(--head); font-weight: 800; font-size: 24px; border-bottom: 5px solid rgba(0,0,0,.18); white-space: nowrap; } .v3-drop.caught { animation: v3caught .25s both; } .v3-drop.splash { background: var(--bad3); color: #fff; animation: v3shake .35s; } @keyframes v3caught { to { transform: scale(1.6); opacity: 0; } }
.v3-gameplay .v3-opts.three .v3-opt { padding: 10px 4px; } .v3-tf.xl { flex: 1; min-height: 200px; } .v3-bar.timer i { background: linear-gradient(90deg, var(--bad3), var(--gold3)); transition: width .1s linear; }

@media (max-width: 380px) { .v3-track { transform: scale(.92); transform-origin: top center; } .v3-bigword { font-size: 36px; } .v3-resgrid { grid-template-columns: repeat(2, 1fr); } .v3-tf-word { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { body.v3mode *, body.v3mode *::before, body.v3mode *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

.v3-pic.multi { font-size: 15px; white-space: nowrap; letter-spacing: -.1em; } .v3-pic.multi.sm { font-size: 12px; } .v3-pic.multi.md { font-size: 18px; } .v3-pic.multi.lg { font-size: 24px; } .v3-pic.multi.xl { font-size: 40px; }

/* =====================================================================
   v3.16 — ścieżka A2→B2, nowe typy zadań, Kuźnia słówek, wnioski, ranking
   ===================================================================== */
.v3-ltile { width: 1.25em; height: 1.25em; border-radius: .3em; background: var(--sw); color: #fff; font-family: var(--head); font-weight: 800; font-size: .8em; line-height: 1; box-shadow: inset 0 -.12em 0 rgba(0,0,0,.22); }
.v3-ltile.xl { font-size: 58px; } .v3-ltile.lg { font-size: 36px; } .v3-ltile.md { font-size: 27px; } .v3-ltile.sm { font-size: 18px; }
.v3-opts.col { grid-template-columns: 1fr; } .v3-opts.col .v3-opt { text-align: left; justify-content: flex-start; } .v3-opts.col .v3-opt-word { font-size: 17px; line-height: 1.3; }
.v3-fb-why { margin-top: 6px; font-size: 14.5px; font-weight: 700; line-height: 1.35; opacity: .92; }
.v3-link.inline { padding: 0; font-size: inherit; }

/* luka w zdaniu */
.v3-cloze { background: #fff; border: 2px solid var(--line3); border-bottom-width: 5px; border-radius: 20px; padding: 18px 16px; font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.55; color: var(--ink); margin: 6px 0 4px; }
.v3-gap { display: inline-block; min-width: 64px; border-bottom: 4px solid var(--ember); margin: 0 4px; text-align: center; color: var(--ember-d); transition: all .2s; }
.v3-gap.filled { border-bottom-color: var(--ok3); color: var(--ok3-d); animation: v3popin .3s cubic-bezier(.2,1.4,.4,1); }
.v3-cloze-pl { margin: 2px 4px 10px; font-size: 14.5px; }
.v3-area { font-size: 19px; font-family: var(--text); font-weight: 700; resize: none; line-height: 1.4; min-height: 84px; margin-top: 12px; } .v3-area.tall { min-height: 170px; font-size: 17px; font-weight: 600; }

/* dialog sytuacyjny */
.v3-dlg-intro { display: flex; flex-direction: column; gap: 10px; } .v3-dlg-art { border-radius: 22px; overflow: hidden; height: 170px; border: 2px solid var(--line3); } .v3-dlg-art svg { width: 100%; height: 100%; display: block; }
.v3-dlg-art.mini { height: 64px; border-radius: 16px; }
.v3-cast { display: flex; flex-wrap: wrap; gap: 8px; } .v3-castchip { background: #fff; border: 2px solid var(--line3); border-radius: 99px; padding: 5px 12px; font-weight: 800; font-size: 14.5px; } .v3-castchip.you { background: #e3f0ff; border-color: #b9d8ff; }
.v3-dlg { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.v3-chat { display: flex; flex-direction: column; gap: 8px; max-height: 34vh; overflow-y: auto; padding: 2px; }
.v3-chat .v3-bubble { font-family: var(--text); color: var(--ink); } .v3-chat .v3-bubble.r { cursor: default; }
.v3-bubble.mute b { color: var(--sky3-d); } .v3-bubble.mute { border-style: dashed; }
.v3-say-pl { background: #fff8e1; border-radius: 14px; padding: 8px 12px; font-weight: 700; color: #6b4a00; margin: 4px 0 10px; font-size: 15.5px; }

/* czytanie */
.v3-read { background: #fff; border: 2px solid var(--line3); border-radius: 20px; padding: 6px 16px; font-size: 18px; line-height: 1.75; font-weight: 600; color: var(--ink); user-select: text; -webkit-user-select: text; }
.v3-read p { margin: 12px 0; } .v3-read-spk { border: 0; background: #e3f0ff; border-radius: 10px; padding: 2px 7px; margin-right: 8px; cursor: pointer; font-size: 15px; }
.v3-gl { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; border-bottom: 3px dotted var(--ember); }
.v3-glbar { position: sticky; bottom: 0; margin-top: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 15px; opacity: .55; transition: opacity .2s; } .v3-glbar.on { opacity: 1; }
.v3-check { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; } .v3-checkrow { font-weight: 700; font-size: 15px; } .v3-checkrow.ok { color: var(--ok3-d); } .v3-checkrow.no { color: #a3153d; }

/* mapa: przełącznik ścieżek i skróty */
.v3-maptop { display: flex; flex-direction: column; gap: 10px; } .v3-trackseg button { font-size: 15.5px; padding: 11px 6px; }
.v3-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; }
.v3-quickbtn { border: 2px solid var(--line3); border-bottom-width: 5px; background: #fff; border-radius: 18px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; color: var(--ink); font-family: var(--text); }
.v3-quickbtn span { font-size: 26px; } .v3-quickbtn b { font-family: var(--head); font-size: 15px; } .v3-quickbtn small { font-size: 12px; color: var(--ink2); font-weight: 700; } .v3-quickbtn.hot { border-color: var(--ember); background: #fff4ea; }
.v3-quickbtn:active { transform: translateY(3px); border-bottom-width: 2px; }
.v3-trackpick { min-height: 100vh; max-width: 520px; margin: 0 auto; padding: 32px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.v3-trackcard { width: 100%; display: flex; gap: 14px; align-items: center; text-align: left; background: #fff; border: 2px solid var(--line3); border-bottom-width: 6px; border-radius: 22px; padding: 16px; cursor: pointer; color: var(--ink); font-family: var(--text); }
.v3-trackcard > span { font-size: 40px; } .v3-trackcard b { display: block; font-family: var(--head); font-size: 22px; } .v3-trackcard small { color: var(--ink2); font-weight: 600; font-size: 14.5px; line-height: 1.35; display: block; } .v3-trackcard:active { transform: translateY(3px); border-bottom-width: 3px; }

/* Kuźnia słówek */
.v3-learnbody { display: flex; flex-direction: column; gap: 10px; }
.v3-forge { display: flex; flex-direction: column; gap: 12px; border-color: #ffd0a8; background: linear-gradient(180deg, #fff6ee, #fff); }
.v3-forge-head { display: flex; gap: 12px; align-items: center; } .v3-forge-ico { font-size: 40px; width: 64px; height: 64px; border-radius: 20px; background: var(--ember); display: grid; place-items: center; box-shadow: inset 0 -5px 0 var(--ember-d); } .v3-forge-head h2 { margin: 0; } .v3-forge-head p { margin: 0; }
.v3-forge-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; } .v3-forge-nums div { background: #fff; border: 2px solid var(--line3); border-radius: 16px; padding: 8px 4px; } .v3-forge-nums b { display: block; font-family: var(--head); font-size: 26px; line-height: 1.1; } .v3-forge-nums small { font-size: 12px; color: var(--ink2); font-weight: 700; }
.v3-seg.small button { padding: 6px 12px; font-size: 14px; }
.v3-decks { display: flex; flex-direction: column; gap: 8px; }
.v3-deck { display: flex; align-items: stretch; background: #fff; border: 2px solid var(--line3); border-bottom-width: 5px; border-radius: 18px; overflow: hidden; opacity: .62; } .v3-deck.on { opacity: 1; border-color: color-mix(in srgb, var(--sw) 45%, #fff); }
.v3-deck-main { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: center; border: 0; background: none; text-align: left; padding: 10px 12px; cursor: pointer; color: var(--ink); font-family: var(--text); }
.v3-deck-main > div { flex: 1; min-width: 0; } .v3-deck-main b { display: block; font-size: 16px; line-height: 1.2; } .v3-deck-main small { color: var(--ink2); font-weight: 700; font-size: 12.5px; } .v3-deck-main .v3-bar { margin-top: 5px; height: 8px; } .v3-deck .v3-bar i { background: var(--sw); }
.v3-deck-ico { font-size: 26px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--sw) 16%, #fff); flex: 0 0 46px; }
.v3-deck-chk { width: 52px; border: 0; border-left: 2px solid var(--line3); background: #faf9ff; font-size: 22px; font-weight: 800; color: #fff; cursor: pointer; } .v3-deck.on .v3-deck-chk { background: var(--sw); }
.v3-wordlist { display: flex; flex-direction: column; gap: 4px; max-height: 46vh; overflow-y: auto; margin-top: 10px; }
.v3-wordrow { display: flex; gap: 10px; align-items: baseline; text-align: left; border: 0; background: #f7f5ff; border-radius: 12px; padding: 8px 10px; cursor: pointer; color: var(--ink); font-family: var(--text); } .v3-wordrow b { font-size: 15.5px; } .v3-wordrow small { color: var(--ink2); font-weight: 600; flex: 1; min-width: 0; }
.v3-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 12px; align-self: center; background: #d9d5ea; } .v3-dot.iron { background: #8d8aa3; } .v3-dot.bronze { background: #c77b3a; } .v3-dot.silver { background: #9fb0c3; } .v3-dot.gold { background: var(--gold3); }
.v3-theory.gram { cursor: default; } .v3-theory.gram > div:nth-child(2) { flex: 1; min-width: 0; } .v3-theory-btns { display: flex; flex-direction: column; gap: 6px; }
.v3-flash-ex { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--ink2); font-style: italic; padding: 0 8px; }

/* wnioski, umiejętności, ranking */
.v3-skill { display: grid; grid-template-columns: 118px 1fr 44px; gap: 4px 10px; align-items: center; margin-top: 10px; font-weight: 800; font-size: 14.5px; } .v3-skill .v3-bar { margin: 0; } .v3-skill b { text-align: right; } .v3-skill small { grid-column: 2 / 4; color: var(--ink2); font-weight: 600; font-size: 12px; margin-top: -4px; }
.v3-insight { display: flex; gap: 12px; padding: 12px 0; border-top: 2px solid var(--line3); } .v3-insight:first-of-type { border-top: 0; } .v3-insight-ico { font-size: 28px; flex: 0 0 38px; text-align: center; }
.v3-insight b { display: block; font-size: 15.5px; line-height: 1.3; } .v3-insight p { margin: 4px 0 8px; color: var(--ink2); font-weight: 600; font-size: 14px; line-height: 1.4; }
.v3-mytext { border-top: 2px solid var(--line3); padding: 8px 0; } .v3-mytext small { color: var(--ink2); font-weight: 700; } .v3-mytext p { margin: 2px 0 0; font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.v3-rank-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; } .v3-rank-head h3 { margin: 0; }
.v3-rankrow { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; font-weight: 700; } .v3-rankrow:nth-of-type(odd) { background: #f7f5ff; } .v3-rankrow.me { background: #fff1e4; outline: 2px solid var(--ember); }
.v3-rank-pos { width: 30px; text-align: center; font-family: var(--head); font-size: 18px; } .v3-rankrow b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .v3-rankrow small { color: var(--ember-d); } .v3-rank-xp { font-family: var(--head); color: var(--gold3-d); }
.v3-world-txt h2 { padding-right: 86px; line-height: 1.12; }
.v3-fb-ex { margin-top: 6px; padding-top: 6px; border-top: 2px dashed rgba(0,0,0,.12); font-size: 14.5px; font-weight: 700; line-height: 1.35; } .v3-fb-ex span { display: block; } .v3-fb-ex i { display: block; font-weight: 600; opacity: .8; font-style: normal; }
.v3-fb-pl { font-size: 15.5px; }
.v3-flash-ex small { display: block; font-style: normal; opacity: .8; margin-top: 2px; }
/* v3.17 — fiszki z wpisywaniem */
.v3-flashcfg { display: flex; flex-direction: column; gap: 8px; } .v3-flashcfg h3 { margin: 0; } .v3-flashcfg .v3-kicker { margin-top: 4px; }
.v3-flip-face.typed { position: static; transform: none; min-height: 190px; border: 2px solid var(--line3); border-radius: 22px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; text-align: center; }
.v3-flash .v3-input { margin-top: 12px; font-size: 20px; text-align: center; }
.v3-flash-res { width: 100%; } .v3-flash-ans { margin-top: 10px; border-radius: 16px; padding: 12px 14px; text-align: center; } .v3-flash-ans.good { background: #e6fcf0; color: var(--ok3-d); } .v3-flash-ans.wrong { background: #fff0f3; color: #a3153d; }
.v3-flash-ans b { font-family: var(--head); font-size: 24px; display: block; } .v3-flash-ans > small { display: block; font-weight: 700; } .v3-flash-ans .v3-flash-ex { color: inherit; opacity: .85; }
.v3-flash-ok { font-weight: 800; color: var(--ok3-d); align-self: center; padding: 0 8px; }
.v3-flash .v3-wordlist { max-height: 30vh; width: 100%; text-align: left; } .v3-flash .v3-wordrow { cursor: default; }
