.e5w-app{max-width:520px;margin:24px auto 60px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#26334d}.e5w-app *{box-sizing:border-box}.e5w-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.e5w-logo{font-size:22px;font-weight:900}.e5w-mini-stats{display:flex;gap:8px}.e5w-mini-stats span{background:#fff;border:1px solid #e5e9f4;border-radius:13px;padding:8px 10px;font-size:13px}.e5w-screen{display:none}.e5w-screen.e5w-active{display:block}.e5w-hero{background:linear-gradient(135deg,#6157f5,#9a63f3);color:#fff;padding:24px;border-radius:26px;box-shadow:0 18px 42px rgba(97,87,245,.2)}.e5w-kicker{font-size:13px;opacity:.9}.e5w-hero h2{font-size:34px;margin:5px 0 7px}.e5w-hero p{margin:0 0 15px}.e5w-progress{height:11px;background:rgba(255,255,255,.28);border-radius:50px;overflow:hidden}.e5w-progress>div{height:100%;width:0;background:#fff;transition:.25s}.e5w-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.e5w-stat{background:#fff;border:1px solid #e5e9f4;border-radius:20px;padding:18px}.e5w-stat strong{display:block;font-size:28px}.e5w-stat span{color:#7d8aa3;font-size:12px}.e5w-full{width:100%;margin-top:10px}.e5w-primary,.e5w-secondary,.e5w-known,.e5w-answer,.e5w-icon-btn{border:0;cursor:pointer;font-weight:800}.e5w-primary{background:linear-gradient(135deg,#6157f5,#887ef8);color:#fff;border-radius:16px;padding:15px}.e5w-secondary{background:#e9faef;color:#157950;border-radius:16px;padding:15px}.e5w-note{margin-top:14px;background:#fff8df;border:1px solid #ffe4a0;padding:13px;border-radius:16px;font-size:13px;line-height:1.45;color:#705a1c}.e5w-screen-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;text-align:center;margin-bottom:12px}.e5w-icon-btn{width:44px;height:44px;border-radius:14px;background:#fff;border:1px solid #e5e9f4;font-size:18px}.e5w-card{background:#fff;border:1px solid #e5e9f4;border-radius:28px;padding:24px;text-align:center;box-shadow:0 18px 42px rgba(60,70,110,.08)}.e5w-visual{width:140px;height:140px;margin:0 auto 18px;border-radius:34px;background:linear-gradient(145deg,#f2efff,#eefbff);display:flex;align-items:center;justify-content:center;font-size:74px;overflow:hidden}.e5w-visual img{width:100%;height:100%;object-fit:cover}.e5w-word{font-size:38px;font-weight:950;margin-bottom:4px}.e5w-phonetic{color:#7d8aa3}.e5w-meaning{font-size:20px;font-weight:850;color:#6157f5;margin:9px 0}.e5w-example{background:#f6f7fc;border-radius:15px;padding:13px;margin:18px 0;font-size:14px;line-height:1.5}.e5w-actions{display:grid;gap:9px;margin-top:16px}.e5w-known{background:#e6faef;color:#14784f;border-radius:16px;padding:15px}.e5w-speak{background:#edf0ff;color:#6157f5;border:0;border-radius:50px;padding:10px 16px;font-weight:850;cursor:pointer}.e5w-review-card{background:#fff;border:1px solid #e5e9f4;border-radius:26px;padding:22px;text-align:center}.e5w-review-word{font-size:34px;font-weight:950}.e5w-answers{display:grid;gap:9px;margin-top:14px}.e5w-answer{padding:15px;border-radius:15px;background:#fff;border:2px solid #e5e9f4;text-align:left}.e5w-answer.e5w-correct{background:#e7fbf0;border-color:#25b979}.e5w-answer.e5w-wrong{background:#fff0f1;border-color:#ff5e6c}.e5w-feedback{margin-top:12px;padding:12px;border-radius:14px;font-weight:850}.e5w-feedback.ok{background:#e7fbf0;color:#14784f}.e5w-feedback.no{background:#fff0f1;color:#c74451}.e5w-empty{background:#fff;border:1px solid #e5e9f4;border-radius:26px;padding:30px;text-align:center}.e5w-empty .emoji{font-size:58px}.e5w-login-required{max-width:520px;margin:24px auto;background:#fff;border:1px solid #e5e9f4;padding:22px;border-radius:20px;text-align:center}.e5w-login-btn{display:inline-block;background:#6157f5;color:#fff!important;text-decoration:none;padding:11px 18px;border-radius:13px}@media(max-width:560px){.e5w-app{margin:12px 10px 40px}.e5w-word{font-size:32px}.e5w-visual{width:120px;height:120px;font-size:64px}}
.e5w-login-screen{max-width:460px;margin:40px auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.e5w-login-box{background:#fff;border:1px solid #e5e9f4;border-radius:28px;padding:28px;box-shadow:0 18px 42px rgba(60,70,110,.09)}
.e5w-login-logo{text-align:center;font-size:64px}
.e5w-login-box h2{text-align:center;margin:4px 0 8px;font-size:30px;color:#26334d}
.e5w-login-box>p{text-align:center;color:#7d8aa3;margin-bottom:22px}
.e5w-login-box label{display:block;margin:13px 0}
.e5w-login-box label>span{display:block;font-size:13px;font-weight:800;margin-bottom:6px;color:#26334d}
.e5w-login-box input[type=text],.e5w-login-box input[type=password]{width:100%;padding:14px;border:1px solid #dfe4ef;border-radius:14px;font-size:16px;outline:none}
.e5w-login-box input:focus{border-color:#6157f5;box-shadow:0 0 0 3px rgba(97,87,245,.1)}
.e5w-login-box .e5w-remember{display:flex;gap:8px;align-items:center}
.e5w-login-box .e5w-remember span{margin:0;font-weight:600}
.e5w-login-error{background:#fff0f1;color:#b73e4b;border:1px solid #ffcbd0;padding:10px 12px;border-radius:12px;margin-bottom:12px}
.e5w-student-name{font-size:12px;color:#7d8aa3;margin-top:2px}
.e5w-logout{display:inline-flex;align-items:center;background:#f1f3f8;color:#566176!important;text-decoration:none!important;border-radius:13px;padding:8px 10px;font-size:12px;font-weight:800}

/* v1.2.0 - "Con biết rồi" knowledge challenge */
.e5w-challenge-badge{display:inline-block;background:#fff4c7;color:#8a6400;border:1px solid #ffe08a;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900;letter-spacing:.4px;margin-bottom:12px}
.e5w-challenge-progress{height:8px;background:#eceff6;border-radius:999px;overflow:hidden;margin:2px 0 20px}.e5w-challenge-progress span{display:block;height:100%;background:linear-gradient(90deg,#6157f5,#9a63f3);border-radius:999px;transition:.25s}
.e5w-challenge-title{font-size:19px;margin:0 0 14px;color:#26334d}.e5w-challenge-prompt{font-size:20px;font-weight:900;line-height:1.4;margin:15px 0;color:#26334d}
.e5w-challenge-options{display:grid;gap:10px;margin-top:16px}.e5w-challenge-option{width:100%;border:2px solid #e5e9f4;background:#fff;color:#26334d;border-radius:16px;padding:14px 15px;font-size:16px;font-weight:800;cursor:pointer;transition:.15s}.e5w-challenge-option:hover{border-color:#aaa4ff;transform:translateY(-1px)}.e5w-challenge-option:disabled{cursor:default;transform:none}.e5w-challenge-option.e5w-correct{background:#e7fbf0;border-color:#25b979;color:#14784f}.e5w-challenge-option.e5w-wrong{background:#fff0f1;border-color:#ff5e6c;color:#b73e4b}
.e5w-challenge-feedback{margin-top:13px;padding:11px;border-radius:13px;font-weight:900}.e5w-challenge-feedback.ok{background:#e7fbf0;color:#14784f}.e5w-challenge-feedback.no{background:#fff0f1;color:#b73e4b}
.e5w-challenge-cancel{border:0;background:transparent;color:#7d8aa3;font-weight:800;cursor:pointer;margin-top:17px;padding:8px}.e5w-listen-orb{width:124px;height:124px;margin:6px auto 14px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:56px;background:linear-gradient(145deg,#efeefe,#eafaff);box-shadow:inset 0 0 0 1px #e2e6f5}.e5w-challenge-listen{margin-bottom:4px}.e5w-challenge-result-icon{font-size:78px;margin-bottom:8px}.e5w-challenge-saving{margin-top:14px;color:#7d8aa3;font-size:13px;font-weight:700}


/* v1.3.0 - learning games + daily reading + final recap */
.e5w-summary-icon{font-size:64px;margin-bottom:4px}
.e5w-story-title{font-size:26px;margin:5px 0 14px;color:#26334d}
.e5w-vocab-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:12px 0 18px}
.e5w-vocab-chip{display:inline-flex;flex-direction:column;gap:1px;background:#f1efff;border:1px solid #ddd9ff;border-radius:14px;padding:8px 11px;color:#4d46bb}
.e5w-vocab-chip strong{font-size:14px}.e5w-vocab-chip small{font-size:10px;color:#7d78b8}
.e5w-story-box{text-align:left;background:#f7f8fc;border:1px solid #e5e9f4;border-radius:20px;padding:18px;margin:8px 0 14px}
.e5w-story-en{font-size:17px;line-height:1.75;color:#26334d;margin:0 0 13px;font-weight:650}
.e5w-story-vi{font-size:13px;line-height:1.65;color:#6d7890;margin:14px 0 0;border-top:1px dashed #d8ddea;padding-top:13px}
.e5w-story-box .e5w-speak{display:block;margin:0 auto}
@media(max-width:560px){.e5w-story-en{font-size:16px}.e5w-vocab-chip{padding:7px 9px}}


/* v1.4.0 - unlocked day picker */
.e5w-day-button{border:1px solid #e5e9f4;background:#fff;color:#26334d;border-radius:13px;padding:8px 10px;font-size:13px;font-weight:800;cursor:pointer}
.e5w-day-button:hover{border-color:#b9b4ff;background:#f8f7ff}
.e5w-day-picker{position:fixed;inset:0;z-index:99999;display:none;align-items:flex-end;justify-content:center}
.e5w-day-picker.e5w-open{display:flex}
.e5w-day-picker-backdrop{position:absolute;inset:0;background:rgba(25,31,48,.48);backdrop-filter:blur(3px)}
.e5w-day-picker-panel{position:relative;width:min(620px,100%);max-height:82vh;overflow:auto;background:#fff;border-radius:28px 28px 0 0;padding:22px;box-shadow:0 -18px 50px rgba(31,38,65,.22)}
.e5w-day-picker-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}.e5w-day-picker-head>div{display:flex;flex-direction:column;gap:4px}.e5w-day-picker-head strong{font-size:22px}.e5w-day-picker-head small{color:#7d8aa3}
.e5w-day-picker-note{background:#f6f7fc;border:1px solid #e5e9f4;border-radius:15px;padding:11px 13px;color:#657189;font-size:13px;line-height:1.45;margin-bottom:14px}
.e5w-day-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.e5w-day-cell{min-height:70px;border:2px solid #e5e9f4;background:#fff;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#26334d;cursor:pointer}.e5w-day-cell span{font-size:15px}.e5w-day-cell strong{font-size:12px}.e5w-day-cell:hover:not(:disabled){border-color:#9b94ff;transform:translateY(-1px)}.e5w-day-cell.e5w-day-selected{border-color:#6157f5;background:#f0eeff;box-shadow:0 0 0 3px rgba(97,87,245,.08)}.e5w-day-cell.e5w-day-completed{background:#edfbf3;border-color:#bdebd1;color:#14784f}.e5w-day-cell.e5w-day-frontier:not(.e5w-day-completed){background:#fff7dc;border-color:#ffe08a}.e5w-day-cell.e5w-day-locked{background:#f4f5f8;color:#a6adbb;border-color:#eaecf1;cursor:not-allowed;opacity:.75}.e5w-day-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px;color:#7d8aa3;font-size:12px}
@media(max-width:560px){.e5w-day-grid{grid-template-columns:repeat(4,1fr)}.e5w-day-picker-panel{max-height:88vh;padding:18px 14px}.e5w-mini-stats{gap:5px}.e5w-day-button,.e5w-mini-stats span,.e5w-logout{padding:7px 8px;font-size:11px}}

.e5w-old-word-list{display:grid;gap:9px;margin:18px 0}.e5w-old-word-row{display:grid;grid-template-columns:34px 1fr 42px;gap:10px;align-items:center;text-align:left;background:#f7f8fc;border:1px solid #e5e9f4;border-radius:16px;padding:10px}.e5w-old-word-number{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#ece9ff;color:#554cc5;font-weight:900;font-size:12px}.e5w-old-word-main{display:flex;flex-direction:column;gap:2px}.e5w-old-word-main strong{font-size:16px;color:#26334d}.e5w-old-word-main span{font-size:13px;color:#6157f5;font-weight:750}.e5w-old-word-main small{font-size:11px;color:#7d8aa3}.e5w-old-word-speak{width:40px;height:40px;border:0;border-radius:13px;background:#edf0ff;cursor:pointer;font-size:17px}

.e5w-story-image{margin:14px 0 16px;border-radius:20px;overflow:hidden;background:#f4f5f9}.e5w-story-image img{display:block;width:100%;height:auto;max-height:280px;object-fit:cover}

.e5w-vocab-list{display:grid;gap:12px}
.e5w-vocab-item{display:grid;grid-template-columns:76px 1fr;gap:14px;align-items:center;background:#fff;border:1px solid #e5e9f4;border-radius:20px;padding:14px}
.e5w-vocab-thumb{width:76px;height:76px;border-radius:18px;background:#f4f2ff;display:flex;align-items:center;justify-content:center;font-size:34px;overflow:hidden}
.e5w-vocab-thumb img{width:100%;height:100%;object-fit:cover}
.e5w-vocab-word{font-size:21px;font-weight:900;color:#26334d}
.e5w-vocab-meaning{font-size:15px;font-weight:750;color:#6157f5;margin-top:2px}
.e5w-vocab-example{font-size:13px;color:#69758b;margin-top:5px;line-height:1.45}
.e5w-vocab-status{display:inline-block;margin-top:7px;padding:4px 8px;border-radius:999px;background:#eef1f7;color:#5e6879;font-size:11px;font-weight:800}
.e5w-vocab-status.known,.e5w-vocab-status.learned{background:#e9faef;color:#14784f}
.e5w-vocab-status.pending{background:#fff5d9;color:#906e00}
.e5w-day-button{cursor:pointer}
.e5w-current-review-note{margin:10px 0 0;padding:10px 12px;border-radius:14px;background:#eef6ff;color:#37618c;font-size:13px}
@media(max-width:560px){.e5w-vocab-item{grid-template-columns:62px 1fr}.e5w-vocab-thumb{width:62px;height:62px}}

.e5w-day-picker-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
.e5w-day-choice{border:1px solid #e3e6f0;background:#fff;border-radius:14px;padding:13px 8px;font-weight:850;cursor:pointer}
.e5w-day-choice.active{background:#6157f5;color:#fff;border-color:#6157f5}

.e5w-day-choice:hover{border-color:#6157f5}
.e5w-day-button{user-select:none}

.e5w-game-type-label{display:inline-block;margin:3px 0 10px;padding:5px 10px;border-radius:999px;background:#f2f0ff;color:#6157f5;font-size:12px;font-weight:850}
.e5w-game-input-wrap{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:15px}
.e5w-game-input{width:100%;border:2px solid #e1e5f0;border-radius:15px;padding:13px 14px;font-size:17px;outline:none}
.e5w-game-input:focus{border-color:#6157f5;box-shadow:0 0 0 3px rgba(97,87,245,.1)}
.e5w-letter-tiles{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:15px 0}
.e5w-letter-tile{min-width:45px;min-height:45px;border:2px solid #dfe4ef;background:#fff;border-radius:13px;font-size:18px;font-weight:900;cursor:pointer}
.e5w-letter-tile:disabled{opacity:.35;transform:scale(.95)}
.e5w-tile-answer{min-height:52px;background:#f6f7fc;border-radius:15px;padding:13px;font-size:24px;font-weight:900;letter-spacing:.04em}
.e5w-tile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.e5w-memory-word{font-size:36px;font-weight:950;margin-top:10px}
.e5w-memory-meaning{font-size:20px;color:#6157f5;font-weight:850;margin-top:4px}
.e5w-history-item{display:grid;grid-template-columns:82px 1fr;gap:13px;background:#fff;border:1px solid #e5e9f4;border-radius:18px;padding:14px;margin-bottom:10px}
.e5w-history-day{display:flex;align-items:center;justify-content:center;background:#f1efff;color:#6157f5;border-radius:14px;font-weight:950}
.e5w-history-info{display:grid;gap:3px}
.e5w-history-info span{color:#566176;font-size:13px}
.e5w-history-info small{color:#8a94a6;font-size:11px}
@media(max-width:560px){.e5w-game-input-wrap{grid-template-columns:1fr}.e5w-history-item{grid-template-columns:70px 1fr}}

.e5w-student-story-card{background:#fff;border:1px solid #e5e9f4;border-radius:24px;padding:20px;box-shadow:0 12px 32px rgba(60,70,110,.06)}
.e5w-story-reference{background:#f7f8fc;border:1px solid #e7eaf2;border-radius:16px;padding:14px;margin:16px 0;line-height:1.55}
.e5w-story-reference strong{display:block;margin-bottom:7px}
.e5w-story-reference p{margin:0 0 7px;color:#26334d}
.e5w-story-reference small{color:#758096}
.e5w-story-write-label{display:block;font-weight:900;margin:14px 0 7px}
.e5w-student-story-textarea{width:100%;min-height:220px;resize:vertical;border:2px solid #dfe4ef;border-radius:16px;padding:14px;font:inherit;line-height:1.55;outline:none;background:#fff}
.e5w-student-story-textarea:focus{border-color:#6157f5;box-shadow:0 0 0 3px rgba(97,87,245,.1)}
.e5w-story-write-footer{display:flex;justify-content:space-between;gap:10px;margin:7px 2px 12px;color:#7d8aa3;font-size:11px}
.e5w-story-save-feedback{margin-top:10px;padding:10px 12px;border-radius:12px;font-weight:800}
.e5w-story-save-feedback.ok{background:#e7fbf0;color:#14784f}
.e5w-story-save-feedback.no{background:#fff0f1;color:#c74451}

.e5w-story-toolbar{display:flex;justify-content:flex-end;align-items:center;margin:-2px 0 8px}
.e5w-story-translate-link{border:0;background:transparent;padding:2px 0;font-size:11px;line-height:1.2;color:#7b8496;text-decoration:underline;cursor:pointer}
.e5w-story-translate-link:hover{color:#6157f5}
.e5w-story-translation-panel{display:none;margin:8px 0 14px;padding:12px 14px;border-radius:14px;background:#f7f8fc;color:#596477;font-size:14px;line-height:1.6}
.e5w-story-translation-panel.is-open{display:block}
.e5w-story-word{display:inline;border-radius:5px;padding:0 1px;cursor:pointer;transition:background .15s ease,color .15s ease}
.e5w-story-word:hover,.e5w-story-word:focus{background:#fff1a8;outline:none}
.e5w-story-word.is-course-word{font-weight:800;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.e5w-story-popover{position:absolute;z-index:999999;background:#fff;border:1px solid #e0e4ee;border-radius:16px;padding:13px;box-shadow:0 12px 35px rgba(28,36,55,.18)}
.e5w-story-popover-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.e5w-story-popover-head strong{font-size:18px;color:#27334a}
.e5w-story-popover-close{border:0;background:#f1f3f7;border-radius:999px;width:28px;height:28px;cursor:pointer;font-size:18px}
.e5w-story-popover-meaning{margin:8px 0 10px;color:#596477;line-height:1.45}
.e5w-story-speak{border:0;border-radius:10px;background:#6157f5;color:#fff;padding:8px 11px;font-weight:800;cursor:pointer}

.e5w-top-user-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.e5w-top-history{border:0;background:transparent;color:#667085;font-size:12px;font-weight:800;padding:7px 9px;border-radius:9px;cursor:pointer}
.e5w-top-history:hover{background:#f2f4f7;color:#6157f5}
.e5w-stat-clickable{appearance:none;text-align:inherit;font:inherit;cursor:pointer}
.e5w-stat-clickable:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(28,36,55,.08)}
.e5w-word-stats-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:14px}
.e5w-mini-stat{background:#fff;border:1px solid #e5e9f4;border-radius:15px;padding:12px;text-align:center}
.e5w-mini-stat strong{display:block;font-size:22px;color:#26334d}
.e5w-mini-stat span{font-size:11px;color:#7b8496}
.e5w-word-stats-filters{display:flex;gap:7px;overflow-x:auto;padding-bottom:8px;margin-bottom:10px}
.e5w-word-stats-filter{white-space:nowrap;border:1px solid #dde2ec;background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;cursor:pointer}
.e5w-word-stats-filter.active{background:#6157f5;color:#fff;border-color:#6157f5}
.e5w-word-stat-row{display:grid;grid-template-columns:1fr auto;gap:12px;background:#fff;border:1px solid #e5e9f4;border-radius:16px;padding:13px;margin-bottom:9px}
.e5w-word-stat-main{display:grid;gap:3px}
.e5w-word-stat-main strong{font-size:18px}
.e5w-word-stat-main span{color:#6157f5;font-weight:700}
.e5w-word-stat-main small{color:#8a94a6}
.e5w-word-stat-meta{display:grid;grid-template-columns:repeat(2,auto);gap:4px 10px;align-content:start;font-size:11px;color:#667085;text-align:right}
@media(max-width:700px){
  .e5w-word-stats-summary{grid-template-columns:repeat(2,1fr)}
  .e5w-word-stat-row{grid-template-columns:1fr}
  .e5w-word-stat-meta{text-align:left;grid-template-columns:repeat(2,1fr)}
  .e5w-top-history{font-size:11px;padding:6px}
}

.e5w-stat-clickable{width:100%;border:0;background:inherit;color:inherit;position:relative}
.e5w-stat-clickable .e5w-stat-hint{display:block;margin-top:4px;font-size:10px;color:#8a94a6;font-weight:700}
.e5w-stat-clickable:focus-visible{outline:3px solid rgba(97,87,245,.25);outline-offset:2px}

/* v1.6.6 - Back button visibility fix */
.e5w-screen-head .e5w-icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#26334d!important;
  color:#fff!important;
  border:1px solid #26334d!important;
  opacity:1!important;
  visibility:visible!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:900!important;
  -webkit-appearance:none;
  appearance:none;
  -webkit-tap-highlight-color:transparent;
}
.e5w-screen-head .e5w-icon-btn:hover,
.e5w-screen-head .e5w-icon-btn:focus,
.e5w-screen-head .e5w-icon-btn:active{
  background:#6157f5!important;
  color:#fff!important;
  border-color:#6157f5!important;
  outline:none;
}
.e5w-screen-head .e5w-icon-btn svg,
.e5w-screen-head .e5w-icon-btn *{
  color:inherit!important;
  fill:currentColor!important;
  stroke:currentColor!important;
}

.e5w-review-stat-button{position:relative}
.e5w-review-stat-button::after{content:"›";position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:22px;font-weight:900;color:#8a94a6}
.e5w-review-stat-button:hover::after{color:#6157f5}


/* v1.7.2 - vocabulary pronunciation + readable statistics filters */
#e5w-app .e5w-word-stats-filter{
  appearance:none !important;
  -webkit-appearance:none !important;
  background:#eef2ff !important;
  color:#344054 !important;
  border:1px solid #c7d2fe !important;
  box-shadow:none !important;
  text-shadow:none !important;
  opacity:1 !important;
  -webkit-text-fill-color:#344054 !important;
}
#e5w-app .e5w-word-stats-filter:hover,
#e5w-app .e5w-word-stats-filter:focus{
  background:#ddd9ff !important;
  color:#3f35c8 !important;
  border-color:#9f98ff !important;
  -webkit-text-fill-color:#3f35c8 !important;
  outline:2px solid rgba(97,87,245,.15);
  outline-offset:1px;
}
#e5w-app .e5w-word-stats-filter.active,
#e5w-app .e5w-word-stats-filter.active:hover,
#e5w-app .e5w-word-stats-filter.active:focus{
  background:#6157f5 !important;
  color:#ffffff !important;
  border-color:#6157f5 !important;
  -webkit-text-fill-color:#ffffff !important;
}
.e5w-vocab-word-line,.e5w-word-stat-word-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.e5w-list-speak{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid #c7d2fe !important;
  background:#eef2ff !important;
  color:#4038b8 !important;
  -webkit-text-fill-color:#4038b8 !important;
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  cursor:pointer;
  box-shadow:none !important;
  white-space:nowrap;
}
.e5w-list-speak:hover,.e5w-list-speak:focus{
  background:#6157f5 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  border-color:#6157f5 !important;
}
.e5w-stat-speak{padding:4px 8px;font-size:10px}

.e5w-word-speak,
.e5w-vocab-speak,
.e5w-stat-speak,
.e5w-pronounce-btn{
  min-width:36px !important;
  width:36px !important;
  height:36px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
}

.e5w-report-trigger{
  border:0 !important;
  background:transparent !important;
  color:#7b8496 !important;
  font-size:11px !important;
  font-weight:700 !important;
  padding:7px 4px !important;
  margin-top:8px !important;
  cursor:pointer !important;
  text-decoration:underline !important;
}
.e5w-report-trigger:hover{color:#c2410c !important}
.e5w-report-modal{position:fixed;inset:0;z-index:9999999;display:flex;align-items:center;justify-content:center;padding:16px}
.e5w-report-backdrop{position:absolute;inset:0;background:rgba(25,32,50,.58)}
.e5w-report-dialog{
  position:relative;z-index:2;width:min(460px,100%);max-height:88vh;overflow:auto;
  background:#fff;border-radius:22px;padding:18px;box-shadow:0 24px 70px rgba(0,0,0,.24);
  color:#26334d
}
.e5w-report-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.e5w-report-head strong{display:block;font-size:18px}
.e5w-report-head small{display:block;color:#7b8496;margin-top:3px;line-height:1.4}
.e5w-report-close{border:0;background:#f1f3f7;color:#39445b;width:32px;height:32px;border-radius:50%;font-size:20px;cursor:pointer}
.e5w-report-preview{background:#f7f8fc;border-radius:14px;padding:11px 12px;margin:10px 0;font-size:13px;line-height:1.45}
.e5w-report-preview strong{display:block;margin-bottom:4px}
.e5w-report-label{display:block;font-size:13px;font-weight:800;margin:12px 0}
.e5w-report-label select,.e5w-report-label textarea{
  width:100%;margin-top:6px;border:1px solid #d8deea;border-radius:12px;padding:10px 11px;
  font:inherit;color:#26334d;background:#fff
}
.e5w-report-feedback{margin-top:8px;padding:9px 11px;border-radius:10px;font-size:13px;font-weight:800}
.e5w-report-feedback:empty{display:none}
.e5w-report-feedback.ok{background:#e7fbf0;color:#14784f}
.e5w-report-feedback.no{background:#fff0f1;color:#c74451}


/* v1.8.1 — Unified interactive button states */
.e5w-app button:not(:disabled),
.e5w-report-dialog button:not(:disabled){
  transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .08s ease !important;
}

.e5w-app button:not(:disabled):hover,
.e5w-app button:not(:disabled):focus-visible,
.e5w-app button:not(:disabled):active,
.e5w-report-dialog button:not(:disabled):hover,
.e5w-report-dialog button:not(:disabled):focus-visible,
.e5w-report-dialog button:not(:disabled):active{
  background:#dff4ff !important;
  color:#075985 !important;
  border-color:#7dd3fc !important;
  box-shadow:0 0 0 3px rgba(56,189,248,.18) !important;
  opacity:1 !important;
}

/* Keep text/icons visible for close/X buttons */
.e5w-app .e5w-icon-btn,
.e5w-app [data-e5w-close-days],
.e5w-report-close,
.e5w-story-popover-close{
  color:#26334d !important;
  background:#eef8ff !important;
  border:1px solid #bae6fd !important;
  opacity:1 !important;
  text-shadow:none !important;
}

.e5w-app .e5w-icon-btn:hover,
.e5w-app .e5w-icon-btn:focus-visible,
.e5w-app .e5w-icon-btn:active,
.e5w-app [data-e5w-close-days]:hover,
.e5w-app [data-e5w-close-days]:focus-visible,
.e5w-app [data-e5w-close-days]:active,
.e5w-report-close:hover,
.e5w-report-close:focus-visible,
.e5w-report-close:active,
.e5w-story-popover-close:hover,
.e5w-story-popover-close:focus-visible,
.e5w-story-popover-close:active{
  background:#bae6fd !important;
  color:#075985 !important;
  border-color:#38bdf8 !important;
}

/* Day picker buttons: never disappear on hover/hold */
.e5w-app .e5w-day-option,
.e5w-app .e5w-day-btn,
.e5w-app [data-day],
.e5w-app [data-e5w-day]{
  color:#26334d !important;
}

.e5w-app .e5w-day-option:not(:disabled):hover,
.e5w-app .e5w-day-option:not(:disabled):focus-visible,
.e5w-app .e5w-day-option:not(:disabled):active,
.e5w-app .e5w-day-btn:not(:disabled):hover,
.e5w-app .e5w-day-btn:not(:disabled):focus-visible,
.e5w-app .e5w-day-btn:not(:disabled):active,
.e5w-app [data-day]:not(:disabled):hover,
.e5w-app [data-day]:not(:disabled):focus-visible,
.e5w-app [data-day]:not(:disabled):active,
.e5w-app [data-e5w-day]:not(:disabled):hover,
.e5w-app [data-e5w-day]:not(:disabled):focus-visible,
.e5w-app [data-e5w-day]:not(:disabled):active{
  background:#bae6fd !important;
  color:#075985 !important;
  border-color:#38bdf8 !important;
}

/* Do not override semantic feedback colors for disabled/correct/wrong answer states */
.e5w-app button:disabled{
  cursor:default;
}


/* Actual Day picker button class */
.e5w-app .e5w-day-button:not(:disabled):hover,
.e5w-app .e5w-day-button:not(:disabled):focus-visible,
.e5w-app .e5w-day-button:not(:disabled):active{
  background:#bae6fd !important;
  color:#075985 !important;
  border-color:#38bdf8 !important;
  box-shadow:0 0 0 3px rgba(56,189,248,.18) !important;
}

/* v1.9.0 - richer mini-game interactions */
.e5w-speed-timer{display:inline-flex;align-items:center;gap:6px;background:#e0f2fe;color:#075985;border:1px solid #7dd3fc;border-radius:999px;padding:7px 12px;margin:0 0 10px;font-weight:900}
.e5w-multi-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}
.e5w-multi-option{min-height:48px;border:2px solid #dce3ef;border-radius:14px;background:#fff;color:#26334d;font-weight:900;cursor:pointer}
.e5w-multi-option.is-selected{background:#dff4ff!important;color:#075985!important;border-color:#38bdf8!important;box-shadow:0 0 0 3px rgba(56,189,248,.14)!important}
.e5w-match-grid{display:grid;gap:10px;margin:14px 0}
.e5w-match-row{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:10px;align-items:center;background:#f7f9fc;border:1px solid #e5e9f4;border-radius:14px;padding:10px 12px;text-align:left}
.e5w-match-row strong{overflow-wrap:anywhere}
.e5w-match-row select{width:100%;min-width:0;min-height:42px;border:1px solid #cfd8e6;border-radius:10px;background:#fff;color:#26334d;padding:7px;font-size:14px}
@media(max-width:430px){.e5w-multi-options{grid-template-columns:1fr}.e5w-match-row{grid-template-columns:1fr}}


/* v1.9.1 varied learning intros */
.e5w-learning-mode{display:inline-flex;align-items:center;gap:6px;margin:0 auto 14px;padding:7px 11px;border-radius:999px;background:#eef8ff;color:#075985;font-size:11px;font-weight:900;letter-spacing:.04em}
.e5w-learning-hint{color:#667085;font-size:14px;line-height:1.45;margin:10px 0 14px}
.e5w-learning-orb{width:112px;height:112px;border-radius:50%;margin:8px auto 14px;background:#e0f2fe;display:flex;align-items:center;justify-content:center;font-size:50px;border:2px solid #bae6fd}
.e5w-learning-big-speak{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;margin:0 auto 10px}
.e5w-learning-reveal{border:1px solid #7dd3fc!important;background:#dff4ff!important;color:#075985!important;border-radius:14px!important;padding:12px 18px!important;font-weight:900!important;cursor:pointer!important;min-height:44px}
.e5w-learning-reveal-panel{margin-top:16px;padding-top:14px;border-top:1px dashed #d7ddea}
.e5w-learning-meaning-card{font-size:28px;font-weight:950;padding:24px 16px;border-radius:22px;background:#f7f8fc;color:#374151;margin:10px 0 12px}
.e5w-learning-meaning-card.small{font-size:20px;padding:14px}
.e5w-learning-context{font-size:20px;font-weight:850;line-height:1.55;padding:18px;border-radius:20px;background:#f7f8fc;margin:10px 0}
.e5w-learning-context-vi{font-size:13px;color:#667085;margin-top:-2px}
.e5w-learning-scramble{font-size:27px;font-weight:950;letter-spacing:.12em;word-break:break-word;padding:20px 12px;border-radius:20px;background:#f3f4f6;color:#26334d;margin:10px 0}
.e5w-word-line{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
@media(max-width:560px){.e5w-learning-meaning-card{font-size:24px}.e5w-learning-context{font-size:18px}.e5w-learning-scramble{font-size:23px}}


/* v1.9.2 — Larger, clearer typography */
.e5w-app{
  font-size:17px !important;
  line-height:1.6 !important;
}

.e5w-logo{
  font-size:26px !important;
}

.e5w-student-name,
.e5w-mini-stats,
.e5w-mini-stats span,
.e5w-kicker,
.e5w-note,
.e5w-vocab-status,
.e5w-history-day,
.e5w-stat span,
.e5w-story-toolbar{
  font-size:14px !important;
}

.e5w-hero h2{
  font-size:38px !important;
  line-height:1.15 !important;
}

.e5w-hero p,
.e5w-home-progress,
.e5w-day-picker-note{
  font-size:16px !important;
  line-height:1.55 !important;
}

.e5w-stat strong{
  font-size:32px !important;
}

.e5w-screen-head strong,
.e5w-vocab-word,
.e5w-history-title,
.e5w-word-stats-word{
  font-size:20px !important;
  line-height:1.35 !important;
}

.e5w-word{
  font-size:44px !important;
  line-height:1.15 !important;
}

.e5w-phonetic{
  font-size:17px !important;
  line-height:1.5 !important;
}

.e5w-meaning{
  font-size:23px !important;
  line-height:1.4 !important;
}

.e5w-example,
.e5w-vocab-example,
.e5w-story-box,
.e5w-story-en,
.e5w-story-translation-panel,
.e5w-student-story-card,
.e5w-old-word-main small{
  font-size:17px !important;
  line-height:1.7 !important;
}

.e5w-vocab-meaning,
.e5w-old-word-main span{
  font-size:17px !important;
  line-height:1.5 !important;
}

.e5w-old-word-main strong{
  font-size:20px !important;
}

.e5w-review-word{
  font-size:38px !important;
}

.e5w-challenge-title,
.e5w-game-type-label{
  font-size:21px !important;
  line-height:1.35 !important;
}

.e5w-challenge-prompt{
  font-size:20px !important;
  line-height:1.55 !important;
}

.e5w-answer,
.e5w-challenge-option,
.e5w-letter-tile,
.e5w-primary,
.e5w-secondary,
.e5w-known,
.e5w-day-button,
.e5w-day-picker button,
.e5w-speak{
  font-size:17px !important;
  line-height:1.35 !important;
}

.e5w-answer,
.e5w-challenge-option{
  padding:17px 16px !important;
}

.e5w-story-title,
.e5w-student-story-card h2{
  font-size:28px !important;
  line-height:1.3 !important;
}

.e5w-vocab-chip strong{
  font-size:16px !important;
}

.e5w-vocab-chip small{
  font-size:13px !important;
}

.e5w-story-word{
  font-size:inherit !important;
}

.e5w-report-trigger{
  font-size:13px !important;
}

.e5w-report-dialog{
  font-size:16px !important;
}

@media(max-width:560px){
  .e5w-app{
    font-size:16px !important;
  }

  .e5w-word{
    font-size:38px !important;
  }

  .e5w-meaning{
    font-size:21px !important;
  }

  .e5w-challenge-prompt{
    font-size:19px !important;
  }

  .e5w-answer,
  .e5w-challenge-option,
  .e5w-primary,
  .e5w-secondary,
  .e5w-known{
    font-size:16px !important;
  }

  .e5w-story-title{
    font-size:25px !important;
  }
}


/* v1.9.4 — Story word popup text contrast */
.e5w-story-popover{
  background:#ffffff !important;
  color:#111111 !important;
}

.e5w-story-popover *,
.e5w-story-popover strong,
.e5w-story-popover-head,
.e5w-story-popover-head strong,
.e5w-story-popover-meaning{
  color:#111111 !important;
  opacity:1 !important;
  text-shadow:none !important;
}

.e5w-story-popover-close{
  color:#111111 !important;
}

.e5w-story-speak{
  color:#111111 !important;
}

.e5w-story-word{
  color:#111111 !important;
}

.e5w-story-word.is-course-word{
  color:#111111 !important;
  font-weight:800 !important;
}


/* v1.9.5 — Sentence/word ordering tile contrast */
.e5w-app .e5w-letter-tile{
  background:#ffffff !important;
  color:#111111 !important;
  border-color:#cbd5e1 !important;
  opacity:1 !important;
  text-shadow:none !important;
  -webkit-text-fill-color:#111111 !important;
}

.e5w-app .e5w-letter-tile:not(:disabled):hover,
.e5w-app .e5w-letter-tile:not(:disabled):focus-visible,
.e5w-app .e5w-letter-tile:not(:disabled):active{
  background:#bae6fd !important;
  color:#111111 !important;
  border-color:#38bdf8 !important;
  -webkit-text-fill-color:#111111 !important;
}

/* A selected tile is disabled by the game engine. Keep it visible. */
.e5w-app .e5w-letter-tile:disabled{
  background:#e0f2fe !important;
  color:#111111 !important;
  border-color:#7dd3fc !important;
  opacity:.72 !important;
  -webkit-text-fill-color:#111111 !important;
  transform:scale(.97);
}

/* The sentence assembled above the tiles must also remain black. */
.e5w-app .e5w-tile-answer{
  color:#111111 !important;
  -webkit-text-fill-color:#111111 !important;
}


/* v1.10.0 — Copy practice for each new word */
.e5w-copy-target-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:14px 0 4px;
}
.e5w-copy-target{
  font-size:44px;
  line-height:1.15;
  font-weight:950;
  color:#111111;
  letter-spacing:.01em;
}
.e5w-copy-speak{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#111111 !important;
}
.e5w-copy-progress{
  margin:18px 0 12px;
  padding:13px;
  border-radius:16px;
  background:#f5f9ff;
  color:#111111;
}
.e5w-copy-progress strong{
  display:block;
  font-size:18px;
  margin-bottom:10px;
}
.e5w-copy-dots{
  display:flex;
  justify-content:center;
  gap:10px;
}
.e5w-copy-dots span{
  width:38px;
  height:38px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:2px solid #cbd5e1;
  color:#111111;
  font-weight:900;
}
.e5w-copy-dots span.current{
  background:#e0f2fe;
  border-color:#38bdf8;
}
.e5w-copy-dots span.done{
  background:#dcfce7;
  border-color:#4ade80;
  color:#166534;
}
.e5w-copy-label{
  display:block;
  text-align:left;
  font-size:16px;
  font-weight:800;
  color:#111111;
  margin:12px 0 7px;
}
.e5w-copy-input-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
}
.e5w-copy-input{
  width:100%;
  min-width:0;
  border:2px solid #cbd5e1;
  border-radius:15px;
  padding:14px 15px;
  font-size:22px;
  line-height:1.3;
  font-weight:800;
  color:#111111 !important;
  background:#fff !important;
  -webkit-text-fill-color:#111111 !important;
  outline:none;
}
.e5w-copy-input:focus{
  border-color:#38bdf8;
  box-shadow:0 0 0 3px rgba(56,189,248,.18);
}
.e5w-copy-input.is-wrong{
  border-color:#fb7185;
  background:#fff1f2 !important;
}
.e5w-copy-feedback{
  min-height:26px;
  margin-top:9px;
  font-size:15px;
  font-weight:800;
}
.e5w-copy-feedback.ok{color:#15803d}
.e5w-copy-feedback.no{color:#be123c}
.e5w-copy-history{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:7px;
  margin:10px 0;
}
.e5w-copy-done-item{
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:#ecfdf5;
  border:1px solid #86efac;
  color:#166534;
  border-radius:999px;
  padding:6px 10px;
  font-weight:800;
}
.e5w-copy-success{
  margin:16px 0 8px;
  padding:14px;
  border-radius:15px;
  background:#ecfdf5;
  border:1px solid #86efac;
  color:#166534;
  font-weight:850;
  font-size:17px;
}
@media(max-width:560px){
  .e5w-copy-target{font-size:38px}
  .e5w-copy-input-wrap{grid-template-columns:1fr}
  .e5w-copy-input{font-size:20px}
}


/* v1.10.1 — Find identical words game */
.e5w-find-same-target-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 16px;
  padding:12px 14px;
  border-radius:16px;
  background:#f0f9ff;
  border:2px solid #7dd3fc;
  color:#111111;
}
.e5w-find-same-target-wrap span{
  font-size:14px;
  font-weight:800;
  color:#475569;
}
.e5w-find-same-target-wrap strong{
  font-size:30px;
  line-height:1.15;
  color:#111111;
  letter-spacing:.01em;
}
.e5w-find-same-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin:12px 0;
}
.e5w-app .e5w-find-same-item{
  min-height:54px;
  padding:10px 6px;
  border:2px solid #cbd5e1 !important;
  border-radius:14px;
  background:#ffffff !important;
  color:#111111 !important;
  -webkit-text-fill-color:#111111 !important;
  font-size:17px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  overflow-wrap:anywhere;
}
.e5w-app .e5w-find-same-item:not(:disabled):hover,
.e5w-app .e5w-find-same-item:not(:disabled):focus-visible,
.e5w-app .e5w-find-same-item:not(:disabled):active,
.e5w-app .e5w-find-same-item.is-selected{
  background:#bae6fd !important;
  color:#111111 !important;
  border-color:#38bdf8 !important;
  -webkit-text-fill-color:#111111 !important;
  box-shadow:0 0 0 3px rgba(56,189,248,.15) !important;
}
.e5w-app .e5w-find-same-item.e5w-correct,
.e5w-app .e5w-find-same-item.e5w-correct:disabled{
  background:#dcfce7 !important;
  border-color:#4ade80 !important;
  color:#14532d !important;
  -webkit-text-fill-color:#14532d !important;
  opacity:1 !important;
}
.e5w-app .e5w-find-same-item.e5w-wrong,
.e5w-app .e5w-find-same-item.e5w-wrong:disabled{
  background:#ffe4e6 !important;
  border-color:#fb7185 !important;
  color:#881337 !important;
  -webkit-text-fill-color:#881337 !important;
  opacity:1 !important;
}
.e5w-find-same-count{
  margin:5px 0 10px;
  font-size:15px;
  font-weight:800;
  color:#475569;
}
@media(max-width:420px){
  .e5w-find-same-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .e5w-find-same-target-wrap strong{font-size:26px}
}
\n\n/* v1.12.0 — Persistent score + unified module color system */\n.e5w-app{\n  --e5w-accent:#6157f5;\n  --e5w-accent-2:#887ef8;\n  --e5w-soft:#f1efff;\n  --e5w-ink:#1f2937;\n  --e5w-border:#e3e8f2;\n  --e5w-shadow:rgba(57,68,110,.11);\n  color:var(--e5w-ink);\n}\n.e5w-app[data-module="home"]{--e5w-accent:#6157f5;--e5w-accent-2:#8b7cf7;--e5w-soft:#f1efff}\n.e5w-app[data-module="learn"]{--e5w-accent:#0284c7;--e5w-accent-2:#38bdf8;--e5w-soft:#eaf8ff}\n.e5w-app[data-module="copy"]{--e5w-accent:#db2777;--e5w-accent-2:#f472b6;--e5w-soft:#fff0f7}\n.e5w-app[data-module="game"]{--e5w-accent:#ea580c;--e5w-accent-2:#fb923c;--e5w-soft:#fff4e8}\n.e5w-app[data-module="summary"]{--e5w-accent:#d97706;--e5w-accent-2:#fbbf24;--e5w-soft:#fff8df}\n.e5w-app[data-module="review"]{--e5w-accent:#15803d;--e5w-accent-2:#4ade80;--e5w-soft:#ecfdf3}\n.e5w-app[data-module="story"]{--e5w-accent:#9333ea;--e5w-accent-2:#d946ef;--e5w-soft:#faf0ff}\n.e5w-app[data-module="vocabulary"]{--e5w-accent:#0891b2;--e5w-accent-2:#22d3ee;--e5w-soft:#ecfeff}\n.e5w-app[data-module="stats"]{--e5w-accent:#0f766e;--e5w-accent-2:#2dd4bf;--e5w-soft:#edfffb}\n.e5w-app[data-module="history"]{--e5w-accent:#4f46e5;--e5w-accent-2:#818cf8;--e5w-soft:#eef2ff}\n.e5w-app[data-module="error"]{--e5w-accent:#dc2626;--e5w-accent-2:#fb7185;--e5w-soft:#fff1f2}\n\n.e5w-app .e5w-primary{\n  background:linear-gradient(135deg,var(--e5w-accent),var(--e5w-accent-2)) !important;\n  color:#fff !important;\n  border:0 !important;\n  box-shadow:0 8px 20px color-mix(in srgb,var(--e5w-accent) 20%,transparent);\n}\n.e5w-app .e5w-secondary{\n  background:var(--e5w-soft) !important;\n  color:var(--e5w-accent) !important;\n  border:1px solid color-mix(in srgb,var(--e5w-accent) 24%,#fff) !important;\n}\n.e5w-app .e5w-card,\n.e5w-app .e5w-review-card,\n.e5w-app .e5w-vocab-item,\n.e5w-app .e5w-history-item,\n.e5w-app .e5w-student-story-card{\n  border-color:color-mix(in srgb,var(--e5w-accent) 15%,#e5e9f4) !important;\n  box-shadow:0 16px 38px var(--e5w-shadow);\n}\n.e5w-app #e5w-lesson .e5w-card{\n  position:relative;\n  overflow:hidden;\n}\n.e5w-app #e5w-lesson .e5w-card:before{\n  content:"";display:block;position:absolute;left:0;right:0;top:0;height:5px;\n  background:linear-gradient(90deg,var(--e5w-accent),var(--e5w-accent-2));\n}\n.e5w-app .e5w-screen-head strong{color:var(--e5w-accent)}\n.e5w-app .e5w-meaning{color:var(--e5w-accent) !important}\n.e5w-app .e5w-speak{background:var(--e5w-soft) !important;color:var(--e5w-accent) !important}\n.e5w-app .e5w-challenge-badge,\n.e5w-app .e5w-learning-mode{color:var(--e5w-accent) !important}\n.e5w-app .e5w-challenge-progress{background:var(--e5w-soft) !important}\n.e5w-app .e5w-challenge-progress span{background:linear-gradient(90deg,var(--e5w-accent),var(--e5w-accent-2)) !important}\n\n/* Home actions each keep a stable semantic color. */\n#e5w-start-lesson{background:linear-gradient(135deg,#2563eb,#38bdf8) !important}\n#e5w-next-day{background:linear-gradient(135deg,#7c3aed,#a78bfa) !important}\n#e5w-start-review{background:#ecfdf3 !important;color:#15803d !important;border:1px solid #86efac !important}\n#e5w-show-vocabulary{background:#ecfeff !important;color:#0e7490 !important;border:1px solid #a5f3fc !important}\n#e5w-show-student-story{background:#faf0ff !important;color:#9333ea !important;border:1px solid #e9d5ff !important}\n\n/* Score trophy */\n.e5w-mini-stats .e5w-score-chip{\n  position:relative;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;\n  background:linear-gradient(135deg,#fff8d8,#ffef9a) !important;\n  color:#8a5a00 !important;border:1px solid #f5cf52 !important;\n  border-radius:13px;padding:8px 10px;font-size:13px;font-weight:850;\n  box-shadow:0 5px 15px rgba(217,151,0,.12);\n}\n.e5w-score-chip strong{font-size:15px}\n.e5w-score-chip small{font-size:10px;font-weight:800;opacity:.78}\n.e5w-score-chip.is-awarded{animation:e5wScorePulse .55s ease}\n.e5w-score-chip #e5w-score-pop{\n  position:absolute;left:50%;top:-8px;transform:translate(-50%,-100%);\n  opacity:0;pointer-events:none;background:#15803d;color:#fff;border-radius:999px;\n  padding:4px 8px;font-size:12px;font-weight:950;box-shadow:0 6px 18px rgba(21,128,61,.25);\n}\n.e5w-score-chip #e5w-score-pop.show{animation:e5wPointFly .8s ease forwards}\n@keyframes e5wScorePulse{0%,100%{transform:scale(1)}45%{transform:scale(1.12)}}\n@keyframes e5wPointFly{0%{opacity:0;transform:translate(-50%,-65%)}20%{opacity:1}100%{opacity:0;transform:translate(-50%,-155%)}}\n\n/* Livelier stat cards while remaining consistent. */\n.e5w-stat{transition:transform .18s ease,box-shadow .18s ease}\n.e5w-stat:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(49,58,90,.09)}\n#e5w-seen-stat{background:linear-gradient(145deg,#f5f3ff,#fff) !important;border-color:#ddd6fe !important}\n#e5w-review-stat,.e5w-grid .e5w-stat:nth-child(2){background:linear-gradient(145deg,#ecfdf3,#fff) !important;border-color:#bbf7d0 !important}\n\n/* Correct/wrong feedback stays universal across modules. */\n.e5w-app .e5w-correct{background:#dcfce7 !important;border-color:#4ade80 !important;color:#14532d !important}\n.e5w-app .e5w-wrong{background:#fff1f2 !important;border-color:#fb7185 !important;color:#881337 !important}\n.e5w-app .e5w-challenge-feedback.ok,.e5w-app .e5w-feedback.ok{background:#dcfce7 !important;color:#166534 !important}\n.e5w-app .e5w-challenge-feedback.no,.e5w-app .e5w-feedback.no{background:#fff1f2 !important;color:#be123c !important}\n\n@media(max-width:560px){\n  .e5w-mini-stats .e5w-score-chip{padding:7px 8px;font-size:11px}\n  .e5w-score-chip strong{font-size:13px}\n  .e5w-score-chip small{display:none}\n}\n
/* v1.12.0 polish: responsive topbar and screen transitions */
.e5w-topbar{gap:12px}
.e5w-mini-stats{align-items:center;flex-wrap:wrap;justify-content:flex-end}
.e5w-top-user-actions{flex-wrap:wrap;justify-content:flex-end}
.e5w-screen.e5w-active{animation:e5wScreenIn .22s ease both}
@keyframes e5wScreenIn{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
.e5w-app[data-module="learn"] .e5w-visual{background:linear-gradient(145deg,#e0f2fe,#f0f9ff)}
.e5w-app[data-module="copy"] .e5w-visual{background:linear-gradient(145deg,#fce7f3,#fff1f7)}
.e5w-app[data-module="game"] .e5w-visual{background:linear-gradient(145deg,#ffedd5,#fff7ed)}
.e5w-app[data-module="review"] .e5w-review-card{background:linear-gradient(180deg,#ffffff,#f7fff9)}
.e5w-app[data-module="story"] .e5w-story-box{background:linear-gradient(180deg,#fff,#fcf5ff);border-color:#ead8ff}
.e5w-app[data-module="vocabulary"] .e5w-vocab-item{background:linear-gradient(180deg,#fff,#f3fdff)}
.e5w-app[data-module="stats"] .e5w-word-stat-row{border-color:#ccfbf1}
.e5w-app[data-module="history"] .e5w-history-item{background:linear-gradient(180deg,#fff,#f7f8ff)}
@media(max-width:560px){
  .e5w-topbar{align-items:flex-start}
  .e5w-mini-stats{max-width:68%;gap:5px}
  .e5w-top-user-actions{gap:3px}
  .e5w-top-history,.e5w-logout{font-size:10px !important}
}
