@font-face{font-family:Salon;src:url(assets/Abcursiva.ttf) format("truetype");font-display:swap}
:root{font-family:system-ui,sans-serif;color:#233d36;background:#f6f3e9;--green:#226a54;--line:#e4e0d2}*{box-sizing:border-box}body{margin:0}main{max-width:910px;margin:auto;padding:24px 20px}header,.bar,.hero{display:flex;align-items:center;gap:14px}header{justify-content:space-between}.tag,.kicker{font-size:11px;letter-spacing:.15em;font-weight:800}.tag span{color:#cf7750}.hero{padding:30px 0 24px;gap:20px}.stamp{font-family:Salon,cursive;font-size:72px;line-height:1;display:grid;place-items:center;width:90px;height:90px;flex:none;background:#dceadd;border-radius:26px;transform:rotate(-7deg);color:#28614e;padding-bottom:12px}.kicker{margin:0 0 4px;color:#376859}h1{font-size:clamp(27px,6vw,51px);letter-spacing:-.05em;margin:0;line-height:1.06}.hero p:last-child{margin:10px 0 0;color:#52635c}.game{background:#fffdf7;border:1px solid var(--line);border-radius:25px;padding:20px;box-shadow:0 10px 25px #354c2210}.bar{min-height:40px;flex-wrap:wrap}.bar strong{font-size:14px}.bar button{margin-left:auto}.dots{display:flex;gap:5px}.dots i{width:10px;height:10px;border-radius:50%;background:#e8e8d9}.dots i.done{background:#469475}#status{min-height:24px;margin:10px 0 14px;font-size:15px}#board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.card{width:100%;aspect-ratio:1.13;border:2px solid #d6e7d8;border-radius:16px;background:#e7f0e4;color:#4b7968;display:grid;place-items:center;padding:4px;font:inherit;font-size:30px;touch-action:manipulation;cursor:pointer;box-shadow:0 3px 0 #d6e7d8}.card.up{background:var(--face,#fff2cf);border-color:#fff8e8;box-shadow:0 3px 0 #e9dfc7;color:#253f36}.card.match{border-color:#81b69b;box-shadow:0 3px 0 #a5cbb4}.card:disabled{cursor:default}.card .syllable{font-family:Salon,cursive;font-size:clamp(30px,7vw,65px);line-height:1;padding-bottom:.14em}.card svg{width:78%;height:82%;max-width:95px}.card .spark{font-size:clamp(17px,5vw,30px)}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #ae5c2c;outline-offset:3px}.quiet,.primary{border:1px solid #d6e4d6;border-radius:50px;background:#edf4e8;color:#21543f;padding:9px 13px;font-weight:700;font-size:13px}.primary{background:var(--green);color:white;border:none;font-size:16px;padding:13px 20px}.actions{display:flex;justify-content:center;gap:8px;margin-top:16px;min-height:4px}footer{display:flex;justify-content:center;gap:7px;font-size:12px;color:#5f7065;margin-top:18px}[hidden]{display:none!important}#confetti{position:fixed;inset:0;overflow:hidden;pointer-events:none}#confetti i{position:absolute;top:-16px;width:9px;height:14px;animation:fall 1.65s ease-in forwards}@keyframes fall{to{transform:translateY(105vh) rotate(610deg)}}@media(max-width:520px){main{padding:16px 10px}.game{padding:12px;border-radius:19px}#board{gap:6px}.card{border-radius:11px;aspect-ratio:1/1.17}.hero{gap:12px;padding:22px 0 18px}.stamp{width:55px;height:58px;font-size:45px;border-radius:16px}.hero p:last-child{font-size:14px}.quiet{font-size:12px;padding:8px 10px}.tag,.kicker{font-size:9px}.card svg{width:93%}#status{font-size:14px;min-height:38px}}@media(prefers-reduced-motion:reduce){#confetti i{animation:none}}
