/* Superkids V1 -- Learning Land (hub + flip cards + quiz). All classes .land-* */

.sk-game-root.land-host { padding: 6px 14px 28px; overflow-x: hidden; }
.land-wrap { width: 100%; max-width: 1500px; display: flex; flex-direction: column; align-items: center; flex: 1 0 auto; }

/* ================= HUB ================= */
.land-hub { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-bottom: 10px; }
.land-deco { position: absolute; inset: 0 -4px 34%; pointer-events: none; overflow: hidden; z-index: 0;
  background: linear-gradient(#9fd8ff, rgba(159,216,255,.55) 55%, rgba(159,216,255,0)); border-radius: 48px; }
.land-sun { position: absolute; right: 4%; top: 6px; font-size: 64px; animation: sk-spin 30s linear infinite; filter: drop-shadow(0 0 18px rgba(255,200,0,.7)); }
.land-cloud { position: absolute; width: 120px; height: 38px; background: #fff; border-radius: 40px; opacity: .9; animation: land-drift 26s linear infinite; }
.land-cloud::before, .land-cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.land-cloud::before { width: 54px; height: 54px; left: 18px; top: -26px; }
.land-cloud::after { width: 40px; height: 40px; left: 60px; top: -18px; }
.land-cloud.c1 { top: 30px; left: 6%; }
.land-cloud.c2 { top: 120px; left: 70%; transform: scale(.7); animation-duration: 34s; animation-delay: -12s; }
.land-cloud.c3 { top: 64px; left: 38%; transform: scale(.55); animation-duration: 40s; animation-delay: -20s; opacity: .7; }
.land-bird { position: absolute; font-size: 30px; animation: land-fly 14s linear infinite; }
.land-bird.b1 { top: 70px; left: -10%; }
.land-bird.b2 { top: 160px; left: -10%; animation-duration: 19s; animation-delay: -7s; font-size: 26px; }
@keyframes land-drift { from { translate: -40vw 0; } to { translate: 60vw 0; } }
@keyframes land-fly { 0% { left: -8%; translate: 0 0; } 50% { translate: 0 -24px; } 100% { left: 108%; translate: 0 0; } }

.land-hero { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.land-school {
  background: none; padding: 0; width: 100px; height: 100px;
  display: flex; align-items: center; justify-content: center;
  animation: sk-float 3s ease-in-out infinite;
}
.land-school-e { font-size: 86px; line-height: 1; filter: drop-shadow(0 8px 0 rgba(0,0,0,.15)); }
.land-school.land-jump .land-school-e { display: inline-block; animation: land-boing .6s cubic-bezier(.34,1.56,.64,1); }
.land-bubble {
  position: relative; background: #fff; color: var(--ink);
  font-size: 30px; font-weight: 800; padding: 10px 24px; border-radius: 30px; min-height: 64px;
  box-shadow: 0 6px 0 rgba(0,0,0,.12), 0 10px 20px rgba(0,0,0,.1);
  animation: sk-pop .5s .2s both cubic-bezier(.34,1.56,.64,1);
}
.land-bubble::before {
  content: ''; position: absolute; left: -14px; top: 50%; margin-top: -12px;
  border: 12px solid transparent; border-right: 16px solid #fff; border-left: 0;
}
.land-bubble b { display: inline-block; animation: land-bob 1s ease-in-out infinite; }

/* shelf + hill */
.land-shelf { position: relative; z-index: 1; width: min(100%, 860px); display: flex; flex-direction: column; align-items: center; perspective: 900px; }
.land-plank {
  width: calc(100% + 16px); height: 26px; margin-top: -4px; border-radius: 10px;
  background: linear-gradient(#d39a5f, #b7773d 60%, #9a5f2a);
  box-shadow: 0 8px 0 #7a4a20, 0 16px 24px rgba(0,0,0,.18);
}
.land-hill {
  position: relative; z-index: 1; width: min(100%, 1480px); margin-top: 18px;
  padding: 26px 14px 54px; border-radius: 60px 60px 36px 36px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(#8ee07a, #5cc45a 70%, #46a847);
  box-shadow: inset 0 -10px 0 rgba(0,0,0,.08), 0 10px 0 #3c8f3d, 0 18px 30px rgba(0,0,0,.15);
}
.land-flowers { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: space-around; font-size: 26px; pointer-events: none; }
.land-flowers span { animation: sk-wiggle 3s ease-in-out infinite; }
.land-flowers span:nth-child(2n) { animation-delay: -1.5s; }

.land-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.land-basics { --bs: calc((100vw - 28px - 3 * 12px - 16px) / 4); gap: 12px; padding: 4px 0 0; flex-wrap: nowrap; transform: rotateX(6deg); transform-origin: bottom; }
.land-topics { --bs: calc((100vw - 28px - 28px - 2 * 14px) / 3); }

/* the chunky 3D block */
.land-block {
  --c: var(--grape); --d: var(--grape-d); --l: #a99ff5;
  position: relative; width: var(--bs); height: var(--bs); min-width: 72px; min-height: 72px;
  border-radius: 26%;
  background: linear-gradient(160deg, var(--l), var(--c) 45%, var(--c));
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: 0 10px 0 var(--d), 0 16px 22px rgba(0,0,0,.2), inset 0 -6px 0 rgba(0,0,0,.08);
  animation: land-in .55s calc(var(--i) * .06s) both cubic-bezier(.34,1.56,.64,1), land-bob 3.2s calc(var(--i) * -.37s + .6s) ease-in-out infinite;
  transition: transform .1s, box-shadow .1s;
}
.land-row .land-block { width: var(--bs); height: var(--bs); }
.land-block:active, .land-block.land-chosen { animation: none; transform: translateY(9px) scale(.97); box-shadow: 0 1px 0 var(--d), 0 4px 10px rgba(0,0,0,.2); }
.land-block.land-chosen { animation: land-chose .45s both; }
.land-block-gloss {
  position: absolute; left: 12%; top: 8%; width: 46%; height: 22%; border-radius: 50%;
  background: rgba(255,255,255,.45); transform: rotate(-14deg); pointer-events: none;
}
.land-block-e { font-size: calc(var(--bs) * .48); line-height: 1; filter: drop-shadow(0 4px 0 rgba(0,0,0,.18)); }
.land-block-t {
  font-size: clamp(14px, calc(var(--bs) * .16), 24px); font-weight: 800; line-height: 1.1;
  background: rgba(0,0,0,.16); padding: 1px 10px 0; border-radius: 999px; white-space: nowrap;
  text-shadow: 0 2px 0 rgba(0,0,0,.15);
}
.land-badge {
  position: absolute; top: -10px; right: -8px; font-size: clamp(22px, calc(var(--bs) * .24), 34px); line-height: 1;
  background: #fff; border-radius: 50%; padding: 4px; box-shadow: 0 4px 0 rgba(0,0,0,.15);
  animation: sk-pop .5s .4s both cubic-bezier(.34,1.56,.64,1);
}
@keyframes land-in { from { transform: translateY(40px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes land-bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes land-chose { 0% { transform: scale(1); } 40% { transform: scale(1.15) rotate(-4deg); } 100% { transform: scale(.94); } }
@keyframes land-boing { 0% { transform: scale(1); } 30% { transform: scale(1.25, .8); } 60% { transform: scale(.9, 1.15); } 100% { transform: scale(1); } }

@media (min-width: 600px) {
  .land-basics { --bs: min(150px, 19vw, 22vh); gap: 22px; }
  .land-topics { --bs: min(132px, 17vw, 19vh); gap: 18px; }
}
@media (min-width: 1100px) {
  .land-topics { --bs: min(calc((100vw - 110px) / 9 - 18px), 168px, 21vh); flex-wrap: nowrap; }
  .land-basics { --bs: min(168px, 23vh); gap: 28px; }
  .land-hill { margin-top: 26px; }
}
@media (max-width: 599px) {
  .land-school { width: 80px; height: 80px; }
  .land-school-e { font-size: 66px; }
  .land-bubble { font-size: 24px; padding: 8px 18px; min-height: 56px; }
  .land-sun { font-size: 44px; }
  .land-hill { padding: 22px 14px 48px; border-radius: 44px 44px 28px 28px; }
}
@media (min-width: 1100px) and (max-height: 820px) {
  .land-school { width: 80px; height: 80px; }
  .land-school-e { font-size: 68px; }
  .land-hub { gap: 4px; }
}

/* ================= shared top bar ================= */
.land-top { width: 100%; max-width: 900px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.land-top-mid { flex: 1; display: flex; justify-content: center; }
.land-round {
  width: 72px; height: 72px; border-radius: 50%; background: #fff; font-size: 36px; line-height: 1; flex: 0 0 auto;
  box-shadow: 0 6px 0 #d8d4f0, 0 10px 18px rgba(0,0,0,.12); transition: transform .1s;
}
.land-round:active { transform: translateY(5px); box-shadow: 0 1px 0 #d8d4f0; }
.land-say { background: var(--c, var(--grape)); box-shadow: 0 6px 0 var(--d, var(--grape-d)), 0 10px 18px rgba(0,0,0,.12); }
.land-dots { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.land-dots i {
  width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.75);
  box-shadow: inset 0 3px 0 rgba(0,0,0,.08); transition: transform .3s, background .3s;
}
.land-dots i.seen { background: var(--c); }
.land-dots i.now { background: var(--c); transform: scale(1.45); box-shadow: 0 0 0 4px #fff; }
.land-pick-title { font-size: 54px; animation: land-bob 2s ease-in-out infinite; }

/* ================= ABC set picker ================= */
.land-abcsets {
  --bs: min(calc((100vw - 28px - 2 * 18px) / 3), 200px, 30vh);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 18px; margin-top: 2vh; max-width: 1100px;
}
.land-abcsets .land-block { width: var(--bs); height: var(--bs); }
.land-set-big { font-size: calc(var(--bs) * .42); font-weight: 800; line-height: 1; text-shadow: 0 5px 0 rgba(0,0,0,.18); }
.land-set-big i { font-style: normal; font-size: .62em; margin-left: 2px; opacity: .9; }
.land-set-sm { font-size: clamp(16px, calc(var(--bs) * .15), 28px); font-weight: 800; background: rgba(0,0,0,.16); border-radius: 999px; padding: 0 12px; margin-top: 4px; }
@media (min-width: 900px) { .land-abcsets { --bs: min(190px, 30vh); } }

/* ================= LEARN (flip card) ================= */
.land-learnmode { --cw: min(calc(100vw - 40px), 520px, calc((100vh - 235px) * .82)); }
.land-wrap.land-hubmode { justify-content: center; }
.land-stage { margin: auto 0; }
.land-quizmode .land-ask { margin-top: auto; }
.land-quizmode .land-choices { margin-bottom: auto; }
.land-abcsets { margin-top: auto !important; margin-bottom: auto; }
.land-stage {
  display: grid; grid-template-columns: auto auto auto; align-items: center; justify-content: center; gap: 22px;
  touch-action: pan-y; width: 100%;
}
.land-card {
  --cc: var(--c);
  width: var(--cw); aspect-ratio: .82; perspective: 1400px; cursor: pointer; position: relative;
}
.land-card.land-in-r { animation: land-slide-r .45s cubic-bezier(.34,1.4,.64,1); }
.land-card.land-in-l { animation: land-slide-l .45s cubic-bezier(.34,1.4,.64,1); }
@keyframes land-slide-r { from { transform: translateX(60px) rotate(4deg) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes land-slide-l { from { transform: translateX(-60px) rotate(-4deg) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.land-flip {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.34,1.3,.64,1);
}
.land-card.flipped .land-flip { transform: rotateY(180deg); }
.land-card.land-noanim .land-flip { transition: none; }
.land-face {
  position: absolute; inset: 0; border-radius: 40px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2%;
  padding: 6%;
  background: #fff;
  border: 8px solid var(--cc);
  box-shadow: 0 12px 0 color-mix(in srgb, var(--cc) 70%, #000), 0 24px 40px rgba(0,0,0,.18);
}
.land-front {
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.9) 0 14%, transparent 15%),
    repeating-linear-gradient(45deg, color-mix(in srgb, var(--cc) 10%, #fff) 0 22px, #fff 22px 44px);
}
.land-back { transform: rotateY(180deg); background: radial-gradient(circle at 50% 30%, #fff, color-mix(in srgb, var(--cc) 14%, #fff)); }

.land-arrow {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--c); color: #fff; font-size: 40px; line-height: 1;
  box-shadow: 0 8px 0 var(--d), 0 14px 22px rgba(0,0,0,.18);
  transition: transform .1s, box-shadow .1s;
}
.land-arrow:active { transform: translateY(7px); box-shadow: 0 1px 0 var(--d); }
.land-arrow.land-go { background: var(--mint); box-shadow: 0 8px 0 var(--mint-d), 0 14px 22px rgba(0,0,0,.18); font-size: 46px; animation: land-pulse 1.1s ease-in-out infinite; }
@keyframes land-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

@media (orientation: portrait) {
  .land-learnmode { --cw: min(calc(100vw - 36px), 470px, calc((100vh - 300px) * .74)); }
  .land-card { aspect-ratio: .74; }
  .land-stage { grid-template-columns: 1fr 1fr; grid-template-areas: "card card" "prev next"; gap: 22px 40px; justify-items: center; }
  .land-card { grid-area: card; }
  .land-prev { grid-area: prev; justify-self: end; }
  .land-next { grid-area: next; justify-self: start; }
}

/* card contents */
.land-letter { display: flex; align-items: baseline; gap: 4%; line-height: .9; }
.land-letter span {
  font-size: calc(var(--cw) * .52); font-weight: 800; color: var(--lc);
  text-shadow: 0 calc(var(--cw) * .018) 0 color-mix(in srgb, var(--lc) 65%, #000), 0 calc(var(--cw) * .04) calc(var(--cw) * .03) rgba(0,0,0,.18);
}
.land-letter .lo { font-size: calc(var(--cw) * .38); filter: hue-rotate(40deg); }
.land-card:not(.flipped) .land-letter, .land-card:not(.flipped) .land-numeral, .land-card:not(.flipped) .land-blob, .land-card:not(.flipped) .land-shape { animation: land-boing .8s .15s both; }

.land-word {
  font-size: calc(var(--cw) * .13); font-weight: 800; line-height: 1.05; color: var(--ink); text-align: center;
  text-shadow: 0 3px 0 rgba(0,0,0,.08);
}
.land-word b { font-weight: 800; }
.land-pic {
  position: relative; width: 82%; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 0 rgba(0,0,0,.08);
}
.land-pic-full { width: 90%; }
.land-photo { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.land-photo-fb, .land-big-emoji { font-size: calc(var(--cw) * .42); line-height: 1; }
.land-pic-tag {
  position: absolute; left: 8px; top: 8px; width: calc(var(--cw) * .17); height: calc(var(--cw) * .17); border-radius: 30%;
  background: var(--lc); color: #fff; font-size: calc(var(--cw) * .12); font-weight: 800; line-height: 1;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 rgba(0,0,0,.2);
}
.land-card.flipped .land-pic { animation: land-boing .7s .35s both; }

/* xylophone (no emoji for it) */
.land-xylo { display: flex; align-items: center; gap: 4%; width: 80%; height: 60%; transform: rotate(-8deg); }
.land-xylo i { flex: 1; border-radius: 10px; box-shadow: 0 6px 0 rgba(0,0,0,.2); }
.land-xylo i:nth-child(1) { height: 100%; background: #E53935; }
.land-xylo i:nth-child(2) { height: 90%; background: #FB8C00; }
.land-xylo i:nth-child(3) { height: 80%; background: #FDD835; }
.land-xylo i:nth-child(4) { height: 70%; background: #43A047; }
.land-xylo i:nth-child(5) { height: 60%; background: #1E88E5; }
.land-xylo i:nth-child(6) { height: 50%; background: #8E24AA; }

/* numbers */
.land-numeral {
  font-size: calc(var(--cw) * .66); font-weight: 800; line-height: .9; color: var(--lc);
  text-shadow: 0 calc(var(--cw) * .022) 0 color-mix(in srgb, var(--lc) 65%, #000), 0 calc(var(--cw) * .05) calc(var(--cw) * .04) rgba(0,0,0,.18);
}
.land-numword { font-size: calc(var(--cw) * .11); font-weight: 800; color: var(--ink); opacity: .75; }
.land-count { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 2% 3%; width: 92%; height: 66%; }
.land-count-it { --s: .2; font-size: calc(var(--cw) * var(--s)); line-height: 1.1; opacity: 0; transform: scale(.2); transition: transform .35s cubic-bezier(.34,1.8,.64,1), opacity .2s; }
.land-count-it.on { opacity: 1; transform: scale(1); }
.land-count.n1 .land-count-it { --s: .42; }
.land-count.n2 .land-count-it, .land-count.n3 .land-count-it { --s: .27; }
.land-count.n4 .land-count-it { --s: .24; flex-basis: 40%; text-align: center; }
.land-count.n5 .land-count-it, .land-count.n6 .land-count-it { --s: .2; flex-basis: 28%; text-align: center; }
.land-count.n7 .land-count-it, .land-count.n8 .land-count-it { --s: .16; flex-basis: 21%; text-align: center; }
.land-count.n9 .land-count-it { --s: .16; flex-basis: 28%; text-align: center; }
.land-count.n10 .land-count-it { --s: .14; flex-basis: 17%; text-align: center; }

/* colours */
.land-blobbox { position: relative; width: 78%; aspect-ratio: 1; }
.land-blob { width: 100%; height: 100%; display: block; filter: drop-shadow(0 8px 0 rgba(0,0,0,.12)); }
.land-brush { position: absolute; right: -6%; bottom: 2%; font-size: calc(var(--cw) * .16); animation: sk-wiggle 1.6s ease-in-out infinite; }
.land-colorword.w, .land-ask-word.w { -webkit-text-stroke: 2px #90A4AE; }
.land-swatch {
  width: 86%; aspect-ratio: 1.05; border-radius: 34px; background: var(--sw);
  box-shadow: inset 0 -10px 0 rgba(0,0,0,.12), 0 6px 0 rgba(0,0,0,.1);
  border: 4px solid rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
}
.land-things { display: flex; flex-wrap: wrap; justify-content: center; gap: 4% 8%; width: 90%; }
.land-things span {
  font-size: calc(var(--cw) * .2); line-height: 1.15; background: rgba(255,255,255,.85); border-radius: 30%;
  padding: 2% 4%; box-shadow: 0 5px 0 rgba(0,0,0,.12);
}
.land-card.flipped .land-things span { animation: sk-pop .5s calc(.35s + var(--k) * .25s) both cubic-bezier(.34,1.56,.64,1); }

/* shapes */
.land-shapebox { width: 76%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.land-shape { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 8px 0 rgba(0,0,0,.14)); }
.land-shapeex { position: relative; width: 80%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.land-ex-e { font-size: calc(var(--cw) * .36); line-height: 1; filter: drop-shadow(0 8px 0 rgba(0,0,0,.14)); }
.land-shape-sm { position: absolute; right: -4%; bottom: -2%; width: 44%; height: 44%; }
.land-shapeex .land-ex-e { transform: translate(-14%, -10%); }
.land-card.flipped .land-ex-e { animation: land-boing .7s .35s both; }

/* topics mystery front */
.land-mystery { position: relative; display: flex; align-items: center; justify-content: center; }
.land-mystery-e { font-size: calc(var(--cw) * .45); line-height: 1; filter: drop-shadow(0 8px 0 rgba(0,0,0,.15)); animation: land-bob 1.2s ease-in-out infinite; }
.land-mystery-q {
  position: absolute; right: -24%; top: -18%; font-size: calc(var(--cw) * .2); font-weight: 800; color: #fff;
  background: var(--cc); width: 1.4em; height: 1.4em; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 0 rgba(0,0,0,.2);
}

/* ================= QUIZ ================= */
.land-quizmode { --qs: min(calc((100vw - 100px) / 3), calc(100vh - 400px), 280px); }
.land-qstars { display: flex; gap: 8px; }
.land-qstars i { font-style: normal; font-size: 40px; filter: grayscale(1) opacity(.35); transition: filter .3s; }
.land-qstars i.on { filter: drop-shadow(0 3px 0 rgba(224,169,60,.6)); }
.land-qstars i.land-pop { animation: land-boing .6s; }
.land-ask {
  display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 999px; padding: 10px 26px 10px 10px;
  box-shadow: 0 8px 0 rgba(0,0,0,.1), 0 14px 24px rgba(0,0,0,.1); margin: 4px 0 26px; max-width: 100%;
}
.land-ask-say {
  width: 76px; height: 76px; border-radius: 50%; flex: 0 0 auto; font-size: 36px;
  background: var(--c); box-shadow: 0 6px 0 var(--d); animation: land-pulse 1.6s ease-in-out infinite;
}
.land-ask-say:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--d); animation: none; }
.land-ask-show { display: flex; align-items: center; gap: 10px; min-height: 76px; }
.land-ask-show.land-pop { animation: sk-pop .45s cubic-bezier(.34,1.56,.64,1); }
.land-ask-find { font-size: 40px; }
.land-ask-letter { font-size: 76px; font-weight: 800; line-height: 1; text-shadow: 0 4px 0 rgba(0,0,0,.15); }
.land-ask-word { font-size: 42px; font-weight: 800; line-height: 1.05; color: var(--ink); }

.land-choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.land-choice {
  width: var(--qs); height: var(--qs); min-width: 96px; min-height: 96px; border-radius: 34px; background: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 6px; position: relative;
  border: 6px solid #fff;
  box-shadow: 0 10px 0 color-mix(in srgb, var(--c) 55%, #ccc), 0 16px 26px rgba(0,0,0,.15);
  animation: land-in .5s calc(var(--i) * .1s) both cubic-bezier(.34,1.56,.64,1);
  transition: transform .1s, box-shadow .1s, opacity .3s;
}
.land-choice:active { transform: translateY(8px); box-shadow: 0 2px 0 color-mix(in srgb, var(--c) 55%, #ccc); }
.land-choice .land-photo { border-radius: 26px; }
.land-choice.land-right { border-color: var(--mint); animation: land-yay .7s cubic-bezier(.34,1.56,.64,1) both; z-index: 2; }
.land-choice.land-right::after { content: '✅'; position: absolute; right: 6px; top: 6px; font-size: calc(var(--qs) * .2); }
.land-choice.land-wrong { animation: sk-shake .45s; border-color: #ffb3b3; }
.land-choice.land-fade { opacity: .35; transform: scale(.92); }
@keyframes land-yay { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-3deg); } 100% { transform: scale(1.06); } }

.land-q-letter { font-size: calc(var(--qs) * .6); font-weight: 800; line-height: 1; text-shadow: 0 5px 0 rgba(0,0,0,.15); }
.land-q-letter small { font-size: .55em; margin-left: 4px; }
.land-q-blob { width: 88%; height: 88%; }
.land-q-shape { width: 74%; height: 74%; }
.land-dots-grp { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 7%; width: 86%; height: 86%; }
.land-dots-grp i { width: 24%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 -5px 0 rgba(0,0,0,.18); }
.land-dots-grp.n1 i { width: 46%; }
.land-dots-grp.n2 i, .land-dots-grp.n3 i, .land-dots-grp.n4 i { width: 34%; }
.land-dots-grp.n7 i, .land-dots-grp.n8 i, .land-dots-grp.n10 i { width: 19%; }
.land-dots-grp.n9 i { width: 24%; }
.land-choice .land-photo-fb { font-size: calc(var(--qs) * .55); }

@media (orientation: portrait) {
  .land-quizmode { --qs: min(calc((100vw - 64px) / 2), calc((100vh - 400px) / 2), 260px); }
  .land-choices { gap: 22px; max-width: calc(var(--qs) * 2 + 30px); }
  .land-ask { margin-bottom: 18px; }
}
@media (max-width: 599px) {
  .land-round { width: 64px; height: 64px; font-size: 32px; }
  .land-arrow { width: 80px; height: 80px; }
  .land-dots i { width: 14px; height: 14px; }
  .land-qstars i { font-size: 32px; }
  .land-ask { padding: 8px 20px 8px 8px; gap: 10px; }
  .land-ask-say { width: 72px; height: 72px; font-size: 32px; }
  .land-ask-letter { font-size: 60px; }
  .land-ask-word { font-size: 32px; }
  .land-ask-find { font-size: 30px; }
  .land-face { border-radius: 32px; border-width: 7px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .land-learnmode { --cw: min(320px, calc((100vh - 200px) * .82)); }
  .land-quizmode { --qs: min(180px, calc(100vh - 260px)); }
}
@media (min-width: 1600px) and (min-height: 900px) {
  .land-basics { --bs: 210px; gap: 36px; }
  .land-topics { --bs: min(calc((100vw - 110px) / 9 - 18px), 188px); gap: 20px; }
  .land-school { width: 120px; height: 120px; }
  .land-school-e { font-size: 104px; }
  .land-bubble { font-size: 38px; padding: 12px 30px; }
}

/* 📚 All Learning decks (Laravel Kid Mode ke 47 learn_flip deck) */
.land-alldecks {
  position: relative; z-index: 1; margin: 18px auto 8px; min-height: 84px; padding: 10px 26px 10px 18px;
  display: flex; align-items: center; gap: 14px; border-radius: 999px; color: #fff;
  background: linear-gradient(100deg, #FF6B9D, #A55EEA 50%, #0984E3);
  box-shadow: 0 9px 0 #5a3fb8, 0 16px 28px rgba(0,0,0,.18), inset 0 5px 0 rgba(255,255,255,.3);
  transition: transform .1s, box-shadow .1s;
  animation: sk-rise .6s .5s both cubic-bezier(.34,1.56,.64,1);
}
.land-alldecks:active { transform: translateY(7px); box-shadow: 0 2px 0 #5a3fb8; }
.land-alldecks-e { font-size: 50px; line-height: 1; filter: drop-shadow(0 4px 0 rgba(0,0,0,.18)); animation: sk-float 2.4s ease-in-out infinite; }
.land-alldecks-t { font-size: clamp(18px, 5vw, 32px); font-weight: 800; white-space: nowrap; text-shadow: 0 3px 0 rgba(0,0,0,.18); }
.land-alldecks-n {
  min-width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--grape); font-size: 24px; font-weight: 800; box-shadow: 0 4px 0 rgba(0,0,0,.15);
}


/* =====================================================================
   v2 -- richer hub: rainbow sky, wooden shelf with brackets, bumpy grass
   ===================================================================== */
.land-deco {
  background:
    radial-gradient(circle at 50% 135%, transparent 0 44%, rgba(255,107,107,.32) 44% 46%, rgba(255,177,66,.32) 46% 48%,
      rgba(255,230,102,.32) 48% 50%, rgba(102,214,140,.32) 50% 52%, rgba(84,160,255,.32) 52% 54%, rgba(165,94,234,.28) 54% 56%, transparent 56%),
    linear-gradient(#8fd2ff, rgba(159,216,255,.6) 55%, rgba(159,216,255,0));
}
.land-sun { font-size: 72px; }
.land-sun img.sk-fx { filter: drop-shadow(0 0 18px rgba(255,200,0,.75)); }
.land-bird { font-size: 36px; }
.land-school-e img.sk-fx { width: 1.15em; height: 1.15em; filter: drop-shadow(0 8px 6px rgba(0,0,0,.2)); }
.land-bubble { border: 4px solid #fff; background: linear-gradient(180deg, #fff, #F4F2FF); }
.land-bubble b img.sk-fx { width: 1.2em; height: 1.2em; }

/* wooden shelf */
.land-plank {
  position: relative; height: 30px; border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 60px, rgba(122,74,32,.18) 60px 62px, rgba(255,255,255,0) 62px 140px),
    linear-gradient(#e2ad73, #c4853f 55%, #a5652c);
  box-shadow: inset 0 4px 0 rgba(255,255,255,.35), 0 8px 0 #7a4a20, 0 18px 26px rgba(0,0,0,.2);
}
.land-plank::before, .land-plank::after {
  content: ''; position: absolute; top: 30px; width: 30px; height: 34px;
  background: linear-gradient(#a5652c, #7a4a20); clip-path: polygon(0 0, 100% 0, 100% 30%, 30% 100%, 0 100%);
}
.land-plank::before { left: 12%; }
.land-plank::after { right: 12%; transform: scaleX(-1); }

/* bumpy grass hill */
.land-hill {
  background:
    radial-gradient(ellipse at 50% 0, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(circle at 12% 78%, rgba(255,255,255,.12) 0 40px, transparent 41px),
    radial-gradient(circle at 86% 70%, rgba(255,255,255,.10) 0 60px, transparent 61px),
    linear-gradient(#93e57c, #5cc45a 65%, #43a344);
}
.land-hill::before {
  content: ''; position: absolute; left: 30px; right: 30px; top: -14px; height: 28px; pointer-events: none;
  background: radial-gradient(circle at 50% 100%, #93e57c 0 16px, transparent 17px) 0 0 / 34px 28px repeat-x;
}
.land-flowers { font-size: 34px; bottom: 6px; }
.land-flowers img.sk-fx { filter: drop-shadow(0 3px 2px rgba(0,0,0,.2)); }

/* blocks: bigger 3D icon */
.land-block { border: 4px solid rgba(255,255,255,.35); }
.land-block-e img.sk-fx { width: 1.25em; height: 1.25em; filter: drop-shadow(0 6px 5px rgba(0,0,0,.25)); }
.land-block:hover { filter: brightness(1.06); }
.land-badge img.sk-fx { width: 1em; height: 1em; vertical-align: top; }

/* all decks button */
.land-alldecks { overflow: hidden; border: 4px solid rgba(255,255,255,.45); min-height: 92px; }
.land-alldecks::after {
  content: ''; position: absolute; left: 20px; right: 20px; top: 6px; height: 32%; border-radius: 999px;
  background: linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,0)); pointer-events: none;
}
.land-alldecks-e img.sk-fx { width: 1.15em; height: 1.15em; }
.land-alldecks:hover { transform: translateY(-3px) scale(1.02); }

@media (max-width: 599px) {
  .land-hill::before { left: 20px; right: 20px; background-size: 28px 26px; }
  .land-flowers { font-size: 28px; }
  .land-plank::before, .land-plank::after { width: 22px; height: 24px; }
}
