/* Kalėdos delne 2026 – programėlė.
   Žiemos naktis: tamsiai mėlynas fonas, sniegas, auksiniai žiburiai, raudonas kaspinas,
   kūriniai – nuotraukos su lipnia juosta ir ranka rašytomis mintimis. */

@font-face { font-family: "KD Fraunces"; src: url("fonts/fraunces-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "KD Fraunces"; src: url("fonts/fraunces-italic-500.woff") format("woff"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "KD Manrope"; src: url("fonts/manrope-var.woff") format("woff"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "KD Caveat"; src: url("fonts/caveat-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

body.kd-app-body { margin: 0; background: #12352A; }
body.kd-app-body.kd-theme-blue { background: #0E1A33; }

.kd-app {
	/* Žalia (numatytoji) spalvų schema. Kintamųjų pavadinimai bendri abiem schemoms. */
	--navy: #12352A;
	--navy-2: #184536;
	--navy-3: #1F5642;
	--navy-deep: #0C271E;
	--field: #0F2E24;
	--land-stroke: #63A684;
	--info-bg: rgba(8, 30, 22, .6);
	--school-bg: rgba(24, 69, 54, .62);
	--backdrop: rgba(5, 20, 14, .88);
	--nav-btn-bg: rgba(18, 53, 42, .75);
	--placeholder: #86A394;
	--ink: #FFF6E5;
	--soft: #DDE9E1;
	--muted: #B5CBBE;
	--line: rgba(255, 246, 229, .11);
	--gold: #F2C14E;
	--gold-2: #FFE29A;
	--gold-ink: #1D1606;
	--red: #C42B2B;
	--paper: #FFFDF8;
	--paper-ink: #2B211B;
	--paper-muted: #66574A;
	--tape: rgba(222, 200, 160, .84);
	--display: "KD Fraunces", Georgia, "Times New Roman", serif;
	--body: "KD Manrope", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
	--hand: "KD Caveat", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;

	position: relative;
	isolation: isolate;
	min-height: 100vh;
	color: var(--ink);
	background-color: var(--navy);
	background-image:
		radial-gradient(1px 1px at 12% 9%, rgba(255,255,255,.55) 50%, transparent 51%),
		radial-gradient(1px 1px at 78% 14%, rgba(255,255,255,.45) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 41% 5%, rgba(255,246,229,.7) 50%, transparent 51%),
		radial-gradient(1px 1px at 91% 31%, rgba(255,255,255,.35) 50%, transparent 51%),
		radial-gradient(1px 1px at 23% 27%, rgba(255,255,255,.3) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 64% 22%, rgba(255,255,255,.4) 50%, transparent 51%),
		radial-gradient(1px 1px at 6% 46%, rgba(255,255,255,.3) 50%, transparent 51%),
		radial-gradient(1px 1px at 55% 60%, rgba(255,255,255,.25) 50%, transparent 51%),
		radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,.25) 50%, transparent 51%);
	background-attachment: fixed;
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
.kd-app.kd-theme-blue {
	--navy: #0E1A33;
	--navy-2: #13244A;
	--navy-3: #1A3160;
	--navy-deep: #0A1328;
	--field: #0C1934;
	--land-stroke: #4D72B3;
	--info-bg: rgba(10, 19, 40, .6);
	--school-bg: rgba(19, 36, 74, .62);
	--backdrop: rgba(6, 12, 26, .88);
	--nav-btn-bg: rgba(14, 26, 51, .7);
	--placeholder: #7F8DAA;
	--soft: #DCE3F2;
	--muted: #AFBDD9;
}
.kd-app *, .kd-app *::before, .kd-app *::after { box-sizing: border-box; }
.kd-app [hidden] { display: none !important; }
.kd-app h1, .kd-app h2, .kd-app h3 { color: inherit; letter-spacing: normal; text-transform: none; font-weight: 600; }
.kd-app p { margin: 0; }
.kd-app a { color: var(--gold); }
.kd-app a:hover { color: var(--gold-2); }
.kd-app img { max-width: 100%; height: auto; }
.kd-app .kd-ico { display: block; flex: 0 0 auto; }
.kd-app :focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.kd-app .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.kd-mode-embedded { min-height: 0; border-radius: 24px; overflow: hidden; background-attachment: scroll; max-width: 1180px; margin-left: auto; margin-right: auto; }
.kd-mode-embedded .kd-top-inner { flex-wrap: wrap; }

/* Sniegas */
.kd-snow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.kd-mode-embedded .kd-snow { position: absolute; }
.kd-snow i {
	position: absolute; top: -12px; left: var(--x);
	width: var(--s); height: var(--s); border-radius: 50%;
	background: #fff; opacity: var(--o);
	animation: kd-fall var(--d) linear var(--dl) infinite;
}
@keyframes kd-fall { from { transform: translate3d(0, -20px, 0); } to { transform: translate3d(26px, 110vh, 0); } }

/* Antraštė su kaspinu */
/* Be backdrop-filter: jis paverstų antraštę „fixed“ apatinio meniu atskaitos tašku. */
.kd-top { position: sticky; top: 0; z-index: 40; background: var(--navy); border-bottom: 1px solid var(--line); }
.admin-bar .kd-mode-full .kd-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .kd-mode-full .kd-top { top: 46px; } }
@media (max-width: 600px) { .admin-bar .kd-mode-full .kd-top { top: 0; } }
.kd-mode-embedded .kd-top { position: relative; }
.kd-ribbon { position: relative; height: 14px; }
.kd-ribbon-band {
	position: absolute; inset: 0;
	background:
		linear-gradient(#E9C46A, #E9C46A) 0 2px / 100% 1.5px no-repeat,
		linear-gradient(#E9C46A, #E9C46A) 0 10.5px / 100% 1.5px no-repeat,
		var(--red);
}
.kd-top .kd-bow { position: absolute; top: -2px; right: max(14px, calc(50% - 560px + 10px)); z-index: 2; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .4)); }
.kd-top-inner { max-width: 1120px; margin: 0 auto; padding: 8px 96px 8px 20px; min-height: 62px; display: flex; align-items: center; gap: 14px; }
.kd-brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-height: 44px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: .01em; white-space: nowrap; }
.kd-app a.kd-brand { color: var(--ink); }
.kd-brand-star { color: var(--gold); filter: drop-shadow(0 0 6px rgba(242, 193, 78, .5)); }
.kd-site-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.kd-app a.kd-site-link { color: var(--muted); }
.kd-app a.kd-site-link:hover { color: var(--ink); }

/* Skirtukai */
.kd-tabs { display: flex; gap: 4px; }
.kd-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.kd-app a.kd-tab { color: var(--muted); }
.kd-app a.kd-tab:hover { color: var(--ink); background: rgba(255, 246, 229, .06); }
.kd-app a.kd-tab.is-active { color: var(--gold); background: rgba(242, 193, 78, .13); }
.kd-tab .kd-ico { width: 20px; height: 20px; }
.kd-app a.kd-tab-pateikti { background: var(--gold); color: var(--gold-ink); }
.kd-app a.kd-tab-pateikti:hover, .kd-app a.kd-tab-pateikti.is-active { background: var(--gold-2); color: var(--gold-ink); }

@media (max-width: 899px) {
	.kd-top-inner { padding-right: 92px; }
	.kd-mode-full .kd-site-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.kd-mode-full .kd-tabs {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
		display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start;
		padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
		background: var(--navy-deep); border-top: 1px solid var(--line);
	}
	.kd-mode-full .kd-tab { flex-direction: column; justify-content: center; gap: 3px; min-height: 54px; padding: 0 2px; border-radius: 12px; font-size: 11.5px; }
	.kd-app.kd-mode-full a.kd-tab.is-active, .kd-app.kd-mode-full a.kd-tab:hover { background: none; }
	.kd-app.kd-mode-full a.kd-tab-pateikti, .kd-app.kd-mode-full a.kd-tab-pateikti:hover, .kd-app.kd-mode-full a.kd-tab-pateikti.is-active { background: none; color: var(--ink); }
	.kd-mode-full .kd-tab-pateikti .kd-tab-ico {
		width: 58px; height: 58px; margin-top: -30px; border-radius: 50%;
		display: flex; align-items: center; justify-content: center;
		background: var(--gold); color: var(--gold-ink);
		box-shadow: 0 0 0 6px var(--navy-deep), 0 0 24px rgba(242, 193, 78, .45);
	}
	.kd-mode-full .kd-tab-pateikti.is-active .kd-tab-ico { background: var(--gold-2); }
	.kd-mode-full .kd-main { padding-bottom: 120px; }
	.kd-mode-embedded .kd-top-inner { flex-wrap: wrap; }
	.kd-mode-embedded .kd-tabs { order: 3; width: 100%; flex-wrap: wrap; }
}

/* Peržiūros juosta */
.kd-previewbar { position: relative; z-index: 2; max-width: 1080px; margin: 12px auto 0; padding: 10px 14px; border-radius: 14px; background: rgba(242, 193, 78, .12); border: 1px solid rgba(242, 193, 78, .4); font-size: 13.5px; color: var(--ink); }
@media (max-width: 1120px) { .kd-previewbar { margin-left: 20px; margin-right: 20px; } }

/* Turinys */
.kd-main { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 18px 20px 40px; }
.kd-view + .kd-view { margin-top: 48px; }
.kd-js .kd-view { display: none; margin-top: 0; }
.kd-js .kd-view.is-active { display: block; animation: kd-in .35s ease both; }
@keyframes kd-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.kd-view-head { margin: 6px 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.kd-view-head h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 5vw, 40px); line-height: 1.1; outline: none; }
.kd-view-head p { color: var(--muted); font-size: 14px; }
.kd-question:focus, .kd-view-head h1:focus { outline: none; }

