.memory-workshop{color:#f4e8ce;max-width:1100px;margin:0 auto;padding:24px}.memory-workshop h1{color:#e6c986;margin:.5rem 0;font-family:Georgia,serif;font-size:clamp(2rem,5vw,3.5rem)}.memory-badge{letter-spacing:.16em;color:#d7b574;font-size:.75rem}.memory-workshop nav{flex-wrap:wrap;gap:12px;margin:1rem 0;display:flex}.memory-workshop a{color:#e5c47d;text-decoration:underline}.memory-panel{background:#241f29;border:1px solid #736344;border-radius:16px;margin:20px 0;padding:22px}.memory-panel h2{margin-bottom:12px;font-size:1.4rem}.memory-workshop p{margin:.6rem 0;line-height:1.6}.memory-workshop label{flex-direction:column;gap:6px;display:flex}.memory-workshop input,.memory-workshop select{color:#f6eddf;box-sizing:border-box;background:#17151b;border:1px solid #9a8358;border-radius:8px;width:100%;min-width:0;padding:12px}.memory-workshop button{color:#f8edda;background:#403040;border:1px solid #ab8e55;border-radius:8px;min-height:44px;margin:6px 8px 6px 0;padding:12px 16px;font-weight:700}.memory-workshop button:disabled{opacity:.5}.memory-workshop .memory-primary{color:#201b18;background:#dbbd7c}.memory-settings{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.memory-sequence{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.memory-sequence figure{text-align:center;background:#17141d;border:1px solid #ac8e52;border-radius:12px;min-width:0;margin:0;padding:12px}.memory-sequence figure>span{color:#d8be83;display:block}.memory-sequence img{object-fit:contain;width:100%;height:90px;display:block}.memory-sequence figcaption{margin-top:8px;font-size:.85rem;font-weight:700}.memory-group-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.memory-group-list article{background:#18151d;border-radius:8px;padding:12px}.memory-group-list a{margin-right:12px;display:inline-block}.memory-phone{max-width:460px;padding:16px}.memory-phone .memory-sequence{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-phone .memory-panel{padding:16px}.memory-test-controls{margin:1rem 0;font-size:.8rem}.memory-palette{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.memory-palette button{min-width:0;margin:0;padding:8px 2px;font-size:.7rem}.memory-palette img{width:100%;height:45px;display:block}.memory-panel small{line-height:1.5;display:block}.memory-hero{border-radius:12px;width:100%}.memory-results article{background:#16141c;border-radius:8px;flex-wrap:wrap;justify-content:space-between;gap:12px;margin:8px 0;padding:12px;display:flex}.memory-tv-wrap{background:#110f16;justify-content:center;align-items:center;min-height:100dvh;display:flex}.memory-tv{aspect-ratio:16/9;box-sizing:border-box;color:#f3e8d2;background:linear-gradient(#17121af0,#17121af0),url(/saints/art/memory_challenge.webp) 50%/cover;flex-direction:column;gap:10px;width:min(100vw,177.778dvh);padding:2.5vh 3vw;display:flex;overflow:hidden}.memory-tv header{justify-content:space-between;align-items:center;display:flex}.memory-tv header span{letter-spacing:.15em;font-size:1vw}.memory-tv h1{color:#e7c987;margin:0;font-family:Georgia,serif;font-size:3.5vw}.memory-tv header p{margin:0;font-size:1.7vw}.memory-tv header>strong{font-size:4vw}.memory-tv>.memory-sequence{flex:1;grid-template-rows:minmax(0,1fr);min-height:0;margin:0}.memory-tv>.memory-sequence:has(figure:nth-child(5)){grid-template-rows:repeat(2,minmax(0,1fr))}.memory-tv .memory-sequence figure{flex-direction:column;align-items:center;min-height:0;padding:8px;display:flex}.memory-tv .memory-sequence img{flex:1;height:0;min-height:0}.memory-tv .memory-sequence figcaption{flex:none;margin-top:3px;font-size:1.6vw}.memory-tv .memory-sequence figure>span{font-size:1.3vw}.memory-tv footer{text-align:center;font-size:1.4vw}.memory-pub-message{text-align:center;flex:1;min-height:0}.memory-pub-message img{object-fit:contain;border-radius:16px;max-width:80%;height:55%}.memory-pub-message h2{margin:.4rem;font-size:2.6vw}.memory-pub-message p{font-size:1.8vw}.memory-tv .memory-results{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.memory-tv .memory-results h2{margin:0;font-size:2.5vw}.memory-tv .memory-results>.memory-sequence{flex:1;min-height:0;max-height:35vh;margin:.2rem 0}.memory-tv .memory-results article{margin:2px 0;padding:5px;font-size:1.1vw}.memory-tv .memory-results>p{margin:0;font-size:1vw}@media (max-width:600px){.memory-settings{grid-template-columns:1fr}.memory-workshop{padding:16px}.memory-sequence{gap:8px}.memory-panel{padding:16px}}@media (prefers-reduced-motion:reduce){.memory-workshop *{scroll-behavior:auto}}.memory-sequence img,.memory-palette img{filter:brightness(0)saturate()invert(82%)sepia(36%)saturate(480%)hue-rotate(350deg)brightness(96%)contrast(90%)}.memory-tv>.memory-sequence[data-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}.memory-film{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;min-height:0;display:flex;position:relative}.memory-film video{object-fit:contain;pointer-events:none;background:#110e17;border-radius:12px;flex:1;width:100%;height:0;min-height:0;display:block}.memory-film-caption{color:#eacb7b;justify-content:space-between;gap:16px;width:100%;font-size:1.3vw;display:flex}.memory-film button{color:#f1dfb1;background:#251b28;border:1px solid #d9ba73;border-radius:12px;font-size:1.4vw;position:absolute;inset:40% 35%}.memory-film [role=alert]{color:#ffe2ae;background:#241b28;padding:2rem;position:absolute}.memory-tv-wrap{place-items:center;width:100vw;height:100dvh;min-height:0;display:grid;position:fixed;inset:0;overflow:hidden}.memory-tv{grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(8px,1.6vh,20px);height:min(100dvh,56.25vw);padding:clamp(14px,2.5vh,32px) clamp(18px,3vw,60px);display:grid}.memory-tv header{gap:24px;min-width:0}.memory-tv header>div{min-width:0}.memory-tv h1{font-size:clamp(24px,3.2vw,64px);line-height:1.12}.memory-tv header p{font-size:clamp(14px,1.65vw,32px)}.memory-tv header>strong{white-space:nowrap;font-size:clamp(28px,4vw,76px)}.memory-tv footer{padding-inline:5%;font-size:clamp(12px,1.35vw,26px);line-height:1.35}.memory-pub-message{flex-direction:column;justify-content:center;align-items:center;gap:clamp(10px,2vh,24px);margin:0;font-size:clamp(18px,2.1vw,42px);display:flex;overflow:hidden}.memory-pub-message img{object-fit:contain;width:auto;max-width:75%;height:min(34vh,340px);max-height:55%}.memory-pub-message h2{font-size:clamp(24px,3vw,58px);line-height:1.15}.memory-pub-message p{max-width:80%;font-size:clamp(16px,1.8vw,36px);line-height:1.45}.memory-pub-results{flex-direction:column;justify-content:center;align-items:center;gap:clamp(10px,2vh,26px);min-height:0;display:flex;overflow:hidden}.memory-pub-results>h2{text-align:center;color:#ead3a2;font-size:clamp(24px,3vw,58px);line-height:1.1}.memory-pub-results>h2>strong{color:#f2d38f;font-size:clamp(52px,8vw,150px);line-height:1.1;display:block}.memory-pub-results small{opacity:.75;font-size:.45em}.memory-pub-score-grid{grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:clamp(6px,1vw,18px);width:100%;min-height:0;display:grid}.memory-pub-score-grid article{background:#16121bdd;border:1px solid #a88b514d;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:clamp(8px,1.1vw,20px);font-size:clamp(14px,1.35vw,27px);display:flex}.memory-pub-score-grid article>strong{color:#e8ca85;font-size:clamp(22px,2vw,40px)}.memory-tv-wrap>.cinematic-activate{font-size:clamp(11px,.8vw,16px);top:auto;bottom:12px;right:16px}.memory-tv>[role=alert]{color:#ffe5cb;background:#321b29;padding:12px;position:absolute;bottom:7%;left:5%;right:5%}.memory-answer{width:100%;min-width:0}.answer-book{background:linear-gradient(90deg,#3d2930 0%,#241a24 48%,#80603b 50%,#241a24 52%,#3d2930 100%);border:5px solid #775638;border-radius:8px 14px 14px 8px;margin:14px 0;padding:10px;position:relative;box-shadow:0 12px 30px #0005}.answer-book-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.answer-book-slot{aspect-ratio:1/1.2;color:#e8d6a6;background:#17101c55;border:1px dashed #b89a6577;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:68px;padding:6px;display:flex;position:relative}.answer-book-slot.is-filled{background:#201725;border-style:solid;border-color:#d9b57399}.answer-book-slot>span{color:#d9b875;font-size:12px;line-height:1.2;position:absolute;top:3px;left:6px}.answer-book-slot>img{object-fit:contain;filter:brightness(0)saturate()invert(82%)sepia(36%)saturate(480%)hue-rotate(350deg);pointer-events:none;width:100%;height:70%;display:block}.answer-book-slot>i{opacity:.3;font-size:24px;font-style:normal}.answer-symbols{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.memory-workshop .answer-symbols button{touch-action:none;-webkit-user-select:none;user-select:none;background:#18121f;border-color:#c8a86677;min-height:64px;margin:0;padding:10px}.answer-symbols img{object-fit:contain;filter:brightness(0)saturate()invert(82%)sepia(36%)saturate(480%)hue-rotate(350deg);pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:48px;display:block}.answer-book-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.answer-book-actions>strong{color:#e8cf96;font-size:16px}.memory-answer>.memory-primary{width:100%;margin-right:0}.answer-drag-ghost{z-index:3000;pointer-events:none;background:#271b2ce8;border:1px solid #d6b16c;border-radius:12px;width:70px;height:70px;padding:10px;position:fixed;transform:translate(-50%,-50%);box-shadow:0 0 24px #cfa75366}.answer-drag-ghost img{filter:brightness(0)saturate()invert(82%)sepia(36%)saturate(480%)hue-rotate(350deg);width:100%;height:100%}.answer-result-strip{grid-column:1/-1;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;width:100%;min-width:0;display:grid}.answer-result-strip figure{text-align:center;min-width:0;margin:0}.answer-result-strip figure>span{color:#d5b977;font-size:10px;display:block}.answer-result-strip img{object-fit:contain;filter:brightness(0)saturate()invert(82%)sepia(36%)saturate(480%)hue-rotate(350deg);width:100%;height:30px;display:block}.memory-phone .memory-results article{grid-template-columns:1fr auto;display:grid}.memory-phone .memory-results article>b{text-align:right;grid-area:1/2}.answer-symbols{grid-template-columns:repeat(4,minmax(0,1fr))}.memory-workshop .answer-symbols button{min-height:58px;padding:7px}.answer-symbols img{height:42px}.treasury-tv{background:linear-gradient(#17121aed,#17121aed),url(/saints/art/object_hunt.webp) 50%/cover}.treasury-results{flex-direction:column;justify-content:center;gap:3vh;min-height:0;display:flex}.treasury-results>h2{text-align:center;color:#edcf8c;font-size:clamp(24px,3vw,56px)}.treasury-tv .memory-pub-score-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-content:center}.treasury-tv .memory-pub-score-grid article{text-align:center;display:block}.treasury-tv .memory-pub-score-grid article>strong{margin-top:12px;font-size:clamp(28px,3vw,56px);display:block}.treasury-tv .memory-pub-score-grid small{font-size:clamp(14px,1.4vw,28px);line-height:1.4;display:block}.treasury-tv .memory-pub-score-grid p{margin:8px 0;font-size:clamp(14px,1.45vw,28px)}
