/* ═══════════════════ בסיס ═══════════════════ */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

body {
  font-family: 'Varela Round', 'Rubik', 'Arial Rounded MT Bold', system-ui, sans-serif;
  background: linear-gradient(160deg, #b388ff 0%, #8ec5ff 45%, #a5f3d0 100%);
  background-attachment: fixed;
  color: #3b2b63;
  display: flex;
  flex-direction: column;
}

.hidden { display: none !important; }

.ltr { direction: ltr; unicode-bidi: isolate; }

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  color: inherit;
  background: none;
}

/* ═══════════════════ בועות רקע ═══════════════════ */
#bg-bubbles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -80px;
  font-size: 34px;
  opacity: 0.35;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-115vh) rotate(40deg); }
}

/* ═══════════════════ מסכים ═══════════════════ */
.screen {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(14px, env(safe-area-inset-top)) 16px max(14px, env(safe-area-inset-bottom));
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  overflow-y: auto;
}

/* ═══════════════════ מסך הבית ═══════════════════ */
.home-header { text-align: center; margin-top: 12px; }

.home-title {
  font-size: clamp(30px, 8vw, 44px);
  margin: 0;
  color: #fff;
  text-shadow: 0 3px 0 rgba(80, 40, 160, 0.35);
}

.home-sub {
  color: #ffffffdd;
  font-size: clamp(15px, 4vw, 19px);
  margin: 8px 0 0;
}

.wiggle { display: inline-block; animation: wiggle 2.4s ease-in-out infinite; }
.wiggle.d2 { animation-delay: 1.2s; }

@keyframes wiggle {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(8deg) translateY(-4px); }
}

.shelf {
  background: #ffffffcc;
  border-radius: 22px;
  padding: 10px 16px 12px;
  margin: 18px 0 6px;
  width: 100%;
  box-shadow: 0 6px 16px rgba(60, 30, 120, 0.18);
  text-align: center;
}