/* Pradžia */
.kd-home { display: grid; gap: 18px; grid-template-areas: "intro" "map" "actions"; }
.kd-home-intro { grid-area: intro; }
.kd-map-card { grid-area: map; }
.kd-home-actions { grid-area: actions; }
.kd-home-actions > :first-child { margin-top: 0; }
@media (min-width: 900px) {
	.kd-home { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "intro map" "actions map"; grid-template-rows: auto 1fr; align-items: start; column-gap: 34px; row-gap: 0; }
	.kd-home-actions { margin-top: 16px; }
}
.kd-eyebrow { margin: 4px 0 10px !important; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kd-question { margin: 0; font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(27px, 4.4vw, 42px); line-height: 1.14; text-wrap: balance; }
.kd-motto { margin-top: 10px !important; color: var(--muted); font-size: 15px; }
.kd-stats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kd-stats li { margin: 0; display: flex; flex-direction: column; padding: 10px 12px; border-radius: 16px; background: rgba(255, 246, 229, .05); border: 1px solid var(--line); }
.kd-stats b { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.05; color: var(--gold); text-shadow: 0 0 18px rgba(242, 193, 78, .35); font-variant-numeric: lining-nums; }
.kd-stats span { font-size: 13px; color: var(--muted); }
.kd-cta { margin-top: 16px; padding: 16px; border-radius: 20px; background: var(--navy-2); border: 1px solid rgba(242, 193, 78, .55); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.kd-cta h2 { margin: 0 0 2px; font-family: var(--display); font-size: 20px; line-height: 1.2; }
.kd-cta p { color: var(--soft); font-size: 14px; }
.kd-countdown { margin-top: 12px; padding: 14px 16px; border-radius: 18px; border: 1px dashed rgba(242, 193, 78, .5); display: flex; align-items: center; gap: 14px; }
.kd-countdown-star { color: var(--gold); flex: 0 0 auto; filter: drop-shadow(0 0 8px rgba(242, 193, 78, .55)); }
.kd-countdown-title { font-weight: 800; font-size: 15px; }
.kd-countdown-days { color: var(--gold-2); font-size: 14px; font-weight: 600; }

/* Mygtukai */
.kd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 0; font: 800 15px/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.kd-app .kd-btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 0 22px rgba(242, 193, 78, .28); }
.kd-app .kd-btn-gold:hover { background: var(--gold-2); color: var(--gold-ink); }
.kd-app .kd-btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(255, 246, 229, .3); }
.kd-app .kd-btn-ghost:hover { border-color: var(--gold); color: var(--ink); }
.kd-btn:active { transform: translateY(1px); }
.kd-btn[disabled] { opacity: .65; cursor: wait; }

