.memory-page{color:#111;padding:45px 7% 80px}.memory-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:40px;display:flex}.memory-heading h1,.memory-page>h1{letter-spacing:-.05em;margin:18px 0 0;font-size:clamp(54px,9vw,110px)}.memory-heading p{font-size:18px}.memory-forms{grid-template-columns:1fr 1fr;gap:8%;max-width:1050px;display:grid}.memory-forms form{border:1px solid #111;flex-direction:column;gap:20px;padding:28px;display:flex}.memory-forms h2{font-size:32px}.memory-forms label{gap:8px;font-size:16px;display:grid}.memory-forms input,.memory-forms select{color:#111;width:100%;min-height:50px;font:inherit;background:#fff;border:1px solid #777;padding:12px}.memory-toolbar{border-block:1px solid #aaa;flex-wrap:wrap;align-items:center;gap:20px;padding:20px 0;display:flex}.memory-toolbar button{font:inherit;text-underline-offset:4px;min-height:44px;text-decoration:underline}.memory-code{overflow-wrap:anywhere;margin:18px 0}.memory-roster{flex-wrap:wrap;gap:12px;margin:20px 0;display:flex}.memory-roster>div{background:#fff;border:1px solid #777;gap:6px;padding:12px 18px;display:grid}.memory-roster .active{background:#ddc4ed;border:2px solid #111}.memory-wait{text-align:center;justify-items:center;gap:24px;padding:50px 10px;display:grid}.memory-wait h2{font-size:36px}.memory-status{justify-content:space-between;align-items:center;gap:12px;max-width:820px;min-height:85px;margin:auto;font-size:22px;display:flex}.memory-status h2{font-size:32px}.memory-board{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:820px;margin:auto;display:grid}.memory-board.memory-large{grid-template-columns:repeat(6,minmax(0,1fr))}.memory-card{aspect-ratio:1.2;color:#f8f6f2;cursor:pointer;background:#25232b;border:2px solid #25232b;border-radius:8px;min-height:64px;font-weight:700;transition:background .16s,transform .16s;position:relative;overflow:hidden}.memory-card:enabled:hover{background:#44364f;transform:translateY(-3px)}.memory-card:focus-visible{outline-offset:3px;outline:4px solid #8850aa}.memory-card>span{flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:clamp(15px,2.2vw,26px);display:flex}.memory-card.revealed{color:#111;cursor:default;background:#fff}.memory-card.matched{background:#e0eed9;border-color:#54704b}.memory-back{color:#ddc4ed;font-size:30px;font-weight:400}.memory-shape{border:2px solid #111;width:30px;height:30px;display:block}.shape-0{border-radius:50%}.shape-1{transform:rotate(45deg)}.shape-2{border-radius:50% 50% 0 0}.shape-3{border-radius:5px}.memory-hint,.memory-end{text-align:center;margin:26px auto;font-size:16px;line-height:1.7}.memory-message,.memory-error{overflow-wrap:anywhere;margin-top:20px;padding:16px}.memory-error{color:#7a1717;background:#f5d8d4}.memory-message{background:#ddc4ed}@media (max-width:700px){.memory-page{padding:30px 5% 60px}.memory-heading{display:block}.memory-heading p{margin-top:20px;font-size:16px}.memory-forms{grid-template-columns:1fr;gap:22px}.memory-forms form{padding:22px}.memory-board,.memory-board.memory-large{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.memory-card>span{gap:7px;font-size:15px}.memory-card{aspect-ratio:1;min-height:60px}.memory-shape{width:20px;height:20px}.memory-status{font-size:18px}.memory-status h2{font-size:26px}.memory-toolbar{gap:12px;font-size:14px}.memory-toolbar span{flex-basis:100%}}@media (prefers-reduced-motion:reduce){.memory-card{transition:none}}
