/* „მასკოტი“ — ბავშვის შესვლა კოდით (/shemodi/) და გასაღები მშობლის პანელში. */

.mascot-kid {
	max-width: 560px; margin: 0 auto; padding: 28px 22px; border-radius: var(--m-radius, 24px);
	background: #fff; color: var(--m-ink, #23264F); box-shadow: var(--m-shadow, 0 22px 44px -24px rgba(10,12,52,.65));
	text-align: center; font-family: var(--m-font-body, system-ui, sans-serif);
}
.mascot-kid__title { margin: 0 0 18px; font: 800 clamp(24px, 5vw, 32px)/1.2 var(--m-font-head, system-ui, sans-serif); }
.mascot-kid__step { display: block; margin: 18px 0 10px; font-weight: 700; font-size: 18px; }
.mascot-kid__num {
	display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; border-radius: 50%;
	background: var(--m-yellow, #FFD43B); font-size: 16px; vertical-align: 1px;
}
.mascot-kid input[name="kid_code"] {
	display: block; width: 100%; max-width: 300px; margin: 0 auto; padding: 12px 16px; box-sizing: border-box;
	border: 3px solid #D9DBEA; border-radius: 18px; background: #fff; color: inherit; text-align: center;
	font: 800 34px/1.1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .25em;
}
.mascot-kid input[name="kid_code"]:focus { outline: none; border-color: var(--m-blue, #26CAEF); }
.mascot-kid input[name="kid_code"]::placeholder { color: #C9CBDB; letter-spacing: .1em; font-size: 22px; }

.mascot-kid__dots { display: flex; justify-content: center; gap: 12px; margin: 0 0 14px; }
.mascot-kid__dots span { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #D9DBEA; transition: background .15s, border-color .15s; }
.mascot-kid__dots span.is-on { background: var(--m-pink, #EF53B6); border-color: var(--m-pink, #EF53B6); }

.mascot-kid__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 360px; margin: 0 auto; }
.mascot-kid__grid .mascot-kid__pic {
	display: grid; place-items: center; aspect-ratio: 1; padding: 0; border: 3px solid #E7E1D6; border-radius: 22px;
	background: var(--m-paper, #FBF8F3); font-size: clamp(38px, 11vw, 56px); line-height: 1; cursor: pointer;
	transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.mascot-kid__grid .mascot-kid__pic:hover { transform: translateY(-2px); border-color: var(--m-blue, #26CAEF); }
.mascot-kid__grid .mascot-kid__pic:active { transform: scale(.94); }
.mascot-kid__grid .mascot-kid__pic:focus-visible { outline: 3px solid var(--m-blue, #26CAEF); outline-offset: 2px; }
.mascot-kid__grid .mascot-kid__pic.is-picked { background: #FFF4C2; border-color: var(--m-yellow, #FFD43B); }
.mascot-kid .mascot-actions { justify-content: center; margin-top: 20px; }
.mascot-kid .mascot-small { color: var(--m-muted, #6A6D8E); font-size: 14px; }
.mascot-kid .mascot-notice { text-align: center; }
.mascot-kid.is-shaking { animation: mascot-kid-shake .4s ease; }
@keyframes mascot-kid-shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }

/* ამ მოწყობილობაზე დამახსოვრებული ბავშვები */
.mascot-kid__faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mascot-kid__face {
	display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 18px 6px 6px; border: 3px solid #E7E1D6;
	border-radius: 999px; background: #fff; color: inherit; font: 700 17px/1.2 var(--m-font-body, system-ui, sans-serif); cursor: pointer;
}
.mascot-kid__face.is-on { border-color: var(--c, #FFD43B); background: #FFFBEA; }
.mascot-kid__face i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c, #FFD43B); font-style: normal; font-size: 18px; }
.mascot-kid__hi { margin: 8px 0 0; font-weight: 700; font-size: 20px; }
.mascot-kid__hi button { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--m-deep, #3A3E85); font: inherit; font-size: 14px; font-weight: 400; text-decoration: underline; cursor: pointer; }

/* შესული ბავშვი */
.mascot-kid__me { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 8px; border-radius: 50%; background: var(--c, #FFD43B); }
.mascot-kid__me .mascot-icon, .mascot-kid__me svg { width: 46px; height: 46px; color: #fff; }
.mascot-kid__out { margin: 16px 0 0; text-align: center; font-size: 15px; }
.mascot-kid__out a { color: var(--m-muted, #6A6D8E); }

/* მშობლის პანელი: გასაღები */
.mascot-kid-key { margin: 16px 0; padding: 16px 18px; border: 2px dashed var(--m-rule, #E7E1D6); border-radius: 18px; background: var(--m-paper, #FBF8F3); }
.mascot-kid-key__title { margin: 0 0 4px; font-weight: 800; font-size: 18px; }
.mascot-kid-key .mascot-small { margin: 0 0 12px; }
.mascot-kid-key__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0; }
.mascot-kid-key__label { min-width: 90px; color: var(--m-muted, #6A6D8E); font-size: 14px; }
.mascot-kid-key__code { padding: 4px 14px; border-radius: 12px; background: #fff; font: 800 26px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; }
.mascot-kid-key__pics { display: inline-flex; align-items: center; gap: 6px; }
.mascot-kid-key__pics .mascot-kid__pic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; font-size: 32px; }
.mascot-kid__arrow { color: var(--m-muted, #6A6D8E); }
.mascot-kid-key__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 12px 0 0; }
.mascot-kid__link { justify-content: center; }
.mascot-kid__face i.has-img { background: none; overflow: hidden; }
.mascot-kid__face i.has-img img, .mascot-kid__me--img img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }
.mascot-kid__me--img { padding: 0; overflow: hidden; background: none; box-shadow: 0 0 0 4px var(--c, #FFD43B); }
