.memory-wall-root .app-shell,.memory-wall-root .brand-logo,.memory-wall-root .button,.memory-wall-root .drag-ghost,.memory-wall-root .eyebrow,.memory-wall-root .icon-button,.memory-wall-root .modal-backdrop,.memory-wall-root .pause-card,.memory-wall-root .results-card,.memory-wall-root .skip-link{all:revert}.memory-wall-root{--canvas:#fbf7ed;--paper:#fffefa;--paper-strong:#fff;--ink:#17363b;--ink-soft:#4b6265;--teal:#0d6f69;--teal-dark:#075650;--teal-pale:#dceee8;--sun:#f3bd61;--orange:#dd7c65;--brick:#d8945f;--brick-light:#efc397;--brick-dark:#74442b;--line:#b6c9c5;--danger:#9d382c;--success:#176b43;--shadow:0 18px 54px #1d3f3b21;--shadow-small:0 8px 22px #1d3f3b1f;--radius-xl:28px;--radius-lg:20px;--radius-md:14px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.memory-wall-root,.memory-wall-root *{box-sizing:border-box}.memory-wall-root{background:var(--canvas);scroll-behavior:smooth;background:radial-gradient(circle at 5% 4%, #f0c64c1f, transparent 25rem), radial-gradient(circle at 96% 92%, #0b6f6c1a, transparent 28rem), var(--canvas);min-width:320px;min-height:100%;color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:18px;line-height:1.5}.memory-wall-root button,.memory-wall-root input,.memory-wall-root select,.memory-wall-root summary{font:inherit}.memory-wall-root button,.memory-wall-root a,.memory-wall-root summary,.memory-wall-root input,.memory-wall-root select{-webkit-tap-highlight-color:transparent}.memory-wall-root button{color:inherit}.memory-wall-root a{color:var(--teal-dark)}.memory-wall-root :focus-visible{outline-offset:4px;outline:4px solid #173b3b}.memory-wall-root .sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.memory-wall-root .skip-link{z-index:1000;background:var(--ink);color:#fff;border-radius:10px;min-height:48px;padding:11px 16px;font-weight:800;position:fixed;top:10px;left:12px;transform:translateY(-150%)}.memory-wall-root .skip-link:focus{transform:translateY(0)}.memory-wall-root .app-shell{min-height:100dvh;padding:env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left))}.memory-wall-root .app-shell--play{justify-content:center;align-items:flex-start;display:flex}.memory-wall-root .app-shell--play .play-shell{flex:0 520px;min-width:0;margin:0}.memory-wall-root .app-header{justify-content:space-between;align-items:center;gap:14px;width:min(100%,1120px);min-height:62px;margin:0 auto;display:flex}.memory-wall-root .brand{min-height:48px;color:var(--ink);letter-spacing:-.025em;align-items:center;gap:11px;font-weight:850;text-decoration:none;display:inline-flex}.memory-wall-root .brand-logo{object-fit:contain;flex:0 0 44px;width:44px;height:44px;display:block}.memory-wall-root .brand-copy{line-height:1.05;display:grid}.memory-wall-root .brand-copy small{color:var(--ink-soft);letter-spacing:.1em;text-transform:uppercase;margin-top:4px;font-size:.66rem;font-weight:750}.memory-wall-root .header-actions,.memory-wall-root .action-row,.memory-wall-root .dialog-actions,.memory-wall-root .support-links{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.memory-wall-root .button,.memory-wall-root .icon-button{border:2px solid var(--ink);background:var(--paper);min-height:48px;color:var(--ink);cursor:pointer;box-shadow:0 3px 0 var(--ink);border-radius:999px;font-weight:800;transition:transform .15s,box-shadow .15s,background .15s}.memory-wall-root .button{justify-content:center;align-items:center;gap:8px;padding:10px 20px;text-decoration:none;display:inline-flex}.memory-wall-root .icon-button{min-width:48px;padding:8px 14px}.memory-wall-root .button:hover,.memory-wall-root .icon-button:hover{box-shadow:0 4px 0 var(--ink);transform:translateY(-1px)}.memory-wall-root .button:active,.memory-wall-root .icon-button:active{box-shadow:0 1px 0 var(--ink);transform:translateY(2px)}.memory-wall-root .button--primary{background:var(--teal);color:#fff}.memory-wall-root .button--warm{background:var(--sun)}.memory-wall-root .button--quiet{box-shadow:none;text-underline-offset:4px;background:0 0;border-color:#0000;text-decoration:underline}.memory-wall-root .button--danger{border-color:var(--danger);color:var(--danger);box-shadow:0 3px 0 var(--danger)}.memory-wall-root .button[disabled],.memory-wall-root .icon-button[disabled]{cursor:not-allowed;opacity:.55;transform:none}.memory-wall-root .setup-main{width:min(100%,1080px);margin:0 auto;padding:clamp(26px,5vw,64px) 0 40px}.memory-wall-root .setup-grid{grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);align-items:start;gap:clamp(28px,6vw,72px);display:grid}.memory-wall-root .eyebrow{color:var(--teal-dark);letter-spacing:.12em;text-transform:uppercase;margin:0 0 10px;font-size:.78rem;font-weight:850}.memory-wall-root .setup-copy h1,.memory-wall-root .results-card h1{letter-spacing:-.055em;text-wrap:balance;max-width:720px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(3rem,7vw,5.7rem);line-height:.94}.memory-wall-root .setup-lede{max-width:660px;color:var(--ink-soft);margin:22px 0 0;font-size:clamp(1.06rem,1.8vw,1.3rem);line-height:1.55}.memory-wall-root .setup-copy .action-row{margin-top:28px}.memory-wall-root .promise-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:34px 0 0;padding:0;list-style:none;display:grid}.memory-wall-root .promise-list li{border:1px solid var(--line);border-radius:var(--radius-md);background:#fffdf7b8;min-height:104px;padding:16px}.memory-wall-root .promise-list strong,.memory-wall-root .promise-list span{display:block}.memory-wall-root .promise-list span{color:var(--ink-soft);margin-top:4px;font-size:.87rem;line-height:1.4}.memory-wall-root .settings-card,.memory-wall-root .results-card,.memory-wall-root .tutorial-card,.memory-wall-root .pause-card{border:2px solid var(--ink);border-radius:var(--radius-xl);background:var(--paper);box-shadow:var(--shadow)}.memory-wall-root .settings-card{padding:clamp(22px,4vw,34px)}.memory-wall-root .settings-card h2{letter-spacing:-.035em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.8rem,4vw,2.45rem)}.memory-wall-root .settings-card>p{color:var(--ink-soft);margin:7px 0 22px}.memory-wall-root .field-group{border:0;margin:0 0 22px;padding:0}.memory-wall-root .field-group legend,.memory-wall-root .field-label{letter-spacing:.055em;text-transform:uppercase;margin-bottom:9px;font-size:.84rem;font-weight:850;display:block}.memory-wall-root .segmented{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.memory-wall-root .segment{border:2px solid var(--line);min-height:48px;color:var(--ink);cursor:pointer;background:#fff;border-radius:12px;padding:8px 9px;font-weight:750}.memory-wall-root .segment[aria-pressed=true]{border-color:var(--ink);background:var(--teal-pale);box-shadow:inset 0 0 0 2px var(--teal)}.memory-wall-root .check-row{cursor:pointer;align-items:center;gap:12px;min-height:48px;padding:8px 0;display:flex}.memory-wall-root .check-row input{width:24px;height:24px;accent-color:var(--teal)}.memory-wall-root .advanced-settings{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:2px 0 22px}.memory-wall-root .advanced-settings summary{cursor:pointer;align-items:center;min-height:52px;font-weight:800;display:flex}.memory-wall-root .advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:2px 0 18px;display:grid}.memory-wall-root .advanced-grid label{color:var(--ink-soft);gap:6px;font-size:.84rem;font-weight:750;display:grid}.memory-wall-root .advanced-grid input,.memory-wall-root .advanced-grid select{border:2px solid var(--line);width:100%;min-height:46px;color:var(--ink);background:#fff;border-radius:10px;padding:8px 10px}.memory-wall-root .storage-note,.memory-wall-root .safety-note{color:var(--ink-soft);font-size:.84rem;line-height:1.45}.memory-wall-root .setup-footer{border-top:1px solid var(--line);width:min(100%,1080px);margin:0 auto;padding:24px 0 6px}.memory-wall-root .play-shell{width:min(100%,520px);min-height:calc(100dvh - max(24px, env(safe-area-inset-bottom)));flex-direction:column;margin:0 auto;display:flex}.memory-wall-root .play-header{justify-content:space-between;align-items:center;gap:10px;min-height:58px;display:flex}.memory-wall-root .play-title{letter-spacing:-.025em;align-items:center;gap:9px;min-width:0;font-weight:850;display:flex}.memory-wall-root .play-title .brand-logo{flex-basis:34px;width:34px;height:34px}.memory-wall-root .play-title span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.memory-wall-root .game-main{flex-direction:column;flex:1;align-items:center;width:100%;display:flex}.memory-wall-root .status-bar{border:2px solid var(--ink);background:var(--paper);width:min(100%,360px);min-height:54px;box-shadow:var(--shadow-small);border-radius:15px;grid-template-columns:repeat(3,minmax(0,1fr));margin:2px 0 8px;display:grid;overflow:hidden}.memory-wall-root .stat{border-left:1px solid var(--line);align-content:center;place-items:center;min-width:0;padding:5px 4px;line-height:1.05;display:grid}.memory-wall-root .stat:first-child{border-left:0}.memory-wall-root .stat-label{color:var(--ink-soft);letter-spacing:.075em;text-transform:uppercase;font-size:.63rem;font-weight:800}.memory-wall-root .stat-value{font-variant-numeric:tabular-nums;margin-top:3px;font-size:1.02rem;font-weight:900}.memory-wall-root .wall-frame{border:3px solid var(--ink);background:#835239;border-radius:18px;width:min(100%,360px);padding:6px;position:relative;box-shadow:0 8px #563522,0 18px 34px #29322a2e}.memory-wall-root .wall-grid{aspect-ratio:6/8;background:#68422f;border-radius:11px;grid-template-rows:repeat(8,minmax(0,1fr));grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;width:100%;padding:3px;display:grid;overflow:visible}.memory-wall-root .wall-cell{border:2px solid var(--brick-dark);background:linear-gradient(145deg, #ffffff47, transparent 34%), var(--brick);border-radius:7px;min-width:0;min-height:0;position:relative;box-shadow:inset 0 -3px #74442b2e}.memory-wall-root button.wall-cell{cursor:pointer;width:100%;padding:0}.memory-wall-root button.wall-cell:hover{border-color:var(--ink);filter:saturate(1.08)}.memory-wall-root .wall-cell--empty{box-shadow:none;background:#2f1f1840;border-color:#ffffff1a}.memory-wall-root .wall-cell--gap{background:#fffdf71f;border:2px dashed #ffdf9d;box-shadow:inset 0 0 0 2px #3e241833}.memory-wall-root .wall-cell--cue{box-shadow:0 0 0 3px var(--sun), inset 0 0 0 2px var(--ink);z-index:2;background:#fff9e8;border-color:#fff;animation:.18s ease-out cue-arrive}.memory-wall-root .wall-cell--correct{border-color:var(--success);background:#e0f5e9;animation:.42s ease-out match-burst}.memory-wall-root .match-burst-label{border:2px solid var(--success);color:var(--success);background:#e0f5e9;border-radius:5px;place-items:center;font-size:.68rem;font-weight:950;display:grid;position:absolute;inset:2px}.memory-wall-root .wall-cell--moved{box-shadow:inset 0 0 0 3px var(--sun)}.memory-wall-root .wall-grid[aria-busy=true] .wall-cell{cursor:wait}.memory-wall-root .cell-coordinate{color:#3a2015b8;pointer-events:none;font-size:.49rem;font-weight:850;line-height:1;position:absolute;top:2px;left:3px}.memory-wall-root .cue-badge{pointer-events:none;place-items:center;display:grid;position:absolute;inset:2px}.memory-wall-root .cue-badge .memory-token{width:82%;height:82%}.memory-wall-root .tray-panel{text-align:center;width:min(100%,400px);margin-top:15px}.memory-wall-root .instruction{min-height:27px;color:var(--ink-soft);margin:0 0 8px;font-size:.88rem;font-weight:700}.memory-wall-root .instruction strong{color:var(--ink)}.memory-wall-root .tray{justify-content:center;align-items:center;gap:9px;min-height:76px;display:flex}.memory-wall-root .tray-item{border:2px solid var(--ink);background:var(--paper);cursor:grab;width:clamp(60px,18vw,72px);min-width:60px;height:clamp(60px,18vw,72px);box-shadow:0 4px 0 var(--ink), var(--shadow-small);touch-action:none;-webkit-user-select:none;user-select:none;border-radius:17px;padding:5px;position:relative}.memory-wall-root .tray-item[aria-pressed=true]{z-index:1;box-shadow:0 0 0 12px var(--sun), 0 4px 0 var(--ink);background:#fff1b9}.memory-wall-root .tray-item[data-dragging=true]{cursor:grabbing;opacity:.55;touch-action:none}.memory-wall-root .tray-item[data-ready=false]{cursor:grab;border-style:dashed}.memory-wall-root .tray-item .memory-token{width:100%;height:100%}.memory-wall-root .ready-mark{border:2px solid var(--ink);background:var(--sun);border-radius:50%;place-items:center;width:23px;height:23px;font-size:.7rem;font-weight:950;display:grid;position:absolute;bottom:-5px;right:-5px}.memory-wall-root .drag-ghost{z-index:100;border:3px solid var(--ink);background:var(--paper);width:72px;height:72px;box-shadow:var(--shadow);pointer-events:none;border-radius:18px;padding:7px;position:fixed;transform:translate(-50%,-50%)}.memory-wall-root .memory-token{color:var(--ink);background:#fffdf5;border:2px solid #173b3ba6;border-radius:14px;place-items:center;display:grid;position:relative;overflow:hidden}.memory-wall-root .asset-art{object-fit:contain;width:72%;height:72%;display:block}.memory-wall-root .asset-text{z-index:1;color:var(--teal-dark);text-shadow:0 1px #fff;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.35rem,6vw,2rem);font-weight:900;line-height:1;position:relative}.memory-wall-root .forced-token-label{display:none}.memory-wall-root .feedback{width:min(100%,400px);min-height:42px;color:var(--ink-soft);text-align:center;justify-content:center;align-items:center;margin-top:8px;padding:6px 12px;font-size:.82rem;font-weight:750;display:flex}.memory-wall-root .feedback[data-kind=correct]{color:var(--success)}.memory-wall-root .feedback[data-kind=penalty]{color:var(--danger)}.memory-wall-root .modal-backdrop{z-index:300;padding:max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#0e2a29c2;place-items:center;display:grid;position:fixed;inset:0;overflow-y:auto}.memory-wall-root .pause-card,.memory-wall-root .tutorial-card{width:min(100%,650px);padding:clamp(24px,5vw,42px)}.memory-wall-root .pause-card{max-width:480px}.memory-wall-root .pause-card h2,.memory-wall-root .tutorial-card h2{letter-spacing:-.045em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,7vw,3.4rem);line-height:1}.memory-wall-root .pause-card p,.memory-wall-root .tutorial-card>p{color:var(--ink-soft)}.memory-wall-root .dialog-actions{margin-top:24px}.memory-wall-root .tutorial-progress{gap:7px;margin:0 0 22px;display:flex}.memory-wall-root .tutorial-progress span{background:var(--line);border-radius:999px;width:28px;height:7px}.memory-wall-root .tutorial-progress span[data-active=true]{background:var(--teal)}.memory-wall-root .tutorial-demo{border:2px solid var(--line);border-radius:var(--radius-lg);background:#f7f2e7;place-items:center;min-height:220px;margin:24px 0;padding:18px;display:grid}.memory-wall-root .mini-wall{grid-template-columns:repeat(6,1fr);gap:4px;width:min(100%,360px);display:grid}.memory-wall-root .mini-brick{border:2px solid var(--brick-dark);background:var(--brick-light);border-radius:7px;place-items:center;min-height:46px;font-size:.68rem;font-weight:850;display:grid}.memory-wall-root .mini-brick[data-target=true]{box-shadow:0 0 0 3px var(--sun);background:#fff9e8;animation:2.8s ease-in-out infinite tutorial-cue}.memory-wall-root .mini-brick[data-gap=true]{background:0 0;border-style:dashed;animation:2.8s ease-in-out infinite tutorial-gap}.memory-wall-root .move-demo{grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;width:100%;display:grid}.memory-wall-root .move-arrow{color:var(--teal);font-size:2rem;font-weight:900;animation:2.8s ease-in-out infinite tutorial-arrow}.memory-wall-root .move-demo>div:first-child .mini-brick[data-target=true]{animation-name:tutorial-depart}.memory-wall-root .move-demo>div:last-child .mini-brick[data-target=true]{animation-name:tutorial-arrive}.memory-wall-root .practice-wrap{gap:14px;width:min(100%,390px);display:grid}.memory-wall-root .practice-choice{justify-content:center;gap:10px;display:flex}.memory-wall-root .results-main{width:min(100%,760px);margin:0 auto;padding:clamp(28px,6vw,72px) 0}.memory-wall-root .results-card{padding:clamp(26px,6vw,52px)}.memory-wall-root .results-card h1{font-size:clamp(2.8rem,8vw,5rem)}.memory-wall-root .results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:28px 0;display:grid}.memory-wall-root .result-stat{border:1px solid var(--line);border-radius:var(--radius-md);background:#f8f4ea;align-content:center;min-height:112px;padding:18px;display:grid}.memory-wall-root .result-stat span{color:var(--ink-soft);text-transform:uppercase;letter-spacing:.07em;font-size:.79rem;font-weight:800}.memory-wall-root .result-stat strong{font-variant-numeric:tabular-nums;margin-top:4px;font-size:clamp(1.55rem,5vw,2.2rem)}.memory-wall-root .new-best{border:2px solid var(--ink);background:var(--sun);border-radius:999px;align-items:center;min-height:38px;margin-top:16px;padding:5px 12px;font-weight:850;display:inline-flex}.memory-wall-root .game-behind-modal{visibility:hidden}@keyframes cue-arrive{0%{opacity:.4;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@keyframes tutorial-cue{0%,22%,to{opacity:.55;transform:scale(.94)}34%,68%{opacity:1;transform:scale(1)}}@keyframes tutorial-gap{0%,28%{opacity:1;transform:scale(1)}48%,to{opacity:.52;transform:scale(.95)}}@keyframes tutorial-arrow{0%,30%,to{opacity:.32}44%,70%{opacity:1}}@keyframes tutorial-depart{0%,34%{opacity:1;transform:scale(1)}55%,to{opacity:.34;transform:scale(.9)}}@keyframes tutorial-arrive{0%,44%{opacity:.34;transform:scale(.9)}64%,to{opacity:1;transform:scale(1)}}@keyframes match-burst{0%{transform:scale(1)}40%{transform:scale(1.13);box-shadow:0 0 0 8px #f0c64c73}to{opacity:0;transform:scale(.88)}}@media (max-width:820px){.memory-wall-root .setup-grid{grid-template-columns:1fr;gap:30px}.memory-wall-root .setup-copy h1,.memory-wall-root .settings-card{max-width:620px}}@media (max-width:580px){.memory-wall-root .app-shell{padding-right:max(12px, env(safe-area-inset-right));padding-left:max(12px, env(safe-area-inset-left))}.memory-wall-root .brand-copy small{display:none}.memory-wall-root .app-header .button--quiet{padding-left:10px;padding-right:10px}.memory-wall-root .setup-main{padding-top:24px}.memory-wall-root .setup-copy h1{font-size:clamp(2.8rem,15vw,4rem)}.memory-wall-root .setup-lede{margin-top:16px}.memory-wall-root .promise-list{grid-template-columns:1fr;gap:8px;margin-top:24px}.memory-wall-root .promise-list li{min-height:0}.memory-wall-root .advanced-grid{grid-template-columns:1fr}.memory-wall-root .settings-card .button--primary{width:100%}.memory-wall-root .wall-frame,.memory-wall-root .status-bar{width:min(100%,348px)}.memory-wall-root .play-header .button{padding-left:13px;padding-right:13px}.memory-wall-root .play-title span:last-child{font-size:.92rem}.memory-wall-root .cell-coordinate{font-size:.45rem}.memory-wall-root .results-grid{grid-template-columns:1fr 1fr}.memory-wall-root .move-demo{grid-template-columns:1fr;justify-items:stretch;gap:10px}.memory-wall-root .move-arrow{justify-self:center;transform:rotate(90deg)}.memory-wall-root .practice-wrap .mini-wall{grid-template-columns:repeat(3,minmax(0,1fr))}.memory-wall-root .practice-wrap .mini-brick{min-height:48px}.memory-wall-root .mini-brick{min-height:39px}}@media (max-width:380px){.memory-wall-root .segmented--pace{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-wall-root .segmented--pace .segment:last-child{grid-column:1/-1}}@media (max-height:700px){.memory-wall-root .modal-backdrop{place-items:start center}}@media (min-width:581px) and (max-height:800px){.memory-wall-root .app-shell--play .play-shell{min-height:0}.memory-wall-root .app-shell--play .game-main{flex:none}}@media (max-width:350px){.memory-wall-root .brand-copy>span{text-overflow:ellipsis;white-space:nowrap;max-width:155px;overflow:hidden}.memory-wall-root .header-actions .button{padding-left:10px;padding-right:10px}.memory-wall-root .wall-frame,.memory-wall-root .status-bar{width:100%}.memory-wall-root .tray{gap:6px}.memory-wall-root .tray-item{width:61px;min-width:61px;height:61px}}@media (prefers-reduced-motion:reduce){.memory-wall-root{scroll-behavior:auto}.memory-wall-root,.memory-wall-root *,.memory-wall-root :before,.memory-wall-root :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.memory-wall-root .wall-cell--correct{opacity:1;border-width:4px}}@media (forced-colors:active){.memory-wall-root{--canvas:Canvas;--paper:Canvas;--ink:CanvasText;--ink-soft:CanvasText;--line:CanvasText;--teal:ButtonFace;--teal-dark:LinkText;--brick:ButtonFace;--brick-light:ButtonFace;--brick-dark:ButtonText;--sun:Highlight}.memory-wall-root,.memory-wall-root *{box-shadow:none!important}.memory-wall-root :focus-visible{outline-color:highlight}.memory-wall-root .button,.memory-wall-root .icon-button,.memory-wall-root .segment,.memory-wall-root .tray-item,.memory-wall-root .wall-cell,.memory-wall-root .memory-token{color:buttontext;background:buttonface;border-color:buttontext}.memory-wall-root .button--primary,.memory-wall-root .segment[aria-pressed=true],.memory-wall-root .tray-item[aria-pressed=true]{z-index:1;color:highlighttext;background:highlight;border-color:highlight}.memory-wall-root .wall-cell--cue,.memory-wall-root .wall-cell--moved{outline-offset:-4px;outline:3px solid highlight}.memory-wall-root .asset-text{color:canvastext;text-shadow:none}.memory-wall-root .memory-token .asset-art{visibility:hidden}.memory-wall-root .forced-token-label{color:buttontext;text-align:center;background:buttonface;border:1px solid buttontext;border-radius:8px;place-items:center;font-size:clamp(.48rem,2.2vw,.7rem);font-weight:900;line-height:1;display:grid;position:absolute;inset:2px}}.memory-wall-root .wall-frame,.memory-wall-root .status-bar{width:min(100%,480px)}.memory-wall-root .wall-cell .memory-token{border-radius:7px;width:94%;height:94%}.memory-wall-root .wall-cell .asset-art{width:88%;height:88%}.memory-wall-root .wall-frame,.memory-wall-root .wall-grid{background-color:var(--brick-dark)}.memory-wall-root .brand,.memory-wall-root .play-title{color:inherit;text-decoration:none}.memory-wall-root .level-status{justify-content:space-between;align-items:baseline;gap:8px;width:min(100%,480px);margin:6px 0;display:flex}.memory-wall-root .level-status small{font-size:.75rem}.memory-wall-root .asset-status{text-align:center;min-height:20px;margin:0 0 6px;font-size:.75rem}.memory-wall-root .help-row{justify-content:flex-end;align-items:center;gap:10px;width:100%;padding-top:14px;display:flex}.memory-wall-root .help-button{color:#fff;background:#a12d27;border-color:#641915;border-radius:5px;min-width:86px}.memory-wall-root .help-button:hover:not(:disabled){background:#7b211d}.memory-wall-root .help-button:active:not(:disabled){transform:translateY(2px)}.memory-wall-root .help-button:disabled{opacity:.55;cursor:not-allowed}.memory-wall-root .difficulty-choice{border:0;gap:8px;padding:18px 0;display:flex}.memory-wall-root .difficulty-choice legend{font-weight:700}.memory-wall-root .difficulty-choice label{border:2px solid var(--ink);cursor:pointer;border-radius:8px;flex-wrap:wrap;flex:1;align-items:center;gap:6px;padding:10px 6px;display:flex}.memory-wall-root .difficulty-choice label:has(input:checked){background:#f8d665}.memory-wall-root .difficulty-choice input{accent-color:#173b3b;width:18px;height:18px}.memory-wall-root .difficulty-choice small{flex-basis:100%;font-size:.75rem}.memory-wall-root .research-note,.memory-wall-root .history-list{margin-top:20px;font-size:.88rem;line-height:1.6}.memory-wall-root summary{cursor:pointer;font-weight:700}.memory-wall-root .resume-panel{margin-bottom:16px}.memory-wall-root .pattern-marker{background-color:#fff;background-image:repeating-linear-gradient(0deg,#0000 0 3px,#172b2b 3px 5px);border:1px solid #172b2b;border-radius:2px;width:14px;height:12px;position:absolute;bottom:1px;right:1px}.memory-wall-root .pattern-marker[data-pattern=dots]{background-image:radial-gradient(#172b2b 1.5px,#0000 2px);background-size:5px 5px}.memory-wall-root .pattern-marker[data-pattern=vertical-stripes]{background-image:repeating-linear-gradient(90deg,#0000 0 3px,#172b2b 3px 5px)}.memory-wall-root .pattern-marker[data-pattern=diagonal-stripes]{background-image:repeating-linear-gradient(45deg,#0000 0 3px,#172b2b 3px 5px)}.memory-wall-root .pattern-marker[data-pattern=crosshatch]{background-image:repeating-linear-gradient(45deg,#0000 0 4px,#172b2b 4px 5px),repeating-linear-gradient(-45deg,#0000 0 4px,#172b2b 4px 5px)}.memory-wall-root .pattern-marker[data-pattern=waves]{background-image:radial-gradient(at 50% 0,#0000 2px,#172b2b 3px,#0000 4px);background-size:7px 6px}@media (forced-colors:active){.memory-wall-root .pattern-marker{display:none}}.memory-wall-root .pattern-marker[data-pattern=grid]{background-image:repeating-linear-gradient(0deg,#0000 0 4px,#172b2b 4px 5px),repeating-linear-gradient(90deg,#0000 0 4px,#172b2b 4px 5px)}.memory-wall-root .wall-bonus-backdrop{z-index:160;background:#141e1dc7;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.memory-wall-root .wall-bonus-card{text-align:center;color:#ffdc76;width:min(100%,420px);animation:wall-bonus-glow var(--bonus-glow-duration,.75s) ease-out 2 alternate;background:#193c3b;border:3px solid #f3cc61;border-radius:22px;padding:32px 20px;box-shadow:0 0 48px #ffd87066}.memory-wall-root .wall-bonus-card>p:first-child{text-shadow:0 3px #071f1e;margin:0 0 12px;font-size:clamp(1.6rem,7vw,2.5rem);font-weight:950}.memory-wall-root .wall-bonus-card>strong{text-shadow:0 3px #071f1e;font-size:clamp(1.5rem,7vw,2.3rem);display:block}.memory-wall-root .wall-bonus-caption{color:#fff6dc;margin:18px 0}@keyframes wall-bonus-glow{0%{box-shadow:0 0 20px #ffd87033}to{box-shadow:0 0 50px #ffd87088}}@media (prefers-reduced-motion:reduce){.memory-wall-root .wall-bonus-card{animation:none}}.memory-wall-root .cue-badge,.memory-wall-root .cue-badge *{pointer-events:none}.memory-wall-root .history-list{border-top:1px solid var(--line);width:min(720px,100% - 36px);margin:32px auto;padding:22px 0}.memory-wall-root .history-list h2{margin:0 0 8px;font-size:1.2rem}.memory-wall-root .history-list p{margin:0 0 16px}.memory-wall-root .history-rows{margin:0;padding:0;list-style:none}.memory-wall-root .history-rows li{border-bottom:1px solid var(--line);align-items:baseline;gap:14px;padding:12px 0;display:flex}.memory-wall-root .history-rank{width:1.8em;color:var(--muted);flex:none;font-weight:700}.memory-wall-root .history-rows li>div{flex-wrap:wrap;align-items:baseline;gap:4px 16px;min-width:0;display:flex}.memory-wall-root .history-rows small{flex-basis:100%}.memory-wall-root .history-list summary{cursor:pointer;padding:16px 0;font-weight:700}.memory-wall-root .history-less,.memory-wall-root details[open]>summary .history-more{display:none}.memory-wall-root details[open]>summary .history-less{display:inline}.memory-wall-root .wall-bonus-ok{color:#193c3b;background:#ffdc76;border:2px solid #fff6dc;min-width:140px;min-height:52px;font-size:1.2rem}.memory-wall-root .wall-cell{border-top-color:var(--brick-light);transition:background-color .7s,border-color .7s}@media (prefers-reduced-motion:reduce){.memory-wall-root .wall-cell{transition:none}}.memory-wall-root .memory-home-screen{box-sizing:border-box;width:min(100%,1120px);min-height:100svh;padding:max(16px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));margin:0 auto;position:relative}.memory-wall-root .memory-home-screen .app-header{min-height:66px}.memory-wall-root .memory-home-screen .setup-main{width:100%;padding:0}.memory-wall-root .memory-hero{grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);align-items:center;gap:clamp(40px,6vw,84px);min-height:690px;padding:48px 4px 34px;display:grid}.memory-wall-root .memory-pill{background:var(--teal-pale);min-height:34px;color:var(--teal-dark);letter-spacing:.07em;text-transform:uppercase;border-radius:999px;align-items:center;padding:6px 12px;font-size:.76rem;font-weight:850;display:inline-flex}.memory-wall-root .memory-home-screen .setup-copy h1{color:var(--ink);letter-spacing:-.065em;margin:20px 0 18px;font-family:Georgia,Times New Roman,serif;font-size:clamp(3.2rem,7vw,5.8rem);font-weight:600;line-height:.94}.memory-wall-root .memory-home-screen .setup-copy h1 em{color:var(--teal);font-style:italic}.memory-wall-root .memory-home-screen .setup-lede{max-width:550px;color:var(--ink-soft);margin:0;font-size:clamp(1.05rem,2vw,1.25rem);line-height:1.55}.memory-wall-root .memory-home-screen .settings-card{max-width:620px;box-shadow:none;background:#fffefad1;border:1px solid #c7d8d3;border-radius:20px;margin:26px 0 0;padding:18px}.memory-wall-root .memory-home-screen .settings-card h2{letter-spacing:-.015em;font-size:1.1rem}.memory-wall-root .memory-home-screen .settings-card>p{margin:5px 0 13px;font-size:.86rem;line-height:1.45}.memory-wall-root .memory-home-screen .difficulty-choice{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0;padding:0;display:grid}.memory-wall-root .memory-home-screen .difficulty-choice label{border:2px solid var(--line);background:var(--paper);min-width:0;min-height:96px;box-shadow:none;border-radius:14px;align-content:start;padding:10px}.memory-wall-root .memory-home-screen .difficulty-choice label:has(input:checked){border-color:var(--teal-dark);background:var(--teal-pale);box-shadow:inset 0 0 0 1px var(--teal-dark)}.memory-wall-root .memory-home-screen .difficulty-choice strong{font-size:.9rem}.memory-wall-root .memory-home-screen .difficulty-choice small{color:var(--ink-soft);font-size:.68rem;line-height:1.3}.memory-wall-root .setup-actions{flex-wrap:wrap;align-items:center;gap:14px;margin-top:18px;display:flex}.memory-wall-root .setup-actions>p{color:var(--ink-soft);flex-basis:100%;margin:0;font-size:.85rem}.memory-wall-root .memory-home-screen .button{min-width:160px;min-height:48px;box-shadow:none;border:0;border-radius:16px;padding:13px 20px}.memory-wall-root .memory-home-screen .button:hover{box-shadow:none;transform:none}.memory-wall-root .memory-home-screen .button--primary{background:var(--teal);box-shadow:0 7px 0 var(--teal-dark)}.memory-wall-root .memory-home-screen .button--primary:hover{box-shadow:0 7px 0 var(--teal-dark);background:#0a625d}.memory-wall-root .memory-home-screen .button--primary:active{box-shadow:0 4px 0 var(--teal-dark);transform:translateY(3px)}.memory-wall-root .memory-home-screen .button--secondary{background:var(--paper);border:2px solid #627e7b}.memory-wall-root .memory-local-note{color:var(--ink-soft);align-items:center;gap:9px;margin:24px 0 0;font-size:.86rem;display:flex}.memory-wall-root .memory-local-note>span{background:var(--teal-pale);width:26px;height:26px;color:var(--teal-dark);border-radius:50%;place-items:center;display:grid}.memory-wall-root .memory-hero-demo{background:linear-gradient(150deg,#ffffffc2,#eef7f3b8),#eef7f3;border:1px solid #cfdcd7;border-radius:48px;justify-self:center;width:min(100%,470px);margin:0;padding:clamp(20px,4vw,34px);position:relative;transform:rotate(1.2deg);box-shadow:0 18px 50px #1f40401f}.memory-wall-root .preview-wall-frame{border:3px solid var(--ink);background:#835239;border-radius:22px;padding:8px;box-shadow:0 8px #563522,0 18px 34px #29322a2e}.memory-wall-root .preview-wall-grid{aspect-ratio:6/5;background:#68422f;border-radius:13px;grid-template-rows:repeat(5,minmax(0,1fr));grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:4px;display:grid}.memory-wall-root .preview-brick{border:2px solid var(--brick-dark);border-top-color:var(--brick-light);background:linear-gradient(145deg, #ffffff47, transparent 34%), var(--brick);border-radius:8px;place-items:center;min-width:0;min-height:0;display:grid;position:relative;box-shadow:inset 0 -3px #74442b2e}.memory-wall-root .preview-brick>small{color:#3a2015b3;font-size:.5rem;font-weight:850;position:absolute;top:3px;left:4px}.memory-wall-root .preview-brick .memory-token{border-radius:10px;width:78%;height:78%}.memory-wall-root .preview-brick.is-cue{box-shadow:0 0 0 3px var(--sun), inset 0 0 0 2px var(--ink);z-index:2;background:#fff9e8;border-color:#fff}.memory-wall-root .preview-brick.is-match{z-index:1;background:#e0f5e9;border-color:#176b43;box-shadow:0 0 0 3px #79b694}.memory-wall-root .preview-check{border:2px solid var(--ink);background:var(--sun);width:24px;height:24px;color:var(--ink);border-radius:50%;place-items:center;font-size:.75rem;font-weight:950;display:grid;position:absolute;bottom:-6px;right:-6px}.memory-wall-root .preview-tray{grid-template-columns:1fr auto auto;align-items:center;gap:11px;margin-top:22px;display:grid}.memory-wall-root .preview-tray-label{color:var(--ink-soft);font-size:.78rem;font-weight:800}.memory-wall-root .preview-tray-token{border:2px solid var(--ink);background:var(--paper);width:62px;height:62px;box-shadow:0 4px 0 var(--ink);border-radius:16px;padding:5px;display:block}.memory-wall-root .preview-tray-token.is-selected{box-shadow:0 0 0 7px var(--sun), 0 4px 0 var(--ink);background:#fff1b9}.memory-wall-root .preview-tray-token .memory-token{width:100%;height:100%}.memory-wall-root .memory-hero-demo figcaption{color:var(--ink-soft);text-align:center;margin-top:20px;font-family:Georgia,Times New Roman,serif;font-size:.88rem;font-style:italic}.memory-wall-root .memory-how-grid{grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0 24px;display:grid}.memory-wall-root .memory-how-grid article{background:#fffefabd;border:1px solid #d5ded9;border-radius:20px;gap:16px;min-height:128px;padding:20px;display:flex}.memory-wall-root .memory-how-grid article>span{color:#dd7c65;font-family:Georgia,Times New Roman,serif;font-size:1.5rem;font-style:italic}.memory-wall-root .memory-how-grid strong{font-size:1rem;display:block}.memory-wall-root .memory-how-grid p{color:var(--ink-soft);margin:5px 0 0;font-size:.85rem;line-height:1.45}.memory-wall-root .memory-evidence{background:#fffefabd;border:1px solid #d5ded9;border-radius:20px;margin:22px 0 10px;padding:20px 22px}.memory-wall-root .memory-evidence .safety-note{margin:0}.memory-wall-root .memory-evidence .research-note{margin-top:12px}.memory-wall-root .memory-home-screen>.history-list{background:#fffefabd;border:1px solid #d5ded9;border-radius:20px;width:100%;margin:28px 0 12px;padding:22px}@media (max-width:900px){.memory-wall-root .memory-hero{grid-template-columns:1fr;gap:48px;min-height:0;padding-top:54px}.memory-wall-root .memory-hero-demo{width:min(92vw,540px)}}@media (max-width:580px){.memory-wall-root .memory-home-screen{padding-inline-start:max(12px, env(safe-area-inset-left));padding-inline-end:max(12px, env(safe-area-inset-right))}.memory-wall-root .memory-hero{gap:40px;padding-top:38px}.memory-wall-root .memory-home-screen .setup-copy h1{font-size:clamp(3rem,17vw,4.15rem)}.memory-wall-root .memory-home-screen .difficulty-choice{grid-template-columns:1fr}.memory-wall-root .memory-home-screen .difficulty-choice label{grid-template-columns:auto 1fr auto auto;align-items:center;column-gap:8px;min-height:0;display:grid}.memory-wall-root .memory-home-screen .difficulty-choice small{flex-basis:auto}.memory-wall-root .setup-actions,.memory-wall-root .setup-actions .button{width:100%}.memory-wall-root .memory-hero-demo{border-radius:35px;width:100%;padding:18px;transform:none}.memory-wall-root .preview-tray-token{width:54px;height:54px}.memory-wall-root .memory-how-grid{grid-template-columns:1fr}.memory-wall-root .memory-how-grid article{min-height:0}.memory-wall-root .game-brand-eyebrow{letter-spacing:.08em;font-size:.6rem}.memory-wall-root .game-brand-title{font-size:1.02rem}}@media (max-width:390px){.memory-wall-root .preview-tray{grid-template-columns:1fr auto auto;gap:8px}.memory-wall-root .preview-wall-grid{gap:3px}.memory-wall-root .memory-home-screen .app-header .button--quiet{display:none}}
