.fv-memory-sprites{position:absolute;width:0;height:0;overflow:hidden}
body.firkavar-memory-active{background:#f8f7f2}
body.firkavar-memory-active .firkavar-side-rail,body.firkavar-memory-active .site-footer{display:none!important}
body.firkavar-memory-active .chibi-navbar.firkavar-visual-header,body.firkavar-memory-active .firkavar-header-art,body.firkavar-memory-active .firkavar-header-overlay{height:72px!important;min-height:72px!important;padding:0!important}
body.firkavar-memory-active .chibi-navbar.firkavar-visual-header{position:relative!important}
body.firkavar-memory-active .firkavar-header-art{background-size:cover!important;background-position:center!important}
.fv-memory-page{width:min(100%,720px);margin:0 auto;padding:10px 12px 18px}
.fv-memory-hero{display:grid;grid-template-columns:1fr 64px;align-items:center;gap:10px;padding:9px 14px;margin:0 0 8px;border:2px solid #6b472c;border-radius:16px;background:linear-gradient(135deg,#fff7df,#e9f8ff 56%,#fff0f4)}
.fv-memory-kicker{display:inline-block;padding:2px 8px;border-radius:999px;background:#fff;border:1px solid #e3bb52;color:#755126;font-family:'Fredoka',sans-serif;font-size:.62rem;font-weight:700}
.fv-memory-hero h1{margin:2px 0;color:#4e3325;font-size:1.45rem;line-height:1}.fv-memory-hero p{margin:0;color:#684f40;font-size:.7rem;font-weight:650}.fv-memory-hero-castle{width:58px;height:58px;justify-self:end}
.fv-memory-panel{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:6px;margin:0 0 8px}.fv-memory-stat{min-width:0;min-height:40px;display:flex;flex-direction:column;justify-content:center;padding:4px 8px;border:1px solid #dec9a4;border-radius:10px;background:#fff}.fv-memory-stat span{font-size:.5rem;text-transform:uppercase;letter-spacing:.05em;font-weight:800;color:#917257}.fv-memory-stat strong{margin-top:1px;font-family:'Fredoka',sans-serif;font-size:.88rem;line-height:1;color:#4e3325}.fv-memory-stat strong b{font:inherit}
.fv-memory-reset,.fv-memory-play-again{border:0;border-radius:10px;padding:0 12px;min-height:40px;background:#ef6f73;color:#fff;font-family:'Fredoka',sans-serif;font-size:.72rem;font-weight:700;cursor:pointer;box-shadow:0 3px 0 #b74d50}.fv-memory-reset:active,.fv-memory-play-again:active{transform:translateY(2px);box-shadow:0 1px 0 #b74d50}
.fv-memory-board{width:min(100%,500px);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:7px;border:2px dashed #d9b86e;border-radius:15px;background:#fffaf0}.fv-memory-card{position:relative;min-width:0;padding:0;border:0;background:none;aspect-ratio:1/1;perspective:700px;cursor:pointer;border-radius:10px;outline-offset:2px}.fv-memory-card-inner{display:block;width:100%;height:100%;position:relative;transform-style:preserve-3d;transition:transform .34s ease}.fv-memory-card.is-flipped .fv-memory-card-inner,.fv-memory-card.is-matched .fv-memory-card-inner{transform:rotateY(180deg)}
.fv-memory-card-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px;border:2px solid #6b472c;border-radius:9px;backface-visibility:hidden;overflow:hidden;box-shadow:0 2px 0 rgba(107,71,44,.15)}.fv-memory-card-back{background:linear-gradient(145deg,#6ec5e9,#8edbde 58%,#a7e18e);color:#4d3325}.fv-memory-card-back:before{content:"";position:absolute;inset:4px;border:1px dashed rgba(255,255,255,.82);border-radius:6px}.fv-memory-card-back svg{width:56%;height:56%;position:relative}.fv-memory-card-back b,.fv-memory-card-front b{font-family:'Fredoka',sans-serif;font-size:.53rem;line-height:1;text-align:center}.fv-memory-card-back b{position:relative}.fv-memory-card-front{transform:rotateY(180deg);background:#fff;color:#4d3325}.fv-memory-card-front svg{width:70%;height:70%}.fv-memory-card.is-matched .fv-memory-card-face{border-color:#52a95c;box-shadow:0 2px 0 rgba(61,132,69,.2),0 0 0 2px rgba(116,203,123,.14)}.fv-memory-card:focus-visible{outline:3px solid #6c5ce7}
.fv-memory-tip{width:min(100%,500px);margin:6px auto 0;padding:5px 8px;border-radius:9px;background:#eef8ff;border:1px solid #c7e4f2;color:#5c4b40;font-size:.58rem;line-height:1.2}.fv-memory-tip strong{color:#3b6d84}
.fv-memory-win{position:fixed;z-index:10050;inset:0;display:grid;place-items:center;padding:20px;background:rgba(57,39,27,.58)}.fv-memory-win[hidden]{display:none}.fv-memory-win-card{width:min(92vw,360px);text-align:center;padding:24px 20px;border:3px solid #6b472c;border-radius:22px;background:#fffaf0}.fv-memory-win-star{width:62px;height:62px;display:grid;place-items:center;margin:-52px auto 7px;border:3px solid #6b472c;border-radius:50%;background:#ffd65c;color:#fff;font-size:34px}.fv-memory-win-card h2{margin:4px 0;font-size:1.45rem;color:#4e3325}.fv-memory-win-card p{margin:0 0 11px;color:#715744;font-weight:700}.fv-memory-play-again{min-height:42px;padding:0 18px}.fv-memory-confetti{position:fixed;z-index:10060;top:-20px;width:8px;height:12px;border-radius:2px;pointer-events:none;animation:fv-confetti-fall 1.8s linear forwards}body.fv-memory-modal-open{overflow:hidden}@keyframes fv-confetti-fall{0%{transform:translateY(-5vh) rotate(0);opacity:1}100%{transform:translateY(110vh) rotate(720deg);opacity:0}}
@media (hover:hover) and (pointer:fine){.fv-memory-card:not(.is-flipped):not(.is-matched):hover .fv-memory-card-inner{transform:translateY(-2px)}.fv-memory-reset:hover,.fv-memory-play-again:hover{filter:brightness(1.04)}}
@media(max-width:600px){body.firkavar-memory-active .chibi-navbar.firkavar-visual-header,body.firkavar-memory-active .firkavar-header-art,body.firkavar-memory-active .firkavar-header-overlay{height:54px!important;min-height:54px!important}.fv-memory-page{padding:6px 6px 12px}.fv-memory-hero{grid-template-columns:1fr 40px;gap:5px;padding:6px 8px;margin-bottom:5px;border-radius:12px}.fv-memory-kicker{font-size:.52rem;padding:1px 6px}.fv-memory-hero h1{font-size:1.08rem}.fv-memory-hero p{font-size:.58rem}.fv-memory-hero-castle{width:38px;height:38px}.fv-memory-panel{gap:3px;margin-bottom:5px}.fv-memory-stat{min-height:34px;padding:3px 4px;border-radius:8px}.fv-memory-stat span{font-size:.42rem}.fv-memory-stat strong{font-size:.72rem}.fv-memory-reset{min-height:34px;padding:0 6px;font-size:.6rem;border-radius:8px}.fv-memory-board{gap:4px;padding:5px;border-radius:11px}.fv-memory-card{border-radius:7px}.fv-memory-card-face{border-radius:7px;border-width:1.5px;padding:1px;box-shadow:0 1px 0 rgba(107,71,44,.14)}.fv-memory-card-back:before{inset:3px;border-radius:5px}.fv-memory-card-back b,.fv-memory-card-front b{font-size:.43rem}.fv-memory-tip{margin-top:4px;padding:4px 6px;font-size:.5rem;border-radius:7px}}
@media(max-width:380px){.fv-memory-hero p{display:none}.fv-memory-panel{grid-template-columns:repeat(3,1fr)}.fv-memory-reset{grid-column:1/-1;min-height:30px}.fv-memory-board{gap:3px;padding:4px}.fv-memory-card-back b,.fv-memory-card-front b{font-size:.4rem}}
@media(prefers-reduced-motion:reduce){.fv-memory-card-inner,.fv-memory-reset,.fv-memory-play-again{transition:none}.fv-memory-confetti{display:none}}


/* v4.36.1 – memóriajáték egy képernyőre: nincs nagy webhely-fejléc, nincs oldalsó üres tér */
html body.firkavar-memory-active{
  padding-top:0!important;
  padding-left:0!important;
  min-height:0!important;
}
html body.firkavar-memory-active .chibi-navbar.firkavar-visual-header,
html body.firkavar-memory-active .firkavar-side-rail,
html body.firkavar-memory-active .site-footer{
  display:none!important;
}
html body.firkavar-memory-active .fv-memory-page{
  width:min(100%,680px);
  padding:8px 10px 10px;
}
html body.firkavar-memory-active .fv-memory-hero{
  grid-template-columns:1fr 46px;
  gap:7px;
  padding:6px 10px;
  margin-bottom:5px;
  border-radius:13px;
}
html body.firkavar-memory-active .fv-memory-kicker{
  padding:1px 6px;
  font-size:.52rem;
}
html body.firkavar-memory-active .fv-memory-hero h1{
  margin:1px 0;
  font-size:1.18rem;
}
html body.firkavar-memory-active .fv-memory-hero p{
  font-size:.59rem;
  line-height:1.15;
}
html body.firkavar-memory-active .fv-memory-hero-castle{
  width:42px;
  height:42px;
}
html body.firkavar-memory-active .fv-memory-panel{
  grid-template-columns:repeat(3,1fr) auto;
  gap:4px;
  margin-bottom:5px;
}
html body.firkavar-memory-active .fv-memory-stat{
  min-height:32px;
  padding:2px 6px;
  border-radius:8px;
}
html body.firkavar-memory-active .fv-memory-stat span{font-size:.42rem;line-height:1}
html body.firkavar-memory-active .fv-memory-stat strong{font-size:.72rem;line-height:1}
html body.firkavar-memory-active .fv-memory-reset{
  min-height:32px;
  padding:0 9px;
  border-radius:8px;
  font-size:.6rem;
}
html body.firkavar-memory-active .fv-memory-board{
  width:min(100%,460px);
  gap:5px;
  padding:6px;
  border-radius:13px;
}
html body.firkavar-memory-active .fv-memory-card-face{
  border-width:1.5px;
  border-radius:8px;
}
html body.firkavar-memory-active .fv-memory-card-back b,
html body.firkavar-memory-active .fv-memory-card-front b{font-size:.46rem}
html body.firkavar-memory-active .fv-memory-tip{
  width:min(100%,460px);
  margin-top:4px;
  padding:4px 7px;
  font-size:.5rem;
  line-height:1.15;
}
@media(max-width:600px){
  html body.firkavar-memory-active .fv-memory-page{padding:5px 5px 8px}
  html body.firkavar-memory-active .fv-memory-hero{grid-template-columns:1fr 34px;padding:5px 7px;margin-bottom:4px}
  html body.firkavar-memory-active .fv-memory-hero-castle{width:32px;height:32px}
  html body.firkavar-memory-active .fv-memory-hero h1{font-size:1rem}
  html body.firkavar-memory-active .fv-memory-hero p{font-size:.52rem}
  html body.firkavar-memory-active .fv-memory-panel{gap:3px;margin-bottom:4px}
  html body.firkavar-memory-active .fv-memory-stat{min-height:30px;padding:2px 3px}
  html body.firkavar-memory-active .fv-memory-reset{min-height:30px;padding:0 5px;font-size:.54rem}
  html body.firkavar-memory-active .fv-memory-board{width:min(100%,430px);gap:4px;padding:5px}
}