.shelf-title { font-size: 15px; color: #7c4dff; font-weight: bold; margin-bottom: 4px; }

@keyframes stickerPop {
  from { transform: scale(0) rotate(-30deg); }
  to   { transform: scale(1) rotate(0); }
}

/* אלבום מדבקות: שורה לכל משחק */
.shelf-sec {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  text-align: right;
}

.shelf-chip {
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  padding: 5px 11px;
  border-radius: 12px;
  white-space: nowrap;
  margin-top: 6px;
  box-shadow: 0 2px 4px rgba(60, 30, 120, 0.2);
}

.chip-math    { background: linear-gradient(135deg, #ff8a3d, #ff4d94); }
.chip-letters { background: linear-gradient(135deg, #00c2a8, #0090d4); }

.sticker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: 1;
  justify-content: flex-start;
}

/* מדבקה בודדת */
.stkr {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  line-height: 1;
  padding: 0;
  position: relative;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.15s;
}

.stkr.earned {
  background: radial-gradient(circle at 32% 28%, #ffffff, #f0e7ff 75%);
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(60, 30, 120, 0.28), inset 0 0 0 2px var(--ring, #e4dbfa);
  animation: stickerPop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) backwards;
}

.shelf-sec.math    .stkr.earned { --ring: #ffd6c2; }
.shelf-sec.letters .stkr.earned { --ring: #bfeae2; }

/* נצנוץ קטן בפינת המדבקה */
.stkr.earned::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffffee, #ffffff00 72%);
}

.stkr.current {
  background: #fff8e6;
  border: 2px dashed #ffb03a;
  filter: saturate(0.75);
  animation: pulseSoft 1.5s ease-in-out infinite;
}

.stkr.locked {
  background: #ffffff59;
  border: 2px dashed #d5cbef;
  color: #b9a4f2;
  font-size: 14px;
  font-weight: bold;
}

.stkr.boing { animation: unlockBounce 0.4s ease; }

.total-stars { font-size: 14px; color: #6a5a9e; margin-top: 8px; }

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 14px;
}

.game-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "icon name go" "icon info go";
  align-items: center;
  column-gap: 16px;
  text-align: right;
  padding: 18px 20px;
  border-radius: 26px;
  box-shadow: 0 8px 0 rgba(60, 30, 120, 0.25), 0 12px 24px rgba(60, 30, 120, 0.2);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  color: #fff;
}

.game-card:active { transform: translateY(5px) scale(0.99); box-shadow: 0 3px 0 rgba(60,30,120,0.25); }

.game-card.math  { background: linear-gradient(135deg, #ff8a3d, #ff4d94); }
.game-card.words { background: linear-gradient(135deg, #00c2a8, #0090d4); }
.game-card.locked { filter: saturate(0.55); }

.card-icon { grid-area: icon; font-size: 52px; filter: drop-shadow(0 3px 2px rgba(0,0,0,0.25)); }
.card-name { grid-area: name; font-size: clamp(21px, 6vw, 27px); font-weight: bold; }
.card-info { grid-area: info; font-size: 15px; opacity: 0.92; }
.card-go {
  grid-area: go;
  background: #ffffff2e;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 15px;
  white-space: nowrap;
}
.game-card.locked .card-go { display: none; }

.card-shake { animation: cardShake 0.5s ease; }
@keyframes cardShake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-2.5deg); }
  75% { transform: rotate(2.5deg); }
}

.btn-install {
  margin-top: 20px;
  background: #fff;
  color: #7c4dff;
  font-size: 17px;
  font-weight: bold;
  padding: 13px 22px;
  border-radius: 18px;
  box-shadow: 0 5px 0 rgba(60, 30, 120, 0.25);
  animation: pulseSoft 2s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

.btn-gear {
  position: absolute;
  top: 10px;
  top: max(10px, env(safe-area-inset-top));
  left: 12px;
  font-size: 25px;
  background: #ffffff9c;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(60,30,120,0.25);
}

.gear-fill {
  position: absolute;
  inset: 0;
  background: #7c4dff55;
  transform: scaleY(0);
  transform-origin: bottom;
  border-radius: 50%;
}

/* כפתור מסך מלא - למכשירים שאי אפשר להתקין בהם כאפליקציה */
.btn-fs {
  position: absolute;
  top: 10px;
  top: max(10px, env(safe-area-inset-top));
  right: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff9c;
  color: #5b3fa8;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px rgba(60, 30, 120, 0.25);
  transition: transform 0.1s;
}

.btn-fs:active { transform: scale(0.9); }

.btn-gear.holding .gear-fill { transform: scaleY(1); transition: transform 1.5s linear; }

/* ═══════════════════ מסך המשחק ═══════════════════ */
.game-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.btn-round {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: #ffffffd9;
  font-size: 21px;
  box-shadow: 0 3px 0 rgba(60,30,120,0.2);
  transition: transform 0.1s;
}
.btn-round:active { transform: scale(0.9); }

.level-badge {
  background: linear-gradient(135deg, #7c4dff, #b388ff);
  color: #fff;
  font-weight: bold;
  padding: 9px 14px;
  border-radius: 14px;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(60,30,120,0.25);
}

.star-meter {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 2px;
  font-size: clamp(15px, 4.4vw, 22px);
  filter: drop-shadow(0 2px 1px rgba(60,30,120,0.2));
}

.star-slot { opacity: 0.3; transition: opacity 0.2s, transform 0.2s; }
.star-slot.full { opacity: 1; animation: starFill 0.45s ease; }

@keyframes starFill {
  0%   { transform: scale(0.4) rotate(-40deg); }
  60%  { transform: scale(1.5) rotate(10deg); }
  100% { transform: scale(1) rotate(0); }
}

/* שאלה */
.question-area {
  width: 100%;
  background: #ffffffd9;
  border-radius: 26px;
  margin-top: 14px;
  padding: 16px 14px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(60,30,120,0.18);
  animation: qIn 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

@keyframes qIn {
  from { transform: translateY(26px) scale(0.92); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.q-prompt { font-size: clamp(19px, 5.5vw, 25px); font-weight: bold; color: #5b3fa8; }

.q-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.q-visual:empty, .q-expr:empty, .q-prompt:empty { display: none; }

/* עצמים לספירה */
.obj-grid {
  display: grid;
  gap: 6px 10px;
  justify-content: center;
  direction: ltr;
}

.obj {
  font-size: clamp(28px, 7.5vw, 42px);
  line-height: 1.15;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s;
  animation: objPop 0.4s ease backwards;
}

@keyframes objPop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

.obj:active { transform: scale(1.2); }

.obj.counted { transform: scale(1.12); }
.obj.counted::after {
  content: attr(data-n);
  position: absolute;
  top: -7px;
  right: -7px;
  background: #7c4dff;
  color: #fff;
  font-size: 12px;
  font-family: inherit;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: stickerPop 0.25s ease;
}

.obj.ghost {
  opacity: 0.18;
  filter: grayscale(1);
  pointer-events: none;
  transition: opacity 0.5s;
}

.obj.flyaway { animation: flyAway 1.1s ease forwards; }

@keyframes flyAway {
  0%   { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(30px, -110px) rotate(35deg); opacity: 0.18; filter: grayscale(1); }
}

/* קבוצות (חיבור / כפל) */
.groups-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  direction: ltr;
}

.group-box {
  background: #f3edff;
  border: 3px dashed #b9a4f2;
  border-radius: 18px;
  padding: 8px 10px;
}

.group-op { font-size: clamp(24px, 6vw, 34px); font-weight: bold; color: #ff4d94; }

/* קוביות עשרות ויחידות */
.blocks-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  direction: ltr;
  flex-wrap: wrap;
}

.block-num { display: flex; align-items: flex-end; gap: 6px; }

.tens-bars { display: flex; gap: 4px; align-items: flex-end; }

.ten-bar {
  width: 14px;
  height: 62px;
  background: linear-gradient(#7c9dff, #4d6bff);
  border-radius: 5px;
  box-shadow: inset 0 0 0 1.5px #ffffff66;
  animation: objPop 0.4s ease backwards;
}

.unit-dots { display: grid; grid-template-columns: repeat(2, 13px); gap: 3px; }

.unit-dot {
  width: 13px;
  height: 13px;
  background: #ffb03a;
  border-radius: 4px;
  animation: objPop 0.4s ease backwards;
}

/* ביטוי חשבוני */
.q-expr {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 2vw, 12px);
  font-size: clamp(32px, 9vw, 48px);
  font-weight: bold;
  color: #3b2b63;
  flex-wrap: wrap;
}

.tok { min-width: 0.7em; }
.tok.op { color: #ff4d94; }

.tok.q-mark {
  background: #ffe9a8;
  border: 3px dashed #ffb03a;
  border-radius: 14px;
  min-width: 1.3em;
  color: #b8860b;
  animation: pulseSoft 1.4s ease-in-out infinite;
}

.tok.revealed {
  background: #c8f7c5;
  border: 3px solid #34c759;
  border-radius: 14px;
  min-width: 1.3em;
  color: #1d7a33;
  animation: starFill 0.6s ease;
}

/* סדרת מספרים */
.seq-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  direction: ltr;
  flex-wrap: wrap;
}

.seq-box {
  background: #f3edff;
  border-radius: 14px;
  border: 3px solid #b9a4f2;
  min-width: 52px;
  padding: 10px 6px;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: bold;
  animation: objPop 0.4s ease backwards;
}

.seq-box.missing {
  background: #ffe9a8;
  border-color: #ffb03a;
  color: #b8860b;
  animation: pulseSoft 1.4s ease-in-out infinite;
}

/* ═══════════════════ תשובות ═══════════════════ */
.options-wrap { position: relative; width: 100%; margin-top: 16px; padding-bottom: 66px; }

.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 12px;
  width: 100%;
  transition: filter 0.3s, opacity 0.3s;
}

.options.locked { filter: grayscale(0.45) brightness(0.92); opacity: 0.75; }

.opt {
  background: linear-gradient(180deg, #ffffff, #f1eaff);
  border-radius: 22px;
  font-size: clamp(30px, 8vw, 42px);
  font-weight: bold;
  color: #5b3fa8;
  padding: 18px 8px;
  box-shadow: 0 6px 0 #c9b8f0, 0 10px 18px rgba(60,30,120,0.18);
  transition: transform 0.1s, box-shadow 0.1s;
  direction: ltr;
}

.opt:active { transform: translateY(4px); box-shadow: 0 2px 0 #c9b8f0; }

.opt.unlock-bounce { animation: unlockBounce 0.4s ease; }
@keyframes unlockBounce {
  0%, 100% { transform: none; }
  50% { transform: translateY(-7px) scale(1.04); }
}

.opt.good {
  background: linear-gradient(180deg, #b6f7b0, #7ce87a);
  color: #14671f;
  box-shadow: 0 6px 0 #52b95a;
  animation: goodPop 0.6s ease;
}

@keyframes goodPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.18) rotate(3deg); }
  100% { transform: scale(1); }
}

.opt.bad {
  background: linear-gradient(180deg, #ffd2d2, #ff9d9d);
  color: #8f1d1d;
  box-shadow: 0 6px 0 #e07070;
  animation: badShake 0.5s ease;
}

@keyframes badShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-9px); }
  40% { transform: translateX(9px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.opt.spent { opacity: 0.35; pointer-events: none; }

.opt.reveal {
  animation: revealPulse 0.9s ease-in-out infinite;
  box-shadow: 0 0 0 5px #ffd23f, 0 6px 0 #c9b8f0;
}

@keyframes revealPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.09); }
}

.opt.wobble { animation: cardShake 0.35s ease; }

/* כרטיסי השוואה */
.opt.compare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
}

.cmp-num { font-size: clamp(40px, 11vw, 58px); line-height: 1; }

.cmp-dots {
  display: grid;
  grid-template-columns: repeat(5, 11px);
  gap: 4px;
  direction: ltr;
  min-height: 26px;
}

.cmp-dot { width: 11px; height: 11px; border-radius: 50%; background: #ff8a3d; }

/* ═══════════════════ נעילת חשיבה ═══════════════════
   יושבת מתחת לתשובות - לא מסתירה כלום, כדי שאפשר יהיה לקרוא ולחשוב */
.think-lock {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  z-index: 5;
}

.think-ring {
  width: 48px;
  height: 48px;
  min-width: 48px;
  transform: rotate(-90deg);
  filter: drop-shadow(0 3px 6px rgba(60,30,120,0.35));
}

.ring-bg { fill: #ffffffe8; stroke: #e4dbfa; stroke-width: 9; }

.ring-fg {
  fill: none;
  stroke: #7c4dff;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 276.5;
  stroke-dashoffset: 0;
}

.think-face {
  font-size: 30px;
  animation: thinkTilt 1.2s ease-in-out infinite;
}

@keyframes thinkTilt {
  0%, 100% { transform: rotate(-10deg); }
  50%      { transform: rotate(10deg); }
}

.think-text {
  background: #7c4dff;
  color: #fff;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: bold;
  box-shadow: 0 3px 8px rgba(60,30,120,0.3);
}

/* ═══════════════════ שועל ומסרים ═══════════════════ */
.mascot {
  position: fixed;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 10px;
  font-size: 52px;
  z-index: 4;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.25));
  transition: transform 0.2s;
}

.mascot.talking { animation: talk 0.45s ease-in-out infinite; }

@keyframes talk {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-9px) rotate(3deg); }
}

.mascot.happy { animation: mascotJump 0.7s ease; }

@keyframes mascotJump {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-26px) rotate(-8deg); }
  70% { transform: translateY(0); }
  85% { transform: translateY(-10px); }
}

.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  background: #3b2b63e6;
  color: #fff;
  padding: 10px 20px;
  border-radius: 18px;
  font-size: 17px;
  z-index: 30;
  white-space: nowrap;
  animation: toastIn 0.25s ease;
}

@keyframes toastIn {
  from { transform: translateX(-50%) translateY(14px); opacity: 0; }
  to   { transform: translateX(-50%); opacity: 1; }
}

/* ═══════════════════ חלונות קופצים ═══════════════════ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(50, 25, 100, 0.55);
  backdrop-filter: blur(3px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal {
  background: linear-gradient(180deg, #ffffff, #f6f0ff);
  border-radius: 30px;
  padding: 22px 20px;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 18px 50px rgba(30, 10, 70, 0.45);
  animation: modalIn 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes modalIn {
  from { transform: scale(0.6) translateY(40px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.explain-banner {
  background: linear-gradient(135deg, #ffd23f, #ff8a3d);
  color: #7a3c00;
  font-size: 22px;
  font-weight: bold;
  padding: 10px;
  border-radius: 18px;
  margin-bottom: 10px;
  animation: pulseSoft 1.2s ease-in-out infinite;
}

.explain-icon { font-size: 72px; animation: mascotJump 1s ease; }

.explain-name { color: #7c4dff; margin: 6px 0 10px; font-size: 26px; }

.explain-demo {
  background: #ffffff;
  border: 3px solid #e4dbfa;
  border-radius: 20px;
  padding: 12px 8px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.explain-demo:empty { display: none; }

.explain-demo .q-expr { font-size: clamp(26px, 7vw, 36px); }
.explain-demo .obj { font-size: clamp(24px, 6vw, 32px); pointer-events: none; }

.explain-text {
  font-size: 17px;
  line-height: 1.55;
  color: #55447e;
  margin: 4px 0 14px;
}

.explain-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* כפתורים כלליים */
.btn {
  border-radius: 16px;
  font-size: 16px;
  font-weight: bold;
  padding: 11px 18px;
  background: #ece4ff;
  color: #5b3fa8;
  box-shadow: 0 4px 0 #c9b8f0;
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #c9b8f0; }

.btn.big { font-size: 19px; padding: 14px 24px; border-radius: 20px; }

.btn.go {
  background: linear-gradient(135deg, #34c759, #2aa64a);
  color: #fff;
  box-shadow: 0 4px 0 #1d7a33;
}

.btn.alt {
  background: linear-gradient(135deg, #7c4dff, #9d7bff);
  color: #fff;
  box-shadow: 0 4px 0 #5b32c7;
}

.btn.danger { background: #ffdada; color: #b42318; box-shadow: 0 4px 0 #e0a0a0; }

.btn.small { font-size: 22px; width: 46px; padding: 6px 0; }

.btn.toggle.off { background: #e8e8e8; color: #999; box-shadow: 0 4px 0 #ccc; }

/* הגדרות */
.settings-modal h2 { color: #7c4dff; margin: 0 0 14px; }

.set-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 2px dashed #e4dbfa;
  font-size: 17px;
}

.set-row:last-of-type { border-bottom: none; }
.set-row.stats { font-size: 14px; color: #7a6aa8; justify-content: center; }

.level-adjust { display: flex; align-items: center; gap: 12px; }
#set-lvl-val { font-size: 22px; font-weight: bold; min-width: 34px; color: #7c4dff; }

.set-hint { font-size: 13px; color: #9a8cc4; line-height: 1.6; }

#set-close { margin-top: 12px; width: 100%; }

.confirm-modal p { color: #55447e; font-size: 16px; }

/* ═══════════════════ קונפטי וכוכב מעופף ═══════════════════ */
.confetti-bit {
  position: fixed;
  width: 12px;
  height: 12px;
  z-index: 100;
  pointer-events: none;
  border-radius: 3px;
}

.fly-star {
  position: fixed;
  z-index: 100;
  font-size: 30px;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.3, 0.1, 0.3, 1.2), opacity 0.8s;
  filter: drop-shadow(0 2px 3px rgba(60,30,120,0.4));
}

/* ═══════════════════ משחק האותיות ═══════════════════ */

.opt.letter-opt { font-size: clamp(34px, 9vw, 48px); padding: 14px 6px; direction: rtl; }
.opt.emoji-opt  { font-size: clamp(38px, 10vw, 54px); padding: 14px 6px; }
.opt.word-opt   { font-size: clamp(26px, 7vw, 34px); padding: 13px 10px; direction: rtl; }

.vis-emoji { font-size: clamp(64px, 18vw, 96px); line-height: 1.1; }

.vis-glyph {
  font-size: clamp(70px, 20vw, 110px);
  font-weight: bold;
  color: #5b3fa8;
  line-height: 1.1;
  text-shadow: 0 3px 0 #d9ccf7;
}

.pop-in { animation: objPop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) backwards; }

/* כרטיס מילה */
.word-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.word-big {
  display: flex;
  direction: rtl;
  gap: 3px;
  font-size: clamp(40px, 12vw, 62px);
  font-weight: bold;
  color: #3b2b63;
  line-height: 1.5;
}

.word-big .unit { animation: objPop 0.4s ease backwards; }
.word-big .unit:nth-child(2) { animation-delay: 90ms; }
.word-big .unit:nth-child(3) { animation-delay: 180ms; }
.word-big .unit:nth-child(4) { animation-delay: 270ms; }

.unit-blank {
  min-width: 1em;
  background: #ffe9a8;
  border: 3px dashed #ffb03a;
  border-radius: 12px;
  animation: pulseSoft 1.4s ease-in-out infinite !important;
}

.unit-revealed {
  min-width: 1em;
  background: #c8f7c5;
  border: 3px solid #34c759;
  border-radius: 12px;
  color: #1d7a33;
  animation: starFill 0.6s ease !important;
}

.unit-hl {
  background: #ffe9a8;
  border-radius: 12px;
  box-shadow: 0 0 0 3px #ffb03a;
}

.word-side-emoji { font-size: clamp(40px, 11vw, 60px); }

/* בניית מילים: משבצות ואריחים */
.build-slots {
  display: flex;
  direction: rtl;
  justify-content: center;
  gap: 8px;
  font-size: clamp(36px, 10vw, 52px);
  font-weight: bold;
}

.slot {
  min-width: 1.25em;
  min-height: 1.5em;
  background: #f3edff;
  border: 3px dashed #b9a4f2;
  border-radius: 14px;
  color: #3b2b63;
  display: grid;
  place-items: center;
  line-height: 1.4;
}

.slot.filled {
  background: #c8f7c5;
  border: 3px solid #34c759;
  color: #1d7a33;
  animation: starFill 0.45s ease;
}

.tile {
  background: linear-gradient(180deg, #fff8e1, #ffe9a8);
  border-radius: 18px;
  font-size: clamp(30px, 8vw, 44px);
  font-weight: bold;
  color: #7a4d00;
  padding: 16px 6px;
  box-shadow: 0 6px 0 #e0b64f, 0 10px 18px rgba(60,30,120,0.15);
  transition: transform 0.1s, box-shadow 0.1s, opacity 0.3s;
  direction: rtl;
  line-height: 1.4;
}

.tile:active { transform: translateY(4px); box-shadow: 0 2px 0 #e0b64f; }

/* גרירת אריח עם האצבע: בלי גלילה של הדף, בלי סימון טקסט */
.tile { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.tile.dragging { opacity: 0.35; }
.tile.ghost {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.15);
  width: 64px;
  padding: 12px 6px;
  margin: 0;
  box-shadow: 0 10px 24px rgba(60, 30, 120, 0.35);
}

/* משבצות: אות שניתנה מראש (ניטרלי), משבצת שמתחת לאצבע, והמשבצת שמחכה לצעד הבא */
.slot { transition: transform 0.12s, background 0.12s, border-color 0.12s; }
.slot.given { background: #ffffff; border: 3px solid #d9ccf7; color: #3b2b63; }
.slot.over { border-color: #7c4dff; border-style: solid; background: #e9e0ff; transform: scale(1.1); }
.slot.guide { border-color: #ffb03a; background: #fff3d1; animation: pulseSoft 0.9s ease-in-out infinite; }

.tile.used { opacity: 0.25; pointer-events: none; transform: scale(0.9); }

.tile.bad {
  background: linear-gradient(180deg, #ffd2d2, #ff9d9d);
  color: #8f1d1d;
  box-shadow: 0 6px 0 #e07070;
  animation: badShake 0.5s ease;
}

.tile.guide { animation: revealPulse 0.9s ease-in-out infinite; box-shadow: 0 0 0 5px #ffd23f, 0 6px 0 #e0b64f; }

.tile.wobble { animation: cardShake 0.35s ease; }
.tile.unlock-bounce { animation: unlockBounce 0.4s ease; }

/* כרטיסי דוגמה בחלון ההסבר */
.demo-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  direction: rtl;
}

.demo-card {
  background: linear-gradient(180deg, #ffffff, #f1eaff);
  border: 3px solid #d9ccf7;
  border-radius: 18px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 0 #c9b8f0;
  transition: transform 0.1s;
  min-width: 64px;
}

.demo-card:active { transform: scale(0.94); }
.demo-card.wide { flex-direction: column; padding: 12px 18px; }
.demo-card.wobble { animation: cardShake 0.4s ease; }

.demo-main { font-size: clamp(30px, 8vw, 42px); font-weight: bold; color: #5b3fa8; line-height: 1.4; }
.demo-sub { font-size: 14px; color: #7a6aa8; }

/* נקודה לכל הברה (כרטיס ההברות בחלון ההסבר) */
.syl-dots { font-size: 20px; letter-spacing: 8px; color: #7c4dff; direction: ltr; margin-top: 2px; }

/* ═══════════════════ מבחן ═══════════════════ */

.test-mode .level-badge {
  background: linear-gradient(135deg, #ff8a3d, #ffd23f);
  color: #5a3000;
  box-shadow: 0 3px 0 rgba(120, 60, 0, 0.25);
}

/* מד ההתקדמות במבחן: עיגול לכל שאלה, ✅/❌ אחרי שנענתה */
.test-mode .star-meter { flex-wrap: wrap; row-gap: 0; }
.test-slot { font-size: 0.78em; opacity: 0.45; }
.test-slot.done { opacity: 1; animation: starFill 0.45s ease; }

/* סיכום המבחן בחלון התוצאה */
.test-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  font-size: 26px;
  direction: rtl;
}
.test-summary .test-slot { font-size: 1em; }

/* מדליית מבחן באלבום המדבקות */
.stkr.medal.earned {
  --ring: #ffc93c;
  background: radial-gradient(circle at 32% 28%, #fff9d6, #ffd75e 75%);
  border-color: #fff;
}
.stkr.medal.locked { font-size: 17px; filter: grayscale(1); opacity: 0.55; }

/* מדליה שאפשר לגשת ולאסוף עכשיו - קורצת לילד */
.stkr.medal.ready {
  background: #fff8e6;
  border: 2px dashed #ffb03a;
  box-shadow: 0 2px 5px rgba(60, 30, 120, 0.28);
  animation: pulseSoft 1.5s ease-in-out infinite;
}

/* מסכים צרים מאוד */
@media (max-width: 360px) {
  .options { gap: 8px; }
  .opt { padding: 14px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ═══════════════════ מסך בחירת ילד ═══════════════════ */
.who-cards {
  display: flex;
  gap: 18px;
  width: 100%;
  margin-top: 34px;
  justify-content: center;
}

.who-card {
  flex: 1;
  max-width: 250px;
  min-height: 210px;
  border-radius: 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 8px 0 rgba(60, 30, 120, 0.25), 0 12px 24px rgba(60, 30, 120, 0.2);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.who-card:active { transform: translateY(5px) scale(0.99); box-shadow: 0 3px 0 rgba(60,30,120,0.25); }
.who-card.who-3 { background: linear-gradient(135deg, #6fcf5a, #0f9d8a); }
.who-card.who-6 { background: linear-gradient(135deg, #7c4dff, #ff4d94); }

.who-icon { font-size: 60px; filter: drop-shadow(0 3px 2px rgba(0,0,0,0.25)); animation: wiggle 2.4s ease-in-out infinite; }
.who-age { font-size: clamp(56px, 16vw, 84px); font-weight: bold; line-height: 1; text-shadow: 0 3px 0 rgba(0,0,0,0.2); direction: ltr; }
.who-label { font-size: 18px; opacity: 0.95; }

.btn-switch {
  margin-top: 10px;
  background: #ffffffcc;
  color: #5b3fa8;
  font-size: 14px;
  font-weight: bold;
  padding: 7px 14px;
  border-radius: 14px;
  box-shadow: 0 3px 0 rgba(60, 30, 120, 0.2);
}

/* כל ילד רואה רק את המשחקים והמדבקות שלו */
body[data-child="3"] .for-6, body[data-child="6"] .for-3 { display: none !important; }

/* כפתורי הורים ומסך מלא צפים מעל מסך הבחירה ומסך הבית, ונעלמים בזמן משחק */
.btn-gear, .btn-fs { position: fixed; z-index: 3; }
body[data-screen="screen-game"] .btn-gear, body[data-screen="screen-game"] .btn-fs { display: none; }

.game-card.thinking { background: linear-gradient(135deg, #6fcf5a, #0f9d8a); }
.chip-thinking { background: linear-gradient(135deg, #6fcf5a, #0f9d8a); }
.shelf-sec.thinking .stkr.earned { --ring: #c9f2c4; }

/* ═══════════════════ משחק החשיבה ═══════════════════ */

/* חפצים לספירה גדולים יותר לקטנים */
#screen-game[data-game="thinking"] .obj { font-size: clamp(34px, 9.5vw, 50px); }

/* רמז "תקשיב" - כשהשאלה כולה בקול */
.vis-listen {
  font-size: clamp(44px, 12vw, 60px);
  line-height: 1.1;
  opacity: 0.9;
  animation: listenPulse 1.6s ease-in-out infinite;
}

@keyframes listenPulse {
  0%, 100% { transform: scale(1) rotate(-4deg); }
  50%      { transform: scale(1.08) rotate(4deg); }
}

.vis-css { display: flex; justify-content: center; padding: 6px 0; }
.vis-css .glass { width: 64px; height: 88px; }

/* כפתורי תמונות גדולים */
.opt.think-opt { padding: 14px 6px; }
.opt.emoji-opt.think-opt { font-size: clamp(42px, 11vw, 60px); line-height: 1.15; }

/* מי שונה: ארבע תמונות בשורה, אחת אולי הפוכה */
.opt.cell-opt { font-size: clamp(32px, 8.6vw, 48px); padding: 14px 2px; }
.flip { display: inline-block; transform: scaleX(-1); }

/* צלליות */
.vis-shadow { font-size: clamp(76px, 22vw, 110px); line-height: 1.1; }
.silhouette { display: inline-block; filter: brightness(0); opacity: 0.9; transition: filter 0.6s, opacity 0.6s; }
.silhouette.unmasked { filter: none; opacity: 1; animation: starFill 0.6s ease; }

/* מספרים */
.opt.num-opt { font-size: clamp(36px, 10vw, 52px); }

/* כרטיסי כמות (איפה יש יותר) */
.opt.qty-opt { padding: 12px 6px; min-height: 96px; display: flex; align-items: center; justify-content: center; }
.qty {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px 6px;
  font-size: clamp(20px, 5.6vw, 28px);
  line-height: 1.2;
  max-width: 6.6em;
  direction: ltr;
}

/* סדרות */
.pattern-row {
  display: flex;
  direction: rtl;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
}

.pattern-item {
  width: clamp(40px, 11vw, 58px);
  height: clamp(40px, 11vw, 58px);
  display: grid;
  place-items: center;
  font-size: clamp(24px, 6.6vw, 36px);
  line-height: 1;
  background: #f3edff;
  border: 3px solid #b9a4f2;
  border-radius: 14px;
  animation: objPop 0.4s ease backwards;
}

.pattern-row.long .pattern-item { width: clamp(33px, 9.4vw, 50px); height: clamp(33px, 9.4vw, 50px); font-size: clamp(20px, 5.6vw, 30px); border-width: 2px; border-radius: 11px; }
.pattern-row.long { gap: 4px; }

.pattern-item.missing {
  background: #ffe9a8;
  border-color: #ffb03a;
  border-style: dashed;
  color: #b8860b;
  font-weight: bold;
  animation: pulseSoft 1.4s ease-in-out infinite;
}

.pattern-item.revealed { background: #c8f7c5; border-color: #34c759; animation: starFill 0.6s ease; }

.dot { display: inline-block; width: 0.9em; height: 0.9em; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.12); vertical-align: middle; }
.opt.pat-opt { padding: 14px 6px; font-size: clamp(34px, 9vw, 48px); line-height: 1.15; display: flex; justify-content: center; align-items: center; min-height: 84px; }

/* הפכים: אמוג'י או כוס מלאה/ריקה */
.opt.opp-opt { font-size: clamp(38px, 10vw, 54px); display: flex; justify-content: center; align-items: center; min-height: 96px; }

.glass {
  width: 44px;
  height: 62px;
  border: 3px solid #5b3fa8;
  border-top-width: 2px;
  border-radius: 5px 5px 14px 14px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  box-sizing: border-box;
  display: inline-block;
}

.glass::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(#7fbfff, #2f7cf6); height: 84%; }
.glass.glass-empty::after { height: 9%; opacity: 0.5; }

/* לפני ואחרי: מספר, חץ, וחור */
.seq-arrow-ltr { font-size: clamp(24px, 7vw, 34px); font-weight: bold; color: #ff4d94; }
.seq-box.revealed { background: #c8f7c5; border-color: #34c759; color: #1d7a33; animation: starFill 0.6s ease; }

/* כמה מתחבאים: שורה של חפצים וקופסה שנסגרת */
.hidden-scene {
  display: flex;
  direction: rtl;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hs-out { max-width: 62%; }

.hs-box {
  position: relative;
  min-width: 88px;
  min-height: 72px;
  padding: 6px;
  background: #e2b07a;
  border: 3px solid #a0672d;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -10px 0 #c48a4f;
}

.hs-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; font-size: 22px; max-width: 80px; visibility: hidden; }
.hs-box.open .hs-inner { visibility: visible; animation: objPop 0.5s ease; }

.hs-box .lid {
  position: absolute;
  inset: -3px;
  border-radius: 10px;
  background: linear-gradient(#d9a066, #b47a3c);
  border: 3px solid #a0672d;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: bold;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s;
}

.hs-box.closed .lid { opacity: 1; }
.hs-box.closed.open .lid { opacity: 0; pointer-events: none; }

.obj.to-box { animation: intoBox 0.9s ease forwards; pointer-events: none; }
@keyframes intoBox {
  to { transform: translate(-40px, 30px) scale(0.2); opacity: 0; }
}

/* חלוקה שווה */
.share-scene { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.share-kids { display: flex; gap: 40px; font-size: clamp(40px, 11vw, 56px); line-height: 1.1; direction: rtl; }
.share-piles { display: flex; gap: 22px; direction: rtl; justify-content: center; flex-wrap: wrap; }
.pile { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pile .share-kid { font-size: clamp(36px, 10vw, 50px); }
.pile-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; font-size: clamp(20px, 5.5vw, 28px); max-width: 4.5em; background: #f3edff; border: 3px dashed #b9a4f2; border-radius: 14px; padding: 6px 8px; animation: objPop 0.5s ease; }

/* זיכרון */
.mem-progress { display: flex; gap: 8px; justify-content: center; direction: rtl; font-size: clamp(24px, 6.6vw, 34px); }
.mem-slot {
  width: 1.6em;
  height: 1.6em;
  border-radius: 12px;
  background: #f3edff;
  border: 3px dashed #b9a4f2;
  display: grid;
  place-items: center;
  line-height: 1;
  font-size: 0.8em;
}
.mem-slot.found { background: #c8f7c5; border: 3px solid #34c759; font-size: 1em; animation: starFill 0.5s ease; }

.mem-card {
  min-height: clamp(76px, 21vw, 110px);
  border-radius: 18px;
  background: linear-gradient(180deg, #9d7bff, #6a3fe0);
  color: #ffffffcc;
  font-size: clamp(34px, 9.5vw, 50px);
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 0 #4a27a8, 0 10px 18px rgba(60, 30, 120, 0.18);
  transition: transform 0.12s, background 0.25s, box-shadow 0.12s;
  animation: objPop 0.4s ease backwards;
}

.mem-card:active { transform: translateY(4px); box-shadow: 0 2px 0 #4a27a8; }
.mem-card.open { background: linear-gradient(180deg, #ffffff, #f1eaff); box-shadow: 0 6px 0 #c9b8f0; color: #3b2b63; }
.mem-card.open .mem-face { animation: objPop 0.3s ease; }
.mem-card.matched { background: linear-gradient(180deg, #b6f7b0, #7ce87a); box-shadow: 0 6px 0 #52b95a; pointer-events: none; }
.mem-card.wobble { animation: cardShake 0.35s ease; }

/* מה נעלם */
.vanish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; direction: rtl; justify-items: center; }
.vanish-grid.six { grid-template-columns: repeat(3, 1fr); }
.vn-item {
  width: clamp(58px, 16vw, 84px);
  height: clamp(58px, 16vw, 84px);
  display: grid;
  place-items: center;
  font-size: clamp(34px, 9.5vw, 50px);
  line-height: 1;
  background: #f3edff;
  border: 3px solid #b9a4f2;
  border-radius: 16px;
  transition: transform 0.4s, background 0.4s;
}
.vn-item.gone { background: #ffe9a8; border-color: #ffb03a; border-style: dashed; animation: pulseSoft 1.4s ease-in-out infinite; }
.vn-item.back { background: #c8f7c5; border-color: #34c759; animation: starFill 0.6s ease; }
.vn-wait {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #5b3fa8;
  background: #ffffffd9;
  border-radius: 18px;
  padding: 16px;
  animation: pulseSoft 1.4s ease-in-out infinite;
}

/* סידור לפי סדר (גודל / סיפור) */
.seq-slots { display: flex; direction: rtl; justify-content: center; align-items: flex-end; gap: 6px; flex-wrap: wrap; }
.seq-slot { min-width: 1.5em; min-height: 1.5em; font-size: clamp(30px, 8vw, 44px); line-height: 1.2; padding: 4px; }
.seq-slot .sz-xs, .seq-slot .sz-s, .seq-slot .sz-m, .seq-slot .sz-l { line-height: 1; }
.seq-arrow { font-size: clamp(22px, 6vw, 30px); font-weight: bold; color: #ff4d94; align-self: center; }
.order-slots .seq-slot { min-width: 1.7em; min-height: 1.9em; display: flex; align-items: flex-end; justify-content: center; }
.seq-tile { font-size: clamp(30px, 8vw, 44px); line-height: 1; display: flex; align-items: center; justify-content: center; min-height: clamp(80px, 22vw, 116px); padding: 8px 4px; }
.seq-tile > span { line-height: 1; }

.sz-xs { font-size: 0.5em; }
.sz-s  { font-size: 0.7em; }
.sz-m  { font-size: 1em; }
.sz-l  { font-size: 1.45em; }

/* סצנות מיקום: שולחן / קופסה, וחיה על / מתחת / ליד / בתוך */
.opt.scene-opt { padding: 10px 4px; }
.scene {
  position: relative;
  width: clamp(80px, 24vw, 112px);
  height: clamp(80px, 24vw, 112px);
  margin: 0 auto;
  overflow: hidden;
}

.scene .actor {
  position: absolute;
  font-size: clamp(24px, 7vw, 32px);
  line-height: 1;
  left: 64%;
  transform: translateX(-50%);
}

.prop-table { position: absolute; left: 34%; right: 6%; top: 48%; height: 9%; background: #b3762f; border-radius: 4px; box-shadow: inset 0 -3px 0 #8a5624; }
.prop-table::before, .prop-table::after { content: ''; position: absolute; top: 100%; width: 10%; height: 420%; background: #8a5624; border-radius: 0 0 3px 3px; }
.prop-table::before { left: 6%; }
.prop-table::after { right: 6%; }

.scene-table .actor.pos-on { bottom: 53%; }
.scene-table .actor.pos-under { top: 60%; }
.scene-table .actor.pos-next { left: 15%; bottom: 6%; }

.box-back, .box-front { position: absolute; left: 34%; right: 6%; border-radius: 6px; }
.box-back { bottom: 8%; height: 50%; background: #e2b07a; border: 3px solid #a0672d; }
.box-front { bottom: 8%; height: 32%; background: #c48a4f; border: 3px solid #a0672d; z-index: 2; }
.scene-box .actor.pos-in { bottom: 30%; z-index: 1; }
.scene-box .actor.pos-on { bottom: 58%; }
.scene-box .actor.pos-next { left: 15%; bottom: 6%; }

/* דוגמאות בחלון ההסבר */
.demo-card.demo-odd { border-color: #ffb03a; background: linear-gradient(180deg, #fff8e6, #ffe9a8); box-shadow: 0 4px 0 #e0b64f; }
.demo-card.demo-scene { padding: 6px 8px; }
.demo-card .demo-main { display: flex; align-items: center; gap: 6px; }
.demo-plus { font-size: 0.6em; color: #ff4d94; }
.demo-card .silhouette { font-size: 1em; }
.demo-card .glass { width: 34px; height: 48px; }
.demo-cards.align-end { align-items: flex-end; }
.demo-card .pattern-row, .demo-card .seq-slots, .demo-card .seq-row { font-size: 16px; }
.demo-card .seq-box { min-width: 38px; padding: 6px 4px; font-size: 20px; }
.demo-card .hidden-scene .obj { font-size: 24px; pointer-events: none; }
.demo-card .hs-box { min-width: 66px; min-height: 56px; }
.demo-card .hs-inner { font-size: 18px; }
.demo-card .pile .share-kid { font-size: 30px; }
.demo-card .pile-items { font-size: 18px; }
.demo-card .obj-grid { pointer-events: none; }
