/* Five Snap on the CogniBump Arcade look (/shared/cb-arcade.css). Linked after it.
   Magenta accent; four big squishy emoji tiles — tap the odd one out. */
body.cbx.fs-page { --cbx-accent: #b5229a; }
body.cbx.fs-page main { display: block; }

/* ---- shared mini-daily bits (same in emoji-equation / order-up / pattern-blink) ---- */
.mg-card { scroll-margin-top: 70px; }
.mg-card .cbx-topline { min-height: 34px; }
.mg-card #meta { font-size: 13px; }
.mg-result[hidden] { display: none; }
.mg-marks { display: flex; justify-content: center; gap: 8px; margin: 8px 0 4px; }
.mg-marks i { width: 30px; height: 30px; border-radius: 9px; background: var(--cbx-accent); box-shadow: inset 0 -5px 0 rgba(0,0,0,.18); }
.mg-marks i.no { background: #e9eef3; box-shadow: inset 0 -5px 0 rgba(42,29,23,.08), inset 0 0 0 2px #d9e1e8; }
.mg-share { margin-top: 14px; }
.mg-card .mg-share[hidden] { display: none; }
.mg-card .cbx-answers { padding: 0; margin: 0; }
.mg-links { margin: 14px 4px 0; text-align: center; font-weight: 800; font-size: 14px; color: var(--cbx-muted); }
.mg-read h2 { margin-bottom: 8px; }
.mg-read p { margin: 0 0 12px; }
.mg-read ul { margin: 0 0 12px; }
.mg-read .cbx-note { margin: 4px 0 0; }

/* ---- the snap grid ---- */
.fs-q { margin: 6px 0 14px; text-align: center; }
.fs-q:empty { display: none; }
.fs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 420px; margin: 0 auto; }
.fs-grid:empty { display: none; }
.fs-tile {
  position: relative; aspect-ratio: 1 / .86; min-height: 112px; display: grid; place-items: center;
  font-size: clamp(52px, 15vw, 68px); line-height: 1; border-radius: 24px; cursor: pointer;
  background: #fff; border: 2px solid var(--cbx-line); box-shadow: 0 6px 0 var(--cbx-line), 0 12px 24px rgba(42,29,23,.08);
  transition: transform .1s ease, box-shadow .1s ease, border-color .15s, background .15s;
  animation: fs-in .38s cubic-bezier(.3,1.5,.5,1) both; touch-action: manipulation;
}
.fs-tile:nth-child(2) { animation-delay: .05s; } .fs-tile:nth-child(3) { animation-delay: .1s; } .fs-tile:nth-child(4) { animation-delay: .15s; }
@media (hover: hover) {
  .fs-tile:hover:not(:disabled) { transform: translateY(-3px); border-color: var(--cbx-accent); box-shadow: 0 9px 0 color-mix(in srgb, var(--cbx-accent) 35%, var(--cbx-line)), 0 16px 28px rgba(42,29,23,.1); }
}
.fs-tile:active:not(:disabled) { transform: translateY(5px) scale(.97); box-shadow: 0 1px 0 var(--cbx-line), 0 4px 10px rgba(42,29,23,.08); }
.fs-tile:disabled { cursor: default; }
.fs-tile:disabled:not(.correct):not(.wrong) { opacity: .5; }
.fs-tile::after { content: ''; position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: #fff center / 16px no-repeat; opacity: 0; transform: scale(.4); transition: .2s; }
.fs-tile.correct { background: var(--cbx-good-soft); border-color: var(--cbx-good); box-shadow: 0 6px 0 #136b3b; animation: cbx-pop .32s ease; }
.fs-tile.wrong { background: var(--cbx-bad-soft); border-color: var(--cbx-bad); box-shadow: 0 6px 0 #8f241d; animation: cbx-shake .4s ease; }
.fs-tile.correct::after, .fs-tile.wrong::after { opacity: 1; transform: none; }
.fs-tile.correct::after { background-color: var(--cbx-good); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fs-tile.wrong::after { background-color: var(--cbx-bad); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 5l10 10M15 5L5 15' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fs-tile.reveal { animation: cbx-glow 1s ease 2; }
@keyframes fs-in { from { opacity: 0; transform: scale(.7); } }
