@font-face { font-family: 'Nunito Web'; font-weight: 400; font-display: swap; src: url(/fonts/nunito-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito Web'; font-weight: 400; font-display: swap; src: url(/fonts/nunito-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito Web'; font-weight: 700; font-display: swap; src: url(/fonts/nunito-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito Web'; font-weight: 700; font-display: swap; src: url(/fonts/nunito-latin-ext-700.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito Web'; font-weight: 800; font-display: swap; src: url(/fonts/nunito-latin-800.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito Web'; font-weight: 800; font-display: swap; src: url(/fonts/nunito-latin-ext-800.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F6F3EC; --card: #FFFFFF; --ink: #1B2233; --muted: #5F6779; --line: #E6E1D6;
  --blue: #2346A8; --blue-soft: #E8EDFB; --red: #E0533D; --green: #1E8E53; --green-soft: #E3F5EA;
  --bad: #C8402F; --bad-soft: #FCE9E6; --mid: #B7791F; --mid-soft: #FDF3DD; --mark: #FFE08A;
  --r: 18px; --sh: 0 1px 2px rgba(27,34,51,.06), 0 6px 20px rgba(27,34,51,.06);
}
[hidden] { display: none !important; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: 'Nunito Web', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
#app { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; }
.boot, .center { display: grid; place-items: center; min-height: 60vh; }
.spin { display: inline-block; width: 22px; height: 22px; border: 3px solid var(--blue-soft); border-top-color: var(--blue); border-radius: 50%; animation: sp .8s linear infinite; vertical-align: middle; }
@keyframes sp { to { transform: rotate(360deg); } }
.nz { font-size: .62em; vertical-align: .55em; font-weight: 800; margin-left: .02em; color: var(--blue); }
mark { background: var(--mark); color: inherit; border-radius: 5px; padding: 0 .08em; }

/* boutons */
.btn { display: block; width: 100%; padding: 15px 18px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 3px 0 #17337F; transition: transform .06s; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #17337F; }
.btn:disabled { background: #C9CFDC; box-shadow: 0 3px 0 #AEB5C5; cursor: default; }
.btn.big { padding: 17px 18px; font-size: 18px; }
.btn.ghost { background: var(--card); color: var(--blue); box-shadow: inset 0 0 0 2px var(--line), 0 3px 0 var(--line); }
.link { display: block; margin: 0 auto; padding: 10px; color: var(--muted); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mini { font-size: .55em; vertical-align: middle; background: var(--blue-soft); border-radius: 999px; padding: 3px 8px; }

/* accueil */
.home { padding: 22px 18px 40px; }
.hh { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hh h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.hh p { margin: 2px 0 0; color: var(--muted); font-weight: 700; }
.streak { background: var(--card); border-radius: 14px; padding: 6px 12px; text-align: center; box-shadow: var(--sh); line-height: 1.1; font-size: 20px; }
.streak b { font-weight: 800; }
.streak small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.het { display: flex; justify-content: space-between; margin: 18px 0 16px; padding: 10px 12px; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); }
.nap { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.nap i { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; font-size: 14px; }
.nap.ok i { background: var(--green); }
.nap.ma span { color: var(--ink); }
.nap.ma i { box-shadow: 0 0 0 2px var(--blue); }
.card { background: var(--card); border-radius: var(--r); padding: 18px; box-shadow: var(--sh); margin-bottom: 14px; }
.card.next { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; border: 2px solid var(--blue-soft); }
.card.next .btn, .card.next .hint { grid-column: 1 / -1; }
.card.next .btn { margin-top: 10px; }
.hint { text-align: center; color: var(--muted); font-size: 14px; font-weight: 700; margin-top: 2px; }
.nt small { color: var(--blue); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.nt h2 { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; }
.nt p { margin: 2px 0 0; color: var(--muted); font-weight: 600; }
.badge { width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; }
.badge.xl { width: 72px; height: 72px; font-size: 30px; border-radius: 20px; margin: 0 auto 12px; }
.card.ism { display: flex; align-items: center; gap: 12px; border-left: 5px solid var(--red); }
.card.ism .ct { flex: 1; display: flex; flex-direction: column; }
.card.ism .ct span { color: var(--muted); font-size: 14px; font-weight: 700; }
.card.ism .btn { width: auto; padding: 11px 16px; background: var(--red); box-shadow: 0 3px 0 #A93A29; }
.puska-btn { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: var(--card); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--sh); font-size: 26px; margin-bottom: 6px; }
.puska-btn span { display: flex; flex-direction: column; font-size: 16px; }
.puska-btn small { color: var(--muted); font-weight: 600; font-size: 14px; }
.resz { margin: 24px 4px 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.ut { display: flex; flex-direction: column; gap: 8px; }
.lrow { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--card); border-radius: 14px; padding: 10px 12px; box-shadow: var(--sh); }
.lj { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.lt { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.lt small { color: var(--muted); font-weight: 600; font-size: 14px; }
.ls { font-weight: 800; color: var(--green); font-size: 14px; }
.lrow.kesz .lj { background: var(--green-soft); }
.lrow.cur { box-shadow: 0 0 0 2px var(--blue), var(--sh); }
.lrow.cur .lj { background: var(--blue); color: #fff; }
.lrow.cur .ls { color: var(--blue); }
.lab { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; margin-top: 22px; }

/* accueil : fenêtre d'accueil */
.overlay { position: fixed; inset: 0; background: rgba(27,34,51,.45); display: grid; place-items: center; padding: 18px; z-index: 50; overflow-y: auto; }
.modal { background: var(--card); border-radius: 22px; padding: 22px 20px 20px; max-width: 440px; width: 100%; }
.modal h2 { margin: 4px 0 8px; font-size: 24px; font-weight: 800; }
.modal p { margin: 0 0 10px; }
.modal ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.modal li { background: var(--bg); border-radius: 12px; padding: 9px 12px; font-size: 15px; display: grid; grid-template-columns: 74px 1fr; gap: 8px; align-items: center; }
.modal li b { color: var(--blue); white-space: nowrap; }
.wave { font-size: 38px; }

/* pages */
.page { padding: 16px 18px 40px; }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 0; background: var(--bg); }
.top > b { flex: 1; text-align: center; font-weight: 800; }
.x { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: var(--muted); font-weight: 800; }
.x:active { background: var(--line); }
.x.help { font-size: 20px; }
.bar { flex: 1; height: 14px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 999px; transition: width .35s ease; }
.box { background: var(--card); border-radius: 14px; padding: 12px 14px; margin-top: 10px; text-align: left; }
.box b { font-size: 14px; font-weight: 800; }
.box p { margin: 3px 0 0; font-size: 16px; }
.box.kj { border-left: 4px solid var(--red); }
.box.ny { border-left: 4px solid var(--blue); }
.box.jelek { border-left: 4px solid var(--blue); }
.abc { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.bt { background: var(--card); border-radius: 12px; padding: 10px 4px; box-shadow: var(--sh); display: flex; flex-direction: column; align-items: center; }
.bt b { font-size: 26px; font-weight: 800; line-height: 1.1; }
.bt span { font-size: 14px; color: var(--blue); font-weight: 700; }
.tbl { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.tr { display: grid; grid-template-columns: 54px 1fr 1fr; grid-template-rows: auto auto; gap: 0 10px; align-items: center; text-align: left; background: var(--card); border-radius: 12px; padding: 9px 12px; box-shadow: var(--sh); }
.tr .g { grid-row: 1 / 3; font-weight: 800; font-size: 19px; color: var(--blue); }
.tr .w { font-weight: 800; font-size: 17px; }
.tr .p { font-weight: 700; color: var(--blue); text-align: right; }
.tr .m { grid-column: 2 / 4; color: var(--muted); font-size: 14px; font-weight: 600; }

/* séance */
.sess { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 0 18px; }
.sess .top { padding-top: max(12px, env(safe-area-inset-top)); }
.stage { flex: 1; display: flex; flex-direction: column; padding-bottom: 12px; }
.foot { position: sticky; bottom: 0; padding: 12px 0 max(16px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 22%); display: flex; flex-direction: column; gap: 10px; }
.kicker { display: block; color: var(--blue); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; text-align: center; }
.intro { text-align: center; margin: auto 0; padding: 20px 0; }
.intro h2 { font-size: 26px; font-weight: 800; margin: 6px 0 10px; line-height: 1.2; }
.intro p { font-size: 18px; margin: 0; text-align: left; background: var(--card); border-radius: 16px; padding: 16px; }
.uj { text-align: center; padding-top: 6px; }
.letter { font-size: 96px; font-weight: 800; line-height: 1; margin: 8px 0 2px; color: var(--ink); }
.letter small { font-size: .5em; color: var(--muted); margin-left: 10px; }
.letter.sm { font-size: 80px; }
.fr { font-size: 34px; font-weight: 800; line-height: 1.15; margin: 10px 0 4px; letter-spacing: -.01em; }
.fr.long { font-size: 27px; }
.phon { display: inline-block; font-size: 21px; font-weight: 800; color: var(--blue); background: var(--blue-soft); border-radius: 12px; padding: 4px 14px; margin: 6px 0 10px; }
.phon-s { color: var(--blue); font-weight: 800; }
.hu { font-size: 19px; font-weight: 700; margin-top: 10px; }
.hu.big { font-size: 24px; font-weight: 800; margin: 8px 0; }
.szo { color: var(--muted); font-size: 15px; margin-top: 2px; }
.hg { display: flex; gap: 10px; justify-content: center; }
.snd { background: var(--card); border-radius: 999px; padding: 9px 16px; font-weight: 800; box-shadow: var(--sh); color: var(--blue); }
.snd.lassu { color: var(--ink); }
.snd.huge { width: 112px; height: 112px; border-radius: 50%; font-size: 46px; background: var(--blue); color: #fff; box-shadow: 0 5px 0 #17337F; display: grid; place-items: center; margin: 10px auto; padding: 0; }
.snd.solo { display: inline-block; margin: 4px auto 0; }
.snd.mini { padding: 8px 11px; flex: none; }
.snd:active { transform: translateY(1px); }
.pelda { display: block; width: 100%; background: var(--card); border-radius: 14px; padding: 10px 14px; margin-top: 14px; text-align: left; box-shadow: var(--sh); }
.pelda small { display: block; color: var(--muted); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.pelda b { font-size: 19px; }
.pelda i { color: var(--muted); font-style: normal; font-weight: 600; }
.ex { display: flex; flex-direction: column; }
.cim { font-size: 23px; font-weight: 800; margin: 8px 0 6px; }
.prompt { text-align: center; padding: 6px 0 14px; display: flex; flex-direction: column; align-items: center; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opts.grid { display: grid; grid-template-columns: 1fr 1fr; }
.opts.grid .opt { font-size: 30px; text-align: center; padding: 16px; }
.opt { background: var(--card); border-radius: 14px; padding: 14px 16px; text-align: left; font-weight: 700; font-size: 18px; box-shadow: inset 0 0 0 2px var(--line), 0 3px 0 var(--line); transition: transform .06s; }
.opt:active:not(:disabled) { transform: translateY(2px); }
.opt.good { background: var(--green-soft); box-shadow: inset 0 0 0 2px var(--green), 0 3px 0 var(--green); color: #12613A; }
.opt.bad { background: var(--bad-soft); box-shadow: inset 0 0 0 2px var(--bad), 0 3px 0 var(--bad); color: #8E2A1E; }
.opt:disabled { cursor: default; }
.line { min-height: 64px; border-bottom: 2px solid var(--line); border-top: 2px solid var(--line); padding: 10px 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; margin-bottom: 16px; }
.line.good { border-color: var(--green); }
.line.bad { border-color: var(--bad); }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tile { background: var(--card); border-radius: 12px; padding: 9px 14px; font-weight: 800; font-size: 18px; box-shadow: inset 0 0 0 2px var(--line), 0 3px 0 var(--line); }
.tile.used { color: transparent; background: var(--line); box-shadow: none; pointer-events: none; }
.micwrap { text-align: center; margin-top: 4px; }
.mic { width: 96px; height: 96px; border-radius: 50%; background: var(--red); color: #fff; font-size: 40px; box-shadow: 0 5px 0 #A93A29; }
.mic.rec { animation: pulse 1.1s ease-in-out infinite; background: #D63A24; }
.mic:disabled { opacity: .6; }
@keyframes pulse { 0%, 100% { box-shadow: 0 5px 0 #A93A29, 0 0 0 0 rgba(224,83,61,.45); } 50% { box-shadow: 0 5px 0 #A93A29, 0 0 0 16px rgba(224,83,61,0); } }
#mst { color: var(--muted); font-weight: 700; font-size: 15px; min-height: 44px; margin: 10px 0 0; }

/* feuille de réponse */
.sheet-wrap { position: fixed; inset: 0; background: rgba(27,34,51,.25); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; max-height: 88vh; max-height: 88dvh; overflow-y: auto; background: var(--card); border-radius: 22px 22px 0 0; padding: 18px 18px max(18px, env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .22s ease-out; }
.sheet-wrap.show .sheet { transform: none; }
.sheet h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.sheet p { margin: 0 0 10px; }
.sheet.ok { background: var(--green-soft); }
.sheet.ok h3 { color: #12613A; }
.sheet.no { background: var(--bad-soft); }
.sheet.no h3 { color: #8E2A1E; }
.sheet.mid { background: var(--mid-soft); }
.sheet.mid h3 { color: #8A5A10; }
.sheet .box { background: rgba(255,255,255,.75); }
.sheet .box p { margin: 3px 0 0; }
.nw { white-space: nowrap; }
.sheet .btn { margin-top: 14px; }
.sheet .btn.ghost { margin-top: 12px; }
.answ { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 10px 12px; }
.answ div { display: flex; flex-direction: column; line-height: 1.3; }
.answ b { font-size: 20px; }
.answ i { font-style: normal; color: var(--muted); font-weight: 700; }
.heard { font-size: 17px; }
.small { font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 10px; }

/* fin */
.vege { text-align: center; justify-content: center; }
.party { font-size: 64px; }
.vege h2 { font-size: 30px; font-weight: 800; margin: 4px 0; }
.vege > p { margin: 0 0 10px; color: var(--muted); font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.stats div { background: var(--card); border-radius: 14px; padding: 12px 6px; box-shadow: var(--sh); display: flex; flex-direction: column; }
.stats b { font-size: 21px; font-weight: 800; }
.stats small { color: var(--muted); font-weight: 700; font-size: 12px; }

@media (min-width: 700px) {
  body { font-size: 18px; }
  .home, .page { padding-top: 28px; }
}
@media (max-height: 600px) {
  .letter { font-size: 72px; } .snd.huge { width: 88px; height: 88px; font-size: 36px; } .fr { font-size: 28px; } .intro { padding: 6px 0; }
}

/* v2 : retour ciblé, paires minimales, pastilles d'exemples, rappel */
.phon-s::before, .phon::before { content: '['; opacity: .45; margin-right: 1px; }
.phon-s::after, .phon::after { content: ']'; opacity: .45; margin-left: 1px; }
.opt .phon-s { color: inherit; }
.cimke { display: block; color: var(--muted); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin: 10px 0 5px; }
.te .answ { background: rgba(255,255,255,.6); }
.answ.rossz b { font-size: 18px; text-decoration: line-through; text-decoration-color: rgba(142,42,30,.5); }
.ok-ok { background: #fff; border-radius: 12px; padding: 9px 12px; margin: 8px 0 0 !important; font-weight: 700; font-size: 16px; }
.parok { margin-top: 10px; }
.parok small { display: block; color: var(--muted); font-weight: 800; font-size: 14px; margin-bottom: 5px; }
.parok .answ { margin-top: 6px; padding: 7px 12px; }
.parok .answ b { font-size: 18px; }
details.miert { margin-top: 10px; }
details.miert summary { cursor: pointer; font-weight: 800; color: var(--blue); padding: 8px 2px; list-style: none; }
details.miert summary::-webkit-details-marker { display: none; }
details.miert summary::before { content: '▸ '; }
details.miert[open] summary::before { content: '▾ '; }
.intro .chip { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; background: var(--card); border-radius: 14px; padding: 10px 14px; text-align: left; box-shadow: inset 0 0 0 2px var(--line), 0 3px 0 var(--line); }
.intro .chip b { font-size: 18px; font-weight: 800; }
.intro .chip i { font-style: normal; color: var(--muted); font-weight: 700; font-size: 15px; flex: 1; text-align: right; }
.intro .chip em { font-style: normal; }
.orak { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 12px; }
.ora { background: #fff; border-radius: 12px; padding: 10px 0; font-weight: 800; font-size: 16px; box-shadow: inset 0 0 0 2px var(--line); }
.ora.on { background: var(--blue); color: #fff; box-shadow: none; }
a.btn { display: block; text-align: center; text-decoration: none; }
.uj { padding-bottom: 10px; }
#emlek { margin-top: 22px; }
/* fenêtre PC basse (1276×532) : la bienvenue tient sans défiler, bouton visible */
@media (max-height: 600px) and (min-width: 700px) {
  .overlay { padding: 10px; }
  .modal { max-width: 760px; padding: 16px 22px; }
  .modal .wave { display: none; }
  .modal h2 { margin: 0 0 4px; }
  .modal ul { display: grid; grid-template-columns: 1fr 1fr; }
}
.kep { font-size: 58px; line-height: 1; margin: 6px 0 2px; }
@media (max-height: 600px) { .kep { font-size: 40px; margin: 0; } }

/* v3 : icônes SVG au même trait, illustrations, sélection puis vérification, feuille à pied fixe */
.ik { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; display: inline-block; }
.snd { display: inline-flex; align-items: center; gap: 7px; }
.snd .ik { width: 22px; height: 22px; }
.snd.huge .ik { width: 52px; height: 52px; }
.snd.mini .ik, .mini .ik { width: 20px; height: 20px; }
.mini { display: inline-grid; place-items: center; color: var(--blue); }
.x .ik { width: 24px; height: 24px; }
.mic .ik { width: 44px; height: 44px; }
.puska-btn .ik { width: 26px; height: 26px; color: var(--blue); }
#emlek .ik, #puska .ik { color: var(--blue); }
img.tw { width: 1.2em; height: 1.2em; vertical-align: -0.22em; display: inline-block; }
.badge img.tw { width: 34px; height: 34px; }
.badge.xl img.tw { width: 44px; height: 44px; }
.lj img.tw { width: 26px; height: 26px; }
.badge { background: var(--blue-soft); }
.wave img.tw { width: 52px; height: 52px; }
.party img.tw.xl { width: 84px; height: 84px; }
.streak img.tw { width: 22px; height: 22px; vertical-align: -4px; }
img.kep { width: 84px; height: 84px; display: block; margin: 8px auto 4px; }
.opt img.tw.xl { width: 72px; height: 72px; display: block; margin: 0 auto; }
.opts.kepek .opt { padding: 18px 10px; display: grid; place-items: center; }
.opt.sel { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue), 0 3px 0 var(--blue); color: var(--blue); }
.fr.sm { font-size: 22px; font-weight: 800; text-align: center; color: var(--muted); }
.pelda .ik { color: var(--blue); }
.tr .i { grid-column: 4; grid-row: 1 / 3; align-self: center; color: var(--blue); }
.tr .i .ik { width: 20px; height: 20px; }
.abc i .ik, .puska i .ik { width: 16px; height: 16px; color: var(--blue); }
.jelek ul, .sheet ul.small { margin: 6px 0 0; padding-left: 18px; }
.jelek li, .sheet ul.small li { margin: 3px 0; }
h3 .ik { color: var(--blue); }
/* feuille : le texte défile, le bouton reste visible en bas */
.sheet { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; max-height: 82vh; max-height: 82dvh; }
.sbody { overflow-y: auto; flex: 1 1 auto; min-height: 0; padding-bottom: 6px; }
.sfoot { flex: none; display: flex; gap: 10px; padding: 10px 0 max(16px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(27,34,51,.08); }
.sfoot .btn, .sheet .sfoot .btn.ghost { margin-top: 0; }
.sfoot .btn.big { flex: 1; }
.sfoot .btn.ghost { flex: none; width: auto; padding-left: 18px; padding-right: 18px; display: inline-flex; align-items: center; gap: 6px; }
.btn.kis { font-size: 15px; padding: 10px 14px; display: inline-flex; align-items: center; gap: 6px; width: auto; }
/* fin : ce qu'on vient d'apprendre */
.tanult { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 4px; text-align: left; }
.tanult small { color: var(--muted); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.tanult .chip { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 12px; padding: 8px 12px; box-shadow: var(--sh); text-align: left; }
.tanult .chip b { font-weight: 800; }
.tanult .chip .phon-s { color: var(--muted); font-size: 15px; flex: 1; }
.tanult .chip em { color: var(--blue); }
.center .small { text-align: center; color: var(--muted); font-weight: 700; margin-top: 10px; }
.center > div { text-align: center; }
/* PC : feuille large, boutons à droite ; nouvelle carte en deux colonnes */
@media (min-width: 700px) {
  .sheet { max-width: 760px; }
  .sfoot { justify-content: flex-end; }
  .sfoot .btn.big { flex: none; min-width: 240px; }
}
@media (min-width: 900px) {
  #app:has(.uj) { max-width: 980px; }
  .uj { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; text-align: center; }
  .ujr { text-align: left; }
  .ujr .box:first-child { margin-top: 0; }
}
@media (max-height: 600px) {
  .letter { font-size: 64px; } img.kep { width: 60px; height: 60px; margin: 2px auto; }
  .sheet { max-height: 92dvh; }
}
.tr { grid-template-columns: 54px 1fr 1fr 22px; }
.bt i { line-height: 1; margin-top: 2px; }
.x.lbl { width: auto; padding: 0 10px 0 4px; gap: 2px; display: inline-flex; font-size: 15px; color: var(--blue); }
.badge { color: var(--blue); }
.lrow.cur .lj { color: #fff; }
.vege { justify-content: safe center; padding-top: 16px; }
.party img.tw.xl { width: 64px; height: 64px; }
.sfoot .btn { width: auto; }
.stage.center { justify-content: center; align-items: center; }
@media (min-width: 700px) { .opts.kepek { grid-template-columns: repeat(4, 1fr); } }
@media (max-height: 600px) { .opts.kepek .opt { padding: 12px 6px; } .opts.kepek img.tw.xl { width: 60px; height: 60px; } }
@media (min-width: 700px) { .tanult { display: grid; grid-template-columns: repeat(3, 1fr); } .tanult small { grid-column: 1 / -1; } .tanult .chip { padding: 6px 10px; } }
@media (max-height: 600px) and (min-width: 700px) { .party img.tw.xl { width: 40px; height: 40px; } .vege h2 { font-size: 24px; margin: 0; } .vege > p { margin: 0 0 6px; } .stats div { padding: 6px; } .tanult { margin: 8px 0 0; } .vege .foot { flex-direction: row-reverse; } .vege .foot .btn { flex: 1; } }
/* fin de leçon sur PC : bilan à gauche, mots appris à droite, boutons côte à côte */
@media (min-width: 700px) { .tanult { display: flex; } }
@media (min-width: 900px) {
  #app:has(.vege) { max-width: 1000px; }
  .vege { display: grid; grid-template-columns: 1fr 1.15fr; column-gap: 36px; align-content: center; }
  .vege > * { grid-column: 1; }
  .vege > .tanult { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; }
  .sess:has(.vege) .foot { flex-direction: row-reverse; position: static; background: none; }
  .sess:has(.vege) .foot .btn { flex: 1; }
}
.tanult .chip { display: grid; grid-template-columns: auto 1fr auto; column-gap: 10px; row-gap: 0; }
.tanult .chip img.tw { grid-column: 1; grid-row: 1 / 3; }
.tanult .chip b { grid-column: 2; }
.tanult .chip .phon-s { grid-column: 2; grid-row: 2; }
.tanult .chip em { grid-column: 3; grid-row: 1 / 3; align-self: center; }
@media (min-width: 900px) { .tanult .chip { grid-template-columns: auto auto 1fr auto; } .tanult .chip .phon-s { grid-column: 3; grid-row: 1; } .tanult .chip em { grid-column: 4; } }
.modal li b .ik { width: 26px; height: 26px; color: var(--blue); }
/* v4 (revue passe 2) */
.kl { display: block; font-size: 15px; font-weight: 700; color: var(--muted); margin-top: 6px; text-align: center; }
.opt.sel .kl { color: var(--blue); }
.ut .card.next { margin: 0; }
.ut.r1 .lj { background: #E8EDFB; } .ut.r2 .lj { background: #E3F5EA; } .ut.r3 .lj { background: #FDF3DD; }
.ut.r1 .lrow { box-shadow: inset 4px 0 0 #2346A8, var(--sh); } .ut.r2 .lrow { box-shadow: inset 4px 0 0 #1E8E53, var(--sh); } .ut.r3 .lrow { box-shadow: inset 4px 0 0 #B7791F, var(--sh); }
.ut .lrow.kesz .lj { background: var(--green-soft); }
.home > .puska-btn#puska { margin-top: 22px; }
.sess:has(.vege) .foot { position: static; background: none; }
@media (min-width: 700px) {
  .opts:not(.grid) { display: grid; grid-template-columns: 1fr 1fr; }
  .intro .chips2, .intro { }
}
@media (min-width: 700px) and (max-height: 600px) {
  .intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; text-align: left; }
  .intro > .badge, .intro > .kicker, .intro > h2, .intro > p { grid-column: 1 / -1; }
  .intro > .badge { display: none; }
  .intro .chip { margin-top: 6px; }
  .opt { padding: 11px 14px; }
}
.ut .card.next { border-color: var(--blue); }
/* lignes de réponse plus basses : mot et prononciation sur une ligne */
.sheet .answ { padding: 8px 12px; }
.sheet .answ div { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.sheet .answ i { flex-basis: 100%; }
.sheet .answ .snd.mini { padding: 7px 9px; }
.sbody { -webkit-mask-image: linear-gradient(#000 calc(100% - 22px), transparent); mask-image: linear-gradient(#000 calc(100% - 22px), transparent); padding-bottom: 18px; }
/* v5 (revue passe 3) */
/* 1. phrases d'exemple de l'intro : français, puis prononciation, puis hongrois, sur toute la largeur */
.intro .chip.long { align-items: center; }
.intro .chip.long .ct { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.intro .chip.long b { font-size: 17px; line-height: 1.25; }
.intro .chip.long .phon-s { font-size: 15px; }
.intro .chip.long i { text-align: left; flex: none; font-size: 14px; }
.intro .chip i, .intro .chip b { hyphens: none; -webkit-hyphens: none; overflow-wrap: normal; }
@media (min-width: 700px) and (max-height: 600px) {
  .intro.phr { display: block; }
  .intro.phr .chip.long { display: flex; }
}
/* 2. écran « nouveau » sur téléphone : haut plus serré pour que Nyelvtan tienne au-dessus du bouton */
@media (max-width: 699px) {
  .uj img.kep { width: 60px; height: 60px; margin: 2px auto 0; }
  .uj .fr { margin: 4px 0 2px; }
  .uj .kicker { margin-bottom: 0; }
}
/* 3. fin de révision sur PC : sans liste, une seule colonne centrée */
@media (min-width: 900px) {
}
@media (max-width: 699px) {
  .intro.phr > .badge { display: none; }
  .intro.phr h2 { font-size: 24px; margin: 2px 0 8px; }
  .intro.phr p { font-size: 16px; padding: 12px 14px; }
  .intro .chip.long { padding: 8px 12px; margin-top: 6px; }
  .uj .fr.long { font-size: 24px; }
  .uj .phon { margin-top: 2px; }
  .uj .szo { font-size: 14px; margin-top: 2px; }
  .uj .ujr .box { padding: 10px 14px; margin-top: 8px; }
}
@media (max-width: 699px) { .uj .fr { font-size: 30px; } .uj img.kep { width: 52px; height: 52px; } .uj .hu { margin-top: 6px; } }
/* liste de fin : une phrase longue = toutes les lignes empilées pareil */
@media (min-width: 900px) { .tanult.phr { grid-template-columns: 1fr; } .tanult.phr .chip { grid-template-columns: 1fr auto; } .tanult.phr .chip .phon-s { grid-column: 1; grid-row: 2; } .tanult.phr .chip em { grid-column: 2; } }
@media (min-width: 900px) { .tanult.phr .chip b { grid-column: 1; grid-row: 1; } .tanult.phr .chip .phon-s { grid-column: 1; grid-row: 2; } .tanult.phr .chip em { grid-column: 2; grid-row: 1 / 3; align-self: center; } }
.streak img.tw { margin-right: 4px; }
@media (min-width: 700px) and (max-height: 600px) {
  .intro.phr .chip.long { display: flex; padding: 7px 14px; margin-top: 6px; }
  .intro.phr .chip.long .ct { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 1px; }
  .intro.phr .chip.long .ct b { grid-column: 1 / -1; }
  .intro.phr .chip.long .ct .phon-s { grid-column: 1; }
  .intro.phr .chip.long .ct i { grid-column: 2; align-self: center; }
  .intro.phr h2 { margin: 2px 0 6px; } .intro.phr p { padding: 10px 14px; font-size: 16px; }
}
Content-Length: 0

