.math-expedition[data-subject=memory]{--exp-violet:#207f99;--memory-cyan:#61e6d5;--memory-ink:#163d50}.math-expedition[data-subject=memory] .exp-hero,.trainer-hub .exp-hero[data-subject=memory]{background:radial-gradient(at 80% 0,#287b8e 0,#0000 58%),linear-gradient(130deg,#122e4b,#18465b 65%,#1a5664)}.math-expedition[data-subject=memory] .exp-hero h1 em{color:#a0f6dc}.math-expedition[data-subject=memory] .exp-primary{color:#fff;background:#176a7f;border-color:#176a7f}.math-expedition[data-subject=memory] .exp-hero .exp-primary{color:#144a53;background:#baffde;border-color:#baffde}.math-expedition[data-subject=memory] .exp-trail{grid-template-columns:repeat(5,1fr);gap:18px;display:grid}.math-expedition[data-subject=memory] .exp-trail>svg{display:none}.math-expedition[data-subject=memory] .exp-trail>button{width:auto;margin:0}.memory-task{--memory-line:color-mix(in srgb, var(--ink) 14%, transparent);--memory-soft:color-mix(in srgb, #39b5b0 9%, var(--surface,#fff));border:1px solid var(--memory-line);background:var(--surface,#fff);overflow-wrap:anywhere;border-radius:24px;min-width:0;padding:clamp(16px,3vw,30px)}.memory-task .exp-button{text-align:center;min-width:0;max-width:100%}.memory-task .exp-button>svg{flex-shrink:0}.memory-phase-strip{border-bottom:1px solid var(--memory-line);justify-content:space-between;gap:10px;padding-bottom:23px;display:flex}.memory-phase-strip>span{color:var(--muted);align-items:center;gap:8px;font-size:12px;font-weight:650;display:flex}.memory-phase-strip b{border:1px solid var(--memory-line);border-radius:50%;place-items:center;width:27px;height:27px;font-size:12px;display:grid}.memory-phase-strip [data-current=true]{color:var(--ink)}.memory-phase-strip [data-current=true] b{color:#fff;background:#176a7f;border-color:#176a7f;box-shadow:0 0 0 4px #65eadb22}.memory-task-heading{align-items:flex-start;gap:15px;margin:25px 0 20px;display:flex}.memory-family-symbol{color:#1e7178;background:#d2f3ec;border-radius:15px;flex:none;place-items:center;width:49px;height:49px;font-size:29px;display:grid}.memory-task-heading .exp-label{color:var(--muted);font-size:9px}.memory-task-heading>div{min-width:0}.memory-task-heading h3{margin-top:5px;font-size:clamp(18px,2.7vw,25px);line-height:1.45}.memory-task-heading h3:focus{outline:none}.memory-ready{text-align:center;max-width:580px;margin:10px auto 0}.memory-ready>p{margin-top:12px;line-height:1.75}.memory-ready>.exp-button{margin:24px auto 5px}.memory-ready-orbit{place-items:center;width:min(200px,100%);height:135px;margin:0 auto 10px;display:grid;position:relative}.memory-ready-orbit>span{color:#146575;background:linear-gradient(135deg,#cbfae4,#b8dcff);border-radius:28px;place-items:center;width:84px;height:84px;font-size:45px;display:grid;box-shadow:0 15px 30px #26657412}.memory-ready-orbit>i{border:1px solid #4caea866;border-radius:50%;width:min(184px,100%);height:85px;position:absolute;transform:rotate(-20deg)}.memory-ready-orbit>i:last-child{border-color:#799ddd66;transform:rotate(28deg)}.memory-assisted,.memory-recall-note{background:var(--memory-soft);border-radius:12px;align-items:flex-start;gap:9px;padding:11px 14px;font-size:12px;line-height:1.7;display:flex;margin-bottom:20px!important}.memory-assisted{background:color-mix(in srgb, #efb659 15%, var(--surface,#fff))}.memory-assisted>svg,.memory-recall-note>svg{flex-shrink:0;margin-top:2px}.memory-instruction{font-size:14px;line-height:1.7;margin-bottom:23px!important}.memory-grid{grid-template-columns:repeat(var(--memory-columns), minmax(0, 1fr));gap:clamp(5px,1.3vw,10px);width:100%;max-width:390px;margin:22px auto;display:grid}.memory-grid-cell{aspect-ratio:1;border:1px solid var(--memory-line);background:var(--memory-soft);min-width:0;color:var(--muted);border-radius:clamp(9px,2vw,18px);justify-content:center;align-items:center;padding:0;display:flex;position:relative}.memory-grid-cell>small{font-size:10px;line-height:1;position:absolute;top:7px;left:9px}.memory-grid-cell>span{font-size:clamp(21px,4vw,38px);line-height:1}.memory-grid-cell[data-lit=true],.memory-grid-cell[aria-pressed=true]{color:#126070;background:linear-gradient(135deg,#c4fae2,#a3e8e1);border-color:#418d92;box-shadow:0 3px 8px #1c65691a}button.memory-grid-cell:hover:not(:disabled){border-color:#176a7f;box-shadow:inset 0 0 0 1px #176a7f}.memory-stream-count{text-align:center;color:var(--muted);letter-spacing:.05em;font-size:12px;font-weight:700}.memory-stream-card{color:#184761;background:linear-gradient(140deg,#daf9ed,#d6eaff);border-radius:25px;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:min(250px,100%);min-height:170px;margin:18px auto;animation:.22s ease-out memory-reveal;display:flex}.memory-large-symbol{font-size:clamp(50px,8vw,75px);font-weight:800;line-height:1.1}.memory-stream-card>strong{font-size:16px}.memory-stream-progress{flex-wrap:wrap;justify-content:center;gap:5px;max-width:420px;margin:16px auto;display:flex}.memory-stream-progress>span{background:var(--memory-line);border-radius:8px;width:13px;height:5px}.memory-stream-progress [data-seen=true]{background:#2d918f}.memory-stream-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:15px;margin:16px 0 25px;display:flex}.memory-study-cards{grid-template-columns:repeat(auto-fit,minmax(min(130px,100%),1fr));gap:12px;margin:20px 0;display:grid}.memory-study-card{background:var(--memory-soft);border:1px solid var(--memory-line);text-align:center;overflow-wrap:anywhere;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:125px;padding:19px 10px;display:flex}.memory-card-symbol{font-size:29px;line-height:1.2}.memory-study-card>strong{font-size:15px}.memory-pair-detail{color:var(--muted);border-top:1px solid var(--memory-line);padding-top:8px;font-size:13px}.memory-story{background:var(--memory-soft);border-radius:20px;align-items:flex-start;gap:20px;margin:20px 0;padding:clamp(18px,3vw,32px);display:flex}.memory-story>span{color:#40828a;font-size:33px}.memory-story>p{white-space:pre-line;font-size:clamp(15px,2vw,18px);line-height:1.9}.memory-study-footer{border-top:1px solid var(--memory-line);justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding-top:22px;display:flex}.memory-study-footer .exp-muted{max-width:320px;font-size:12px;line-height:1.7}.memory-study-footer>button{flex-shrink:0}.memory-concealed{text-align:center;background:var(--memory-soft);border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:15px;min-height:230px;padding:24px;display:flex}.memory-concealed>p{max-width:420px;color:var(--muted);font-size:13px;line-height:1.7}.memory-sequence-answer{background:var(--memory-soft);border:1px dashed #669a9d;border-radius:17px;flex-wrap:wrap;gap:8px;min-height:67px;margin:20px 0;padding:14px;display:flex}.memory-sequence-answer>button{border:1px solid var(--memory-line);background:var(--surface,#fff);min-width:47px;min-height:58px;color:var(--ink);border-radius:11px;flex-direction:column;align-items:center;gap:4px;padding:6px 10px;display:flex}.memory-sequence-answer>button>small{color:var(--muted);font-size:9px}.memory-sequence-answer>button>span{font-size:23px;line-height:1.2}.memory-choice-bank{grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:10px;margin:18px 0;display:grid}.memory-choice-bank>button{border:1px solid var(--memory-line);background:var(--surface,#fff);min-height:58px;color:var(--ink);text-align:left;border-radius:13px;justify-content:flex-start;align-items:center;gap:10px;padding:13px 16px;font-size:14px;display:flex}.memory-choice-bank>button[aria-pressed=true]{background:var(--memory-soft);border-color:#36898c;box-shadow:inset 0 0 0 1px #36898c}.memory-choice-bank>button>svg{flex-shrink:0;margin-left:auto}.memory-choice-symbol{text-align:center;flex-shrink:0;width:30px;font-size:24px}.memory-answer-tools{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;font-size:12px;display:flex}.memory-answer .exp-muted{margin:17px 0;font-size:12px;line-height:1.7}.memory-code-label{gap:10px;font-size:13px;font-weight:650;display:grid}.memory-code-label>input{border:1px solid var(--memory-line);width:100%;max-width:500px;min-height:64px;color:var(--ink);background:var(--memory-soft);letter-spacing:.15em;border-radius:14px;padding:14px 18px;font-size:25px}.memory-code-label>input::placeholder{letter-spacing:0;color:var(--muted);font-size:15px}.memory-review-button{margin-top:18px;font-size:12px}.memory-demo-picker{flex-wrap:wrap;gap:8px;margin:24px 0;display:flex}.memory-demo-picker>button{border:1px solid var(--line,#d2dddd);border-radius:12px;min-height:42px;padding:9px 12px;font-size:11px}.memory-demo-picker>button[aria-pressed=true]{color:#14525f;background:#d5f4eb;border-color:#438e91}.memory-family-intro{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:24px 0;display:grid}.memory-family-intro>div{border:1px solid var(--line,#d2dddd);border-radius:17px;padding:18px 13px}.memory-family-intro strong{margin:10px 0 7px;font-size:12px;display:block}.memory-family-intro p{color:var(--muted);font-size:11px;line-height:1.7}.memory-family-intro span{color:#24818a;font-size:25px}.memory-path-stats{background:color-mix(in srgb, #3fbba8 8%, var(--surface,#fff));border-radius:17px;flex-wrap:wrap;gap:12px;margin:20px 0;padding:17px;display:flex}.memory-path-stats>span{flex:140px;font-size:12px;line-height:1.7}.memory-path-stats strong{color:var(--ink);font-size:24px;display:block}@keyframes memory-reveal{0%{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (max-width:760px){.memory-family-intro{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-study-footer{text-align:center;flex-direction:column;align-items:stretch}.memory-study-footer .exp-muted{max-width:none}.memory-study-footer>button{justify-content:center}}@media (max-width:430px){.memory-phase-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.memory-phase-strip>span{text-align:center;flex-direction:column;gap:5px;min-width:0;font-size:10px}.memory-phase-strip b{width:23px;height:23px;font-size:10px}.memory-task{border-radius:18px;padding:15px}.memory-task-heading{gap:10px}.memory-family-symbol{border-radius:12px;width:38px;height:38px;font-size:24px}.memory-story{gap:10px}.memory-story>span{display:none}.memory-choice-bank{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-choice-bank>button{flex-wrap:wrap;padding:11px;font-size:12px}.memory-grid-cell>small{font-size:9px;top:6px;left:6px}.math-expedition[data-subject=memory] .exp-trail{gap:12px 5px}}@media (prefers-reduced-motion:reduce){.memory-stream-card,.memory-orbit-art *,.memory-ready-orbit *{transition:none!important;animation:none!important}}