/* Žemėlapis */
.kd-map-card { padding: 14px 14px 12px; border-radius: 24px; background: var(--navy-2); border: 1px solid var(--line); }
.kd-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.kd-card-head h2 { margin: 0; font-family: var(--body); font-size: 15px; font-weight: 800; }
.kd-card-head span { color: var(--muted); font-size: 12.5px; }
.kd-card-head a { font-size: 14px; font-weight: 800; text-decoration: none; }
.kd-map { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 330 / 252; }
.kd-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kd-land { fill: var(--navy-3); stroke: var(--land-stroke); stroke-width: 1.2; stroke-linejoin: round; }
.kd-halo { fill: var(--gold); opacity: .3; filter: url(#kd-glow); animation: kd-pulse 2.8s ease-in-out infinite; }
.kd-dot { fill: var(--gold-2); stroke: var(--navy); stroke-width: 1; }
@keyframes kd-pulse { 0%, 100% { opacity: .28; } 50% { opacity: .7; } }
.kd-pin { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.kd-pin::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 2px solid transparent; transition: border-color .15s ease; }
.kd-pin:hover::after { border-color: rgba(255, 246, 229, .6); }
.kd-pin.is-active::after { border-color: var(--ink); }
.kd-map-info { margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: var(--info-bg); font-size: 14px; color: var(--muted); min-height: 48px; }
.kd-map-info strong { display: block; color: var(--ink); font-size: 15px; }
.kd-map-info ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.kd-map-info li { margin: 0; }
.kd-map-info li a { font-weight: 800; text-decoration: none; }
.kd-map-info li span { color: var(--muted); }

/* Naujausi kūriniai */
.kd-recent { margin-top: 30px; }
.kd-strip { list-style: none; margin: 0 -20px; padding: 18px 20px 22px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255,246,229,.25) transparent; }
.kd-strip > li { flex: 0 0 172px; scroll-snap-align: start; }
.kd-strip .kd-note { font-size: 19px; }

/* Nuotraukos su lipnia juosta */
.kd-gallery { list-style: none; margin: 0; padding: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 34px 22px; }
@media (max-width: 480px) { .kd-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }
.kd-item { margin: 0; padding: 0; }
.kd-polaroid {
	--rot: -1.6deg;
	position: relative; display: flex; flex-direction: column; gap: 6px;
	padding: 10px 10px 14px; background: var(--paper); color: var(--paper-ink);
	text-decoration: none; box-shadow: 0 12px 26px rgba(0, 0, 0, .38);
	transform: rotate(var(--rot)); transition: transform .2s ease, box-shadow .2s ease;
}
.kd-item:nth-child(3n+2) .kd-polaroid { --rot: 1.8deg; }
.kd-item:nth-child(3n) .kd-polaroid { --rot: -.7deg; }
.kd-item:nth-child(4n) .kd-polaroid { --rot: 2.3deg; }
.kd-app a.kd-polaroid { color: var(--paper-ink); }
.kd-app a.kd-polaroid:hover, .kd-app a.kd-polaroid:focus-visible { transform: rotate(0) translateY(-4px) scale(1.02); box-shadow: 0 18px 34px rgba(0, 0, 0, .48); color: var(--paper-ink); }
.kd-app a.kd-polaroid:focus-visible { outline-offset: 5px; }
.kd-tape { position: absolute; left: 50%; top: -11px; z-index: 1; width: 74px; height: 22px; margin-left: -37px; background: var(--tape); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.kd-item:nth-child(even) .kd-tape { transform: rotate(5deg); margin-left: -30px; }
.kd-photo { position: relative; display: block; aspect-ratio: 1 / 1; background: #F4EAD2; overflow: hidden; }
.kd-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: contain; border-radius: 0; box-shadow: none; }
.kd-noimg { position: absolute; left: 50%; top: 50%; margin: -20px 0 0 -20px; color: #E2CFA8; }
.kd-note { font-family: var(--hand); font-weight: 700; font-size: 21px; line-height: 1.08; color: var(--paper-ink); margin-top: 2px; overflow-wrap: anywhere; }
.kd-cap { display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.35; color: var(--paper-muted); }
.kd-cap b { color: var(--paper-ink); font-size: 13.5px; font-weight: 800; }
.kd-cap-school { font-size: 11.5px; }

/* Paroda */
.kd-search { display: flex; align-items: center; gap: 8px; max-width: 480px; padding: 0 14px; border-radius: 14px; background: var(--navy-2); border: 1px solid var(--line); color: var(--muted); }
.kd-search:focus-within { border-color: var(--gold); }
.kd-app .kd-search input { flex: 1 1 auto; min-height: 50px; padding: 0; border: 0; background: transparent; color: var(--ink); font: 500 16px var(--body); outline: none; box-shadow: none; }
.kd-search input::placeholder { color: var(--muted); }
.kd-filter-empty { margin-top: 14px !important; color: var(--muted); }
.kd-schools { display: grid; gap: 22px; margin-top: 26px; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); align-items: start; }
@media (min-width: 720px) { .kd-school-wide { grid-column: span 2; } .kd-school-full { grid-column: 1 / -1; } }
.kd-schools .kd-gallery { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
.kd-schools .kd-polaroid { max-width: 250px; }
.kd-school { margin: 0; padding: 18px 16px 26px; border-radius: 24px; background: var(--school-bg); border: 1px solid var(--line); scroll-margin-top: 110px; transition: box-shadow .3s ease; }
.kd-school.is-target { box-shadow: 0 0 0 3px var(--gold); }
.kd-school-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; }
.kd-school-head h2 { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.25; }
.kd-school-head p { color: var(--muted); font-size: 13.5px; }
.kd-admin-hint { margin-top: 24px !important; padding: 10px 14px; border-radius: 12px; background: rgba(242, 193, 78, .12); font-size: 13px; }

/* „Greitai“ ir uždaryta būsena */
.kd-soon { max-width: 620px; margin: 10px auto 0; padding: 30px 22px; border-radius: 24px; background: var(--navy-2); border: 1px solid var(--line); text-align: center; }
.kd-soon .kd-bow { display: block; margin: 0 auto 8px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .4)); }
.kd-soon h2 { margin: 0 0 8px; font-family: var(--display); font-size: 24px; line-height: 1.2; }
.kd-soon p { color: var(--soft); }
.kd-soon p + p { margin-top: 8px; }
.kd-soon .kd-btn { margin-top: 10px; }

