/* Švenčionių terminalas — home + video kiosk UI */
@font-face {
	font-family: "Funnel Display";
	src: url("../fonts/FunnelDisplay-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Funnel Display";
	src: url("../fonts/FunnelDisplay-Medium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Funnel Display";
	src: url("../fonts/FunnelDisplay-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Geist";
	src: url("../fonts/Geist-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Geist";
	src: url("../fonts/Geist-Medium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Geist";
	src: url("../fonts/Geist-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--terminal-w: 1920px;
	--terminal-h: 1080px;
	--bg: #eef2ea;
	--fg: #1a1a1a;
	--muted: #3a3a3a;
	--green: #5f7c3b;
	--green-deep: #4e682f;
	--sage: #c5d4b4;
	--card: #ffffff;
	--font-display: "Funnel Display", Georgia, serif;
	--font-body: "Geist", system-ui, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	caret-color: transparent;
}

html,
body {
	margin: 0;
	height: 100%;
	width: 100%;
	overflow: hidden;
	overscroll-behavior: none;
	touch-action: manipulation;
	background: #000;
	color: var(--fg);
	font-family: var(--font-body);
	cursor: default;
}

img,
svg,
video,
canvas {
	-webkit-user-drag: none;
	user-select: none;
}

button,
[role="button"],
a,
.is-interactive,
.is-interactive img,
.is-interactive video {
	pointer-events: auto;
	touch-action: manipulation;
	cursor: pointer;
}

button {
	appearance: none;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	padding: 0;
	margin: 0;
}

button:focus,
[role="button"]:focus,
a:focus {
	outline: none;
}

.terminal {
	width: var(--terminal-w);
	height: var(--terminal-h);
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	background: var(--bg) url("../media/background.png") center / cover no-repeat;
	transform-origin: top left;
	isolation: isolate;
	color: var(--fg);
}

.terminal__stage {
	position: absolute;
	inset: 0;
}

/* Ambient mute — always on top of scenes / video */
.ambient-mute {
	position: absolute;
	left: 28px;
	bottom: 28px;
	z-index: 60;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 8px 22px rgba(30, 40, 20, 0.16);
	border: 2px solid rgba(95, 124, 59, 0.22);
	color: #3a4630;
	pointer-events: auto;
}

.ambient-mute:active {
	transform: scale(0.96);
}

.ambient-mute__icon {
	display: grid;
	place-items: center;
	line-height: 0;
}

.ambient-mute__icon--off {
	display: none;
}

.ambient-mute.is-muted .ambient-mute__icon--on {
	display: none;
}

.ambient-mute.is-muted .ambient-mute__icon--off {
	display: grid;
}

.ambient-mute svg {
	display: block;
	pointer-events: none;
}

/* Idle return indicator */
.idle-track {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 55;
	height: 5px;
	background: rgba(30, 40, 20, 0.12);
	pointer-events: none;
	overflow: hidden;
}

.idle-track[hidden] {
	display: none !important;
}

.idle-track__fill {
	height: 100%;
	width: 100%;
	transform: scaleX(0);
	transform-origin: left center;
	background: linear-gradient(90deg, #8fa86a, var(--green));
	will-change: transform;
}

.scene {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	will-change: opacity;
}

.scene.is-active {
	/* opacity/visibility — GSAP autoAlpha */
	pointer-events: auto;
}

/* Enter start: slepiama kol GSAP enter() */
.anim-in,
[data-anim-events] {
	opacity: 0;
	visibility: hidden;
}

/* ========== HOME ========== */
.home {
	position: absolute;
	inset: 0;
	padding: 56px 72px 48px;
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: 0;
}

.home__brand {
	width: 112px;
	height: 110px;
}

.home__logo {
	width: 112px;
	height: auto;
	display: block;
	pointer-events: none;
}

.home__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 980px);
	align-items: center;
	gap: 24px;
	min-height: 0;
	padding-top: 8px;
}

.home__copy {
	max-width: 640px;
	padding-bottom: 48px;
}

.home__title {
	margin: 0 0 28px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 68px;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--fg);
}

.home__lead {
	margin: 0 0 36px;
	font-size: 20px;
	line-height: 1.45;
	font-weight: 400;
	color: var(--muted);
	max-width: 560px;
}

.btn-cta {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	padding: 0 34px 0 36px;
	border-radius: 999px;
	background: var(--green);
	color: #fff;
	font-family: var(--font-body);
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 0.01em;
	box-shadow: 0 10px 28px rgba(64, 88, 40, 0.22);
	transition: background 0.2s ease, transform 0.2s ease;
}

.btn-cta:active {
	background: var(--green-deep);
	transform: scale(0.98);
}

.btn-cta__arrow {
	width: 26px;
	height: auto;
	filter: brightness(0) invert(1);
	pointer-events: none;
}

.home__visual {
	justify-self: end;
	align-self: center;
	width: min(940px, 100%);
	margin-right: 18px;
	margin-top: -52px;
}

.home__visual--button {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.home__graphic {
	width: 100%;
	height: auto;
	display: block;
	pointer-events: none;
}

.home__topics {
	padding-top: 8px;
}

.home__eu-logo {
	position: absolute;
	right: 72px;
	bottom: 34px;
	width: 360px;
	height: auto;
	display: block;
	pointer-events: none;
	z-index: 2;
}

.home__topics-title {
	margin: 0 0 22px;
	display: inline-block;
	font-family: var(--font-body);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	border-bottom: 3px solid var(--green);
	padding-bottom: 6px;
}

.topic-cards {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
	align-items: stretch;
}

.topic-card {
	display: flex;
	flex-direction: column;
	width: 392px;
	height: 240px;
	flex: 0 0 392px;
	border-radius: 16px;
	background: var(--card);
	box-shadow: 0 10px 28px rgba(30, 40, 20, 0.10);
	overflow: hidden;
	text-align: left;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:active {
	transform: scale(0.985);
}

.topic-card__media {
	flex: 0 0 140px;
	height: 140px;
	width: 100%;
	background: #dfe6d6 center / cover no-repeat;
}

.topic-card__media--events {
	background-image: url("../media/renginys-dainu-svente.png");
}

.topic-card__media--kids {
	background-image: url("../media/tema-1/01.jpg");
}

.topic-card__media--explore {
	background-image: url("../media/pazink-svencionis.png");
}

.topic-card__body {
	flex: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px 12px;
	min-height: 0;
}

.topic-card__text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.topic-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
}

.topic-card__desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.topic-card__arrow {
	flex-shrink: 0;
	align-self: flex-end;
	width: 18px;
	height: auto;
	filter: brightness(0);
	opacity: 0.85;
	pointer-events: none;
	margin-bottom: 2px;
}

/* Entrance prep — GSAP sets from; avoid FOUC flash */
/* (opacity:0 valdo .anim-in / [data-anim-events] aukščiau) */

/* ========== VIDEO OVERLAY ========== */
.video-overlay {
	position: absolute;
	inset: 0;
	z-index: 40;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.video-overlay.is-open {
	pointer-events: auto;
	visibility: visible;
}

.video-overlay__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
	pointer-events: none;
}

.video-home {
	position: absolute;
	top: 40px;
	right: 56px;
	z-index: 5;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.video-chrome {
	position: absolute;
	left: 50%;
	bottom: 40px;
	transform: translateX(-50%);
	z-index: 3;
	width: calc(100% - 96px);
	max-width: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}

.video-progress {
	width: 100%;
	padding: 14px 0;
}

.video-progress__track {
	position: relative;
	height: 8px;
	border-radius: 999px;
	background: rgba(197, 212, 180, 0.35);
	overflow: visible;
}

.video-progress__fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0%;
	border-radius: inherit;
	background: var(--sage);
}

.video-progress__knob {
	position: absolute;
	top: 50%;
	left: 0%;
	width: 20px;
	height: 20px;
	margin-left: -10px;
	border-radius: 50%;
	background: var(--sage);
	border: 0;
	transform: translateY(-50%);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.video-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
}

.video-btn {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.video-btn img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	pointer-events: none;
}

.video-btn--play {
	width: 64px;
	height: 64px;
}

.video-btn--play img,
.video-btn--play svg {
	width: 56px;
	height: 56px;
	pointer-events: none;
	mix-blend-mode: normal;
}

.video-btn__play {
	display: none;
}

.video-btn--play.is-paused .video-btn__pause {
	display: none;
}

.video-btn--play.is-paused .video-btn__play {
	display: block;
}

/* ========== EVENTS (Krašto renginiai) ========== */
.scene--events {
	background: #e8efdf url("../media/krasto-background.svg") center / cover no-repeat;
}

.events {
	position: absolute;
	inset: 0;
	padding: 48px 56px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.events-home {
	position: absolute;
	top: 40px;
	right: 56px;
	z-index: 5;
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
}

.events-home img {
	width: 44px;
	height: auto;
	pointer-events: none;
}

.events__header {
	text-align: center;
	max-width: 920px;
	margin: 8px auto 28px;
}

.events__title {
	margin: 0 0 14px;
	font-family: var(--font-display);
	font-size: 52px;
	font-weight: 700;
	line-height: 1.1;
	color: #243218;
}

.events__lead {
	margin: 0 auto;
	max-width: 760px;
	font-size: 18px;
	line-height: 1.45;
	color: #4a5640;
}

.events__stage {
	position: relative;
	flex: 1;
	width: 100%;
	display: grid;
	grid-template-columns: 88px 1fr 88px;
	align-items: center;
	gap: 8px;
	min-height: 0;
}

.events__panel {
	height: 100%;
	max-height: 720px;
	background: #fff;
	border-radius: 36px;
	box-shadow: 0 18px 50px rgba(40, 55, 25, 0.12);
	padding: 36px 28px 28px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.events-swiper {
	width: 100%;
	flex: 1;
	min-height: 0;
	overflow: hidden;
	touch-action: pan-x;
}

.events-swiper .swiper-wrapper {
	align-items: center;
}

.events-slide {
	width: auto;
	height: 560px;
}

.events-poster {
	position: relative;
	margin: 0;
	height: 100%;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(20, 30, 10, 0.14);
	background: #dfe6d4;
}

.events-poster img {
	display: block;
	height: 100%;
	width: auto;
	max-width: none;
	object-fit: cover;
	pointer-events: none;
}

.events-poster__expand {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	display: grid;
	place-items: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	z-index: 2;
}

.events-poster__expand img {
	width: 22px;
	height: 22px;
}

.events-poster__audio {
	position: absolute;
	right: 14px;
	bottom: 14px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	display: grid;
	place-items: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	z-index: 2;
}

.events-poster__audio img {
	width: 24px;
	height: 24px;
	pointer-events: none;
}

.events-poster__audio.is-playing {
	background: var(--green);
}

.events-poster__audio.is-playing img {
	filter: brightness(0) invert(1);
}

.events-nav {
	width: 72px;
	height: 72px;
	display: grid;
	place-items: center;
	justify-self: center;
	z-index: 3;
}

.events-nav img {
	width: 72px;
	height: 72px;
	pointer-events: none;
}

.events-nav.swiper-button-disabled,
.events-nav:disabled {
	opacity: 0.35;
	pointer-events: none;
}

.kids-comic .events-nav.swiper-button-disabled,
.kids-comic .events-nav:disabled {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.events-scrollbar {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	margin: 22px auto 0;
	width: 100% !important;
	max-width: 100%;
	height: 8px !important;
	background: rgba(104, 134, 58, 0.22) !important;
	border-radius: 999px;
	overflow: hidden;
	flex-shrink: 0;
}

.events-scrollbar .swiper-scrollbar-drag {
	background: #68863a !important;
	border-radius: 999px;
	cursor: grab;
	height: 100%;
	top: 0 !important;
	/* Swiper pats skaičiuoja plotį/left — nefiksuojam */
	min-width: 48px;
}

/* ----- Expand: listingas lieka fone, plakatas ant viršaus ----- */
.events-expand {
	position: absolute;
	inset: 0;
	z-index: 30;
	background: rgba(40, 55, 28, 0.55);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 28px 32px 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.events-expand.is-open {
	pointer-events: auto;
}

.events-home--on-expand {
	z-index: 6;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.events-expand__poster {
	margin: 0;
	width: auto;
	max-width: min(1280px, 94%);
	max-height: calc(100% - 110px);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 28px 80px rgba(10, 18, 8, 0.45);
	background: #111;
	flex: 0 1 auto;
	display: grid;
	place-items: center;
}

.events-expand__poster img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(1280px, 94vw);
	max-height: calc(1080px - 150px);
	object-fit: contain;
	pointer-events: none;
}

.events-expand .btn-close-pill {
	margin-top: 20px;
	flex-shrink: 0;
	z-index: 6;
}

.btn-close-pill {
	margin-top: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-width: 280px;
	min-height: 68px;
	padding: 0 40px;
	border-radius: 999px;
	background: #5f7c3b;
	color: #fff;
	font-size: 24px;
	font-weight: 500;
	box-shadow: 0 12px 30px rgba(50, 70, 30, 0.28);
	z-index: 6;
}

.btn-close-pill img {
	width: 30px;
	height: auto;
	pointer-events: none;
}

.btn-close-pill:active {
	transform: scale(0.98);
	background: #4e682f;
}

/* ========== KIDS (Miesto vaikai) ========== */
.scene--kids {
	background: #f3f6ee center / cover no-repeat;
}

.kids-panel {
	position: absolute;
	inset: 0;
	display: none;
	flex-direction: column;
	align-items: center;
	padding: 40px 48px 36px;
}

.kids-panel.is-active {
	display: flex;
}

.kids-panel[hidden] {
	display: none !important;
}

/* Comic */
.kids-comic {
	justify-content: flex-start;
}

.kids-comic__chapters {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 14px;
	margin: 4px 0 14px;
	min-height: 64px;
	flex-shrink: 0;
}

.kids-comic__chapter-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.kids-comic__chapter-pages {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 8px;
}

.kids-comic__chapter-page {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(95, 124, 59, 0.22);
	transition: transform 0.2s ease, background 0.2s ease;
}

.kids-comic__chapter-wrap.is-current .kids-comic__chapter-page {
	background: rgba(95, 124, 59, 0.38);
}

.kids-comic__chapter-page.is-current {
	width: 9px;
	height: 9px;
	background: var(--green);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.kids-comic__chapter-wrap.is-current.is-done .kids-comic__chapter-page.is-current {
	background: #fff;
	box-shadow: 0 0 0 2px var(--green);
}

.kids-comic__chapter {
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.75);
	border: 3px solid rgba(95, 124, 59, 0.35);
	display: grid;
	place-items: center;
	box-shadow: 0 4px 14px rgba(40, 55, 25, 0.1);
}

.kids-comic__chapter-num {
	font-size: 18px;
	font-weight: 700;
	color: #4a5640;
	line-height: 1;
}

.kids-comic__chapter.is-current {
	border-color: var(--green);
	background: #fff;
	box-shadow: 0 6px 18px rgba(95, 124, 59, 0.22);
}

.kids-comic__chapter.is-current .kids-comic__chapter-num {
	color: var(--green-deep);
}

.kids-comic__chapter.is-done {
	border-color: var(--green);
	background: var(--green);
}

.kids-comic__chapter.is-done .kids-comic__chapter-num {
	color: #fff;
}

.kids-comic__chapter-check {
	position: absolute;
	right: -4px;
	bottom: -2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.kids-comic__chapter-check::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 3px;
	width: 5px;
	height: 9px;
	border: solid var(--green);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

.kids-comic__stage {
	flex: 1;
	width: 100%;
	display: grid;
	grid-template-columns: 88px 1fr 88px;
	align-items: center;
	gap: 8px;
	min-height: 0;
}

.kids-comic-swiper {
	width: 100%;
	height: 100%;
	max-height: 100%;
	min-height: 0;
	overflow: hidden;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.kids-comic-swiper .swiper-wrapper {
	height: 100%;
}

.kids-comic-swiper .swiper-slide {
	height: 100%;
	display: flex;
	align-items: stretch;
	box-sizing: border-box;
	overflow: hidden;
}

.kids-comic__frame {
	position: relative;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
	background: transparent;
}

.kids-comic__done-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--green);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	box-shadow: 0 6px 16px rgba(64, 88, 40, 0.28);
}

.kids-comic__img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
	border-radius: 6px;
	user-select: none;
	filter: drop-shadow(0 8px 18px rgba(30, 40, 20, 0.28));
}

.kids-comic .btn-cta {
	margin-top: 18px;
	flex-shrink: 0;
}

/* Progress / unfinished bubble */
.kids-todo-btn {
	position: absolute;
	top: 36px;
	left: 56px;
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px 10px 10px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(40, 55, 25, 0.14);
	border: 2px solid rgba(95, 124, 59, 0.2);
}

.kids-todo-btn.is-open,
.kids-todo-btn:active {
	border-color: var(--green);
}

.kids-todo-btn__dot {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	background: #c44b4b;
	line-height: 1;
}

.kids-todo-btn.is-done .kids-todo-btn__dot {
	background: var(--green);
	font-size: 16px;
}

.kids-todo-btn__label {
	font-size: 18px;
	font-weight: 600;
	color: #2a3320;
}

.kids-todo-panel {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 110px 0 0 56px;
	background: rgba(30, 40, 20, 0.28);
}

.kids-todo-panel[hidden] {
	display: none !important;
}

.kids-todo-panel__card {
	width: 420px;
	padding: 28px 26px 22px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(30, 40, 20, 0.22);
}

.kids-todo-panel__title {
	margin: 0 0 18px;
	font-size: 26px;
	font-weight: 700;
	color: #243218;
}

.kids-todo-panel__list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.kids-todo-panel__item {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #f3f6ee;
	text-align: left;
	border: 2px solid transparent;
}

.kids-todo-panel__item:active {
	border-color: var(--green);
	background: #e8f0dc;
}

.kids-todo-panel__num {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 16px;
	background: #fff;
	color: var(--green-deep);
	border: 2px solid rgba(95, 124, 59, 0.35);
}

.kids-todo-panel__name {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #2a3320;
}

.kids-todo-panel__empty {
	margin: 0 0 16px;
	font-size: 18px;
	color: #3a4630;
}

.kids-todo-panel__go {
	width: 100%;
	margin-bottom: 12px;
	justify-content: center;
}

.kids-todo-panel__close {
	width: 100%;
	padding: 12px;
	font-size: 17px;
	font-weight: 600;
	color: #5a6650;
	background: transparent;
	border-radius: 12px;
}

/* Quiz */
.kids-quiz {
	justify-content: flex-start;
}

.kids-quiz-back {
	position: absolute;
	left: 48px;
	top: 36px;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	padding: 0 34px 0 28px;
	border-radius: 999px;
	background: var(--green);
	color: #fff;
	font-family: var(--font-body);
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 0.01em;
	box-shadow: 0 10px 28px rgba(64, 88, 40, 0.22);
	border: 0;
}

.kids-quiz-back img {
	width: 26px;
	height: auto;
	pointer-events: none;
	filter: brightness(0) invert(1);
}

.kids-quiz-back:active {
	background: var(--green-deep);
	transform: scale(0.98);
}

.kids-quiz__progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 4px 0 0;
	min-height: 44px;
	flex-shrink: 0;
}

.kids-quiz__dot {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: transparent;
	border: 3px solid rgba(95, 124, 59, 0.35);
	flex-shrink: 0;
}

.kids-quiz__dot.is-on {
	background: var(--green);
	border-color: var(--green);
}

.kids-quiz__line {
	width: 40px;
	height: 3px;
	background: rgba(95, 124, 59, 0.28);
}

.kids-quiz__main {
	flex: 1;
	width: 100%;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 0;
}

.kids-quiz__question {
	margin: 0 0 40px;
	max-width: 980px;
	text-align: center;
	font-family: var(--font-body);
	font-size: 36px;
	font-weight: 600;
	line-height: 1.35;
	color: #243218;
}

.kids-quiz__answers {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 28px;
	width: min(1180px, 100%);
	margin: 0;
}

.kids-answer {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 132px;
	padding: 22px 24px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(30, 40, 20, 0.1);
	border: 2px solid transparent;
	text-align: left;
	transition: border-color 0.2s ease, transform 0.15s ease;
}

.kids-answer:active {
	transform: scale(0.985);
}

.kids-answer__key {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 28px;
	font-weight: 700;
	background: #dce6d0;
	color: #3d5a1f;
}

.kids-answer__text {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	color: #5a6650;
}

.kids-answer.is-correct {
	border-color: #5f7c3b;
	background: #eef5e6;
}

.kids-answer.is-correct .kids-answer__key {
	background: #5f7c3b;
	color: #fff;
}

.kids-answer.is-correct .kids-answer__text {
	color: #4a6540;
	font-weight: 400;
}

.kids-answer.is-wrong {
	border-color: #c44b4b;
}

.kids-answer.is-wrong .kids-answer__key {
	background: #c44b4b;
	color: #fff;
}

.kids-answer.is-wrong .kids-answer__text {
	color: #a86a6a;
	font-weight: 400;
}

.kids-quiz__next {
	margin-top: auto;
}

.kids-quiz__next:disabled {
	opacity: 0.4;
	pointer-events: none;
}

/* Results */
.kids-results {
	justify-content: flex-start;
}

.kids-results__title {
	margin: 8px 0 24px;
	font-family: var(--font-display);
	font-size: 48px;
	font-weight: 700;
	color: #243218;
	flex-shrink: 0;
}

.kids-results__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
	gap: 28px 32px;
	justify-content: center;
	align-content: center;
	align-items: stretch;
	width: 100%;
	max-width: 1200px;
	margin: 0;
	flex: 1;
	min-height: 0;
}

.kids-result-card {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 12px 32px rgba(30, 40, 20, 0.1);
	padding: 44px 28px 40px;
	text-align: center;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
}

.kids-result-card__title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	color: #243218;
	max-width: 300px;
}

.kids-result-card__bubbles {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.kids-result-card__bubble {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 0;
}

.kids-result-card__bubble.is-ok {
	background: #5f7c3b;
}

.kids-result-card__bubble.is-bad {
	background: #c44b4b;
}

.kids-result-card__bubble.is-empty {
	background: #d5ddcb;
}

.kids-result-card__score {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	color: #3a4630;
}

.kids-results .btn-close-pill {
	min-width: 420px;
	margin-top: auto;
	flex-shrink: 0;
}

/* Exit confirm */
.kids-exit-dialog {
	position: absolute;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: rgba(30, 40, 20, 0.45);
}

.kids-exit-dialog[hidden] {
	display: none !important;
}

.kids-exit-dialog__card {
	width: min(560px, 100%);
	padding: 40px 36px 32px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 22px 56px rgba(30, 40, 20, 0.28);
	text-align: center;
}

.kids-exit-dialog__text {
	margin: 0 0 32px;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.4;
	color: #243218;
}

.kids-exit-dialog__actions {
	display: flex;
	gap: 16px;
	justify-content: center;
}

.kids-exit-dialog__btn {
	min-width: 140px;
	min-height: 64px;
	padding: 0 28px;
	border-radius: 999px;
	font-size: 22px;
	font-weight: 600;
}

.kids-exit-dialog__btn--yes {
	background: #c44b4b;
	color: #fff;
	box-shadow: 0 10px 24px rgba(160, 50, 50, 0.28);
}

.kids-exit-dialog__btn--yes:active {
	transform: scale(0.98);
	background: #b03e3e;
}

.kids-exit-dialog__btn--no {
	background: var(--green);
	color: #fff;
	box-shadow: 0 10px 24px rgba(50, 70, 30, 0.28);
}

.kids-exit-dialog__btn--no:active {
	transform: scale(0.98);
	background: #4e682f;
}

[data-anim-kids] {
	opacity: 0;
	visibility: hidden;
}
