:root {
  --ing-bg: #eef1f8;
  --ing-card: #fff;
  --ing-ink: #0f172a;
  --ing-muted: #64748b;
  --ing-accent: #4f46e5;
  --ing-accent-2: #7c3aed;
  --ing-cta: #2563eb;
  --ing-ok: #15803d;
  --ing-warn: #b45309;
  --ing-line: #e2e8f0;
  --ing-radius: 1.15rem;
  font-family: system-ui, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
:focus-visible { outline: 2px solid var(--ing-accent); outline-offset: 2px; }
button, a, input, select { font: inherit; }
.ing-body {
  margin: 0;
  color: var(--ing-ink);
  min-height: 100dvh;
  padding-bottom: calc(6.3rem + env(safe-area-inset-bottom));
  background:
    radial-gradient(900px 280px at 100% -10%, #ddd6fe 0%, transparent 55%),
    radial-gradient(700px 240px at -10% 0%, #cffafe 0%, transparent 50%),
    var(--ing-bg);
}
.ing-top {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  padding: .75rem 1rem; background: #fff; position: sticky; top: 0; z-index: 5;
  border-bottom: 1px solid var(--ing-line);
}
.ing-brand { display: flex; gap: .45rem; align-items: center; font-weight: 800; text-decoration: none; color: inherit; }
.ing-logo-dot {
  width: 1.7rem; height: 1.7rem; border-radius: .55rem;
  background: linear-gradient(135deg, var(--ing-accent), #22d3ee);
  color: #fff; display: grid; place-items: center; font-size: .85rem;
}
.ing-top-meta { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ing-chip, .ing-scen {
  background: #eef2ff; color: #3730a3; border: 0; border-radius: 999px;
  padding: .28rem .6rem; font-size: .75rem; text-decoration: none; cursor: pointer;
}
.ing-scen.is-on, .ing-filters a:hover, .ing-filters a.is-on, .ing-filters button.is-on { background: #4f46e5; color: #fff; }
.ing-main { padding: 1rem 1rem 2rem; max-width: 42rem; margin: 0 auto; }
.ing-h1 { font-size: 1.45rem; line-height: 1.2; margin: .15rem 0 .45rem; }
.ing-h2 { font-size: 1.05rem; margin: 1.3rem 0 .4rem; }
.ing-lead, .ing-sub, .ing-kicker, .ing-dica { color: var(--ing-muted); }
.ing-kicker { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .3rem; }
.ing-hero-card {
  display: flex; gap: 1rem; align-items: center;
  background: #fff; border: 1px solid var(--ing-line); border-radius: var(--ing-radius);
  padding: 1rem; margin-bottom: 1rem;
}
.ing-ring {
  width: 4.6rem; height: 4.6rem; flex: 0 0 auto; border-radius: 50%;
  background: conic-gradient(#4f46e5 calc(var(--p) * 1%), #e2e8f0 0);
  display: grid; place-items: center;
}
.ing-ring span {
  width: 3.45rem; height: 3.45rem; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-size: .85rem; text-align: center; line-height: 1.05;
}
.ing-ring span small { display: block; font-size: .58rem; color: var(--ing-muted); font-weight: 700; }
.ing-ring--warn { background: conic-gradient(#ea580c calc(var(--p) * 1%), #e2e8f0 0); }
.ing-ring--ok { background: conic-gradient(#16a34a calc(var(--p) * 1%), #e2e8f0 0); }
.ing-ring--teal { background: conic-gradient(#0d9488 calc(var(--p) * 1%), #e2e8f0 0); }
.ing-rings { display: flex; flex-wrap: wrap; gap: .7rem; }
.ing-rings--lg .ing-ring { width: 5.4rem; height: 5.4rem; }
.ing-rings--lg .ing-ring span { width: 4.05rem; height: 4.05rem; }
.ing-hero-card--stack { flex-wrap: wrap; }
.ing-bars { display: grid; gap: .55rem; margin: 1rem 0; }
.ing-bar span { display: block; font-size: calc(.82rem + 3pt); font-weight: 700; margin-bottom: .2rem; }
.ing-bar i { display: block; height: .55rem; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.ing-bar b { display: block; height: 100%; background: linear-gradient(90deg, #4f46e5, #22d3ee); }
.ing-cta, .ing-chat-form button, .ing-mic {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ing-cta); color: #fff; text-decoration: none;
  border: 0; border-radius: 999px; padding: .8rem 1.1rem; font-weight: 700; cursor: pointer;
}
.ing-cta { margin: .2rem 0 1rem; }
.ing-cta:active, .ing-know:active, .ing-opt:active { transform: scale(.98); }
.ing-trail { display: grid; gap: .7rem; margin-left: .3rem; padding-left: 1rem; border-left: 2px solid #c7d2fe; }
.ing-node, .ing-card, .ing-pills article {
  background: var(--ing-card); border: 1px solid var(--ing-line);
  border-radius: var(--ing-radius); text-decoration: none; color: inherit;
}
.ing-node { display: block; padding: .85rem 1rem; }
.ing-node strong, .ing-item strong { display: block; }
.ing-node small, .ing-item small, .ing-word small { color: var(--ing-muted); font-weight: 500; }
.ing-node.is-lock { opacity: .72; }
.ing-progress { height: .45rem; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.ing-progress span { display: block; height: 100%; background: var(--ing-accent); }
.ing-filters { display: flex; gap: .4rem; flex-wrap: wrap; margin: .6rem 0 1rem; }
.ing-filters a, .ing-filters button {
  color: #3730a3; background: #fff; border: 1px solid #c7d2fe;
  text-decoration: none; border-radius: 999px; padding: .35rem .7rem; font-size: .82rem; cursor: pointer;
}
.ing-drop-row { display: flex; flex-wrap: wrap; gap: .45rem; margin: .35rem 0 1rem; }
.ing-drop { position: relative; }
.ing-drop-btn {
  min-width: 8.6rem; border: 1px solid #c7d2fe; background: #fff; color: #3730a3;
  border-radius: .7rem; padding: .55rem .9rem; font-weight: 800; cursor: pointer; text-align: left;
}
.ing-drop-btn.is-on, .ing-drop-btn[aria-expanded="true"] { background: #4f46e5; color: #fff; border-color: #4f46e5; }
.ing-drop-menu {
  position: absolute; z-index: 30; top: calc(100% + .35rem); left: 0;
  min-width: 15.5rem; max-height: min(18rem, 60dvh); overflow: auto;
  background: #fff; border: 1px solid var(--ing-line); border-radius: .9rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18); padding: .4rem;
}
.ing-drop-menu a, .ing-drop-menu button {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  color: #312e81; text-decoration: none; border-radius: .55rem; padding: .5rem .65rem;
  font-weight: 700; cursor: pointer; font-size: .9rem;
}
.ing-drop-menu a:hover, .ing-drop-menu button:hover { background: #eef2ff; }
.ing-drop-menu a.is-on, .ing-drop-menu button.is-on { background: #4f46e5; color: #fff; }
.ing-drop-action { border-bottom: 1px solid var(--ing-line) !important; margin-bottom: .2rem; border-radius: .55rem .55rem 0 0 !important; }
.ing-row-tools { display: flex; flex-wrap: wrap; gap: .45rem; }
.ing-know--rect {
  border-radius: .65rem; min-width: 9.2rem; padding: .55rem 1rem; text-align: center;
}
.ing-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.ing-word, .ing-know, .ing-opt, .ing-voice, .ing-hint {
  border: 1px solid #c7d2fe; background: #fff; color: var(--ing-ink);
  border-radius: 999px; padding: .45rem .75rem; cursor: pointer; text-decoration: none;
}
.ing-word {
  display: inline-flex; flex-direction: column; align-items: flex-start; min-height: 2.7rem;
  position: relative;
  border: 1px solid rgba(255,255,255,.7);
  background: linear-gradient(180deg, #ffffff 0%, #eef2ff 55%, #e0e7ff 100%);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #c7d2fe, 0 8px 12px rgba(15, 23, 42, .10);
  transform: translateY(-2px);
  transition: transform .12s ease, box-shadow .12s ease;
}
.ing-word:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 #c7d2fe, 0 3px 6px rgba(15, 23, 42, .12);
}
.ing-word.is-learn {
  border-color: #c4b5fd;
  background: linear-gradient(180deg, #faf5ff 0%, #ede9fe 55%, #ddd6fe 100%);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #c4b5fd, 0 8px 12px rgba(91, 33, 182, .12);
}
.ing-word.is-ok {
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #bbf7d0 55%, #86efac 100%);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #16a34a, 0 8px 12px rgba(22, 163, 74, .14);
}
.ing-word.is-false { box-shadow: inset 3px 0 0 var(--ing-warn), inset 0 1px 0 #fff, 0 3px 0 #c7d2fe, 0 8px 12px rgba(15, 23, 42, .10); }
.ing-cards { display: grid; gap: .7rem; }
.ing-item { display: grid; grid-template-columns: 72px 1fr; gap: .4rem .7rem; padding: .75rem; align-items: center; }
.ing-item img, .ing-obj img, .ing-quiz img, .ing-table img { background: #fff; object-fit: contain; }
.ing-item .ing-row { grid-column: 1 / -1; }
.ing-row, .ing-voices, .ing-socorro { display: flex; flex-wrap: wrap; gap: .4rem; margin: .45rem 0; }
.ing-know.is-on, .ing-opt.is-on { background: #4f46e5; color: #fff; border-color: #4f46e5; }
.ing-card { padding: .9rem 1rem; margin: .7rem 0; }
.ing-obj { margin: .4rem 0; background: #fff; border-radius: var(--ing-radius); border: 1px solid var(--ing-line); display: grid; place-items: center; }
.ing-ipa { font-size: 1.05rem; }
.ing-warn { background: #fffbeb; color: #92400e; border-radius: .8rem; padding: .6rem .8rem; }
.ing-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; justify-content: center; gap: 0; overflow-x: auto; background: #fff;
  border-top: 1px solid var(--ing-line);
  padding: .1rem .15rem env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, .12);
}
.ing-tab {
  flex: 0 1 auto;
  min-width: 3.4rem;
  display: flex; flex-direction: column; align-items: center; gap: .05rem;
  text-decoration: none; color: var(--ing-muted); padding: .54rem .04rem .66rem; font-size: .82rem;
}
.ing-tab span { font-size: 1.32rem; line-height: 1; }
.ing-tab small { font-size: .72rem; }
.ing-verbs { list-style: none; margin: 0; padding: 0; }
.ing-verb-head, .ing-verb { display: grid; grid-template-columns: 2rem 1fr 1fr 1fr; gap: .35rem .55rem; align-items: start; }
.ing-verb-head { color: var(--ing-muted); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 0 .7rem .2rem; }
.ing-verb { background: #fff; border: 1px solid var(--ing-line); border-radius: .9rem; padding: .55rem .7rem; margin: .4rem 0; }
.ing-verb b { font-size: 1.02rem; letter-spacing: .02em; display: block; }
.ing-verb .ing-num { font-weight: 800; color: #4f46e5; align-self: center; }
.ing-fala { color: #0f766e; font-weight: 700; display: block; }
.ing-par { display: block; min-width: 0; }
.ing-q { background: #fff; border: 1px solid var(--ing-line); border-radius: .9rem; padding: .7rem .8rem; margin: .45rem 0; }
.ing-q p { margin: .15rem 0; }
.ing-word.is-vista {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fffbeb 0%, #fde68a 50%, #fbbf24 100%);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #d97706, 0 8px 12px rgba(180, 83, 9, .16);
}
.ing-word.is-dificil {
  border-color: #dc2626;
  background: linear-gradient(180deg, #fef2f2 0%, #fecaca 48%, #f87171 100%);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #b91c1c, 0 8px 12px rgba(185, 28, 28, .18);
}
.ing-q { width: 100%; text-align: left; cursor: pointer; }
.ing-q.is-vista { background: #fde68a; border-color: #f59e0b; }
.ing-q.is-lendo { border: 3px solid #f59e0b; background: #fff; }
.ing-verb .ing-par.is-vista {
  background: transparent;
  box-shadow: inset 3px 0 0 #4f46e5;
}
.ing-verb .ing-par.is-on {
  outline: 2px solid #2563eb;
  background: #eff6ff;
}
.ing-par { border: 0; background: transparent; text-align: left; cursor: pointer; color: inherit; padding: .15rem .25rem; border-radius: .55rem; }
.ing-pop.ing-ficha { width: min(28rem, calc(100% - 1.5rem)); }
.ing-tab.is-on { color: var(--ing-accent); font-weight: 700; }
.ing-chat { display: grid; gap: .45rem; }
.ing-bubble { max-width: 90%; background: #fff; border: 1px solid var(--ing-line); border-radius: 1rem; padding: .65rem .8rem; }
.ing-bubble.me { justify-self: end; background: #2563eb; color: #fff; border-color: transparent; }
.ing-chat-form { display: flex; gap: .4rem; margin-top: .8rem; }
.ing-chat-form input { flex: 1; border-radius: 999px; border: 1px solid #cbd5e1; padding: .7rem 1rem; background: #fff; }
.ing-table-wrap { overflow-x: auto; border-radius: var(--ing-radius); border: 1px solid var(--ing-line); background: #fff; }
.ing-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.ing-table th, .ing-table td { border-bottom: 1px solid var(--ing-line); padding: .4rem; text-align: left; vertical-align: middle; }
.ing-landing {
  margin: 0; min-height: 100dvh;
  background:
    radial-gradient(900px 280px at 100% -10%, #ddd6fe 0%, transparent 55%),
    radial-gradient(700px 240px at -10% 0%, #cffafe 0%, transparent 50%),
    var(--ing-bg);
}
.ing-land-top, .ing-landing { background: transparent; }
.ing-land-top { display: flex; justify-content: space-between; padding: 1rem; align-items: center; }
.ing-hero { padding: 1.2rem 1.2rem 1.4rem; max-width: 36rem; }
.ing-land-cards { padding: 0 1.2rem 2rem; max-width: 40rem; }
.ing-hero h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.15; }
.ing-pills { display: grid; gap: .7rem; padding: 0 1.2rem 2rem; max-width: 40rem; }
.ing-pills article { padding: 1rem; }
.ing-land-foot { padding: 1rem 1.2rem 2rem; color: var(--ing-muted); font-size: .8rem; }
.ing-cta-sm { background: #fff; color: #312e81; text-decoration: none; border-radius: 999px; padding: .45rem .8rem; font-weight: 700; }
.ing-brain { background: #1e1b4b; color: #fff; border-radius: 1.4rem; padding: 1rem; }
.ing-radar { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .8rem; }
.ing-radar div { background: rgba(255,255,255,.08); border-radius: .9rem; padding: .7rem; }
.ing-radar b { display: block; font-size: 1.35rem; }
.ing-radar small { color: #c7d2fe; }
.ing-back { color: var(--ing-accent); text-decoration: none; font-size: .9rem; }
.ing-pop { border: 0; border-radius: 1.2rem; padding: 1rem; max-width: 22rem; }
.ing-pop::backdrop { background: rgba(15, 23, 42, .35); }
.ing-label select, .ing-hf-pt, .ing-hf-en { width: 100%; }
.ing-hf-pt { font-size: 1.25rem; }
.ing-hf-en { font-size: 1.45rem; font-weight: 750; min-height: 2rem; }
.ing-label select { padding: .6rem; border-radius: .8rem; border: 1px solid #cbd5e1; background: #fff; }
.ing-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .6rem; }
.ing-kpis article { background: #fff; border-radius: var(--ing-radius); padding: .8rem; border: 1px solid var(--ing-line); }
.ing-kpis strong { display: block; font-size: 1.4rem; }
.ing-kpis small { display: block; margin-top: .25rem; color: var(--ing-muted); font-weight: 500; line-height: 1.35; }
.ing-dash .ing-main { max-width: 52rem; }
.ing-steps { line-height: 1.7; }
.ing-tok { border: 0; background: transparent; color: inherit; padding: 0 .05rem; border-bottom: 1px dashed #a5b4fc; cursor: pointer; }
.ing-tok.is-good { background: #dcfce7; }
.ing-tok.is-bad { background: #fee2e2; }
.ing-score { font-weight: 700; }
.ing-quiz img { display: block; }
@media (max-width: 720px) {
  .ing-table { min-width: 40rem; }
}
.ing-chip-out { background: #fee2e2; color: #991b1b; }
.ing-voice-ico {
  width: 2.55rem; height: 2.55rem; border-radius: .4rem;
  border: 1px solid #f9a8d4; background: #fce7f3; cursor: pointer;
  padding: 0; overflow: hidden; display: inline-grid; place-items: center;
}
.ing-voice-ico.is-m, .ing-voice-ico[data-voice="male"] {
  background: #dbeafe; border-color: #93c5fd;
}
.ing-voice-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ing-voice-ico:active { transform: scale(.96); }
.ing-voice-ico.is-on { box-shadow: 0 0 0 2px #93c5fd; }
.ing-ex-frase {
  margin: .85rem auto 0; padding: .7rem .8rem; border-radius: .8rem;
  background: #eff6ff; color: #1e3a8a; font-weight: 700;
  text-align: center; font-size: calc(1rem + 6pt); max-width: 100%;
}
.ing-ex-lemma { font-size: 1.7rem; font-weight: 800; margin: .4rem 0 .7rem; }
.ing-game-opts { display: grid; gap: .45rem; margin: .6rem 0; }
.ing-game-opts button {
  border: 1px solid #c7d2fe; background: #fff; border-radius: .85rem;
  padding: .7rem .8rem; text-align: left; cursor: pointer; font-weight: 700;
}
.ing-game-opts button.is-ok { background: #dcfce7; border-color: #16a34a; }
.ing-game-opts button.is-bad { background: #fee2e2; border-color: #dc2626; }
.ing-word { position: relative; }
.ing-word::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(0,0,0, var(--ink, 0)); pointer-events: none;
}
.e3w-mf-ctrl-nav { display: flex; justify-content: center; gap: 1.2rem; margin-bottom: .45rem; }
.e3w-mf-ctrl-nav .e3w-mf-prev, .e3w-mf-ctrl-nav .e3w-mf-next { min-width: 4.2rem; }
.e3w-mf-ctrl-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: .4rem; width: 100%; flex-wrap: nowrap;
}
.e3w-mf-ctrl-bar .e3w-mf-prev, .e3w-mf-ctrl-bar .e3w-mf-next { min-width: 3.6rem; flex: 0 0 auto; }
.e3w-mf-ctrl-mid { display: flex; align-items: center; justify-content: center; gap: .4rem; flex: 1; }
.e3w-mf-answer {
  display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center;
  margin: .65rem 0 .2rem;
}
.e3w-mf-chip.is-mini {
  font-size: calc(.68rem * 1.2); padding: .38rem .7rem .48rem; border-radius: .7rem;
  transform: none; box-shadow: none;
}
.e3w-speak { display: flex; gap: .55rem; margin-top: 1.1rem; justify-content: center; }
.e3w-pane-en .ing-voice-ico.is-f { background: #fce7f3; border-color: #f9a8d4; }
.e3w-pane-en .ing-voice-ico.is-m { background: #dbeafe; border-color: #93c5fd; }
.ing-land-actions { display: flex; gap: .35rem; flex-wrap: wrap; }
.ing-home-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1rem 0 1.2rem;
}
.ing-tile {
  display: flex; flex-direction: column; gap: .35rem; min-height: 7.2rem;
  border-radius: 1.15rem; padding: 1rem .9rem; text-decoration: none; color: #fff; font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}
.ing-tile small { font-weight: 500; opacity: .9; }
.ing-tile-ico { font-size: 1.5rem; }
.ing-tile--blue { background: linear-gradient(160deg, #2563eb, #1d4ed8); }
.ing-tile--teal { background: linear-gradient(160deg, #14b8a6, #0f766e); }
.ing-tile--cyan { background: linear-gradient(160deg, #22d3ee, #0284c7); }
.ing-tile--violet { background: linear-gradient(160deg, #8b5cf6, #6d28d9); }
.ing-tile--rose { background: linear-gradient(160deg, #f43f5e, #be123c); }
.ing-tile--indigo { background: linear-gradient(160deg, #6366f1, #4338ca); }
.ing-tile--slate { background: linear-gradient(160deg, #64748b, #334155); }
.ing-search {
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--ing-line); border-radius: 999px;
  padding: .55rem 1rem; margin: 0 0 1rem;
}
.ing-search input { border: 0; flex: 1; outline: none; background: transparent; }
.ing-topics { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .55rem; }
.ing-topic {
  background: #fff; border: 1px solid var(--ing-line); border-radius: 1rem;
  padding: .85rem .55rem .7rem; text-align: center; text-decoration: none; color: inherit;
}
.ing-topic span { display: block; font-size: 1.5rem; margin-bottom: .25rem; }
.ing-topic strong { display: block; font-size: .78rem; }
.ing-main:has(.e3w-split) { padding: 0; max-width: none; }
.ing-body:has(.e3w-split) {
  background: #000;
  padding-bottom: calc(6.3rem + env(safe-area-inset-bottom));
}
.e3w-split { min-height: calc(100dvh - 8.2rem); display: flex; flex-direction: column; color: #f4f4f5; }
.e3w-split-head {
  display: none;
}
.e3w-col-h { padding: .7rem 1rem; text-align: center; }
.e3w-col-h-pt { background: #3a3a3c; color: #d4d4d8; }
.e3w-col-h-en { background: #0b1220; color: #fafafa; }
.e3w-split-body { flex: 1; display: grid; grid-template-columns: 1fr; grid-template-rows: 1.35fr .85fr; min-height: 16rem; }
.e3w-pane { padding: 1.4rem 1.1rem; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.e3w-pane-pt { background: #3a3a3c; }
.e3w-pane-en { background: linear-gradient(180deg, #0b1220, #000); cursor: pointer; }
.e3w-kicker { margin: 0 0 .55rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; font-weight: 800; }
.e3w-line { font-size: calc(clamp(1.15rem, 3.6vw, 1.75rem) + 2pt); line-height: 1.4; margin: 0; font-weight: 600; max-width: 36rem; }
.e3w-speak { display: flex; justify-content: center; gap: .55rem; margin-top: 1.1rem; }
.e3w-verb { color: #fb923c; font-weight: 800; }
.e3w-split-nav {
  display: grid; grid-template-columns: 3.2rem 1fr 3.2rem; align-items: center; justify-items: center;
  background: #111; padding: .45rem .6rem;
}
.e3w-arrow {
  width: 2.8rem; height: 2.8rem; border: 0; border-radius: 50%;
  background: #27272a; color: #fff; font-size: 1.6rem; cursor: pointer;
}
.e3w-count { text-align: center; margin: 0; font-weight: 700; color: #a1a1aa; }
.e3w-split-hint { margin: 0; padding: .55rem .8rem .85rem; font-size: .82rem; color: #a1a1aa; background: #111; text-align: center; }
@media (max-width: 720px) {
  .ing-topics { grid-template-columns: 1fr 1fr; }
}
.ing-voice-pick {
  background: #fff; border: 1px solid var(--ing-line); border-radius: 1.1rem;
  padding: .9rem 1rem; margin: 0 0 1rem;
}
.ing-voice-pick .ing-kicker { margin-bottom: .2rem; }
.ing-voice-pick .ing-sub { margin: 0 0 .7rem; }
.ing-voice-row { display: flex; gap: .55rem; flex-wrap: wrap; }
.ing-voice-btn {
  flex: 1; min-width: 8.5rem; border: 2px solid #cbd5e1; background: #f8fafc;
  border-radius: .9rem; padding: .75rem .9rem; font-weight: 800; cursor: pointer; color: #0f172a;
}
.ing-voice-btn.is-on { border-color: #2563eb; background: #dbeafe; color: #1e3a8a; }
.e3w-mf-envs { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .7rem; }
.e3w-mf-env {
  border: 1px solid #334155; background: #0f172a; color: #cbd5e1;
  border-radius: 999px; padding: .35rem .65rem; font-size: .75rem; font-weight: 700; cursor: pointer;
}
.e3w-mf-env.is-on { background: #2563eb; color: #fff; border-color: #60a5fa; }
.ing-modal {
  border: 0; padding: 0; width: min(28rem, calc(100% - 1.4rem));
  border-radius: 1.1rem; background: #fff; color: var(--ing-ink);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .35);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
}
.ing-modal::backdrop { background: rgba(15, 23, 42, .45); }
.ing-modal-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem .9rem; border-bottom: 0;
  background: #2563eb; color: #fff;
}
.ing-modal-bar h3 { margin: 0; font-size: 1rem; font-weight: 800; color: #fff; }
.ing-modal-bar--word {
  display: grid;
  grid-template-columns: 2.1rem 1fr 2.1rem 2.1rem;
  gap: .35rem;
  align-items: center;
  overflow: hidden;
  min-height: 3.1rem;
}
.ing-modal-bar--word .ing-play-nav { position: static; width: 2.1rem; height: 2.1rem; font-size: 1.2rem; }
.ing-modal-bar--word h3 {
  position: static; transform: none; left: auto; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center;
  color: #fff; background: transparent; border-radius: 0; padding: 0; margin: 0;
}
.ing-modal-bar--word .is-prev,
.ing-modal-bar--word .is-next { margin: 0; }
.ing-modal-bar--word .ing-modal-x { margin: 0; }
.ing-modal-cd-row {
  display: flex; justify-content: flex-end; align-items: center;
  padding: .4rem .9rem 0; background: #fff;
}
.ing-ficha-cd {
  position: static !important; transform: none !important; left: auto !important; top: auto !important;
  width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 2px solid #111;
  background: #fff; color: #111; display: grid; place-items: center;
  font-size: .72rem; font-weight: 800;
}
.ing-modal-x {
  width: 2.1rem; height: 2.1rem; border: 0; border-radius: .55rem;
  background: rgba(255,255,255,.2); color: #fff; font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.ing-modal-body { padding: 1rem .95rem 1.1rem; }
.ing-modal-foot {
  display: flex; flex-wrap: wrap; gap: .45rem; padding: .75rem .9rem 1rem;
  border-top: 1px solid var(--ing-line);
}
.ing-modal-foot .ing-cta { margin: 0; }
.ing-tile--amber { background: linear-gradient(160deg, #f59e0b, #d97706); }
.e3w-mf {
  background: #1e293b; color: #f1f5f9; border-radius: 1.15rem;
  padding: 1.05rem 1rem 1.15rem; margin: .8rem 0 1.2rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .28);
}
.e3w-mf-head h2 {
  margin: 0 0 .25rem; font-size: 1.2rem;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.e3w-mf-head p { margin: 0 0 .85rem; color: #94a3b8; font-size: .88rem; }
.e3w-mf-tools {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  margin: 0 0 .75rem;
}
.e3w-mf-jump {
  display: flex; align-items: center; gap: .35rem; color: #cbd5e1; font-size: .82rem; font-weight: 700;
}
.e3w-mf-jump input, .e3w-mf-jump select {
  border-radius: .55rem; border: 1px solid #475569; background: #0f172a;
  color: #f8fafc; padding: .4rem .45rem; font-weight: 700;
}
.e3w-mf-jump input { width: 5.4rem; }
.e3w-mf-tempo {
  margin-left: auto; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; background: #0f172a; color: #93c5fd;
  border-radius: 999px; padding: .35rem .7rem; border: 1px solid #334155;
}
.e3w-mf-tempo.is-passado { color: #fcd34d; }
.e3w-mf-tempo.is-futuro { color: #c4b5fd; }
.e3w-mf-erros { background: #b45309; }
.e3w-mf-erros.is-on { background: #7c2d12; box-shadow: 0 0 0 2px #fbbf24; }
.e3w-mf-go { padding: .4rem .7rem; background: #2563eb; }
.e3w-mf-pt {
  margin: 0 0 .7rem; padding: .85rem .9rem; text-align: center;
  font-size: clamp(1.05rem, 3.4vw, 1.35rem); font-weight: 700; line-height: 1.35;
  background: rgba(59, 130, 246, .16); border: 1px solid rgba(59, 130, 246, .32);
  border-radius: .85rem;
}
.e3w-mf-meta { display: flex; justify-content: space-between; gap: .6rem; color: #94a3b8; font-size: .8rem; margin: 0 0 .45rem; }
.e3w-mf-label {
  margin: .15rem 0 .35rem; font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: #94a3b8; font-weight: 700;
}
.e3w-mf-bank, .e3w-mf-sent {
  min-height: 4.4rem; padding: .7rem; border-radius: .85rem; margin-bottom: .7rem;
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  background: #0f172a;
}
.e3w-mf-bank { border: 1px solid #334155; }
.e3w-mf-sent { border: 2px dashed #475569; min-height: 4.8rem; }
.e3w-mf-sent.empty::before {
  content: "Toque nas palavras acima na ordem da frase…";
  color: #64748b; font-style: italic; font-size: .9rem;
}
.e3w-mf-chip {
  position: relative;
  border: 1px solid #0077a8;
  background-image: linear-gradient(to top, #0098d4, #00a3dd, #00ade5, #00b8ed, #00c3f5, #00c3f5, #00c3f5, #00c3f5, #00b8ed, #00ade5, #00a3dd, #0098d4);
  color: #111; padding: .55rem 1rem;
  border-radius: .85rem; font-weight: 800; font-size: .98rem; cursor: pointer;
  user-select: none; letter-spacing: .01em;
  box-shadow: none; transform: none;
  text-shadow:
    0 0 6px #fff, 0 0 10px #fff, 0 0 16px #fff,
    1px 0 0 #fff, -1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff,
    1px 1px 0 #fff, -1px -1px 0 #fff;
}
.e3w-mf-chip:hover { filter: brightness(1.06); }
.e3w-mf-chip:active { filter: brightness(.96); }
.e3w-mf-chip.is-verb,
.e3w-mf-chip.is-in.is-verb {
  background-image: linear-gradient(to top, #d4ad00, #ddb800, #e5c400, #edd000, #f5dc00, #f8df00, #fce200, #ffe500, #ffe000, #ffda00, #ffd500, #ffd000);
  border-color: #c4a000; color: #111;
}
.e3w-mf-chip.is-in {
  background-image: linear-gradient(to top, #0098d4, #00a3dd, #00ade5, #00b8ed, #00c3f5, #00c3f5, #00c3f5, #00c3f5, #00b8ed, #00ade5, #00a3dd, #0098d4);
  border-color: #0077a8; color: #111;
}
.e3w-mf-chip.is-ok,
.e3w-mf-chip.is-in.is-ok,
.e3w-mf-chip.is-verb.is-ok {
  background-image: linear-gradient(to bottom, #007706, #008f08, #00a809, #00c10b, #00db0c, #00db0c, #00db0c, #00db0c, #00c10b, #00a809, #008f08, #007706);
  border-color: #007706; color: #111;
}
.e3w-mf-chip.is-bad {
  background: #ef4444; border-color: #dc2626; color: #111;
}
.e3w-mf-chip.is-hint {
  outline: 2px solid #fbbf24;
}
.e3w-mf-chip.is-mini.is-verb::after { display: none !important; }
.e3w-mf-live { margin: -.35rem 0 .7rem; color: #cbd5e1; font-size: .95rem; font-weight: 600; }
.e3w-mf-ctrl { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-bottom: .55rem; }
.e3w-mf-btn {
  border: 0; border-radius: .7rem; padding: .65rem .9rem; font-weight: 700;
  cursor: pointer; color: #fff; background: #334155;
}
.e3w-mf-check {
  background: #22c55e; color: #052e16;
  display: block; width: 30%; margin: .15rem auto .55rem; padding: .85rem 1rem;
}
.e3w-mf-check:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 720px) {
  .e3w-mf-check { width: 100%; }
}
.e3w-mf-hint { background: #d97706; }
.e3w-mf-hear { background: #2563eb; }
.e3w-mf-prev, .e3w-mf-next { min-width: 2.6rem; background: #3b82f6; font-size: 1.2rem; }
.e3w-mf-fb { padding: .8rem .9rem; border-radius: .85rem; text-align: center; font-size: .95rem; background: #e5e7eb; color: #111; border: 1px solid #d1d5db; }
.e3w-mf-fb.is-ok { background: #dcfce7; color: #14532d; border-color: #86efac; }
.e3w-mf-fb.is-bad { background: #0a0a0a; color: #f8fafc; border-color: #111; }
.e3w-mf-fb.is-ok strong { color: #14532d; }
.e3w-mf-fb.is-bad strong, .e3w-mf-fb.is-bad .e3w-mf-fb-pt { color: #f8fafc; }
.e3w-mf-fb b {
  display: block; margin: .45rem 0; padding: .45rem .6rem; border-radius: .55rem;
  background: #1e293b; color: #fff; font-size: calc(1rem + 3pt);
}
.e3w-mf-fb-pt { margin: .35rem 0 .2rem; color: #111; font-weight: 700; font-size: 1rem; }
.e3w-mf { position: relative; }
.e3w-mf-plays {
  position: absolute; top: .65rem; right: .65rem;
  width: 2.3rem; height: 2.3rem; border: 0; border-radius: .5rem;
  background: #facc15; color: #111; font-weight: 800; font-size: 1rem; cursor: default;
}
.e3w-mf-user { margin: 0 0 .45rem; color: #93c5fd; font-size: .82rem; font-weight: 700; }
.e3w-mf-pt-row { display: flex; align-items: stretch; gap: .45rem; margin: 0 0 .7rem; }
.e3w-mf-pt-row .e3w-mf-pt { flex: 1; margin: 0; }
.e3w-mf-qhint {
  flex: 0 0 5.8rem; align-self: stretch; border: 0; border-radius: .85rem;
  background: #f59e0b; color: #111; font-weight: 800; padding: .55rem .5rem; cursor: pointer;
  font-size: .78rem; line-height: 1.15;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.e3w-mf-qhinttxt {
  margin: -.45rem 0 .7rem; padding: .55rem .7rem; border-radius: .7rem;
  background: #fff7ed; color: #9a3412; font-size: .88rem;
}
.e3w-mf-envs [data-mf="verbclear"] { background: #7c2d12; color: #fff; }
.ing-q {
  display: flex; align-items: center; justify-content: space-between; gap: .55rem;
  width: 100%; padding: .4rem .65rem; margin: .3rem 0;
}
.ing-q-txt { min-width: 0; flex: 1; }
.ing-q p { font-size: 1.05rem; margin: .08rem 0; }
.ing-q-hear { display: flex; gap: .3rem; margin: 0; flex: 0 0 auto; }
.ing-q.is-lendo { border: 3px solid #f59e0b; background: #fff; box-shadow: none; }
.ing-ficha-word { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.ing-ficha-word .ing-h1 { margin: 0; }
.ing-ex-frase-pt {
  margin: .35rem auto .2rem; color: #334155; font-weight: 700;
  text-align: center; font-size: calc(1rem + 2pt);
}
.ing-ex-tempo {
  margin: 0 auto .55rem; max-width: 100%; text-align: center;
  font-size: .82rem; line-height: 1.35; color: #334155; font-weight: 650;
}
.ing-ficha-phrase-hear { display: flex; justify-content: center; gap: .4rem; margin: 0 0 .7rem; }
.ing-game-body { text-align: center; }
.ing-game-body .ing-ex-lemma { text-align: center; }
.ing-game-hear { display: flex; justify-content: center; gap: .4rem; margin: .35rem 0 .8rem; }
.ing-game-opts { justify-items: center; }
.ing-game-opts button { width: min(22rem, 100%); text-align: center; }
.ing-game-foot { display: flex; align-items: center; gap: .45rem; }
.ing-game-foot #ingGameNext { margin-left: auto; min-width: 8rem; padding: .85rem 1.2rem; }
.ing-game-foot #ingGameHard.is-on { background: #4f46e5; color: #fff; border-color: #4f46e5; }
.e3w-mf-hear { width: 2.55rem; height: 2.55rem; padding: 0; border-radius: .4rem; }
.ing-game-cd { font-size: 1.35rem; font-weight: 800; color: #2563eb; margin: .5rem 0 0; }
.e3w-mf-chip.is-verb::after { display: none; }
.e3w-mf-sent .e3w-mf-chip.is-verb::after {
  display: block;
  content: attr(data-tip);
  position: absolute; left: 50%; bottom: calc(100% + .45rem);
  transform: translateX(-50%) translateY(4px);
  background: #020617; color: #fde68a; border: 1px solid #f59e0b;
  padding: .35rem .55rem; border-radius: .55rem; font-size: .72rem;
  font-weight: 700; letter-spacing: 0; text-shadow: none; white-space: nowrap;
  opacity: 0; pointer-events: none; z-index: 3;
  box-shadow: 0 8px 18px rgba(0,0,0,.4);
}
.e3w-mf-sent .e3w-mf-chip.is-verb:hover::after, .e3w-mf-sent .e3w-mf-chip.is-verb:focus::after {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.ing-q-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(15, 23, 42, .52);
}
.ing-q.is-zoom {
  position: fixed; left: 4vw; right: 4vw; top: 50%;
  transform: translateY(-50%);
  z-index: 91; margin: 0; padding: 1.15rem 1rem;
  max-height: 78dvh; overflow: auto;
  flex-direction: column; align-items: stretch;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .4);
}
.ing-q.is-zoom .ing-q-txt p { font-size: calc(1.2rem + 2pt); line-height: 1.4; }
.ing-q.is-zoom .ing-q-hear { transform: none; justify-content: center; margin-top: .75rem; }
@media (max-width: 720px) {
  .ing-q p { font-size: calc(1.05rem + 2pt); }
  .ing-q.is-zoom { left: 3vw; right: 3vw; padding: 1.35rem 1rem; }
  .ing-q.is-zoom .ing-q-txt p { font-size: calc(1.28rem + 4pt); }
  .e3w-mf-pt { font-size: calc(clamp(1.05rem, 3.4vw, 1.35rem) + 2pt); color: #fff; }
  .ing-word { font-size: calc(1em + 2pt); }
  .ing-word small { font-size: calc(.78em + 2pt); }
}
.ing-play-page { padding: .4rem 0 1.2rem; }
.ing-play-cats {
  background: #fff; border: 1px solid #cbd5e1; border-radius: 1.1rem;
  padding: .75rem .8rem 1rem; margin: 0 auto 1.4rem; max-width: 28rem;
}
.ing-play-cat-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .4rem;
}
.ing-play-cat-grid button {
  border: 1px solid #cbd5e1; background: #f8fafc; border-radius: .65rem;
  padding: .45rem .3rem; font-weight: 800; font-size: .78rem; cursor: pointer; color: #1e3a8a;
}
.ing-play-cat-grid button.is-on { background: #4f46e5; color: #fff; border-color: #4f46e5; }
.ing-play { position: relative; }
.ing-play-stage {
  position: relative; min-height: 16rem; padding: 3.4rem .4rem 1.2rem;
  max-width: 26rem; margin: 0 auto;
}
.ing-play-nav {
  position: absolute; top: .15rem; width: 2.45rem; height: 2.45rem;
  border: 0; border-radius: .55rem; background: #bbf7d0; color: #14532d;
  font-size: 1.45rem; font-weight: 800; cursor: pointer; line-height: 1; z-index: 3;
}
.ing-play-nav.is-prev { left: .1rem; }
.ing-play-nav.is-next { right: .1rem; }
.ing-play-mh {
  position: absolute; left: 50%; top: 1.55rem; transform: translateX(-58%);
  display: flex; align-items: flex-end; z-index: 4;
}
.ing-play-m, .ing-play-h {
  width: 2.7rem; height: 2.15rem; border: 2px solid #fff; border-radius: .45rem;
  font-weight: 900; cursor: pointer; color: #111;
}
.ing-play-m { background: #fecaca; transform: rotate(-6deg); margin-right: -.35rem; }
.ing-play-h { background: #bfdbfe; transform: rotate(5deg); margin-left: -.15rem; }
.ing-play-cd {
  position: absolute; left: 50%; top: -.95rem; transform: translateX(-50%);
  width: 2.15rem; height: 2.15rem; border-radius: 50%; border: 2px solid #111;
  background: #fff; display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; z-index: 5;
}
.ing-play-x {
  position: absolute; right: .05rem; top: 4.05rem; width: 2.2rem; height: 2.2rem;
  border: 2px solid #111; border-radius: .4rem; background: #fff;
  font-weight: 900; cursor: pointer; z-index: 4;
}
.ing-play-en, .ing-play-pt {
  background: #fff; border: 2px solid #111; border-radius: 1.1rem;
  padding: 1.15rem 1rem .9rem; text-align: center;
}
.ing-play-en {
  margin: 1.55rem 1.4rem 0 0; min-height: 5.2rem;
  transform: rotate(1.2deg); box-shadow: 0 8px 0 #e2e8f0;
}
.ing-play-en p { margin: 0; font-size: 1.22rem; font-weight: 800; line-height: 1.35; }
.ing-play-en strong, .ing-play-en .e3w-verb { font-weight: 900; }
.ing-play-pt {
  margin: .55rem 0 0 1.15rem; min-height: 3.1rem;
  transform: rotate(-1deg); padding: .65rem .8rem;
}
.ing-play-pt p { margin: 0; font-size: .95rem; color: #334155; font-weight: 700; }
#e3wPlay { display: block; }
#e3wPlay[hidden] { display: none; }
#ingQPlay {
  position: fixed; inset: 0; z-index: 92; display: none;
  padding: 4.4rem .7rem 5.2rem; overflow: auto;
  background: #fff;
}
#ingQPlay .ing-play-cats { max-width: 26rem; margin-left: auto; margin-right: auto; }
#ingQPlay:not([hidden]) { display: block; }
.ing-body:has(#e3wPlayPage) {
  background:
    linear-gradient(#e8edf5 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, #e8edf5 1px, transparent 1px) 0 0 / 24px 24px,
    #f4f7fb;
}
@media (max-width: 720px) {
  .ing-play-stage { padding: 3.2rem .15rem 1rem; }
  .ing-play-en { margin-right: 1.1rem; }
  .ing-play-pt { margin-left: .7rem; }
  .ing-play-en p { font-size: 1.08rem; }
  .ing-play-x { top: 3.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ing-cta:active, .ing-know:active, .ing-opt:active { transform: none; }
  .e3w-mf-chip, .e3w-mf-chip:hover, .e3w-mf-chip:active { transform: none; }
  .e3w-mf-chip.is-verb::after { display: none; }
}
