feat: add baby object match edutainment flow
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-05-12 16:08:59 +08:00
parent cf074837a4
commit d41f260a2a
58 changed files with 5628 additions and 466 deletions

View File

@@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Noto+Serif+SC:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Noto+Serif+SC:wght@400;700&display=swap');
@import 'tailwindcss';
@source not "../dist";
@source not "../dist_check";
@@ -2263,6 +2263,371 @@ body {
color: var(--puzzle-runtime-text-soft);
}
.baby-object-runtime {
--baby-object-sky: #cfefff;
--baby-object-ground: #7bc36f;
--baby-object-ground-deep: #3f8b48;
--baby-object-panel: rgba(255, 253, 244, 0.84);
--baby-object-panel-border: rgba(72, 118, 72, 0.2);
--baby-object-text: #24422b;
--baby-object-soft: rgba(36, 66, 43, 0.72);
--baby-object-coral: #ff7a7a;
--baby-object-yellow: #ffd166;
--baby-object-blue: #77c8ff;
min-height: 100dvh;
width: 100%;
overflow: hidden;
background:
radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.9) 0 6%, transparent 6.4%),
radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.78) 0 7%, transparent 7.4%),
linear-gradient(180deg, #f8fcff 0%, var(--baby-object-sky) 56%, #dff2cf 57%, #b8df9d 100%);
color: var(--baby-object-text);
touch-action: none;
}
.baby-object-runtime--embedded {
min-height: 100%;
}
.baby-object-runtime__stage {
position: relative;
height: 100dvh;
min-height: 32rem;
overflow: hidden;
user-select: none;
}
.baby-object-runtime--embedded .baby-object-runtime__stage {
height: 100%;
min-height: 28rem;
}
.baby-object-runtime__stage::before {
content: '';
position: absolute;
inset: auto -10% 0;
height: 39%;
border-radius: 50% 50% 0 0 / 24% 24% 0 0;
background:
radial-gradient(ellipse at 30% 12%, rgba(255, 255, 255, 0.3) 0 7%, transparent 7.4%),
linear-gradient(180deg, var(--baby-object-ground), var(--baby-object-ground-deep));
box-shadow: inset 0 24px 42px rgba(255, 255, 255, 0.24);
}
.baby-object-runtime__back,
.baby-object-runtime__counter {
position: absolute;
z-index: 8;
top: max(0.75rem, env(safe-area-inset-top));
display: inline-flex;
min-height: 2.4rem;
align-items: center;
justify-content: center;
border: 1px solid var(--baby-object-panel-border);
border-radius: 999px;
background: rgba(255, 253, 244, 0.78);
color: var(--baby-object-text);
box-shadow: 0 14px 34px rgba(60, 112, 74, 0.16);
backdrop-filter: blur(12px);
}
.baby-object-runtime__back {
left: max(0.75rem, env(safe-area-inset-left));
width: 2.4rem;
}
.baby-object-runtime__counter {
right: max(0.75rem, env(safe-area-inset-right));
min-width: 4.7rem;
padding: 0 1rem;
font-size: 0.92rem;
font-weight: 900;
}
.baby-object-runtime__subtitle {
position: absolute;
z-index: 7;
left: 50%;
top: max(0.85rem, env(safe-area-inset-top));
transform: translateX(-50%);
max-width: min(72vw, 34rem);
border: 1px solid var(--baby-object-panel-border);
border-radius: 999px;
background: var(--baby-object-panel);
padding: 0.68rem 1.25rem;
text-align: center;
font-size: clamp(1rem, 2.1vw, 1.55rem);
font-weight: 900;
line-height: 1.18;
box-shadow: 0 18px 42px rgba(60, 112, 74, 0.16);
backdrop-filter: blur(12px);
}
.baby-object-runtime__gift {
position: absolute;
z-index: 4;
left: 50%;
bottom: 29%;
display: grid;
width: clamp(5.5rem, 14vw, 9rem);
aspect-ratio: 1;
place-items: center;
transform: translateX(-50%);
border: 0.45rem solid #ffe7a8;
border-radius: 1.35rem;
background:
linear-gradient(90deg, transparent 42%, rgba(255, 255, 255, 0.35) 42% 58%, transparent 58%),
linear-gradient(180deg, #ff8f70, #ff5d78);
color: #fff7d7;
box-shadow:
0 18px 0 rgba(146, 67, 47, 0.14),
0 24px 48px rgba(119, 75, 44, 0.18);
transition:
transform 180ms ease,
border-radius 180ms ease;
}
.baby-object-runtime__gift--open {
transform: translateX(-50%) translateY(0.35rem) scale(0.94);
border-radius: 1.8rem;
}
.baby-object-runtime__gift::before {
content: '';
position: absolute;
inset: -22% -8% auto;
height: 32%;
border-radius: 1.1rem;
background: #ffe7a8;
transform-origin: 20% 100%;
transition: transform 180ms ease;
}
.baby-object-runtime__gift--open::before {
transform: rotate(-17deg) translateY(-0.5rem);
}
.baby-object-runtime__gift-icon {
position: relative;
z-index: 1;
width: 42%;
height: 42%;
}
.baby-object-runtime__item {
position: absolute;
z-index: 5;
left: 50%;
top: 37%;
display: grid;
width: clamp(6.2rem, 15vw, 9.5rem);
aspect-ratio: 1;
place-items: center;
transform: translate(-50%, -50%);
border: 0.2rem solid rgba(255, 255, 255, 0.78);
border-radius: 50%;
background: rgba(255, 253, 244, 0.74);
box-shadow:
0 18px 42px rgba(61, 106, 72, 0.17),
inset 0 0 0 0.6rem rgba(255, 255, 255, 0.32);
transition: transform 260ms ease;
}
.baby-object-runtime__item:empty {
opacity: 0;
}
.baby-object-runtime__item--to-left {
transform: translate(-210%, 118%) scale(0.68) rotate(-12deg);
}
.baby-object-runtime__item--to-right {
transform: translate(110%, 118%) scale(0.68) rotate(12deg);
}
.baby-object-runtime__item--wrong-left,
.baby-object-runtime__item--wrong-right {
animation: baby-object-wrong-bounce 0.62s ease-in-out;
}
@keyframes baby-object-wrong-bounce {
0%,
100% {
transform: translate(-50%, -50%);
}
35% {
transform: translate(-50%, -58%) scale(0.92);
}
62% {
transform: translate(-50%, -44%) scale(1.04);
}
}
.baby-object-runtime__item-image {
width: 76%;
height: 76%;
object-fit: contain;
}
.baby-object-runtime__item-name {
position: absolute;
bottom: -0.9rem;
max-width: 8rem;
overflow: hidden;
border-radius: 999px;
background: rgba(255, 253, 244, 0.86);
padding: 0.22rem 0.7rem;
color: var(--baby-object-text);
font-size: clamp(0.78rem, 1.5vw, 1rem);
font-weight: 900;
text-overflow: ellipsis;
white-space: nowrap;
}
.baby-object-runtime__feedback {
position: absolute;
z-index: 9;
left: 50%;
top: 22%;
transform: translateX(-50%);
border-radius: 999px;
padding: 0.6rem 1.5rem;
font-size: clamp(1.5rem, 4vw, 3rem);
font-weight: 1000;
line-height: 1;
text-align: center;
animation: baby-object-feedback-pop 0.7s ease-out;
}
.baby-object-runtime__feedback--correct {
background: rgba(255, 250, 210, 0.9);
color: #2f7d39;
box-shadow: 0 18px 42px rgba(65, 146, 76, 0.2);
}
.baby-object-runtime__feedback--wrong {
background: rgba(255, 236, 236, 0.92);
color: #cb4b57;
box-shadow: 0 18px 42px rgba(202, 75, 87, 0.18);
}
.baby-object-runtime__feedback--complete {
background: rgba(255, 246, 204, 0.94);
color: #c47013;
box-shadow: 0 18px 42px rgba(196, 112, 19, 0.18);
}
@keyframes baby-object-feedback-pop {
0% {
opacity: 0;
transform: translateX(-50%) translateY(0.8rem) scale(0.8);
}
55% {
opacity: 1;
transform: translateX(-50%) translateY(0) scale(1.08);
}
100% {
opacity: 1;
transform: translateX(-50%) translateY(0) scale(1);
}
}
.baby-object-runtime__baskets {
position: absolute;
z-index: 6;
inset: auto 0 3.5%;
display: flex;
align-items: end;
justify-content: space-between;
padding: 0 max(5vw, env(safe-area-inset-right)) 0 max(5vw, env(safe-area-inset-left));
pointer-events: none;
}
.baby-object-runtime__basket {
position: relative;
width: clamp(6.4rem, 18vw, 11rem);
aspect-ratio: 1 / 0.88;
}
.baby-object-runtime__basket-icon {
position: absolute;
z-index: 2;
left: 50%;
top: -26%;
display: grid;
width: 54%;
aspect-ratio: 1;
place-items: center;
transform: translateX(-50%);
border: 0.18rem solid rgba(255, 255, 255, 0.78);
border-radius: 50%;
background: rgba(255, 253, 244, 0.88);
box-shadow: 0 10px 22px rgba(60, 112, 74, 0.12);
}
.baby-object-runtime__basket-image {
width: 74%;
height: 74%;
object-fit: contain;
}
.baby-object-runtime__basket-body {
position: absolute;
inset: 20% 0 0;
border: 0.28rem solid rgba(139, 84, 40, 0.72);
border-top-width: 0.42rem;
border-radius: 0.8rem 0.8rem 2rem 2rem;
background:
repeating-linear-gradient(90deg, rgba(139, 84, 40, 0.18) 0 0.7rem, transparent 0.7rem 1.4rem),
linear-gradient(180deg, #ffd980, #d99845);
box-shadow: 0 18px 28px rgba(95, 84, 54, 0.2);
}
.baby-object-runtime__complete {
position: absolute;
z-index: 12;
left: 50%;
top: 50%;
display: flex;
width: min(88vw, 24rem);
flex-direction: column;
align-items: center;
gap: 1rem;
transform: translate(-50%, -50%);
border: 1px solid rgba(255, 221, 124, 0.8);
border-radius: 1.6rem;
background: rgba(255, 253, 244, 0.92);
padding: 1.35rem;
text-align: center;
font-size: clamp(1.35rem, 3vw, 2rem);
font-weight: 1000;
color: #c47013;
box-shadow: 0 24px 70px rgba(107, 84, 41, 0.22);
backdrop-filter: blur(12px);
}
.baby-object-runtime__complete-actions {
display: grid;
width: 100%;
grid-template-columns: 1fr 1fr;
gap: 0.65rem;
}
.baby-object-runtime__complete-actions button {
display: inline-flex;
min-height: 2.8rem;
align-items: center;
justify-content: center;
gap: 0.4rem;
border: 0;
border-radius: 999px;
background: linear-gradient(180deg, #ffe7a8, #ffc867);
color: #5d3b15;
font-size: 0.92rem;
font-weight: 900;
box-shadow: 0 10px 22px rgba(129, 83, 24, 0.16);
}
@media (max-width: 639px) {
:root {
--platform-bottom-nav-height: 3.85rem;
@@ -5746,6 +6111,14 @@ button {
--child-motion-soft: rgba(39, 65, 42, 0.74);
--child-motion-green: #70c16b;
--child-motion-sky-accent: #95d2ff;
--child-motion-asset-stage: url('/child-motion-demo/picture-book-grass-stage.png');
--child-motion-asset-floor: url('/child-motion-demo/picture-book-foreground-grass-v2.png');
--child-motion-asset-ring: url('/child-motion-demo/picture-book-ground-ring-v2.png');
--child-motion-asset-avatar: url('/child-motion-demo/picture-book-character-outline-v2.png');
--child-motion-asset-hud: url('/child-motion-demo/picture-book-hud-strip-v2.png');
--child-motion-asset-calibration: url('/child-motion-demo/picture-book-calibration-strip-v2.png');
--child-motion-asset-start-panel: url('/child-motion-demo/picture-book-start-panel-v2.png');
--child-motion-asset-button: url('/child-motion-demo/picture-book-ui-button-v2.png');
display: grid;
width: 100%;
min-width: 0;
@@ -5886,28 +6259,16 @@ button {
.child-motion-stage::before {
z-index: 0;
background-image: url('/child-motion-demo/picture-book-grass-stage.webp');
background-image: var(--child-motion-asset-stage);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
opacity: 0.88;
filter: saturate(1.02) contrast(0.98) brightness(1.02);
opacity: 1;
filter: saturate(1.01) contrast(0.99);
}
.child-motion-stage::after {
z-index: 1;
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.08) 0%,
transparent 18%
),
radial-gradient(
ellipse at 50% 82%,
rgba(255, 245, 220, 0.16),
transparent 42%
),
linear-gradient(180deg, transparent 0 58%, rgba(80, 141, 72, 0.14) 100%);
opacity: 0.95;
display: none;
}
.child-motion-camera-layer {
@@ -5917,25 +6278,9 @@ button {
width: 100%;
height: 100%;
object-fit: cover;
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.58),
rgba(255, 255, 255, 0.08)
),
radial-gradient(
circle at 50% 33%,
rgba(255, 255, 255, 0.42),
transparent 30%
),
linear-gradient(
120deg,
rgba(255, 255, 255, 0.1) 0 11%,
transparent 11% 20%,
rgba(255, 255, 255, 0.08) 20% 30%,
transparent 30% 100%
);
background: transparent;
filter: blur(8px) saturate(0.92);
opacity: 0.34;
opacity: 0.22;
transform: scale(1.04);
mix-blend-mode: soft-light;
}
@@ -5963,105 +6308,19 @@ button {
.child-motion-floor {
position: absolute;
right: -8%;
bottom: -19%;
left: -8%;
right: 0;
bottom: -11%;
left: 0;
z-index: 2;
height: 47%;
border-radius: 50% 50% 0 0;
background: radial-gradient(
ellipse at 50% 10%,
rgba(255, 255, 255, 0.22),
transparent 30%
),
radial-gradient(
ellipse at 42% 30%,
rgba(255, 246, 205, 0.2) 0 8%,
transparent 18%
),
radial-gradient(
ellipse at 70% 25%,
rgba(255, 255, 255, 0.18) 0 5%,
transparent 14%
),
linear-gradient(180deg, rgba(135, 194, 104, 0.92), rgba(69, 145, 76, 0.98));
box-shadow:
inset 0 26px 70px rgba(255, 255, 255, 0.16),
inset 0 -38px 68px rgba(52, 94, 46, 0.18);
height: 30%;
border-radius: 0;
background: var(--child-motion-asset-floor) center bottom / 100% auto no-repeat;
box-shadow: none;
}
.child-motion-floor::before,
.child-motion-floor::after {
position: absolute;
border-radius: 999px;
content: '';
}
.child-motion-floor::before {
inset: 14% 10% auto 16%;
height: 18%;
background: radial-gradient(
circle at 8% 50%,
rgba(96, 148, 60, 0.68) 0 12%,
transparent 13%
),
radial-gradient(
circle at 21% 42%,
rgba(96, 148, 60, 0.58) 0 9%,
transparent 10%
),
radial-gradient(
circle at 33% 55%,
rgba(255, 255, 255, 0.2) 0 7%,
transparent 8%
),
radial-gradient(
circle at 45% 40%,
rgba(96, 148, 60, 0.62) 0 11%,
transparent 12%
),
radial-gradient(
circle at 58% 52%,
rgba(255, 255, 255, 0.16) 0 6%,
transparent 7%
),
radial-gradient(
circle at 69% 42%,
rgba(96, 148, 60, 0.62) 0 10%,
transparent 11%
),
radial-gradient(
circle at 82% 50%,
rgba(255, 255, 255, 0.18) 0 7%,
transparent 8%
);
opacity: 0.78;
}
.child-motion-floor::after {
inset: auto 6% 10%;
height: 15%;
background: radial-gradient(
circle at 18% 50%,
rgba(55, 104, 53, 0.42) 0 10%,
transparent 11%
),
radial-gradient(
circle at 38% 50%,
rgba(255, 255, 255, 0.12) 0 6%,
transparent 7%
),
radial-gradient(
circle at 60% 48%,
rgba(55, 104, 53, 0.38) 0 11%,
transparent 12%
),
radial-gradient(
circle at 80% 52%,
rgba(255, 255, 255, 0.1) 0 5%,
transparent 6%
);
opacity: 0.68;
display: none;
}
.child-motion-hud {
@@ -6070,103 +6329,87 @@ button {
display: flex;
align-items: center;
gap: clamp(0.6rem, 1.8vw, 1rem);
border: 1px solid var(--child-motion-panel-border);
border: 0;
border-radius: clamp(0.75rem, 2vw, 1.25rem);
background: var(--child-motion-panel);
box-shadow: 0 18px 48px rgba(72, 112, 68, 0.12);
backdrop-filter: blur(14px);
box-shadow: none;
backdrop-filter: none;
}
.child-motion-hud--top {
top: 4.2%;
top: 3.2%;
left: 50%;
width: min(72%, 48rem);
min-height: clamp(4.2rem, 11vh, 6.25rem);
justify-content: space-between;
width: min(56%, 46rem);
height: clamp(4.1rem, 12.5%, 6.75rem);
transform: translateX(-50%);
padding: clamp(0.65rem, 1.8vw, 1rem) clamp(0.8rem, 2.2vw, 1.25rem);
background: var(--child-motion-asset-hud) center center / cover no-repeat;
padding: clamp(0.45rem, 1.2vw, 0.75rem) clamp(0.72rem, 2vw, 1.25rem);
}
.child-motion-hud--top > div {
min-width: 0;
flex: 1 1 auto;
padding: 0 clamp(0.35rem, 1vw, 0.75rem);
text-align: center;
}
.child-motion-hud h1 {
margin: 0;
color: var(--child-motion-text);
font-size: clamp(1.2rem, 3.2vw, 2rem);
overflow: hidden;
font-size: clamp(1rem, 2.4vw, 1.6rem);
font-weight: 900;
line-height: 1.08;
line-height: 1.05;
text-overflow: ellipsis;
white-space: nowrap;
}
.child-motion-hud p {
margin: 0.28rem 0 0;
color: var(--child-motion-soft);
font-size: clamp(0.72rem, 1.45vw, 0.98rem);
overflow: hidden;
font-size: clamp(0.64rem, 1.25vw, 0.86rem);
font-weight: 700;
line-height: 1.45;
line-height: 1.28;
text-overflow: ellipsis;
white-space: nowrap;
}
.child-motion-step-count,
.child-motion-progress {
display: inline-flex;
width: clamp(2.7rem, 7vw, 4rem);
height: clamp(2.7rem, 7vw, 4rem);
min-width: clamp(2.4rem, 6vw, 3.5rem);
min-height: clamp(2.4rem, 6vw, 3.5rem);
flex: 0 0 auto;
align-items: center;
justify-content: center;
border: 1px solid rgba(112, 143, 97, 0.2);
border: 0;
border-radius: 999px;
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.8),
rgba(242, 248, 236, 0.92)
);
background: transparent;
color: var(--child-motion-text);
font-size: clamp(0.72rem, 1.45vw, 0.95rem);
font-weight: 900;
box-shadow: 0 8px 20px rgba(96, 132, 82, 0.12);
box-shadow: none;
}
.child-motion-ring {
position: absolute;
bottom: 20.5%;
bottom: 18.8%;
z-index: 3;
width: clamp(5.8rem, 13vw, 9rem);
aspect-ratio: 1;
transform: translateX(-50%) rotateX(66deg);
width: clamp(7.8rem, 17vw, 11.6rem);
aspect-ratio: 1200 / 520;
transform: translateX(-50%);
border-radius: 999px;
background: conic-gradient(
from -90deg,
rgba(255, 255, 255, 0.88) 0 var(--child-motion-ring-progress),
rgba(102, 190, 95, 0.22) var(--child-motion-ring-progress) 360deg
);
box-shadow:
0 0 18px rgba(120, 191, 110, 0.34),
0 0 0 6px rgba(255, 255, 255, 0.12),
inset 0 0 24px rgba(255, 255, 255, 0.2);
background: var(--child-motion-asset-ring) center / contain no-repeat;
box-shadow: 0 0 20px rgba(120, 191, 110, 0.22);
}
.child-motion-ring::before {
position: absolute;
inset: 14%;
border-radius: inherit;
background: radial-gradient(
circle at 50% 45%,
rgba(255, 255, 255, 0.1),
transparent 40%
),
linear-gradient(180deg, rgba(151, 215, 139, 0.82), rgba(73, 151, 74, 0.94));
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
content: '';
display: none;
}
.child-motion-ring__core {
position: absolute;
inset: 34%;
border-radius: 999px;
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.68),
rgba(150, 231, 137, 0.86)
);
opacity: 0.62;
box-shadow: 0 0 22px rgba(124, 199, 112, 0.44);
display: none;
}
.child-motion-ring--active {
@@ -6185,15 +6428,23 @@ button {
.child-motion-avatar {
position: absolute;
bottom: 24%;
bottom: 21.5%;
z-index: 5;
width: clamp(3.4rem, 7vw, 5.6rem);
height: clamp(6rem, 13vw, 10rem);
width: clamp(4.2rem, 8.4vw, 6.8rem);
aspect-ratio: 2 / 3;
transform: translateX(-50%);
transition:
left 260ms ease,
transform 220ms ease;
filter: drop-shadow(0 6px 14px rgba(56, 92, 55, 0.18));
isolation: isolate;
transition: left 260ms ease, transform 220ms ease;
filter: drop-shadow(0 6px 14px rgba(56, 92, 55, 0.16));
}
.child-motion-avatar::before {
position: absolute;
inset: 0;
z-index: 2;
background: var(--child-motion-asset-avatar) center bottom / contain no-repeat;
opacity: 0.88;
content: '';
}
.child-motion-avatar--jumping {
@@ -6204,70 +6455,7 @@ button {
.child-motion-avatar__body,
.child-motion-avatar__arm,
.child-motion-avatar__leg {
position: absolute;
display: block;
background: linear-gradient(
180deg,
rgba(77, 109, 79, 0.44),
rgba(41, 65, 44, 0.7)
),
rgba(245, 250, 245, 0.1);
opacity: 0.6;
border: 1px solid rgba(239, 249, 235, 0.18);
box-shadow: 0 0 24px rgba(143, 216, 255, 0.12);
backdrop-filter: blur(1px);
}
.child-motion-avatar__head {
top: 0;
left: 50%;
width: 34%;
aspect-ratio: 1;
transform: translateX(-50%);
border-radius: 999px;
}
.child-motion-avatar__body {
top: 27%;
left: 50%;
width: 42%;
height: 36%;
transform: translateX(-50%);
border-radius: 999px 999px 45% 45%;
}
.child-motion-avatar__arm {
top: 33%;
width: 15%;
height: 34%;
border-radius: 999px;
}
.child-motion-avatar__arm--left {
left: 17%;
transform: rotate(18deg);
}
.child-motion-avatar__arm--right {
right: 17%;
transform: rotate(-18deg);
}
.child-motion-avatar__leg {
bottom: 0;
width: 15%;
height: 34%;
border-radius: 999px;
}
.child-motion-avatar__leg--left {
left: 36%;
transform: rotate(7deg);
}
.child-motion-avatar__leg--right {
right: 36%;
transform: rotate(-7deg);
display: none;
}
.child-motion-gesture-guide {
@@ -6363,40 +6551,51 @@ button {
.child-motion-calibration {
position: absolute;
right: 3.2%;
bottom: 4%;
bottom: 8.8%;
z-index: 8;
display: grid;
grid-template-columns: repeat(5, minmax(0, auto));
gap: 0.45rem;
grid-template-columns: repeat(5, minmax(0, 1fr));
align-items: center;
gap: clamp(0.12rem, 0.55vw, 0.45rem);
width: min(34%, 30rem);
max-width: 82%;
border: 1px solid var(--child-motion-panel-border);
height: clamp(3.1rem, 7.6%, 4.55rem);
border: 0;
border-radius: 999px;
background: var(--child-motion-panel);
padding: 0.45rem;
backdrop-filter: blur(14px);
box-shadow: 0 14px 32px rgba(82, 124, 72, 0.1);
background: var(--child-motion-asset-calibration) center center / cover no-repeat;
padding: clamp(0.4rem, 1.1vw, 0.56rem) clamp(0.66rem, 1.5vw, 0.9rem);
backdrop-filter: none;
box-shadow: none;
}
.child-motion-calibration div {
display: grid;
min-width: clamp(3.2rem, 7vw, 4.8rem);
min-width: 0;
gap: 0.08rem;
align-content: center;
justify-items: center;
border-radius: 999px;
background: rgba(255, 255, 255, 0.48);
padding: 0.36rem 0.55rem;
background: transparent;
padding: 0.32rem 0.18rem;
transform: translateY(6%);
}
.child-motion-calibration span {
color: var(--child-motion-soft);
font-size: clamp(0.55rem, 1.2vw, 0.72rem);
overflow: hidden;
max-width: 100%;
font-size: clamp(0.52rem, 1vw, 0.66rem);
font-weight: 800;
line-height: 1;
text-overflow: ellipsis;
white-space: nowrap;
}
.child-motion-calibration strong {
color: var(--child-motion-text);
font-size: clamp(0.72rem, 1.5vw, 0.95rem);
font-size: clamp(0.7rem, 1.25vw, 0.88rem);
font-weight: 900;
line-height: 1;
}
.child-motion-start-panel {
@@ -6405,23 +6604,27 @@ button {
top: 53%;
z-index: 10;
display: flex;
width: min(28%, 19rem);
height: clamp(3.8rem, 9%, 5.2rem);
transform: translate(-50%, -50%);
align-items: center;
justify-content: center;
gap: 0.85rem;
border: 1px solid rgba(143, 176, 124, 0.24);
border: 0;
border-radius: 1.4rem;
background: rgba(255, 250, 241, 0.76);
padding: clamp(0.85rem, 2vw, 1.15rem);
box-shadow: 0 24px 70px rgba(82, 124, 72, 0.18);
backdrop-filter: blur(14px);
background: var(--child-motion-asset-start-panel) center center / cover no-repeat;
padding: clamp(0.45rem, 1.2vw, 0.7rem);
box-shadow: none;
backdrop-filter: none;
}
.child-motion-start-panel button {
min-width: clamp(8rem, 18vw, 12rem);
min-height: clamp(3rem, 7vw, 4.2rem);
width: min(82%, 12rem);
min-width: clamp(7.5rem, 14vw, 10.5rem);
min-height: clamp(2.5rem, 5.8vw, 3.4rem);
border: 0;
border-radius: 999px;
background: linear-gradient(135deg, #88cf74, #9dd3ff);
background: var(--child-motion-asset-button) center center / cover no-repeat;
color: #214228;
font-size: clamp(1rem, 2.5vw, 1.4rem);
font-weight: 950;