 :root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#24383b;background:#f1f5f1;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 84% 0,#fff2cb 0 18%,transparent 40%),linear-gradient(145deg,#eef4ef,#dcebe6)}.shell{max-width:900px;margin:auto;padding:20px 20px 54px}.topbar{display:flex;align-items:center;justify-content:space-between}.brand{color:#24383b;text-decoration:none;font-weight:900;letter-spacing:.08em}.brand span{color:#477a74}.lang,.button{border:1px solid #b9cfca;background:#fffdf8;color:#24383b;border-radius:999px;padding:9px 15px;font-weight:800;cursor:pointer;text-decoration:none;font-size:14px;min-height:44px}.intro{padding:62px 0 30px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.16em;color:#477a74;font-weight:900}.intro h1{font:clamp(44px,8vw,78px)/.95 Georgia,serif;letter-spacing:-.055em;margin:15px 0}.intro p:last-child{color:#667778;line-height:1.65;font-size:17px;max-width:740px}.game-card{background:#fffdf8e8;border:1px solid #cfddd6;border-radius:25px;padding:18px;box-shadow:0 20px 50px #30574b1c}.hud{display:flex;align-items:center;gap:13px;flex-wrap:wrap;border-bottom:1px solid #e0e9e4;padding-bottom:14px}.hud .stat{display:flex;gap:7px;align-items:baseline}.hud .stat span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#74827f}.hud strong{font-size:19px}.hud .button{margin-left:auto}.memory-board{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:580px;margin:26px auto 16px}.memory-card{aspect-ratio:1;border:0;border-radius:16px;background:linear-gradient(145deg,#527f78,#3d6662);color:#fff7df;font-size:clamp(28px,8vw,60px);cursor:pointer;box-shadow:0 5px 0 #31514e;transition:transform .18s,background .18s}.memory-card:hover{transform:translateY(-3px)}.memory-card.shown{background:#fff7de;color:#3d6662;box-shadow:inset 0 0 0 2px #c5d5cb,0 4px 0 #d8e4db}.memory-card.matched{background:#e4f1e7;color:#4f8b70;box-shadow:inset 0 0 0 2px #b4d4bd}.message{min-height:28px;text-align:center;color:#477a74;font-weight:800}.copy{padding:42px 0}.copy h2{font:30px Georgia,serif;margin:0 0 12px}.copy p{color:#667778;line-height:1.7;max-width:760px}footer{border-top:1px solid #cfddd6;padding-top:18px;color:#7f8c88;font-size:13px;display:flex;justify-content:space-between}footer a{color:#477a74}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(button,a):focus-visible{outline:3px solid #ae7d36;outline-offset:3px}.lang,.button{transition:.16s}.lang:active,.button:not(:disabled):active{transform:translateY(1px) scale(.98)}@media(hover:hover)and(pointer:fine){.lang:hover,.button:hover{background:#edf5f1;border-color:#85aaa0}.button:hover{box-shadow:0 4px 12px #374d2f14}}@media(max-width:600px){.shell{padding-inline:14px}.intro{padding-top:48px}.intro h1{font-size:53px}.hud .button{margin-left:0}}@media(prefers-reduced-motion:reduce){*,*::before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.level-picker{display:flex;align-items:center;gap:7px;margin-left:auto;color:#7b847a;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.level-picker select{min-height:44px;border:1px solid #c4c1d1;border-radius:999px;background:#fffdf8;color:inherit;padding:0 10px;font-weight:800}.hud .level-picker + .button{margin-left:0}@media(max-width:700px){.level-picker{width:100%;margin-left:0}.level-picker select{flex:1}}