/* Pateikimo vedlys */
.kd-wizard { max-width: 620px; margin: 0 auto; padding: 20px 18px 18px; border-radius: 24px; background: var(--navy-2); border: 1px solid var(--line); }
.kd-js .kd-wizard.is-collapsed { display: none; }
.kd-steps { list-style: none; margin: 0 0 18px; padding: 0; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kd-js .kd-steps { display: grid; }
.kd-steps li { margin: 0; display: flex; flex-direction: column; gap: 7px; }
.kd-step-bar { display: block; height: 4px; border-radius: 2px; background: rgba(255, 246, 229, .16); }
.kd-step-label { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.kd-step-label .kd-ico { display: none; }
.kd-steps li.is-done .kd-step-bar { background: var(--gold); }
.kd-steps li.is-done .kd-step-label { color: var(--gold); }
.kd-steps li.is-done .kd-ico { display: block; }
.kd-steps li.is-current .kd-step-bar { background: linear-gradient(90deg, var(--gold) 55%, rgba(255, 246, 229, .16) 55%); }
.kd-steps li.is-current .kd-step-label { color: var(--ink); font-weight: 800; }
.kd-stepbox { border: 0; margin: 0; padding: 0; min-width: 0; }
.kd-stepbox + .kd-stepbox { margin-top: 26px; }
.kd-js .kd-stepbox { display: none; margin-top: 0; }
.kd-js .kd-stepbox.is-current { display: block; animation: kd-in .3s ease both; }
.kd-stepbox > legend { margin: 0 0 4px; padding: 0; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--ink); }
.kd-field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.kd-field > label { font-size: 14px; font-weight: 700; color: var(--ink); }
.kd-opt { font-weight: 500; color: var(--muted); }
.kd-hint { display: block; font-size: 12.5px; color: var(--muted); }
.kd-keep-hint { margin-top: 14px !important; }
.kd-app .kd-wizard input[type="text"],
.kd-app .kd-wizard input[type="email"],
.kd-app .kd-wizard textarea {
	width: 100%; max-width: 100%; min-height: 50px; margin: 0;
	padding: 12px 14px; border-radius: 14px;
	border: 1.5px solid rgba(255, 246, 229, .2); background: var(--field); color: var(--ink);
	font: 500 16px/1.35 var(--body); box-shadow: none;
}
.kd-app .kd-wizard input::placeholder, .kd-app .kd-wizard textarea::placeholder { color: var(--placeholder); }
.kd-app .kd-wizard input:focus, .kd-app .kd-wizard textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 193, 78, .25); }
.kd-thought-field > label { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 21px; }
.kd-app .kd-wizard .kd-thought-field textarea { min-height: 88px; font-family: var(--hand); font-weight: 700; font-size: 25px; line-height: 1.15; resize: vertical; }
.kd-chips { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.kd-chips > legend { margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 700; }
.kd-chip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kd-chip { position: relative; display: block; }
.kd-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kd-chip span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; padding: 4px 6px; border-radius: 14px; border: 1.5px solid rgba(255, 246, 229, .22); background: var(--field); font-weight: 800; font-size: 15px; line-height: 1.1; text-align: center; transition: background .15s ease, border-color .15s ease; }
.kd-chip b { font-size: 17px; font-weight: 800; }
.kd-chip small { font-size: 11.5px; font-weight: 700; opacity: .8; margin-top: 2px; }
.kd-chip input:hover + span { border-color: var(--gold); }
.kd-chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.kd-chip input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.kd-photo-field input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.kd-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; border-radius: 18px; border: 2px dashed rgba(242, 193, 78, .6); background: rgba(242, 193, 78, .06); text-align: center; cursor: pointer; color: var(--ink); }
.kd-drop .kd-ico { color: var(--gold); }
.kd-drop:hover { background: rgba(242, 193, 78, .1); }
.kd-photo-field:focus-within .kd-drop { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.kd-drop-title { font-weight: 800; font-size: 16px; }
.kd-photo-field.has-file .kd-drop { display: none; }
.kd-preview { position: relative; width: min(290px, 100%); margin: 14px auto 4px; padding: 10px 10px 54px; background: var(--paper); transform: rotate(-1.5deg); box-shadow: 0 12px 26px rgba(0, 0, 0, .4); }
.kd-preview img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #F4EAD2; }
.kd-app .kd-preview .kd-change { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); min-height: 38px; padding: 0 14px; font-size: 13px; color: var(--paper-ink); border-color: rgba(43, 33, 27, .35); }
.kd-file-msg { display: block; font-size: 13px; font-weight: 700; color: var(--gold-2); }
.kd-file-msg.is-error { color: #FFA59B; }
.kd-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 13.5px; line-height: 1.45; color: var(--soft); cursor: pointer; }
.kd-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--gold); }
.kd-privacy { margin-top: 12px !important; font-size: 12.5px; color: var(--muted); }
.kd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.kd-wizard-nav { display: flex; gap: 10px; margin-top: 22px; }
.kd-wizard-nav .kd-btn { flex: 1 1 0; }
.kd-prev, .kd-next { display: none; }
.kd-js .kd-prev, .kd-js .kd-next { display: inline-flex; }
.kd-js .kd-submit { display: none; }
.kd-js .kd-wizard[data-step="1"] .kd-prev { display: none; }
.kd-js .kd-wizard[data-step="3"] .kd-next { display: none; }
.kd-js .kd-wizard[data-step="3"] .kd-submit { display: inline-flex; }
.kd-deadline { margin-top: 12px !important; text-align: center; font-size: 12.5px; color: var(--muted); }
.kd-alert { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: rgba(196, 43, 43, .2); border: 1px solid rgba(255, 165, 155, .55); color: #FFE7E2; outline: none; }
.kd-alert p + p { margin-top: 6px; }
.kd-success { max-width: 620px; margin: 0 auto 18px; padding: 28px 20px; border-radius: 24px; background: var(--navy-2); border: 1px solid rgba(242, 193, 78, .5); text-align: center; outline: none; }
.kd-success-star { display: block; margin: 0 auto 8px; color: var(--gold); filter: drop-shadow(0 0 14px rgba(242, 193, 78, .6)); animation: kd-pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes kd-pop { from { transform: scale(.4) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.kd-success h2 { margin: 0 0 6px; font-family: var(--display); font-size: 28px; line-height: 1.15; }
.kd-success p { color: var(--soft); }
.kd-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.kd-success-hint { margin-top: 12px !important; font-size: 12.5px; color: var(--muted) !important; }

/* Apie */
.kd-about { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.kd-about-card { padding: 18px 18px 20px; border-radius: 22px; background: var(--navy-2); border: 1px solid var(--line); }
.kd-about-card h2 { margin: 0 0 8px; font-family: var(--display); font-size: 21px; }
.kd-about-card p { color: var(--soft); font-size: 15px; }
.kd-about-card p + p { margin-top: 10px; }
.kd-about-q { font-family: var(--display); font-style: italic; font-size: 20px !important; line-height: 1.25; color: var(--ink) !important; }
.kd-hand { font-family: var(--hand); font-weight: 700; font-size: 23px; line-height: 1; color: var(--gold-2); white-space: nowrap; }
.kd-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kd-dates li { margin: 0; display: flex; flex-direction: column; }
.kd-dates b { color: var(--gold-2); font-size: 15px; }
.kd-dates span { color: var(--soft); font-size: 14px; }

.kd-foot { margin-top: 44px; text-align: center; font-size: 13px; color: var(--muted); }
.kd-foot a { text-decoration: none; }

/* Kūrinio peržiūra */
.kd-lightbox { width: min(760px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 24px); margin: auto; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; font-family: var(--body); }
.kd-lightbox::backdrop { background: var(--backdrop); }
.kd-lb { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 8px 6px; }
.kd-lb-paper { position: relative; margin: 0; padding: 12px 12px 16px; max-width: 100%; background: var(--paper); color: var(--paper-ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); transform: rotate(-1deg); }
.kd-lb-img { display: block; max-width: 100%; max-height: calc(100vh - 300px); margin: 0 auto; object-fit: contain; background: #F4EAD2; }
.kd-lb-paper figcaption { margin-top: 10px; }
.kd-lb-note { font-family: var(--hand); font-weight: 700; font-size: 27px; line-height: 1.05; }
.kd-lb-title { margin-top: 6px !important; font-weight: 800; font-size: 15px; }
.kd-lb-who, .kd-lb-where { font-size: 13.5px; color: var(--paper-muted); }
.kd-lb-close { position: absolute; top: 0; right: 0; z-index: 2; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--paper); color: var(--paper-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.kd-lb-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; max-width: 560px; }
.kd-lb-nav button { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255, 246, 229, .3); background: var(--nav-btn-bg); color: var(--ink); font: 700 14px var(--body); cursor: pointer; }
.kd-lb-nav button:disabled { opacity: .35; cursor: default; }
.kd-lb-count { color: var(--muted); font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
	.kd-snow { display: none; }
	.kd-halo { animation: none; opacity: .3; }
	.kd-app *, .kd-app *::before, .kd-app *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* Programiškai fokusuojami elementai (pranešimai, antraštės) be rėmelio */
.kd-app .kd-success:focus, .kd-app .kd-alert:focus, .kd-app [tabindex="-1"]:focus { outline: none; }
