/* Fintex: clear learning, tactile controls, one consistent mascot. */
.fx-primary,.fx-ghost { min-height:48px; line-height:1.3; }
.fx-card { transition:border-color .15s; }
.fx-card[role=button]:active,.fx-ghost:active,.home-compact-card:active { transform:translateY(2px); box-shadow:none!important; }
.fx-nav-icon { display:grid;place-items:center;width:43px;height:34px;border:2px solid;border-radius:12px; }
.fx-bottom-nav button { min-width:0; }
.fx-bottom-nav button:active .fx-nav-icon { transform:scale(.92); }
.fx-screen h1,.fx-screen h2,.fx-screen h3,.fintex-lesson h1,.fintex-lesson h2 { letter-spacing:-.4px; }
.fx-profile-score svg { width:100%;height:100%; }
.fx-home-hero { position:relative;padding:20px 18px 18px; }
.fx-home-hero-top { display:flex;gap:8px;align-items:center;margin-bottom:18px; }
.fx-home-hero-copy { flex:1;min-width:0; }
.fx-home-hero h2 { font-size:24px;line-height:1.2;margin:10px 0 8px;font-weight:900; }
.fx-home-hero .texer { width:100px!important;flex-shrink:0;filter:none; }
.fx-resource-bar { display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:15px;margin-bottom:18px;border-bottom:2px solid var(--line); }
.fx-resource-bar button { min-height:40px; }
.fx-brand-header .fx-resource-bar { border-color:rgba(255,255,255,.24); }
:root { color-scheme:var(--color-scheme,light); }
.fx-screen input,.fx-screen select,.fx-screen textarea { accent-color:var(--action-ink); }
.fx-screen :focus-visible { outline:3px solid var(--action-ink)!important;outline-offset:3px; }
.fx-brand-header :focus-visible { outline-color:#fff!important; }
.fx-lesson-body { min-height:0; }
.fx-lesson-footer { padding-bottom:max(22px,env(safe-area-inset-bottom))!important; }
.fx-lesson-footer .fx-primary { flex:1; }
.fx-lesson-intro { text-align:center;padding:18px 0 6px; }
.fx-lesson-mascot { margin:0 auto 14px;display:grid;place-items:center;width:138px;height:138px;border-radius:42px;background:var(--sky);border-bottom:5px solid var(--sky-line); }
.fx-lesson-mascot .texer { width:106px!important;max-height:130px;object-fit:contain;filter:none; }
.fx-lesson-intro h1 { font-size:27px!important;line-height:1.2!important; }
.fx-concept-art { max-width:240px;margin:4px auto 18px; }
.fx-concept-page { font-size:17px;line-height:1.65;color:var(--ink-2);margin:0 0 18px; }
.fx-reading-dots { display:flex;align-items:center;justify-content:center;gap:7px;min-height:24px;margin:10px 0; }
.fx-reading-dots span { width:7px;height:7px;border-radius:50%;background:var(--line); }
.fx-reading-dots span[aria-current=true] { background:var(--blue);width:22px;border-radius:5px; }
.fx-stage-label { display:flex;align-items:center;justify-content:space-between;padding:0 20px 12px;font-size:12px;font-weight:800;color:var(--muted); }
.fx-quiz-body { min-height:0; }
.fx-feedback-panel { flex-shrink:0;max-height:48%;overflow-y:auto;position:relative!important; }
.fx-answer-tile:active:not(:disabled),.fx-game-button:active:not(:disabled) { transform:translateY(2px); }
.fx-answer-tile,.fx-game-button { touch-action:manipulation; }
.fx-league-rules { margin-bottom:18px; }
.fx-league-rules>summary { cursor:pointer;list-style:none;padding:14px 0;font-weight:800;color:var(--action-ink); }
.fx-league-rules>summary::after { content:' +'; }
.fx-league-rules[open]>summary::after { content:' −'; }
.fx-quiet-sheet { max-height:90%;overflow-y:auto; }
@media(max-width:360px) {
 .fx-home-hero .texer { width:78px!important; }
 .fx-home-hero h2 { font-size:21px; }
 .fx-bottom-nav .disp { font-size:10px!important; }
 .fx-nav-icon { width:36px; }
}
@media(prefers-reduced-motion:reduce) {
 .fx-card,.fx-primary,.fx-ghost,.fx-nav-icon { transition:none!important; }
}
