*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
:root{--p:#2563eb;--p2:#60a5fa;--bg:#f5f7fb;--text:#1f2937;--muted:#6b7280;--border:#e5e7eb;--good:#16a34a;--goodbg:#dcfce7;--bad:#dc2626;--badbg:#fee2e2;--warn:#b45309;--warnbg:#fef3c7}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
body{min-height:100vh;min-height:100dvh;background:linear-gradient(180deg,#eef4ff 0%,#f8fafc 45%,#fff 100%);padding:max(16px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
button,input{font:inherit}button{touch-action:manipulation}.app{width:100%;max-width:780px;margin:0 auto}
.brand{display:flex;align-items:center;gap:12px;margin:4px 0 16px}.brand-mark{width:48px;height:48px;border-radius:15px;background:var(--p);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:22px;box-shadow:0 10px 26px rgba(37,99,235,.22)}.brand-title{font-weight:900;font-size:18px}.brand-subtitle{font-size:12px;color:var(--muted);margin-top:2px}
.card{background:#fff;border:1px solid var(--border);border-radius:24px;padding:24px;box-shadow:0 18px 44px rgba(37,99,235,.08)}.hidden{display:none!important}
.pill,.class-badge,.pack-badge,.cat-badge,.diff-badge,.selected-chip{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900}.pill{background:#dbeafe;color:#1d4ed8}.class-badge{background:#e0f2fe;color:#0369a1;margin-right:5px}.pack-badge{background:#ecfeff;color:#0f766e;margin-right:5px}.cat-badge{background:#eef2ff;color:#4338ca}.diff-badge{background:var(--warnbg);color:var(--warn);margin-bottom:12px}.selected-chip{background:#f3f4f6;color:#374151}
h1{font-size:31px;line-height:1.15;letter-spacing:-.03em;margin:10px 0}.lead{color:var(--muted);line-height:1.65;margin:0 0 20px}
.class-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}.class-card{position:relative;overflow:hidden;width:100%;min-height:210px;text-align:left;border:1.5px solid var(--border);border-radius:22px;background:#fff;padding:20px;cursor:pointer;-webkit-appearance:none}.class-card:active{transform:scale(.99)}.class-card.blue{background:linear-gradient(145deg,#eff6ff,#fff)}.class-card.green{background:linear-gradient(145deg,#ecfdf5,#fff)}.class-icon{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:900;margin-bottom:18px}.blue .class-icon{background:#dbeafe;color:#1d4ed8}.green .class-icon{background:#dcfce7;color:#15803d}.class-name{font-size:23px;font-weight:900;margin-bottom:5px}.class-topic{font-size:16px;font-weight:800;margin-bottom:8px}.class-desc{font-size:13px;color:var(--muted);line-height:1.5}.class-arrow{position:absolute;right:18px;bottom:15px;font-size:24px}
.screen-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.mini-btn{border:0;background:#eef2f7;border-radius:12px;padding:9px 12px;font-weight:800;color:#374151;cursor:pointer}
.name-label{display:block;font-size:13px;font-weight:900;margin:4px 0 8px}.name-input{width:100%;min-height:50px;border:1px solid var(--border);border-radius:14px;padding:12px 14px;font-size:17px;background:#fff;margin-bottom:18px;-webkit-appearance:none}
.package-list{display:grid;gap:12px;margin-bottom:18px}.package-card{border:1.5px solid var(--border);border-radius:18px;padding:16px;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:14px;text-align:left;cursor:pointer;width:100%;-webkit-appearance:none}.package-card:active{transform:scale(.995)}.package-title{font-weight:900;font-size:17px;margin-bottom:4px}.package-desc{font-size:13px;color:var(--muted);line-height:1.45}.level{flex:0 0 auto;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900;background:#f3f4f6;color:#374151}
.info-box{background:#f8fafc;border:1px solid var(--border);border-radius:15px;padding:14px;line-height:1.55;font-size:14px}
.btn{width:100%;min-height:54px;border:0;border-radius:15px;padding:14px 18px;font-weight:900;font-size:16px;cursor:pointer;-webkit-appearance:none}.btn:active{transform:scale(.99)}.primary{background:var(--p);color:#fff;box-shadow:0 10px 24px rgba(37,99,235,.18)}.secondary{background:#eef2f7;color:#111827}.ghost{background:#fff;color:#374151;border:1px solid var(--border)}.spaced{margin-top:10px}
.quiz-top{display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--muted);font-size:14px;font-weight:900;margin-bottom:10px}.progress{height:10px;border-radius:999px;overflow:hidden;background:#eef2f7;margin-bottom:16px}.progress>div{height:100%;width:0;background:linear-gradient(90deg,var(--p),var(--p2));transition:width .25s}
.q-image{display:block;width:100%;max-height:330px;object-fit:contain;background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:8px;margin-bottom:16px}.question{font-size:22px;line-height:1.45;margin:0 0 18px}
.answers{display:grid;gap:12px}.answer{width:100%;min-height:64px;border:1.5px solid var(--border);border-radius:16px;background:#fff;color:var(--text);padding:13px 14px;display:flex;align-items:center;gap:12px;text-align:left;font-size:17px;cursor:pointer;-webkit-appearance:none}.answer:disabled{opacity:1}.letter{width:40px;height:40px;border-radius:11px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 auto}.answer.correct{background:var(--goodbg);border-color:#86efac}.answer.correct .letter{background:var(--good);color:#fff}.answer.wrong{background:var(--badbg);border-color:#fecaca}.answer.wrong .letter{background:var(--bad);color:#fff}
.feedback{margin-top:16px;padding:15px;border-radius:15px;line-height:1.55;font-size:15px}.feedback.good{background:var(--goodbg);color:#166534}.feedback.bad{background:var(--badbg);color:#991b1b}.answer-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-top:18px}
.result{text-align:center}.result-context{font-size:14px;font-weight:900;color:#0f766e;margin-top:6px}.score-ring{width:164px;height:164px;border-radius:50%;border:14px solid var(--p);background:#eff6ff;margin:22px auto 16px;display:flex;flex-direction:column;align-items:center;justify-content:center}.score-percent{font-size:38px;font-weight:900;line-height:1}.score-detail{font-size:13px;color:var(--muted);margin-top:6px}.result p{color:var(--muted);line-height:1.6}
.review-box{text-align:left;background:#f8fafc;border:1px solid var(--border);border-radius:16px;padding:16px;margin:18px 0;line-height:1.55;font-size:14px}.review-item{padding:12px 0;border-bottom:1px solid #e5e7eb}.review-item:last-child{border-bottom:0}.review-item strong{display:block;margin-bottom:4px}
footer{text-align:center;color:#9ca3af;font-size:12px;margin-top:16px}
@media(max-width:600px){.class-list{grid-template-columns:1fr}.class-card{min-height:180px}.card{padding:18px;border-radius:20px}h1{font-size:26px}.question{font-size:19px}.answer{font-size:16px;min-height:60px}.q-image{max-height:250px}.answer-actions{grid-template-columns:1fr}.package-card{align-items:flex-start;flex-direction:column}.quiz-top{align-items:flex-start}.quiz-top>div{display:flex;flex-wrap:wrap;gap:4px}}


/* Interactive focus layer */
.audio-controls{position:fixed;right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));z-index:1000;display:flex;gap:7px}
.audio-toggle{border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 7px 22px rgba(15,23,42,.12);border-radius:999px;min-height:38px;padding:7px 10px;display:flex;align-items:center;gap:5px;color:#334155;font-size:11px;font-weight:900;cursor:pointer}
.audio-toggle.off{opacity:.7;background:rgba(241,245,249,.94)}.audio-icon{font-size:15px}.audio-state{font-size:9px;padding:2px 5px;border-radius:999px;background:#dcfce7;color:#15803d}.audio-toggle.off .audio-state{background:#e5e7eb;color:#64748b}
.answer.correct{animation:correctPulse .42s ease}.answer.wrong{animation:softShake .34s ease}
@keyframes correctPulse{0%{transform:scale(1)}45%{transform:scale(1.018)}100%{transform:scale(1)}}
@keyframes softShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.streak-toast{position:fixed;left:50%;top:92px;transform:translateX(-50%);z-index:1100;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;border-radius:999px;padding:10px 16px;font-weight:900;box-shadow:0 12px 30px rgba(154,52,18,.15);animation:toastIn .25s ease}
@keyframes toastIn{from{opacity:0;transform:translate(-50%,-8px) scale(.96)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
.reward-stars{font-size:42px;letter-spacing:5px;margin-top:14px;line-height:1;color:#f59e0b;text-shadow:0 3px 10px rgba(245,158,11,.18)}
.confetti-layer{position:fixed;inset:0;pointer-events:none;z-index:1050;overflow:hidden}.confetti{position:absolute;top:-18px;width:9px;height:16px;border-radius:2px;animation:confettiFall var(--dur) linear forwards;transform:rotate(var(--rot))}
@keyframes confettiFall{0%{transform:translate3d(0,-10px,0) rotate(0);opacity:1}100%{transform:translate3d(var(--drift),105vh,0) rotate(720deg);opacity:0}}
@media(max-width:600px){.audio-controls{top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));gap:5px}.audio-toggle{padding:6px 8px}.audio-label{display:none}.brand{padding-top:42px}.streak-toast{top:66px}}
@media(prefers-reduced-motion:reduce){.answer.correct,.answer.wrong,.streak-toast,.confetti{animation:none!important}.progress>div{transition:none}}


/* Subject selection */
.subject-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
.subject-card{position:relative;text-align:left;border:1px solid #e2e8f0;background:#fff;border-radius:20px;padding:18px;min-height:148px;cursor:pointer;box-shadow:0 8px 24px rgba(15,23,42,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.subject-card:active{transform:scale(.985)}
.subject-card:hover{box-shadow:0 12px 28px rgba(15,23,42,.11);border-color:#cbd5e1}
.subject-icon{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:900;margin-bottom:12px;background:#eff6ff;color:#1d4ed8}
.subject-card.green .subject-icon{background:#ecfdf5;color:#15803d}
.subject-card.orange .subject-icon{background:#fff7ed;color:#c2410c}
.subject-name{font-size:20px;font-weight:900;color:#0f172a;margin-bottom:5px}
.subject-topic{font-size:13px;font-weight:800;color:#475569;margin-bottom:7px}
.subject-desc{font-size:12px;line-height:1.55;color:#64748b;padding-right:26px}
.subject-arrow{position:absolute;right:16px;bottom:14px;font-size:24px;font-weight:900;color:#94a3b8}
@media(max-width:650px){.subject-list{grid-template-columns:1fr}.subject-card{min-height:132px}}


/* === Hybrid account / dashboard additions === */
.sync-badge{position:fixed;top:78px;right:14px;z-index:20;background:#fff;border:1px solid #dbeafe;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900;color:#475569;box-shadow:0 6px 18px rgba(15,23,42,.08)}
.sync-badge.online{color:#15803d;border-color:#bbf7d0;background:#f0fdf4}.sync-badge.offline{color:#b45309;border-color:#fed7aa;background:#fff7ed}
.auth-card{text-align:center}.auth-card .lead{max-width:580px;margin-left:auto;margin-right:auto}
.google-btn{background:#fff;color:#1f2937;border:1px solid #d1d5db;box-shadow:0 4px 15px rgba(15,23,42,.08);margin-top:10px}.google-btn:hover{background:#f8fafc}
.auth-divider{display:flex;align-items:center;gap:12px;color:#94a3b8;font-size:12px;margin:18px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e2e8f0;flex:1}
.info-box.compact{margin-top:16px;text-align:left}
.profile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}
.profile-card{position:relative;text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:18px;cursor:pointer;box-shadow:0 8px 22px rgba(15,23,42,.06);min-height:132px}
.profile-card:hover{border-color:#93c5fd;box-shadow:0 11px 28px rgba(15,23,42,.1)}.profile-avatar{font-size:34px}.profile-name{font-weight:900;font-size:20px;color:#0f172a;margin-top:8px}.profile-meta{font-size:12px;color:#64748b;margin-top:3px}.profile-arrow{position:absolute;right:16px;bottom:14px;font-size:22px;color:#94a3b8;font-weight:900}
.profile-delete{position:absolute;right:12px;top:10px;border:0;background:#f8fafc;color:#94a3b8;border-radius:10px;padding:6px 8px;cursor:pointer}
.profile-form{margin-top:24px;border-top:1px solid #e2e8f0;padding-top:18px}.profile-form h3{margin:0 0 12px}.profile-form-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:10px;margin-bottom:10px}
.dashboard-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.compact-btn{width:auto;white-space:nowrap}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.stat-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px;text-align:center;display:flex;flex-direction:column;gap:5px}.stat-num{font-size:25px;font-weight:950;color:#0f172a}.stat-card span:last-child{font-size:11px;color:#64748b;font-weight:800}
.dashboard-section{margin-top:22px}.dashboard-section h3{margin:0 0 10px}.section-title-row{display:flex;align-items:center;justify-content:space-between}
.resume-card{border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#f8fafc);border-radius:20px;padding:16px}.resume-title{font-size:17px;font-weight:900;color:#0f172a}.resume-meta{font-size:12px;color:#64748b;margin:6px 0 12px}.mini-progress{height:8px;background:#dbeafe;border-radius:999px;overflow:hidden;margin:8px 0 12px}.mini-progress>div{height:100%;background:#2563eb;border-radius:999px}
.history-list{display:flex;flex-direction:column;gap:10px}.history-item{border:1px solid #e2e8f0;border-radius:16px;padding:13px 14px;display:flex;justify-content:space-between;gap:12px;align-items:center;background:#fff}.history-main{min-width:0}.history-title{font-size:13px;font-weight:900;color:#0f172a}.history-sub{font-size:11px;color:#64748b;margin-top:3px}.history-score{font-size:18px;font-weight:950;color:#2563eb;white-space:nowrap}.empty-state{padding:18px;text-align:center;color:#64748b;background:#f8fafc;border-radius:16px;border:1px dashed #cbd5e1}
.quiz-save-row{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.save-status{font-size:11px;color:#64748b;font-weight:800}
.package-resume{display:block;margin-top:5px;font-size:11px;font-weight:900;color:#2563eb}
@media(max-width:700px){.profile-list{grid-template-columns:1fr}.profile-form-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}.dashboard-head{display:block}.compact-btn{width:100%;margin-top:10px}}


/* ===== Learning Journey v4 ===== */
.loading-overlay{position:fixed;inset:0;z-index:999;background:rgba(248,250,252,.88);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:20px}
.loading-overlay.hidden{display:none}.loader-card{width:min(390px,92vw);background:#fff;border:1px solid #dbeafe;border-radius:26px;padding:26px;box-shadow:0 24px 70px rgba(15,23,42,.16);text-align:center}
.loader-buddy{font-size:55px;animation:loaderBob 1.2s ease-in-out infinite}.loader-title{font-size:20px;font-weight:950;margin-top:8px}.loader-text{font-size:12px;color:#64748b;margin:6px 0 15px}.loader-track{height:9px;border-radius:99px;background:#e2e8f0;overflow:hidden}.loader-track>div{height:100%;width:12%;background:linear-gradient(90deg,#2563eb,#7c3aed);border-radius:99px;transition:width .25s ease}
@keyframes loaderBob{50%{transform:translateY(-7px) rotate(-3deg)}}
.admin-entry{margin-top:18px;border-top:1px solid #e2e8f0;padding-top:16px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;color:#94a3b8;font-size:11px}.parent-entry{opacity:.9}
.parent-profile-list{display:flex;flex-direction:column;gap:12px;margin:20px 0}.parent-row{border:1px solid #e2e8f0;border-radius:18px;padding:14px;background:#fff}.parent-row-top{display:flex;gap:12px;align-items:center}.parent-row-avatar{font-size:32px}.parent-row-main{flex:1;min-width:0}.parent-row-name{font-weight:950}.parent-row-meta{font-size:11px;color:#64748b;margin-top:3px}.parent-row-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.danger-mini{border:1px solid #fecaca;background:#fff7f7;color:#b91c1c}.parent-create{margin-top:22px;border-top:1px solid #e2e8f0;padding-top:18px}.parent-actions{margin-top:24px;border-top:1px solid #e2e8f0;padding-top:18px}
.modal-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;padding:20px}.modal-backdrop.hidden{display:none}.modal-card{width:min(430px,94vw);background:#fff;border-radius:26px;padding:25px;box-shadow:0 30px 90px rgba(0,0,0,.25);text-align:center}.gate-icon{font-size:44px}.math-question{font-size:30px;font-weight:950;letter-spacing:.4px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:18px;margin:16px 0}.gate-answer{text-align:center;font-size:20px}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.dashboard-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.buddy-card{min-width:190px;background:linear-gradient(135deg,#eef2ff,#faf5ff);border:1px solid #ddd6fe;border-radius:22px;padding:15px;text-align:center}.buddy-emoji{font-size:48px}.buddy-name{font-weight:950}.buddy-level{font-size:11px;color:#6d28d9;font-weight:900}.buddy-xp{height:7px;background:#ddd6fe;border-radius:99px;overflow:hidden;margin-top:8px}.buddy-xp>div{height:100%;background:#7c3aed;border-radius:99px}
.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.action-card{appearance:none;border:1px solid #e2e8f0;background:#fff;border-radius:20px;padding:16px;text-align:left;cursor:pointer;box-shadow:0 7px 20px rgba(15,23,42,.05);min-height:125px}.action-card:hover{transform:translateY(-1px);border-color:#bfdbfe}.action-card span{font-size:28px;display:block;margin-bottom:9px}.action-card strong{display:block;font-size:14px;color:#0f172a}.action-card small{display:block;color:#64748b;font-size:10.5px;margin-top:4px;line-height:1.4}.action-card.smart{background:linear-gradient(135deg,#f5f3ff,#eff6ff);border-color:#c4b5fd}
.insight-box{border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#f8fafc);border-radius:20px;padding:17px;margin:18px 0;line-height:1.55}.skill-list{display:flex;flex-direction:column;gap:10px}.skill-row{border:1px solid #e2e8f0;border-radius:17px;padding:13px 14px;background:#fff}.skill-head{display:flex;justify-content:space-between;gap:12px;font-weight:900}.skill-meta{font-size:11px;color:#64748b;margin-top:4px}.skill-track{height:8px;background:#e2e8f0;border-radius:99px;overflow:hidden;margin-top:10px}.skill-track>div{height:100%;border-radius:99px;background:linear-gradient(90deg,#2563eb,#22c55e)}
.learning-map-list{display:flex;flex-direction:column;gap:18px}.map-subject{border:1px solid #e2e8f0;border-radius:22px;padding:17px;background:#fff}.map-subject-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.map-subject-title{font-weight:950;font-size:16px}.map-subject-desc{font-size:11px;color:#64748b;margin-top:3px}.map-nodes{display:flex;align-items:center;gap:7px;margin-top:16px;overflow-x:auto;padding-bottom:5px}.map-node{min-width:58px;height:58px;border-radius:50%;border:2px solid #dbeafe;background:#eff6ff;color:#1d4ed8;font-weight:950;cursor:pointer}.map-node.done{border-color:#86efac;background:#f0fdf4;color:#15803d}.map-link{height:3px;min-width:18px;background:#dbeafe;border-radius:99px}
.buddy-picker{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.buddy-pick{font-size:25px;border:1px solid #e2e8f0;background:#fff;border-radius:13px;padding:7px 10px;cursor:pointer}.buddy-pick.active{border-color:#8b5cf6;background:#f5f3ff}
.profile-card .profile-delete{display:none!important}
@media(max-width:850px){.quick-actions{grid-template-columns:repeat(2,1fr)}.dashboard-hero{flex-direction:column}.buddy-card{width:100%}}
@media(max-width:520px){.quick-actions{grid-template-columns:1fr 1fr}.action-card{min-height:118px;padding:14px}.modal-actions{grid-template-columns:1fr}.map-node{min-width:52px;height:52px}.audio-controls{transform:scale(.9);transform-origin:top right}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* =========================================================
   UI/UX REFINEMENT v5 — coherent child-first design system
   ========================================================= */
:root{
  --surface:#ffffff;--surface-soft:#f8fafc;--ink:#172033;--ink-2:#334155;
  --muted-2:#64748b;--line:#e2e8f0;--radius-lg:28px;--radius-md:20px;
  --shadow-soft:0 18px 55px rgba(30,64,175,.08);
  --shadow-hover:0 24px 60px rgba(30,64,175,.14);
}
html{scroll-behavior:smooth}
body{color:var(--ink);background:
  radial-gradient(circle at 8% 0%,rgba(96,165,250,.15),transparent 27%),
  radial-gradient(circle at 96% 12%,rgba(167,139,250,.12),transparent 26%),
  linear-gradient(180deg,#f4f8ff 0%,#f8fafc 48%,#ffffff 100%)}
.app{max-width:980px}
.brand{margin:8px 0 22px}.brand-mark{width:54px;height:54px;border-radius:18px;font-size:26px;background:linear-gradient(145deg,#2563eb,#4f46e5)}
.brand-title{font-size:21px;letter-spacing:-.02em}.brand-subtitle{font-size:12.5px;color:#64748b}
.card{border-color:rgba(203,213,225,.85);border-radius:30px;padding:clamp(22px,3vw,36px);box-shadow:var(--shadow-soft)}
h1{font-size:clamp(30px,4vw,43px);letter-spacing:-.045em;margin:13px 0 10px}
.lead{font-size:clamp(15px,1.8vw,18px);line-height:1.6;color:#687386}
.screen-nav{margin-bottom:26px}.mini-btn{min-height:44px;border:1px solid transparent;border-radius:14px;padding:10px 14px;background:#f1f5f9;color:#334155}
.mini-btn:hover{background:#e8eef5}.mini-btn:focus-visible,.btn:focus-visible,.action-card:focus-visible,.class-choice:focus-visible,.subject-choice:focus-visible,.package-choice:focus-visible,.answer:focus-visible,.profile-card:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:3px}
.selected-chip{background:#f1f5f9;padding:9px 13px;color:#475569}
.pill{padding:8px 13px;background:#dbeafe;color:#1d4ed8}

/* Profile choice */
.profile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profile-card{appearance:none;-webkit-appearance:none;border:1.5px solid #e2e8f0;background:linear-gradient(145deg,#fff,#f8fbff);border-radius:22px;padding:18px;text-align:left;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;column-gap:14px;align-items:center;min-height:100px;cursor:pointer;box-shadow:0 9px 25px rgba(15,23,42,.045)}
.profile-card:hover{transform:translateY(-2px);border-color:#bfdbfe;box-shadow:0 16px 36px rgba(37,99,235,.10)}
.profile-avatar{grid-row:1/3;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#eff6ff;font-size:31px}
.profile-name{font-size:18px;font-weight:950;align-self:end}.profile-meta{font-size:11.5px;color:#64748b;align-self:start;margin-top:3px}.profile-arrow{grid-column:3;grid-row:1/3;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#2563eb;color:#fff;font-weight:900}
.admin-entry{justify-content:flex-start;margin-top:24px}.parent-entry{background:#fff;border:1px solid #dbe2ea}

/* Dashboard */
#dashboardScreen{position:relative;overflow:hidden}
#dashboardScreen:before{content:"";position:absolute;width:330px;height:330px;border-radius:50%;background:rgba(219,234,254,.55);right:-155px;top:-185px;pointer-events:none}
.dashboard-hero{position:relative;align-items:stretch;padding:4px 0 2px}.dashboard-hero>div:first-child{flex:1}
.buddy-card{min-width:210px;border:1px solid #ddd6fe;background:linear-gradient(145deg,#f5f3ff,#eef2ff);border-radius:24px;padding:18px;display:flex;flex-direction:column;justify-content:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.buddy-emoji{font-size:58px}.buddy-name{font-size:14px}.buddy-level{font-size:11.5px}
.quick-actions{grid-template-columns:repeat(4,1fr);gap:12px;margin:25px 0 22px}
.action-card{border:1px solid #e2e8f0;border-radius:22px;padding:17px;background:linear-gradient(145deg,#fff,#fbfdff);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.action-card:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(15,23,42,.08);border-color:#cbd5e1}
.action-card.smart{background:linear-gradient(145deg,#f5f3ff,#eff6ff);border-color:#d8ccff}.action-card.journey{background:linear-gradient(145deg,#eff6ff,#ecfeff);border-color:#bfdbfe}
.action-card span{font-size:31px}.action-card strong{font-size:14.5px}.action-card small{font-size:11px}
.stat-grid{gap:10px}.stat-card{background:#f8fafc;border-color:#edf2f7;border-radius:18px;padding:14px}.stat-num{font-size:22px}
.dashboard-section{margin-top:24px}.dashboard-section h3{font-size:16px}
.resume-card{border:1px solid #bfdbfe!important;background:linear-gradient(145deg,#eff6ff,#fff)!important;border-radius:21px!important}
.history-item{border-radius:16px!important;background:#fcfdff!important}
.history-score{min-width:58px;text-align:center;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:8px 10px}

/* CLASS SELECTION — custom app cards, never browser-default buttons */
.class-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}
.class-choice{
  position:relative;appearance:none;-webkit-appearance:none;width:100%;border:1.5px solid #dbe4ef;
  border-radius:26px;padding:22px;text-align:left;background:#fff;color:var(--ink);cursor:pointer;overflow:hidden;
  box-shadow:0 12px 32px rgba(15,23,42,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.class-choice:before{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-78px;top:-86px;opacity:.58}
.class-choice.blue{background:linear-gradient(145deg,#f6faff,#fff)}.class-choice.blue:before{background:#dbeafe}
.class-choice.purple{background:linear-gradient(145deg,#faf7ff,#fff)}.class-choice.purple:before{background:#ede9fe}
.class-choice:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover);border-color:#bfdbfe}
.class-choice:active{transform:scale(.99)}
.class-card-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.class-emoji{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;font-size:34px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.07)}
.class-tag{font-size:10.5px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;background:rgba(255,255,255,.82);border:1px solid rgba(203,213,225,.75);border-radius:999px;padding:7px 9px;color:#64748b}
.class-choice-title{position:relative;font-size:29px;font-weight:950;letter-spacing:-.04em}
.class-choice-sub{position:relative;font-size:13px;font-weight:900;color:#2563eb;margin-top:2px}
.class-choice.purple .class-choice-sub{color:#7c3aed}
.class-choice-desc{position:relative;color:#64748b;line-height:1.5;font-size:13px;margin-top:9px;min-height:39px}
.class-meta-row{position:relative;display:flex;gap:12px;flex-wrap:wrap;margin:17px 0 15px;font-size:11px;font-weight:800;color:#475569}
.class-progress-head{display:flex;justify-content:space-between;gap:8px;color:#64748b;font-size:10.5px;margin-bottom:7px}
.class-progress-head strong{color:#334155}.class-progress{height:7px;border-radius:99px;background:#e8eef5;overflow:hidden}
.class-progress>div{height:100%;border-radius:99px;background:linear-gradient(90deg,#2563eb,#38bdf8)}
.class-choice.purple .class-progress>div{background:linear-gradient(90deg,#7c3aed,#a78bfa)}
.class-cta{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-size:13px;font-weight:950;color:#1d4ed8}
.class-choice.purple .class-cta{color:#6d28d9}.class-cta span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 4px 12px rgba(15,23,42,.06)}

/* SUBJECT CARDS */
.subject-list{display:grid;gap:13px;margin-top:22px}
.subject-choice{
  appearance:none;-webkit-appearance:none;width:100%;border:1.5px solid #e2e8f0;border-radius:22px;background:#fff;color:var(--ink);
  padding:16px;display:grid;grid-template-columns:auto 1fr auto;gap:15px;align-items:center;text-align:left;cursor:pointer;
  box-shadow:0 8px 24px rgba(15,23,42,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.subject-choice:hover{transform:translateY(-2px);box-shadow:0 15px 32px rgba(15,23,42,.075)}
.subject-choice.blue:hover{border-color:#93c5fd}.subject-choice.green:hover{border-color:#86efac}.subject-choice.violet:hover{border-color:#c4b5fd}
.subject-icon-wrap{width:64px;height:64px;border-radius:19px;display:grid;place-items:center;font-size:32px;background:#eff6ff}
.subject-choice.green .subject-icon-wrap{background:#ecfdf5}.subject-choice.violet .subject-icon-wrap{background:#f5f3ff}
.subject-content{min-width:0}.subject-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:950;color:#64748b;margin-bottom:3px}
.subject-title{font-size:18px;font-weight:950;letter-spacing:-.02em}.subject-topic{font-size:12px;font-weight:800;color:#2563eb;margin-top:3px}
.subject-choice.green .subject-topic{color:#15803d}.subject-choice.violet .subject-topic{color:#7c3aed}
.subject-desc{font-size:12.5px;color:#64748b;line-height:1.45;margin-top:5px}
.subject-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.subject-meta span{font-size:10.5px;font-weight:850;background:#f8fafc;border:1px solid #edf2f7;border-radius:999px;padding:5px 8px;color:#475569}
.subject-arrow{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f1f5f9;color:#334155;font-weight:950;font-size:18px}
.smart-subject{background:linear-gradient(145deg,#fff,#fbfbff)}

/* PACKAGE / PROGRESSION CARDS */
.package-list{display:grid;gap:13px;margin:22px 0 20px}
.package-choice{
  appearance:none;-webkit-appearance:none;width:100%;border:1.5px solid #e2e8f0;border-radius:21px;background:#fff;color:var(--ink);
  padding:15px;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;text-align:left;cursor:pointer;
  box-shadow:0 7px 23px rgba(15,23,42,.035);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.package-choice:hover{transform:translateY(-2px);border-color:#bfdbfe;box-shadow:0 14px 30px rgba(37,99,235,.075)}
.package-choice.done{background:linear-gradient(145deg,#f7fff9,#fff);border-color:#bbf7d0}.package-choice.active{background:linear-gradient(145deg,#f5f9ff,#fff);border-color:#bfdbfe}
.package-step{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:#eff6ff;color:#1d4ed8;font-size:18px;font-weight:950}
.package-choice.done .package-step{background:#dcfce7;color:#15803d}.package-choice.active .package-step{background:#dbeafe}
.package-main{min-width:0}.package-topline{display:flex;justify-content:space-between;gap:10px;align-items:center}.package-title{font-size:16px}.package-desc{font-size:12px;margin-top:4px}
.package-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:9px;font-size:10.5px;color:#64748b;font-weight:800}
.package-status{border-radius:999px;padding:4px 7px;background:#f1f5f9}.package-status.done{background:#dcfce7;color:#166534}.package-status.active{background:#dbeafe;color:#1d4ed8}
.package-progress{height:6px;border-radius:99px;background:#edf2f7;overflow:hidden;margin-top:10px}.package-progress>div{height:100%;background:linear-gradient(90deg,#2563eb,#60a5fa);border-radius:99px}.package-choice.done .package-progress>div{background:linear-gradient(90deg,#16a34a,#4ade80)}
.package-go{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f8fafc;border:1px solid #e2e8f0;font-weight:950}
.level{font-size:9.5px;padding:5px 8px}

/* Quiz screen */
#quizScreen{max-width:850px;margin-inline:auto}.quiz-top{margin-bottom:12px}.progress{height:11px;margin-bottom:20px}
.question{font-size:clamp(22px,3vw,28px);line-height:1.42;letter-spacing:-.015em;margin-bottom:21px}
.answers{gap:11px}.answer{min-height:70px;border-radius:18px;font-size:clamp(16px,2vw,18px);padding:14px 15px;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.answer:not(:disabled):hover{border-color:#93c5fd;background:#f8fbff;transform:translateX(2px)}.letter{width:42px;height:42px;border-radius:13px}
.answer-actions{margin-top:20px}.feedback{border-radius:17px}.quiz-save-row{display:flex;justify-content:space-between;align-items:center;gap:12px}

/* Learning map */
.learning-map-list{gap:15px}.map-subject{border-radius:24px;padding:19px;box-shadow:0 8px 24px rgba(15,23,42,.035)}
.map-nodes{gap:9px;padding:13px 4px 7px}.map-node{min-width:62px;width:62px;height:62px;border-width:2px;box-shadow:0 6px 16px rgba(37,99,235,.08);transition:transform .18s ease}
.map-node:hover{transform:translateY(-3px)}.map-node.done{box-shadow:0 6px 16px rgba(22,163,74,.08)}.map-link{min-width:28px}

/* Parent/Admin Area: intentionally calmer, less playful */
body[data-mode="parent"]{background:linear-gradient(180deg,#f8fafc,#f1f5f9)}
body[data-mode="parent"] .brand-mark{background:#334155;box-shadow:none}
#parentScreen{border-color:#cbd5e1;box-shadow:0 18px 50px rgba(15,23,42,.07)}
#parentScreen .pill{background:#e2e8f0;color:#334155}
.parent-row{border-radius:18px;box-shadow:none;background:#fbfdff}.parent-create{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:18px;margin-top:20px}
.parent-create h3{margin-top:0}.danger-mini{background:#fff;color:#b91c1c}
.name-input{border-color:#cbd5e1}.name-input:focus{outline:none;border-color:#64748b;box-shadow:0 0 0 3px rgba(100,116,139,.13)}

/* Floating controls: less intrusive */
.audio-controls{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));gap:6px}
.audio-toggle{min-height:40px;border-radius:13px;padding:8px 10px;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);box-shadow:0 5px 18px rgba(15,23,42,.08);border:1px solid rgba(226,232,240,.9)}
.sync-badge{border-radius:999px;box-shadow:0 4px 14px rgba(15,23,42,.08)}
footer{font-size:11.5px;color:#94a3b8;margin:18px 0 4px}

/* Motion / touch */
.class-choice,.subject-choice,.package-choice,.action-card,.profile-card,.answer,.btn,.mini-btn{touch-action:manipulation}
@media(hover:none){.class-choice:hover,.subject-choice:hover,.package-choice:hover,.action-card:hover,.profile-card:hover,.answer:not(:disabled):hover{transform:none;box-shadow:inherit}}
@media(max-width:760px){
  .app{max-width:680px}.card{border-radius:25px;padding:22px}.brand{padding-right:90px}
  .quick-actions{grid-template-columns:1fr 1fr}.class-list{grid-template-columns:1fr}.profile-list{grid-template-columns:1fr}
  .class-choice-desc{min-height:auto}.dashboard-hero{flex-direction:column}.buddy-card{width:100%;min-width:0}
}
@media(max-width:520px){
  body{padding-left:10px;padding-right:10px}.brand{margin-top:3px;padding-right:76px}.brand-mark{width:46px;height:46px;border-radius:15px}.brand-title{font-size:18px}.brand-subtitle{font-size:10.5px}
  .card{padding:18px;border-radius:23px}h1{font-size:29px}.lead{font-size:14.5px}
  .screen-nav{margin-bottom:20px}.mini-btn{min-height:42px;padding:9px 11px;font-size:12px}.selected-chip{font-size:10.5px}
  .quick-actions{grid-template-columns:1fr 1fr;gap:9px}.action-card{min-height:120px;padding:14px;border-radius:19px}.action-card span{font-size:27px}
  .stat-grid{grid-template-columns:repeat(2,1fr)!important}.stat-card{padding:13px}
  .class-choice{padding:18px;border-radius:22px}.class-emoji{width:55px;height:55px;font-size:30px}.class-choice-title{font-size:25px}
  .subject-choice{grid-template-columns:auto 1fr auto;gap:11px;padding:13px}.subject-icon-wrap{width:53px;height:53px;font-size:27px}.subject-title{font-size:16px}.subject-desc{font-size:11.5px}.subject-meta{gap:5px}
  .package-choice{grid-template-columns:auto 1fr;gap:11px;padding:13px}.package-step{width:42px;height:42px;border-radius:14px}.package-go{display:none}.package-topline{align-items:flex-start}.level{flex:0 0 auto}
  .question{font-size:22px}.answer{min-height:66px;font-size:16px}.answer-actions{grid-template-columns:1fr}.q-image{max-height:260px}
  .audio-controls{transform:none}.audio-toggle{width:42px;height:42px;min-height:42px;padding:0;display:grid;place-items:center}.audio-toggle>span:not(.audio-icon){display:none}.audio-icon{font-size:18px}
  .sync-badge{top:62px;right:12px;font-size:9px;padding:5px 8px}
  footer{padding:0 16px}
}
@media(max-width:380px){
  .quick-actions{grid-template-columns:1fr}.subject-choice{grid-template-columns:auto 1fr}.subject-arrow{display:none}.class-meta-row{gap:8px}
}


/* v6: polished child-first interface */
body:before,body:after{position:fixed;z-index:-1;pointer-events:none;font-weight:950;letter-spacing:.15em;color:rgba(59,130,246,.035);white-space:pre;line-height:2.8}
body:before{content:"A B C   1 2 3   ★\A   ✎     + −     ○";font-size:32px;left:4vw;top:22vh;transform:rotate(-8deg)}
body:after{content:"★   1 2 3\A  A B C   ✎";font-size:28px;right:4vw;bottom:10vh;transform:rotate(8deg);color:rgba(124,58,237,.03)}
.app{max-width:900px}.brand{max-width:820px;margin-inline:auto;margin-bottom:20px}.brand-mark{box-shadow:0 10px 24px rgba(37,99,235,.16)}
#profileScreen{max-width:820px;margin-inline:auto}.welcome-kicker{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:900;color:#2563eb;background:#eff6ff;border:1px solid #dbeafe;padding:8px 12px;border-radius:999px}
#profileScreen h1{font-size:clamp(28px,3.5vw,38px);line-height:1.08;margin-top:17px}.profile-question{font-size:.82em;color:#334155}#profileScreen .lead{margin-top:12px}
.profile-list{gap:18px;margin-top:25px}
.profile-card{min-height:245px;padding:22px;border-radius:26px;display:flex;flex-direction:column;align-items:flex-start;background:linear-gradient(155deg,#fff,#f8fbff);position:relative;overflow:hidden}
.profile-card:before{content:"";position:absolute;width:155px;height:155px;border-radius:50%;background:#e0ecff;right:-64px;top:-66px;opacity:.72}.profile-card:nth-child(even):before{background:#ede9fe}
.profile-avatar{position:relative;width:72px;height:72px;border-radius:23px;font-size:40px;background:rgba(255,255,255,.9);box-shadow:0 10px 26px rgba(37,99,235,.10);margin-bottom:17px}
.profile-name{position:relative;font-size:23px;font-weight:950;letter-spacing:-.025em}.profile-grade{position:relative;font-size:12px;font-weight:850;color:#64748b;margin-top:3px}
.profile-level{position:relative;margin-top:15px;font-size:11.5px;font-weight:900;color:#a16207;background:#fef9c3;border-radius:999px;padding:6px 9px}
.profile-cta{position:relative;margin-top:auto;width:100%;display:flex;align-items:center;justify-content:space-between;color:#1d4ed8;font-size:12.5px;font-weight:950;padding-top:18px}.profile-cta span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#2563eb;color:#fff;box-shadow:0 6px 16px rgba(37,99,235,.22)}
.profile-card:nth-child(even) .profile-cta{color:#6d28d9}.profile-card:nth-child(even) .profile-cta span{background:#7c3aed}
.admin-entry{border-top:1px solid #edf2f7;padding-top:18px;margin-top:25px;align-items:center}.admin-entry .mini-btn{background:#fff;border-color:#e2e8f0;color:#475569}.admin-entry span{font-size:10px;color:#94a3b8}
.audio-controls{position:fixed;z-index:40}.audio-menu-btn{appearance:none;-webkit-appearance:none;width:44px;height:44px;border-radius:15px;border:1px solid rgba(226,232,240,.9);background:rgba(255,255,255,.92);backdrop-filter:blur(12px);box-shadow:0 7px 22px rgba(15,23,42,.08);font-size:19px;cursor:pointer}
.audio-menu-btn:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:2px}.audio-popover{position:absolute;right:0;top:52px;width:210px;background:rgba(255,255,255,.98);border:1px solid #e2e8f0;border-radius:18px;padding:12px;box-shadow:0 18px 48px rgba(15,23,42,.14);backdrop-filter:blur(14px)}
.audio-pop-title{font-size:12px;font-weight:950;color:#334155;padding:3px 5px 9px}.audio-popover .audio-toggle{position:static;width:100%;height:auto;min-height:42px;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;text-align:left;border:0;background:#f8fafc;box-shadow:none;margin-top:5px;padding:9px 10px;border-radius:12px}.audio-popover .audio-toggle span{display:block!important;font-size:11.5px}.audio-popover .audio-toggle .audio-icon{font-size:16px}.audio-popover .audio-toggle span:last-child{font-size:9.5px;font-weight:900;color:#15803d;background:#dcfce7;padding:4px 6px;border-radius:999px}
.sync-badge.online{opacity:0;pointer-events:none}.sync-badge:not(.online){opacity:1}
body[data-mode="parent"]:before,body[data-mode="parent"]:after{display:none}
@media(max-width:620px){.profile-list{grid-template-columns:1fr 1fr;gap:11px}.profile-card{min-height:218px;padding:16px;border-radius:21px}.profile-avatar{width:60px;height:60px;border-radius:19px;font-size:34px;margin-bottom:13px}.profile-name{font-size:19px}.profile-grade{font-size:10.5px}.profile-level{font-size:10px;margin-top:11px}.profile-cta{font-size:11px;padding-top:13px}}
@media(max-width:390px){.profile-list{grid-template-columns:1fr}.profile-card{min-height:180px}}

/* v7 English + difficulty helper */
.difficulty-help{position:relative;display:flex;justify-content:flex-end;margin:2px 0 12px}.difficulty-info-btn{appearance:none;-webkit-appearance:none;border:1px solid #e2e8f0;background:#fff;color:#475569;border-radius:999px;padding:8px 11px;font-size:10.5px;font-weight:900;cursor:pointer}.difficulty-info-popover{position:absolute;right:0;top:40px;z-index:25;width:min(330px,88vw);background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:10px;box-shadow:0 18px 46px rgba(15,23,42,.13)}.difficulty-info-popover>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;padding:9px 8px}.difficulty-info-popover>div+div{border-top:1px solid #f1f5f9}.difficulty-info-popover>div>span{grid-row:1/3;font-size:18px}.difficulty-info-popover strong{font-size:11.5px;color:#334155}.difficulty-info-popover small{font-size:10px;color:#64748b}.difficulty-badge{white-space:nowrap}.difficulty-badge.lots{background:#ecfdf5!important;color:#047857!important}.difficulty-badge.mots{background:#eff6ff!important;color:#1d4ed8!important}.difficulty-badge.hots{background:#f5f3ff!important;color:#6d28d9!important}@media(max-width:520px){.difficulty-help{justify-content:flex-start}.difficulty-info-popover{left:0;right:auto}.difficulty-badge{font-size:8.5px!important;max-width:155px;overflow:hidden;text-overflow:ellipsis}}
