.memory-game-overlay{z-index:180;color:#fff;background-color:#061a3d;background-image:radial-gradient(circle at 50% 36%,#32569b57,#0000 38%),linear-gradient(#041332c2,#030f27eb),url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2070%2070'%3e%3cpath%20fill-rule='evenodd'%20d='M0%200h35v35H0zm5%205h25v25H5zm5%205h15v15H10zm5%205h5v5h-5zM40%205h25v25H40zm5%205h15v15H45zm5%205h5v5h-5zm20%2020H35v35h35zm-5%205H40v25h25zm-5%205H45v15h15zm-5%205h-5v5h5zM30%2040H5v25h25zm-5%205H10v15h15zm-5%205h-5v5h5z'%20clip-rule='evenodd'%20opacity='.04'/%3e%3c/svg%3e"),none;background-position:50%,50%,50%;background-repeat:repeat,repeat,repeat,repeat;background-size:cover,cover,220px 220px;background-attachment:scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box;flex-direction:column;min-height:100svh;animation:.62s cubic-bezier(.2,.78,.25,1) both memory-overlay-enter;display:flex;position:fixed;inset:0;overflow:hidden}.memory-game-overlay:before{content:"";pointer-events:none;background:linear-gradient(90deg,#00081942,#0000 30% 70%,#00081942),radial-gradient(circle at 50% 100%,#ffbf1f14,#0000 38%);position:absolute;inset:0}.memory-game-overlay.is-closing{pointer-events:none;animation:.36s cubic-bezier(.55,0,.88,.42) both memory-overlay-exit}.memory-game-topbar{z-index:3;width:min(1180px,100% - 48px);min-height:76px;margin:max(12px, env(safe-area-inset-top)) auto 0;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;display:grid;position:relative}.memory-game-topbar>strong{color:#fff;letter-spacing:-.025em;text-align:center;text-wrap:balance;font-size:clamp(17px,2vw,23px);font-weight:900}.memory-close,.memory-primary,.memory-secondary,.memory-hint,.memory-finish,.memory-word-bank button,.memory-chunk-bank button,.memory-order-zone button{font:inherit;cursor:pointer;border:0}.memory-close{color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#020d2470;border:1px solid #ffffff29;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;transition:transform .18s,background .18s;display:flex;box-shadow:0 12px 30px #0007182e}.memory-close svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2.4px;width:20px}.memory-version-control{align-items:center;gap:10px;margin-left:auto;display:flex}.memory-version-control>span{color:#ffffffa3;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:850}.memory-visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.memory-select{width:100%;position:relative}.memory-select-trigger,.memory-select-backdrop,.memory-select-panel button{font:inherit;cursor:pointer;border:0}.memory-select-trigger{color:#0c2856;text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:32px;padding:0;display:flex}.memory-select-trigger>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:900;overflow:hidden}.memory-select-trigger>svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;flex:none;width:15px;height:15px;transition:transform .18s}.memory-select-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}.memory-select.is-compact{width:auto}.memory-select.is-compact .memory-select-trigger{color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#020d2480;border:1px solid #ffffff2e;border-radius:12px;min-width:86px;min-height:44px;padding:0 12px 0 14px;box-shadow:0 10px 24px #0007181f}.memory-select-backdrop{z-index:7;background:0 0;position:fixed;inset:0}.memory-select-panel{z-index:8;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffdf7fa;border:1px solid #d5c5a4eb;border-radius:15px;width:max(100%,230px);max-width:min(320px,100vw - 32px);padding:7px;animation:.18s cubic-bezier(.22,1,.36,1) both memory-select-in;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 22px 60px #03112b47,0 4px 14px #03112b1a}.memory-select.is-compact .memory-select-panel,.memory-setup-fields>.memory-field:nth-child(n+3) .memory-select-panel{left:auto;right:0}.memory-select-panel>header{display:none}.memory-select-options{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cfb981 transparent;max-height:286px;padding:2px;overflow-y:auto}.memory-select-options>button{color:#18335f;text-align:left;background:0 0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:42px;padding:9px 11px;display:flex}.memory-select-options>button:hover,.memory-select-options>button.active{color:#0b2859;background:#fff1bd}.memory-select-options>button>span{color:inherit;letter-spacing:0;text-transform:none;font-size:13px;font-weight:850;line-height:1.25}.memory-select-options>button>strong{color:#b97b00;font-size:13px}.memory-game-main{z-index:2;min-height:0;padding:12px 24px max(30px, env(safe-area-inset-bottom));flex:1;justify-content:center;align-items:center;display:flex;position:relative;overflow-y:auto}.memory-game-main.is-setup{align-items:flex-start}.memory-game-main.is-setup .memory-setup-card{margin:0 auto}.memory-setup-card,.memory-passage-card,.memory-result-card{color:#0c2856;background:radial-gradient(circle at 86% 12%,#ffc2201f,#0000 28%),linear-gradient(145deg,#fffdf7,#fff8e9);border:1px solid #ffffffc2;border-radius:28px;width:min(900px,100%);padding:clamp(34px,5vw,58px);animation:.42s ease-out .1s both memory-card-in;position:relative;box-shadow:0 34px 90px #00071a5c}.memory-setup-card,.memory-result-card{text-align:center}.memory-book-icon{fill:#ffbd1a1f;stroke:#e3a609;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2px;width:64px;height:52px;margin:-17px auto 16px}.memory-eyebrow{color:#c88400;letter-spacing:.1em;text-transform:uppercase;margin:0;font-size:11px;font-weight:950}.memory-setup-card h2,.memory-result-card h2{color:#0a2552;letter-spacing:-.052em;text-wrap:balance;max-width:650px;margin:10px auto 0;font-size:clamp(34px,5vw,58px);font-weight:950;line-height:1.02}.memory-setup-card>p:not(.memory-eyebrow):not(.memory-error),.memory-result-card>p:not(.memory-eyebrow){color:#60708b;max-width:670px;margin:19px auto 0;font-size:16px;font-weight:700;line-height:1.58}.memory-quick-start{color:#fff;background:var(--marketing-gradient,linear-gradient(135deg, #4d00f9, #bd00ff));text-align:left;border:1px solid #dcd7ff;border-radius:20px;justify-content:space-between;align-items:center;gap:20px;max-width:700px;min-height:122px;margin:28px auto 0;padding:22px 24px;display:flex;box-shadow:0 18px 36px #4521b933}.memory-quick-start>div{flex-direction:column;gap:4px;min-width:0;display:flex}.memory-quick-start>div>span,.memory-quick-start>div>small{color:#ffffffbd;letter-spacing:.07em;text-transform:uppercase;font-size:10px;font-weight:900}.memory-quick-start>div>strong{text-overflow:ellipsis;white-space:nowrap;font-size:25px;font-weight:950;line-height:1.05;overflow:hidden}.memory-quick-start .memory-primary{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff29;flex:none;box-shadow:inset 0 0 0 2px #ffffffb8}.memory-quick-start .memory-primary:hover:not(:disabled){background:#ffffff3d}.memory-setup-card .memory-resume-card,.memory-setup-card .memory-review-queue{text-align:left;max-width:700px;margin-left:auto;margin-right:auto}.memory-setup-card .memory-resume-card{color:#13315e;font:inherit;cursor:pointer;background:#fffdf7;border:1px solid #e4d8c0;margin-top:12px}.memory-setup-card .memory-resume-card>span:last-child{color:var(--marketing-primary,#4346ff);white-space:nowrap;align-items:center;gap:6px;font-size:12px;font-weight:950;display:inline-flex}.memory-setup-card .memory-resume-card svg,.memory-setup-card .memory-review-queue svg{fill:none;stroke:currentColor;stroke-width:2px;width:17px}.memory-setup-progress{color:#726c82;justify-content:center;align-items:center;gap:18px;margin:15px auto 0;font-size:11px;font-weight:850;display:flex}.memory-setup-progress span+span{border-left:1px solid #ded8e8;padding-left:18px}.memory-library-toggle{min-height:42px;color:var(--marketing-primary-muted,#5146e5);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;margin-top:22px;padding:0 4px;font-size:13px;font-weight:950;display:inline-flex}.memory-library-toggle>span{border:1px solid;border-radius:50%;place-items:center;width:20px;height:20px;font-size:16px;line-height:1;display:grid}.memory-library-panel{border-top:1px solid #e9e2f1;max-width:860px;margin:3px auto 0;padding-top:4px;animation:.22s ease-out both memory-card-in}.memory-setup-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:860px;margin:12px auto 0;display:grid}.memory-setup-fields>.memory-field,.memory-selected-path{text-align:left;background:#ffffffc2;border:1px solid #e8deca;border-radius:16px;flex-direction:column;justify-content:center;min-height:82px;padding:15px 17px;display:flex}.memory-selected-path{text-align:center;grid-column:1/-1;min-height:64px}.memory-setup-fields>.memory-field>span,.memory-selected-path>span{color:#9c7b3d;letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:900}.memory-setup-fields .memory-select{margin-top:4px}.memory-selected-path>strong{color:#0c2856;margin-top:6px;font-size:14px;font-weight:900}.memory-error{color:#b52f28;margin:15px auto 0;font-size:13px;font-weight:800}.memory-primary,.memory-secondary{border-radius:15px;justify-content:center;align-items:center;gap:9px;min-height:52px;padding:0 24px;font-size:14px;font-weight:950;transition:transform .18s,box-shadow .18s,opacity .18s;display:inline-flex}.memory-primary{color:#382900;background:linear-gradient(#ffd85b 0%,#ffbd1d 100%);box-shadow:0 7px #da8f00,0 18px 30px #c17c0030}.memory-primary svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2px;width:18px}.memory-primary:disabled{cursor:not-allowed;filter:grayscale(.4);opacity:.48;box-shadow:none}.memory-start{min-width:230px;margin-top:29px}.memory-setup-card{width:min(980px,100%)}.memory-learning-dashboard{text-align:left;background:#ffffffb8;border:1px solid #e4d8c0;border-radius:20px;max-width:860px;margin:28px auto 0;padding:16px}.memory-dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.memory-dashboard-stats>div{background:#f5f0ff;border-radius:13px;padding:11px 13px}.memory-dashboard-stats strong,.memory-dashboard-stats span{display:block}.memory-dashboard-stats strong{color:#3431ca;font-size:24px;font-weight:950;line-height:1}.memory-dashboard-stats span{color:#6a6880;letter-spacing:.04em;text-transform:uppercase;margin-top:5px;font-size:10px;font-weight:900}.memory-resume-card,.memory-review-clear,.memory-review-queue{border:0;border-radius:15px;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:66px;margin-top:10px;padding:12px 14px;display:flex}.memory-resume-card{background:#fffdf7;border:1px solid #e4d8c0}.memory-resume-card>div,.memory-review-queue>span:first-child,.memory-review-clear>div{flex-direction:column;gap:3px;min-width:0;display:flex}.memory-resume-card span,.memory-review-queue small,.memory-review-clear small{color:#806f55;letter-spacing:.05em;text-transform:uppercase;font-size:10px;font-weight:850}.memory-resume-card strong,.memory-review-queue strong,.memory-review-clear strong{color:#13315e;font-size:14px;font-weight:950}.memory-resume-card>button{color:#fff;min-height:38px;font:inherit;cursor:pointer;background:#4a44df;border:0;border-radius:12px;padding:0 16px;font-size:12px;font-weight:950}.memory-review-queue{color:#fff;font:inherit;text-align:left;cursor:pointer;background:linear-gradient(135deg,#4742df,#6858ee);box-shadow:0 12px 24px #423bca2e}.memory-review-queue small,.memory-review-queue strong{color:#fff}.memory-review-queue>span:last-child{white-space:nowrap;align-items:center;gap:7px;font-size:12px;font-weight:950;display:inline-flex}.memory-review-queue svg{fill:none;stroke:currentColor;stroke-width:2px;width:17px}.memory-review-clear{color:#1f875f;background:#eaf8f2;justify-content:flex-start}.memory-review-clear>span{color:#fff;background:#29a878;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-weight:950;display:grid}.memory-recent-history{grid-template-columns:116px minmax(0,1fr);gap:12px;margin-top:13px;display:grid}.memory-recent-history>strong{color:#766746;text-transform:uppercase;padding-top:4px;font-size:11px;font-weight:950}.memory-recent-history ul{gap:5px;margin:0;padding:0;list-style:none;display:grid}.memory-recent-history li{color:#52637e;justify-content:space-between;gap:12px;font-size:11px;font-weight:750;display:flex}.memory-recent-history li strong{color:#223d67;white-space:nowrap;font-size:11px}.memory-library-heading{text-align:left;justify-content:space-between;align-items:end;gap:16px;max-width:860px;margin:25px auto 0;display:flex}.memory-library-heading>div{flex-direction:column;gap:2px;display:flex}.memory-library-heading span{color:#b07a09;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:950}.memory-library-heading strong{color:#12305e;font-size:17px;font-weight:950}.memory-library-heading>button{color:#785f2c;min-height:36px;font:inherit;cursor:pointer;background:#fff;border:1px solid #ded3c0;border-radius:11px;padding:0 12px;font-size:11px;font-weight:900}.memory-library-heading>button.active{color:#725000;background:#fff2bd;border-color:#e4ac16}.memory-search-field{background:#ffffffe6;border:1px solid #ded4c2;border-radius:14px;align-items:center;gap:10px;max-width:860px;min-height:50px;margin:11px auto 0;padding:0 15px;display:flex}.memory-search-field:focus-within{border-color:#665ce6;box-shadow:0 0 0 3px #524ada1f}.memory-search-field svg{fill:none;stroke:#736d82;stroke-linecap:round;stroke-width:1.8px;width:19px}.memory-search-field input{color:#102f5d;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:14px;font-weight:750}.memory-search-field input::placeholder{color:#8b8b9b}.memory-passage-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:860px;margin:12px auto 0;display:grid}.memory-passage-option{background:#ffffffc2;border:1px solid #e2d9c9;border-radius:13px;grid-template-columns:minmax(0,1fr) 44px;min-width:0;transition:border-color .16s,box-shadow .16s;display:grid;overflow:hidden}.memory-passage-option.is-selected{border-color:#5d54dc;box-shadow:0 0 0 2px #4e45d31f}.memory-passage-option>button{font:inherit;cursor:pointer;border:0}.memory-passage-option>button:first-child{color:#102f5d;text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:9px;min-width:0;min-height:56px;padding:9px 8px 9px 12px;display:flex}.memory-passage-option>button:first-child>span:first-child{flex-direction:column;gap:2px;min-width:0;display:flex}.memory-passage-option>button:first-child strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:950;overflow:hidden}.memory-passage-option small{color:#778399;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:750;overflow:hidden}.memory-status{color:#6f7182;white-space:nowrap;background:#f0eef1;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:900}.memory-status.is-learning{color:#946000;background:#fff0bd}.memory-status.is-remembered{color:#17614a;background:#dff6eb}.memory-status.is-mastered{color:#3c37b7;background:#e8e5ff}.memory-favorite{color:#a89775;background:#f7f1e5d6;font-size:20px}.memory-favorite.active{color:#d29000;background:#fff3c2}.memory-library-empty{color:#67758b;border:1px dashed #d8cbb5;border-radius:14px;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:4px;min-height:86px;padding:16px;display:flex}.memory-library-empty strong{color:#18365f;font-size:14px}.memory-library-empty span{font-size:12px}.memory-passage-card{padding-top:36px}.memory-passage-card>.memory-book-icon{width:50px;height:42px;margin:-14px auto 7px}.memory-passage-header{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:20px;display:grid}.memory-passage-header p{color:#b27a09;letter-spacing:.09em;text-transform:uppercase;margin:0 0 3px;font-size:10px;font-weight:950}.memory-passage-header h2{color:#0b2859;letter-spacing:-.045em;margin:0;font-size:clamp(28px,4vw,43px);font-weight:950}.memory-passage-header>span{color:#806535;white-space:nowrap;background:#ffffffb8;border:1px solid #e8dcc4;border-radius:999px;margin-bottom:6px;padding:7px 11px;font-size:11px;font-weight:900}.memory-passage-progress{background:#eee4d1;border-radius:999px;height:7px;margin-top:16px;overflow:hidden}.memory-passage-progress span{border-radius:inherit;background:linear-gradient(90deg,#ffbe1e,#ffdc63);height:100%;transition:width .32s;display:block;box-shadow:0 0 12px #ffbe1e61}.memory-step-body{text-align:center;flex-direction:column;align-items:center;min-width:0;min-height:340px;padding-top:clamp(28px,5vw,54px);animation:.3s ease-out both memory-step-in;display:flex}.memory-reading-text,.memory-prompt-text{color:#132b56;letter-spacing:-.035em;text-wrap:balance;max-width:710px;margin:0;font-size:clamp(24px,3.7vw,42px);font-weight:900;line-height:1.3}.memory-prompt-text{font-size:clamp(25px,4vw,45px)}.memory-meaning-panel{color:#61718a;text-align:left;background:#ffffffb8;border:1px solid #e6dcc9;border-radius:17px;width:min(720px,100%);margin-top:24px;display:flex;overflow:hidden}.memory-meaning-panel>div{flex-direction:column;gap:4px;width:50%;padding:15px 17px;display:flex}.memory-meaning-panel>div+div{background:#fff6d673;border-left:1px solid #e6dcc9}.memory-meaning-panel strong{color:#213b64;font-size:13px;font-weight:900}.memory-meaning-panel span{font-size:12px;font-weight:700;line-height:1.45}.memory-meaning-panel+.memory-primary{margin-top:20px}.memory-word-bank,.memory-chunk-bank{flex-wrap:wrap;justify-content:center;gap:11px;width:100%;min-width:0;margin-top:34px;display:flex}.memory-word-bank button,.memory-chunk-bank button,.memory-order-zone button{color:#18335f;overflow-wrap:anywhere;white-space:normal;background:#fff;border:1px solid #d9d2c4;border-radius:12px;max-width:100%;min-height:46px;padding:10px 19px;font-size:14px;font-weight:900;line-height:1.3;transition:transform .15s,border-color .15s,background .15s;box-shadow:0 5px 12px #20232c0f}.memory-word-bank button.is-selected{background:#fff4c7;border-color:#f2b313;transform:translateY(-2px);box-shadow:0 0 0 3px #f6b81a24}.memory-step-body.is-correct .memory-word-bank button.is-selected,.memory-step-body.is-correct .memory-answer-reveal{background:#edf9f1;border-color:#53a775}.memory-step-body.is-incorrect .memory-word-bank button.is-selected,.memory-step-body.is-incorrect .memory-answer-reveal{background:#fff0ec;border-color:#df7967}.memory-action-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;width:100%;margin-top:auto;padding-top:32px;display:grid}.memory-action-row .memory-hint{justify-self:start}.memory-action-row .memory-primary{grid-column:2}.memory-hint,.memory-finish{color:#8a713e;text-underline-offset:4px;background:0 0;padding:11px 4px;font-size:12px;font-weight:900;-webkit-text-decoration:underline #8a713e52;text-decoration:underline #8a713e52}.memory-order-zone{background:#ffffff80;border:2px dashed #d8cdb6;border-radius:17px;flex-wrap:wrap;flex-shrink:0;place-content:center;gap:8px;width:100%;min-width:0;min-height:94px;padding:16px;display:flex}.memory-order-zone>span{color:#95866b;margin:auto;font-size:13px;font-weight:800}.memory-order-zone button{cursor:default;background:#fff7d9;border-color:#e5b53f;min-height:42px;padding:0 14px}.memory-chunk-bank{margin-top:18px}.memory-chunk-bank button:disabled{cursor:default;opacity:.3}.memory-order-feedback{text-align:left;border:1px solid #d9d2c4;border-radius:14px;flex-direction:column;flex-shrink:0;gap:3px;width:100%;margin-top:16px;padding:13px 15px;display:flex}.memory-step-body.is-correct .memory-order-feedback{background:#edf9f1;border-color:#67ad80}.memory-step-body.is-incorrect .memory-order-feedback{background:#fff0ec;border-color:#df7967}.memory-order-feedback strong{color:#15345f;font-size:12px;font-weight:950}.memory-order-feedback span{color:#5d6d84;font-size:12px;font-weight:700;line-height:1.5}.memory-recall-instruction{color:#63718a;max-width:620px;margin:0 0 16px;font-size:14px;font-weight:750}.memory-recall-cue-control{background:#ffffffb8;border:1px solid #ddd3c1;border-radius:12px;gap:3px;margin-bottom:12px;padding:4px;display:inline-flex}.memory-recall-cue-control button{color:#6c7282;min-height:34px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 12px;font-size:11px;font-weight:900}.memory-recall-cue-control button.active{color:#fff;background:#4e49d8;box-shadow:0 5px 12px #3933b52e}.memory-first-letter-cue{color:#6b5796;letter-spacing:.05em;background:#f7f2ff;border:1px solid #e4d8c2;border-radius:13px;width:100%;margin:0 0 12px;padding:12px 14px;font-size:13px;font-weight:900;line-height:1.65}.memory-recall-input{resize:none;color:#142f5d;width:100%;min-height:150px;font:inherit;background:#ffffffd1;border:2px solid #dfd6c4;border-radius:17px;outline:0;padding:20px;font-size:18px;font-weight:750;line-height:1.55;transition:border-color .16s,box-shadow .16s}.memory-recall-input:focus{border-color:#e7ad20;box-shadow:0 0 0 4px #e7ad2021}.memory-recall-feedback{text-align:left;background:#fff;border:1px solid #d9d2c4;border-radius:14px;width:100%;margin-top:14px;padding:14px 16px}.memory-recall-feedback>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.memory-recall-feedback>header strong{color:#15345f;font-size:12px;font-weight:950}.memory-recall-feedback>header span{color:#6a778d;font-size:11px;font-weight:850}.memory-recall-word-diff{flex-wrap:wrap;gap:5px;margin:11px 0 0;display:flex}.memory-recall-word-diff span{color:#344b6d;background:#f2f3f5;border-radius:7px;padding:4px 6px;font-size:12px;font-weight:800}.memory-recall-word-diff span.is-correct{color:#176343;background:#dff5e9}.memory-recall-word-diff span.is-incorrect,.memory-recall-word-diff span.is-missing{color:#a6382f;background:#ffe5df;-webkit-text-decoration:underline wavy #a6382f80;text-decoration:underline wavy #a6382f80}.memory-recall-word-diff span.is-extra{color:#8a6200;background:#fff0bd;text-decoration:line-through}.memory-recall-summary{color:#5e6d83;margin:10px 0 0;font-size:11px;font-weight:800;line-height:1.45}.memory-answer-reveal{text-align:left;border:1px solid #d9d2c4;border-radius:14px;flex-direction:column;gap:3px;width:100%;margin-top:14px;padding:14px 16px;display:flex}.memory-answer-reveal strong{color:#15345f;font-size:12px;font-weight:950}.memory-answer-reveal span{color:#5d6d84;font-size:12px;font-weight:700;line-height:1.5}.memory-score-ring{background:conic-gradient(#ffbd1d var(--score), #eee3cd 0);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:116px;height:116px;margin:-5px auto 20px;display:flex;position:relative;box-shadow:0 18px 34px #b87b0024}.memory-score-ring:before{content:"";background:#fffaf0;border-radius:50%;width:91px;height:91px;position:absolute}.memory-score-ring strong,.memory-score-ring span{z-index:1;position:relative}.memory-score-ring strong{color:#0d2d5c;font-size:38px;font-weight:950;line-height:1}.memory-score-ring span{color:#9b7d42;text-transform:uppercase;margin-top:3px;font-size:9px;font-weight:900}.memory-result-stats{grid-template-columns:repeat(3,1fr);gap:10px;max-width:680px;margin:28px auto 0;display:grid}.memory-result-meaning{text-align:left;background:#fff9e5bf;border:1px solid #e7ddca;border-radius:15px;flex-direction:column;gap:4px;max-width:680px;margin:22px auto 0;padding:13px 16px;display:flex}.memory-result-meaning strong{color:#16345f;font-size:12px;font-weight:950}.memory-result-meaning span{color:#65738a;font-size:12px;font-weight:700;line-height:1.5}.memory-result-stats>div{background:#ffffffa8;border:1px solid #e7ddca;border-radius:15px;padding:16px}.memory-result-stats span,.memory-result-stats strong{display:block}.memory-result-stats span{color:#9a8052;letter-spacing:.07em;text-transform:uppercase;font-size:9px;font-weight:900}.memory-result-stats strong{color:#14325e;margin-top:5px;font-size:14px;font-weight:950}.memory-result-actions{justify-content:center;gap:12px;margin-top:26px;display:flex}.memory-secondary{color:#17335f;background:#fff;border:1px solid #dcd2c0}.memory-finish{margin:14px auto -9px;display:block}@media (hover:hover){.memory-close:hover,.memory-word-bank button:hover,.memory-chunk-bank button:not(:disabled):hover{transform:translateY(-2px)}.memory-primary:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 9px #da8f00,0 22px 36px #c17c003b}}@media (width<=700px){.memory-game-topbar{width:calc(100% - 24px);min-height:60px;margin-top:max(6px, env(safe-area-inset-top));grid-template-columns:44px minmax(0,1fr) auto;gap:8px}.memory-game-topbar>strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.memory-game-overlay[lang=de] .memory-game-topbar>strong{white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.2}.memory-game-overlay[lang=de] .memory-quick-start{flex-direction:column;align-items:stretch;gap:14px;padding:18px}.memory-game-overlay[lang=de] .memory-quick-start>div>strong,.memory-game-overlay[lang=de] .memory-select-trigger>strong{white-space:normal;overflow-wrap:anywhere}.memory-game-overlay[lang=de] .memory-setup-card .memory-resume-card>span:first-child{flex-direction:column;gap:5px;min-width:0;display:flex}.memory-close{width:40px;height:40px}.memory-version-control>span{display:none}.memory-select.is-compact .memory-select-trigger{border-radius:10px;min-width:72px;min-height:40px;padding:0 9px 0 11px}.memory-select.is-compact .memory-select-trigger>strong{font-size:12px}.memory-game-main{padding:6px 12px max(14px, env(safe-area-inset-bottom));align-items:flex-start}.memory-setup-card,.memory-passage-card,.memory-result-card{border-radius:21px;margin:auto 0;padding:27px 19px}.memory-setup-card h2,.memory-result-card h2{font-size:34px}.memory-setup-card>p:not(.memory-eyebrow):not(.memory-error),.memory-result-card>p:not(.memory-eyebrow){margin-top:14px;font-size:14px;line-height:1.48}.memory-setup-card{margin:0}.memory-learning-dashboard{border-radius:16px;margin-top:20px;padding:10px}.memory-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-dashboard-stats strong{font-size:21px}.memory-resume-card,.memory-review-clear,.memory-review-queue{min-height:60px;padding:10px 11px}.memory-resume-card strong,.memory-review-queue strong,.memory-review-clear strong{font-size:12px}.memory-review-queue>span:last-child{font-size:11px}.memory-recent-history{grid-template-columns:1fr;gap:6px}.memory-recent-history li{font-size:10px}.memory-library-heading{align-items:center;margin-top:21px}.memory-library-heading strong{font-size:14px}.memory-library-heading>button{padding:0 9px;font-size:10px}.memory-search-field{min-height:46px}.memory-setup-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}.memory-setup-fields>.memory-field,.memory-selected-path{min-height:68px;padding:11px 13px}.memory-selected-path{text-align:left;grid-column:1/-1}.memory-passage-picker{grid-template-columns:1fr}.memory-passage-option>button:first-child{min-height:54px}.memory-start{width:min(100%,300px);margin-top:20px}.memory-passage-card{flex-direction:column;flex:none;min-height:calc(100svh - 80px);margin:0;padding-top:22px;display:flex}.memory-passage-card>.memory-book-icon{display:none}.memory-passage-header{align-items:center;gap:10px}.memory-passage-header h2{font-size:27px}.memory-passage-header>span{margin-bottom:0;padding:6px 9px;font-size:10px}.memory-passage-progress{margin-top:11px}.memory-step-body{flex:1 0 auto;min-height:0;padding-top:25px}.memory-reading-text,.memory-prompt-text{font-size:clamp(24px,7vw,32px);line-height:1.27}.memory-meaning-panel{flex-direction:column;margin-top:18px}.memory-meaning-panel>div{width:100%;padding:11px 13px}.memory-meaning-panel>div+div{border-top:1px solid #e6dcc9;border-left:0}.memory-word-bank,.memory-chunk-bank{flex-shrink:0;gap:8px;margin-top:23px}.memory-word-bank button,.memory-chunk-bank button{min-height:43px;padding:9px 14px;font-size:13px}.memory-action-row{flex-direction:column-reverse;flex-shrink:0;justify-content:center;gap:7px;margin-top:22px;padding-top:0;display:flex}.memory-action-row .memory-primary{width:min(100%,270px);min-height:48px;padding:0 18px}.memory-recall-cue-control{width:100%}.memory-recall-cue-control button{flex:1}.memory-first-letter-cue{max-height:92px;font-size:11px;overflow-y:auto}.memory-recall-feedback>header{flex-direction:column;align-items:flex-start;gap:3px}.memory-recall-word-diff{max-height:132px;overflow-y:auto}.memory-select-panel,.memory-select.is-compact .memory-select-panel,.memory-setup-fields>.memory-field:nth-child(n+3) .memory-select-panel{top:auto;right:12px;bottom:max(12px, env(safe-area-inset-bottom));background:#fffaf0;border-color:#ffffffdb;border-radius:22px;width:auto;max-width:none;max-height:min(68svh,560px);padding:9px;animation-name:memory-select-sheet-in;position:fixed;left:12px;box-shadow:0 28px 90px #00071a7a}.memory-select-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#010a1d94}.memory-select-panel>header{color:#0d2d5c;justify-content:space-between;align-items:center;min-height:48px;padding:4px 6px 8px 12px;display:flex}.memory-select-panel>header>strong{font-size:15px;font-weight:950}.memory-select-panel>header>button{color:#17345f;background:#f3ead8;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.memory-select-panel>header svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2.2px;width:18px}.memory-select-options{max-height:calc(min(68svh,560px) - 66px);padding:2px}.memory-select-options>button{border-radius:13px;min-height:48px;padding:11px 13px}.memory-select-options>button>span{font-size:14px}.memory-order-zone{min-height:108px;padding:11px}.memory-order-zone button{height:auto;min-height:38px;padding:7px 10px;line-height:1.25}.memory-recall-input{min-height:126px;padding:15px;font-size:16px}.memory-result-stats{grid-template-columns:1fr;gap:7px;margin-top:21px}.memory-result-stats>div{justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.memory-result-stats strong{margin-top:0}.memory-result-actions{flex-direction:column-reverse}.memory-result-actions>button{width:100%}}@media (height<=700px) and (width>=701px){.memory-game-topbar{min-height:58px;margin-top:4px}.memory-game-main{align-items:flex-start}.memory-setup-card,.memory-passage-card,.memory-result-card{padding-top:28px;padding-bottom:28px}.memory-step-body{min-height:290px;padding-top:28px}}@media (prefers-reduced-motion:reduce){.memory-game-overlay,.memory-game-overlay.is-closing,.memory-setup-card,.memory-passage-card,.memory-result-card,.memory-step-body{animation:none}}@keyframes memory-overlay-enter{0%{border-radius:50% 50% 0 0/12% 12% 0 0;transform:translateY(100%)}to{border-radius:0;transform:translate(0,0)}}@keyframes memory-overlay-exit{0%{opacity:1;transform:translate(0,0)}to{opacity:0;transform:translateY(18%)}}@keyframes memory-card-in{0%{opacity:0;transform:translateY(18px)scale(.985)}to{opacity:1;transform:none}}@keyframes memory-select-in{0%{opacity:0;transform:translateY(-5px)scale(.98)}to{opacity:1;transform:none}}@keyframes memory-select-sheet-in{0%{opacity:0;transform:translateY(24px)scale(.985)}to{opacity:1;transform:none}}@keyframes memory-step-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
