#modal.memory-open{max-width:650px;background:radial-gradient(ellipse at 10% 0,#3d2a6640,transparent 55%),#131723;border-color:#b3a3e855}.memory-open h2{color:#f1ebff;font-size:30px;margin:15px 0}.memory-open .fx-controls{margin-bottom:12px}.memory-kicker{font-size:10px;color:#b4a3ed;letter-spacing:2px}.memory-intro{text-align:center;padding:14px 12px}.memory-intro h2{font-size:48px;letter-spacing:-2px}.memory-intro h2 em{font-style:normal;color:#c7b4ff}.memory-intro>p{color:#b7b1cc;line-height:1.8;font-size:16px}.memory-mascot{display:flex;justify-content:center;gap:12px;margin:28px auto}.memory-mascot i{display:grid;place-items:center;width:64px;height:74px;border:1px solid #aa8eef66;border-radius:15px;background:linear-gradient(130deg,#3b3158,#28223b);font-size:34px;font-style:normal;color:#d7c6ff;box-shadow:0 9px 0 #080c16;animation:memory-float 4s ease-in-out infinite}.memory-mascot i:nth-child(2){color:#ffe5a6;animation-delay:.2s}.memory-mascot i:nth-child(3){color:#ffb5ce;animation-delay:.4s}.memory-badges{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:18px 0 28px}.memory-badges span{font-size:10px;padding:6px 9px;border:1px solid #a88cc544;border-radius:30px;color:#b5a9ca}.memory-intro .setup-field,.memory-intro .consent{text-align:left}.memory-primary,.memory-secondary{width:100%;border:1px solid #b4a2e9;border-radius:12px;padding:16px;cursor:pointer;font-family:inherit;font-size:16px;font-weight:700;transition:transform .15s,background .15s;display:block;margin:10px 0}.memory-primary{color:#211835;background:#cfbaff;box-shadow:0 5px 0 #594471}.memory-primary:hover{background:#dfcfff;transform:translateY(-1px)}.memory-primary:active{transform:translateY(2px)}.memory-secondary{background:#242037;color:#d5c7ed;border-color:#7d6b9955}.memory-primary small,.memory-secondary small{display:block;font-size:10px;margin-top:6px;font-weight:400;opacity:.8}.memory-primary:disabled{opacity:.45;cursor:default;transform:none;box-shadow:none}.memory-open button:focus-visible{outline:3px solid #f0d9ff;outline-offset:3px}.memory-top{display:flex;justify-content:space-between;align-items:center;color:#bba6f4;font:700 18px monospace}.memory-top small{font-size:11px;color:#897d9c}.memory-top>span{color:#f4a9c2;letter-spacing:5px;font-size:22px}.memory-hud{display:flex;justify-content:space-between;align-items:center;padding:17px 0;border-bottom:1px solid #a090c133}.memory-hud strong{font:700 30px monospace;color:#ece3ff}.memory-hud small{font-size:9px;letter-spacing:2px;color:#a394c0}.memory-hud>span{font-size:11px;color:#bbaacf}.memory-phase{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#e2d6f9;margin:19px 0 10px;font-size:13px}.memory-phase strong{font:700 16px monospace;color:#d9c5ff}.memory-time{height:4px;background:#4f4265;border-radius:4px;overflow:hidden;margin-bottom:18px}.memory-time i{display:block;height:100%;background:linear-gradient(90deg,#9d84f5,#e5b2da);transform-origin:left}.memory-board{display:grid;gap:10px;max-width:min(100%,400px);margin:auto;perspective:900px}.memory-board.three{grid-template-columns:repeat(3,1fr)}.memory-board.four{grid-template-columns:repeat(4,1fr)}.memory-cell{position:relative;display:grid;place-items:center;aspect-ratio:1;border:1px solid #9984b955;background:linear-gradient(135deg,#302d45,#24263b);border-radius:15px;font-size:clamp(27px,5vh,45px);box-shadow:0 5px 0 #0c101c;transition:transform .18s,background .18s,border-color .18s;color:#d9c9ff;cursor:pointer}.memory-cell:disabled{opacity:1;cursor:default}.memory-cell span{transition:opacity .1s}.memory-cell.memory-color-1{color:#9de6dc}.memory-cell.memory-color-2{color:#ffcc89}.memory-cell.memory-color-3{color:#f4a7ce}.memory-cell.selected{border:2px solid #dcc8ff;background:#54416b;transform:translateY(-3px);box-shadow:0 0 18px #b99af333}.memory-cell.selected:after{content:'✓';position:absolute;right:6px;top:3px;font-size:14px;color:white}.memory-board.covered .memory-cell{transform:rotateY(90deg);background:#7c65a2}.memory-board.covered .memory-cell span{opacity:0}.memory-cell.correct{background:#224c49;border-color:#8ce9c0;color:#c0ffe3;box-shadow:0 0 17px #9bffcf33;animation:memory-win .5s ease-out}.memory-cell.wrong{border-color:#ff9bb5;background:#572a40}.memory-game #memory-message{min-height:23px;text-align:center;font-size:12px;color:#b8a9ce;margin:19px 0 10px;line-height:1.6}.memory-game>.text-btn{font-size:11px}.memory-result{text-align:center;padding:25px 0}.memory-result>strong{font:800 72px monospace;display:block;color:#d5bbff;margin:28px 0}.memory-result>strong small{font:10px sans-serif;letter-spacing:5px;display:block;margin-top:8px}.memory-result>p{font-size:11px;color:#b3a6c9;line-height:1.8}.memory-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid #86729e44;border-bottom:1px solid #86729e44;padding:20px 0}.memory-stats span{font-size:10px;color:#ac9ec1}.memory-stats b{display:block;font:700 24px monospace;margin-bottom:8px;color:#f0e3ff}.memory-ranking>p{color:#a99dbd;font-size:12px}.memory-ranking ol{list-style:none;padding:0;margin:28px 0}.memory-ranking li{display:flex;gap:18px;border-bottom:1px solid #8d75ac33;padding:15px 5px;align-items:center}.memory-ranking li>b{color:#c2a8fa}.memory-ranking li>span{flex:1}.memory-ranking li>strong{font:700 22px monospace;color:#e6d5ff}.solo-intro{max-width:1240px;padding:42px 0 0;margin:auto}.solo-intro>span{font-size:10px;color:#d5b875;letter-spacing:3px}.solo-intro h1{font-size:clamp(29px,4vw,48px);margin:15px 0;color:#f5f1e8;letter-spacing:-1.5px}.solo-intro>p{color:#aeb9c7;font-size:14px;line-height:1.8}.solo-intro+.rush-feature{margin-top:30px}.memory-feature{max-width:1240px;margin:18px auto 50px;display:grid;grid-template-columns:1.4fr 1fr;gap:30px;align-items:center;padding:36px 44px;border:1px solid #a78be055;border-radius:24px;background:radial-gradient(at 90% 40%,#67559344,transparent 60%),linear-gradient(110deg,#26203d,#141c2b)}.memory-feature .memory-mascot{margin:0}.memory-feature .memory-mascot i{width:90px;height:100px;font-size:45px}.memory-feature h2{font-size:36px;color:#eadcff;letter-spacing:-1px;margin:12px 0}.memory-feature p{color:#b8adc9;line-height:1.8;font-size:14px}.memory-feature-actions{display:flex;gap:10px;align-items:center;margin-top:20px}.memory-feature-actions .memory-primary{width:auto;min-width:210px;margin:0;font-size:14px}.memory-feature-actions .text-btn{font-size:12px}.friends-section{padding-top:50px}.friends-section .friend-entry{margin-top:30px}.friends-section>.game-card{max-width:700px;margin:30px auto}.solo-memory-visual{background:radial-gradient(ellipse,#594471,#191c30);display:flex;align-items:center;justify-content:center}.solo-memory-visual .memory-mascot{margin:40px}.solo-memory-visual .memory-mascot i{width:68px;height:82px}.header .header-cta{font-size:12px}.memory-game .memory-board{max-width:min(100%,max(240px,calc(100dvh - 470px)))}@keyframes memory-float{50%{transform:translateY(-7px) rotate(3deg)}}@keyframes memory-win{50%{transform:scale(1.05)}}@media(max-width:700px){.solo-intro{padding:30px 20px 0}.solo-intro>p{font-size:12px}.memory-feature{margin:18px 16px 30px;padding:28px 24px;grid-template-columns:1fr;position:relative;overflow:hidden}.memory-feature>.memory-mascot{position:absolute;right:-30px;top:25px;opacity:.13;pointer-events:none}.memory-feature h2{font-size:32px}.memory-feature-actions{flex-wrap:wrap}.memory-feature-actions .memory-primary{min-width:180px}.memory-cell{border-radius:10px}.memory-board{gap:7px;max-width:350px}.memory-open{padding:18px;max-height:96dvh}.memory-intro{padding:0 4px}.memory-intro h2{font-size:40px}.memory-game .memory-board{max-width:min(100%,max(240px,calc(100dvh - 400px)))}.memory-top{font-size:15px}.memory-hud{padding:12px 0}.memory-phase{font-size:11px;margin-top:15px}.memory-result h2{font-size:24px}.memory-result>strong{font-size:60px}.memory-game #memory-message{font-size:10px}.memory-game>.memory-primary{padding:12px;font-size:14px}.memory-badges{margin-bottom:18px}.memory-mascot{margin:20px auto}.friends-section>.game-card{margin:25px 0}}@media(prefers-reduced-motion:reduce){.memory-mascot i,.memory-cell.correct{animation:none}.memory-cell,.memory-cell span{transition:none}}

.daily-rank-links{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:24px 0}.daily-rank-links button{flex:1;min-width:220px;width:auto;margin:0;padding:18px;font-size:13px}.header nav{gap:22px}@media(max-width:600px){.header nav{gap:13px}.header nav a{font-size:11px}.header .header-cta{display:none}}
