/* Trzy karty 0.2.5 - ekran uslugi: stol wrozki, tasowanie, wybor, odsloniecie, odczyt, wrozba, pakiety.
   Kolory i kroje: zmienne motywu (--sc-*), wartosci zapasowe z marka/tokens.json. Telefon jest pierwszy.
   Stan ekranu: atrybut data-stan na .sck (ustawia go sc-karty.js). Zadnych zewnetrznych zasobow. */

.sck {
	--sck-noc: var(--sc-noc, #1E0A12);
	--sck-sliwka: var(--sc-sliwka, #3A1632);
	--sck-bordo: var(--sc-bordo, #6B1626);
	--sck-zloto: var(--sc-zloto, #C9A24A);
	--sck-zloto-jasne: var(--sc-zloto-jasne, #E6C776);
	--sck-szmaragd: var(--sc-szmaragd, #174A3A);
	--sck-pergamin: var(--sc-pergamin, #F1E3C4);
	--sck-pergamin-ciemny: var(--sc-pergamin-ciemny, #E2CFA4);
	--sck-atrament: var(--sc-atrament, #2B1418);
	--sck-krem: var(--sc-krem, #F3E8D2);
	--sck-blad: var(--sc-blad, #8E1B1B);
	--sck-naglowki: var(--sc-kroj-naglowki, 'Almendra', Georgia, 'Times New Roman', serif);
	--sck-tekst: var(--sc-kroj-tekst, 'Alegreya', Georgia, 'Times New Roman', serif);
	--sck-karta-w: min(27.5vw, 132px);
	position: relative;
	overflow: hidden;
	overflow: clip;
	min-height: min(100vh, 860px);
	min-height: min(100svh, 860px);
	padding: 28px 16px 40px;
	background-color: var(--sck-noc);
	color: var(--sck-krem);
	font-family: var(--sck-tekst);
	font-size: 1.125rem;
	line-height: 1.6;
	-webkit-tap-highlight-color: transparent;
}
.sck *, .sck *::before, .sck *::after { box-sizing: border-box; }
.sck [hidden] { display: none !important; }
.sck p { margin-top: 0; margin-bottom: 0; }

/* ---------- tlo: zdjecie stolu, inny kadr na telefon i komputer ---------- */
.sck-tlo {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		radial-gradient(120% 70% at 50% 42%, rgba(30, 10, 18, 0) 0%, rgba(30, 10, 18, .35) 55%, rgba(30, 10, 18, .88) 100%),
		linear-gradient(180deg, rgba(30, 10, 18, .72) 0%, rgba(30, 10, 18, .18) 26%, rgba(30, 10, 18, .18) 70%, rgba(30, 10, 18, .8) 100%),
		var(--sck-stol-telefon);
	background-size: cover;
	background-position: center;
	transition: filter .6s ease;
}
.sck[data-stan="wrozba"] .sck-tlo,
.sck[data-stan="pakiety"] .sck-tlo,
.sck[data-stan="blad"] .sck-tlo,
.sck[data-stan="kryzys"] .sck-tlo { filter: brightness(.55) saturate(.9); }

.sck-glos { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.sck-scena { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }

/* ---------- naglowek uslugi ---------- */
.sck-glowa { text-align: center; margin-bottom: 16px; text-shadow: 0 2px 14px rgba(30, 10, 18, .9); }
.sck-nadtytul { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sck-zloto-jasne); }
.sck .sck-tytul { margin: 2px 0 0; font-family: var(--sck-naglowki); font-weight: 400; font-synthesis: none; font-size: clamp(2.5rem, 12vw, 3.5rem); line-height: 1.05; color: var(--sck-zloto-jasne); letter-spacing: .01em; }
.sck-ornament { display: block; margin: 6px auto 8px; color: var(--sck-zloto); line-height: 0; }
.sck-lead { max-width: 34ch; margin: 0 auto; font-size: 1.0625rem; line-height: 1.5; color: var(--sck-krem); }
.sck:not([data-stan="stol"]) .sck-lead { display: none; }
.sck[data-stan="wrozba"] .sck-glowa,
.sck[data-stan="pakiety"] .sck-glowa { margin-bottom: 8px; }
.sck[data-stan="wrozba"] .sck-tytul { font-size: 1.75rem; }

.sck-stan { display: table; margin: 0 auto 16px !important; padding: 6px 16px; border: 1px solid rgba(201, 162, 74, .7); border-radius: 999px; background: rgba(30, 10, 18, .72); color: var(--sck-zloto-jasne); font-size: .9375rem; font-weight: 700; text-align: center; line-height: 1.35; }
.sck-stan:empty { display: none; }
.sck[data-stan="tasowanie"] .sck-stan,
.sck[data-stan="wybor"] .sck-stan,
.sck[data-stan="odsloniecie"] .sck-stan,
.sck[data-stan="wrozba"] .sck-stan,
.sck[data-stan="pakiety"] .sck-stan,
.sck[data-stan="blad"] .sck-stan,
.sck[data-stan="kryzys"] .sck-stan { display: none; }

/* ---------- pergamin i formularz ---------- */
.sck-pergamin {
	position: relative;
	padding: 22px 18px 20px;
	border-radius: var(--sc-promien-karta, 10px);
	background:
		radial-gradient(140% 90% at 50% 0%, rgba(255, 250, 232, .7) 0%, rgba(255, 250, 232, 0) 60%),
		linear-gradient(180deg, var(--sck-pergamin) 0%, var(--sck-pergamin-ciemny) 100%);
	color: var(--sck-atrament);
	box-shadow: 0 0 0 1px rgba(201, 162, 74, .9), 0 0 0 5px rgba(30, 10, 18, .55), 0 0 0 6px rgba(201, 162, 74, .45), 0 18px 40px rgba(0, 0, 0, .6);
}
.sck-pole { display: block; margin-bottom: 16px !important; }
.sck-etykieta { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sck-bordo); }
.sck .sck-wpis {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid rgba(43, 20, 24, .4);
	border-radius: 8px;
	background: #FFF9EA;
	color: var(--sck-atrament);
	font: inherit;
	font-size: 1.125rem;
	line-height: 1.45;
	box-shadow: inset 0 2px 4px rgba(43, 20, 24, .08);
	-webkit-appearance: none;
	appearance: none;
}
.sck .sck-wpis--dlugi { min-height: 112px; resize: vertical; }
.sck .sck-wpis:focus { border-color: var(--sck-bordo); }
.sck-opis { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: .9375rem; font-style: italic; color: rgba(43, 20, 24, .82); }
.sck-licznik { font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sck-komunikat { margin-bottom: 14px !important; padding: 10px 14px; border-left: 4px solid var(--sck-blad); border-radius: 4px; background: rgba(142, 27, 27, .1); color: var(--sck-blad); font-weight: 700; font-size: 1rem; line-height: 1.4; }
.sck-komunikat:empty { display: none; }

.sck-akcje { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sck-akcje--kolumna { flex-direction: column; margin-top: 18px !important; }
.sck .sck-przycisk {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 100%;
	min-height: 52px;
	margin: 0;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--sck-zloto-jasne) 0%, var(--sck-zloto) 62%, #B48A36 100%);
	color: var(--sck-atrament);
	font-family: var(--sck-tekst);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	box-shadow: inset 0 1px 0 rgba(255, 244, 210, .7), 0 2px 0 #7A5C1C, 0 10px 24px rgba(0, 0, 0, .45);
	cursor: pointer;
	transition: filter .15s ease, transform .15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.sck .sck-przycisk:hover { filter: brightness(1.07); }
.sck .sck-przycisk:active { transform: translateY(2px); }
.sck .sck-przycisk[disabled] { filter: saturate(.5) brightness(.9); cursor: progress; }
.sck .sck-przycisk--drugi { background: linear-gradient(180deg, #1F5E4A 0%, var(--sck-szmaragd) 100%); color: var(--sck-krem); border-color: rgba(201, 162, 74, .7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 0 #0C2A20, 0 10px 24px rgba(0, 0, 0, .45); }
.sck .sck-przycisk--cichy { background: transparent; color: var(--sck-bordo); border-color: rgba(107, 22, 38, .55); box-shadow: none; }

.sck-uczciwie { margin-top: 16px !important; font-size: .9375rem; line-height: 1.45; color: rgba(43, 20, 24, .86); text-align: center; }
.sck-uczciwie--ciemne { max-width: 46ch; margin-inline: auto !important; color: rgba(243, 232, 210, .86); }
.sck-prawne { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin-top: 6px !important; }
.sck .sck-odnosnik { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 8px 12px; color: var(--sck-bordo); font-size: .9375rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sck-prawne--ciemne .sck-odnosnik { color: var(--sck-zloto-jasne); }

.sck :focus { outline: none; }
.sck :focus-visible { outline: 3px solid var(--sck-zloto-jasne); outline-offset: 3px; }
.sck .sck-pergamin :focus-visible { outline-color: var(--sck-bordo); }
.sck [tabindex="-1"]:focus-visible { outline: none; }

/* ---------- panele stanow ---------- */
.sck-panel { animation: sck-wejscie .45s ease both; }

/* ---------- 2-4. karty na stole ---------- */
.sck-panel--karty { position: relative; padding-top: 4px; text-align: center; }
.sck-podpowiedz { min-height: 2.9em; margin-bottom: 14px !important; font-family: var(--sck-naglowki); font-size: 1.5rem; line-height: 1.25; color: var(--sck-zloto-jasne); text-shadow: 0 2px 12px rgba(30, 10, 18, .95); }

.sck-karty { display: flex; justify-content: center; align-items: flex-start; gap: 2.6vw; min-height: calc(var(--sck-karta-w) * 1.5 + 20px); padding: 10px 0 0; perspective: 1100px; }
.sck .sck-karta {
	--sck-obrot: 0deg;
	--sck-dx: 0px;
	position: relative;
	flex: 0 0 var(--sck-karta-w);
	width: var(--sck-karta-w);
	aspect-ratio: 2 / 3;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 7% / 4.7%;
	background: none;
	color: inherit;
	cursor: pointer;
	transform: rotate(var(--sck-obrot));
	transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .5s ease, filter .5s ease;
	-webkit-appearance: none;
	appearance: none;
}
.sck .sck-karta:nth-child(1) { --sck-obrot: -4deg; }
.sck .sck-karta:nth-child(2) { --sck-obrot: 1deg; margin-top: 8px; }
.sck .sck-karta:nth-child(3) { --sck-obrot: 5deg; }
.sck .sck-karta[disabled] { cursor: default; }
.sck-karta__wnetrze { position: absolute; inset: 0; display: block; border-radius: inherit; transform-style: preserve-3d; transition: transform .95s cubic-bezier(.3, .1, .2, 1); box-shadow: 0 10px 22px rgba(0, 0, 0, .6), 0 2px 4px rgba(0, 0, 0, .5); }
.sck-karta__rewers, .sck-karta__awers { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: inherit; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.sck-karta__rewers { background: var(--sck-bordo) var(--sck-rewers) center / cover no-repeat; }
.sck-karta__awers { background: var(--sck-sliwka); transform: rotateY(180deg); }
.sck-karta__awers img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sck-karta::after { content: ""; position: absolute; inset: -6px; border-radius: 10% / 7%; box-shadow: 0 0 0 2px rgba(230, 199, 118, 0), 0 0 26px 4px rgba(230, 199, 118, 0); transition: box-shadow .25s ease; pointer-events: none; }

/* stos do tasowania */
.sck-stos { position: absolute; left: 50%; top: calc(2.9em + 44px); width: var(--sck-karta-w); aspect-ratio: 2 / 3; margin-left: calc(var(--sck-karta-w) / -2); pointer-events: none; opacity: 0; }
.sck-stos i { position: absolute; inset: 0; border-radius: 7% / 4.7%; background: var(--sck-bordo) var(--sck-rewers) center / cover no-repeat; box-shadow: 0 6px 14px rgba(0, 0, 0, .55); }
.sck[data-stan="tasowanie"] .sck-stos { opacity: 1; }
.sck[data-stan="tasowanie"] .sck-stos i:nth-child(odd) { animation: sck-tasuj-lewo .62s ease-in-out 3 both; }
.sck[data-stan="tasowanie"] .sck-stos i:nth-child(even) { animation: sck-tasuj-prawo .62s ease-in-out 3 both; }
.sck[data-stan="tasowanie"] .sck-stos i:nth-child(3), .sck[data-stan="tasowanie"] .sck-stos i:nth-child(4) { animation-delay: .09s; }
.sck[data-stan="tasowanie"] .sck-stos i:nth-child(5), .sck[data-stan="tasowanie"] .sck-stos i:nth-child(6) { animation-delay: .18s; }
.sck[data-stan="tasowanie"] .sck-karta { opacity: 0; }

/* 3. wybor: karty oddychaja, podswietlenie pod palcem */
.sck[data-stan="wybor"] .sck-karta { animation: sck-rozdaj .7s cubic-bezier(.2, .8, .2, 1) backwards, sck-oddech 3.6s ease-in-out .9s infinite; }
.sck[data-stan="wybor"] .sck-karta:nth-child(2) { animation-delay: .16s, 1.5s; }
.sck[data-stan="wybor"] .sck-karta:nth-child(3) { animation-delay: .32s, 2.1s; }
.sck[data-stan="wybor"] .sck-karta:not([disabled]):hover::after,
.sck[data-stan="wybor"] .sck-karta:not([disabled]):focus-visible::after,
.sck[data-stan="wybor"] .sck-karta:not([disabled]):active::after,
.sck .sck-karta.sck-karta--wybrana::after { box-shadow: 0 0 0 2px rgba(230, 199, 118, .95), 0 0 30px 8px rgba(230, 199, 118, .55); }
.sck[data-stan="wybor"] .sck-karta:not([disabled]):hover,
.sck[data-stan="wybor"] .sck-karta:not([disabled]):focus-visible,
.sck[data-stan="wybor"] .sck-karta:not([disabled]):active { animation: none; transform: rotate(var(--sck-obrot)) translateY(-10px) scale(1.04); }
.sck .sck-karta:focus-visible { outline: none; }

/* 4. odsloniecie: wybrana karta na srodek, obrot 3D, pozostale przygasaja */
.sck[data-stan="odsloniecie"] .sck-karta { animation: none; opacity: .28; filter: saturate(.5) brightness(.7); transform: rotate(var(--sck-obrot)) scale(.9); }
.sck[data-stan="odsloniecie"] .sck-karta.sck-karta--wybrana { z-index: 2; opacity: 1; filter: none; transform: translateX(var(--sck-dx)) translateY(8px) scale(1.42); }
.sck .sck-karta.sck-karta--odkryta .sck-karta__wnetrze { transform: rotateY(180deg); }
.sck-nazwa { margin: 0; font-family: var(--sck-naglowki); font-weight: 400; font-synthesis: none; color: var(--sck-zloto-jasne); line-height: 1.1; }
.sck-nazwa--stol { min-height: 1.2em; margin-top: calc(var(--sck-karta-w) * .36 + 26px) !important; font-size: clamp(2rem, 9vw, 2.75rem); text-shadow: 0 2px 16px rgba(30, 10, 18, .95), 0 0 28px rgba(230, 199, 118, .35); opacity: 0; transform: translateY(8px); transition: opacity .7s ease .5s, transform .7s ease .5s; }
.sck-nazwa--stol.sck-widac { opacity: 1; transform: none; }

/* ---------- 5. trwa odczyt: pelny ekran ---------- */
.sck-odczyt { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px 20px; background: radial-gradient(90% 60% at 50% 40%, #4A1C3E 0%, var(--sck-sliwka) 38%, var(--sck-noc) 100%); color: var(--sck-krem); text-align: center; animation: sck-wejscie .5s ease both; }
.sck-odczyt__wnetrze { width: 100%; max-width: 420px; }
.sck-swieca { width: min(46vw, 190px); margin: 0 auto 6px; line-height: 0; }
.sck-swieca svg { display: block; width: 100%; height: auto; overflow: visible; }
.sck-swieca__plomien { transform-box: fill-box; transform-origin: 50% 100%; animation: sck-plomien 1.7s ease-in-out infinite; }
.sck-swieca__poswiata { transform-box: fill-box; transform-origin: center; animation: sck-poswiata 2.6s ease-in-out infinite; }
.sck-swieca__dym { stroke-dasharray: 16 150; opacity: 0; animation: sck-dym 4.2s linear infinite; }
.sck-swieca__dym--2 { animation-delay: 2.1s; }
.sck-odczyt__karta { min-height: 1.3em; font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sck-zloto); }
.sck-odczyt__zdanie { min-height: 2.6em; margin: 8px auto 18px !important; max-width: 16em; font-family: var(--sck-naglowki); font-size: clamp(1.5rem, 6.4vw, 1.875rem); line-height: 1.3; color: var(--sck-zloto-jasne); transition: opacity .45s ease; }
.sck-odczyt__zdanie.sck-gasnie { opacity: 0; }
.sck-nitka { position: relative; width: min(64vw, 240px); height: 3px; margin: 0 auto; overflow: hidden; border-radius: 3px; background: rgba(201, 162, 74, .25); }
.sck-nitka span { position: absolute; top: 0; bottom: 0; left: 0; width: 38%; border-radius: 3px; background: linear-gradient(90deg, rgba(230, 199, 118, 0), var(--sck-zloto-jasne), rgba(230, 199, 118, 0)); animation: sck-nitka 1.9s ease-in-out infinite; }
.sck-odczyt__uwaga { margin-top: 18px !important; font-size: .9375rem; color: rgba(243, 232, 210, .78); }
html.sck-zaslona, html.sck-zaslona body { overflow: hidden; }

/* ---------- 6. wrozba ---------- */
.sck-wynik__karta { width: min(58vw, 230px); margin: 4px auto 14px; border-radius: 7% / 4.7%; box-shadow: 0 0 0 1px rgba(201, 162, 74, .6), 0 0 44px rgba(230, 199, 118, .28), 0 18px 36px rgba(0, 0, 0, .65); animation: sck-karta-wchodzi .9s cubic-bezier(.2, .7, .2, 1) both; }
.sck-wynik__karta img { display: block; width: 100%; height: auto; border-radius: inherit; }
.sck-wynik__tekst { text-align: center; }
.sck-nadtytul--wynik { margin-bottom: 2px !important; }
.sck-nadtytul { margin-left: auto; margin-right: auto; }
.sck-wynik .sck-nazwa { font-size: clamp(2.25rem, 10vw, 3rem); text-shadow: 0 2px 16px rgba(30, 10, 18, .9); }
.sck-pytanie { max-width: 30ch; margin: 8px auto 16px !important; font-style: italic; font-size: 1.0625rem; line-height: 1.45; color: rgba(243, 232, 210, .92); }
.sck-pytanie:empty { display: none; }
.sck-tresc { text-align: left; font-size: 1.125rem; line-height: 1.65; }
.sck-tresc p { margin: 0 0 1em; opacity: 0; transform: translateY(10px); transition: opacity .9s ease, transform .9s ease; }
.sck-tresc p:last-child { margin-bottom: 0; }
.sck-tresc p.sck-widac { opacity: 1; transform: none; }
.sck-tresc p:first-child::first-letter { float: left; margin: .06em .1em 0 0; font-family: var(--sck-naglowki); font-size: 3.1em; line-height: .82; color: var(--sck-bordo); }

.sck-pozostale { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(201, 162, 74, .4); text-align: center; animation: sck-wejscie .8s ease both; }
.sck-pozostale__tytul { font-family: var(--sck-naglowki); font-size: 1.375rem; line-height: 1.25; color: var(--sck-zloto-jasne); }
.sck-pozostale__karty { display: flex; justify-content: center; gap: 18px; margin: 14px 0 10px; }
.sck-pozostale__karty figure { width: min(30vw, 120px); margin: 0; }
.sck-pozostale__karty img { display: block; width: 100%; height: auto; border-radius: 7% / 4.7%; filter: saturate(.6) brightness(.78); box-shadow: 0 8px 18px rgba(0, 0, 0, .55); }
.sck-pozostale__karty figcaption { margin-top: 8px; font-size: .9375rem; line-height: 1.3; color: rgba(243, 232, 210, .86); }
.sck-pozostale__opis { max-width: 36ch; margin: 0 auto !important; font-size: .9375rem; line-height: 1.45; color: rgba(243, 232, 210, .8); }
.sck-akcje--wynik { margin: 26px 0 0 !important; }

/* ---------- 7. pakiety ---------- */
.sck-pakiety { text-align: center; }
.sck-podtytul { margin: 0 0 8px; font-family: var(--sck-naglowki); font-weight: 400; font-synthesis: none; font-size: clamp(1.625rem, 7vw, 2rem); line-height: 1.2; color: var(--sck-zloto-jasne); text-shadow: 0 2px 14px rgba(30, 10, 18, .9); }
.sck-podtytul--pergamin { color: var(--sck-bordo); text-shadow: none; }
.sck-pakiety__lead { max-width: 34ch; margin: 0 auto 18px !important; font-size: 1.0625rem; line-height: 1.5; }
.sck-pakiety__lista { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sck-pakiety__lista li { margin: 0; padding: 0; }
.sck .sck-pakiet { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; min-height: 76px; padding: 14px 18px; border-radius: 10px; background: linear-gradient(180deg, var(--sck-pergamin) 0%, var(--sck-pergamin-ciemny) 100%); color: var(--sck-atrament); text-align: left; text-decoration: none; box-shadow: 0 0 0 1px rgba(201, 162, 74, .9), 0 10px 22px rgba(0, 0, 0, .5); transition: transform .15s ease, box-shadow .15s ease; }
.sck .sck-pakiet:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--sck-zloto-jasne), 0 14px 26px rgba(0, 0, 0, .55); }
.sck-pakiet__moneta { grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--sck-zloto-jasne), var(--sck-zloto) 60%, #8A6A22 100%); color: var(--sck-atrament); font-family: var(--sck-naglowki); font-size: 1.375rem; line-height: 1; box-shadow: inset 0 0 0 2px rgba(138, 106, 34, .7), 0 2px 5px rgba(0, 0, 0, .35); }
.sck-pakiet__nazwa { min-width: 0; font-weight: 700; font-size: 1.125rem; line-height: 1.25; overflow-wrap: anywhere; }
.sck-pakiet__za { grid-column: 2; min-width: 0; font-size: .9375rem; line-height: 1.3; color: rgba(43, 20, 24, .82); overflow-wrap: anywhere; }
.sck-pakiet__cena { grid-row: 1 / 3; grid-column: 3; padding: 8px 14px; border-radius: 999px; background: var(--sck-bordo); color: var(--sck-krem); font-weight: 700; font-size: 1.125rem; white-space: nowrap; justify-self: end; max-width: 100%; }
.sck-pakiety__uwaga { max-width: 36ch; margin: 16px auto 0 !important; font-size: .9375rem; line-height: 1.45; color: rgba(243, 232, 210, .86); }
.sck-pakiety__brak { padding: 16px; border: 1px dashed rgba(201, 162, 74, .6); border-radius: 10px; }
/* ---------- 0.2.5: dukaty (wspolny portfel) i doladowanie na stole ----------
   Stan "pakiety" rysuje ten sam pergamin co stol: nad polami zdanie o zuzytej darmowej karcie (.sck-brak),
   pod pytaniem e-mail i wybor pakietu (.sck-doladuj). Ceny i liczby dukatow wstawia skrypt z odpowiedzi sklepu. */
.sck-tylko-czytnik { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sck-dukaty { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; white-space: nowrap; vertical-align: baseline; }
.sck-dukaty__moneta { display: inline-flex; line-height: 0; }
.sck-dukaty__moneta svg { width: 1.1em; height: 1.1em; }
.sck-koszt { display: inline-flex; align-items: center; margin-left: 4px; }
.sck-brak { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(138, 106, 34, .45); text-align: center; }
.sck .sck-brak .sck-podtytul { font-size: clamp(1.375rem, 6vw, 1.75rem); }
.sck-brak__lead { margin: 0 !important; font-size: 1.0625rem; line-height: 1.5; color: var(--sck-atrament); }
.sck .sck-doladuj { margin: 4px 0 14px; text-align: left; }
.sck-wybor { margin: 0; padding: 0; border: 0; min-width: 0; }
.sck-wybor legend { padding: 0; }
.sck-pole--email { margin-bottom: 16px !important; }
.sck .sck-doladuj .sck-pakiet { cursor: pointer; background: rgba(255, 255, 255, .38); box-shadow: 0 0 0 1px rgba(138, 106, 34, .55); }
.sck .sck-doladuj .sck-pakiet:hover { transform: none; box-shadow: 0 0 0 2px var(--sck-zloto); }
.sck .sck-doladuj .sck-pakiet:has(.sck-pakiet__radio:checked) { background: rgba(255, 255, 255, .72); box-shadow: 0 0 0 3px var(--sck-bordo); }
.sck .sck-doladuj .sck-pakiet:has(.sck-pakiet__radio:focus-visible) { outline: 3px solid var(--sck-bordo); outline-offset: 3px; }
/* pole wyboru lezy na calej karcie pakietu: to ono jest celem dotyku (cala karta, min. 76 px), a nie ukryta kropka */
.sck-pakiet__radio { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sck-doladuj__uwaga { margin: 12px 0 0 !important; font-size: .9375rem; line-height: 1.45; color: rgba(43, 20, 24, .82); text-align: center; }
.sck-doladuj__wejscie { margin: 4px 0 0 !important; text-align: center; }
.sck .sck-formularz .sck-doladuj__wejscie .sck-odnosnik { color: var(--sck-bordo); }
.sck-komunikat--spokojny { border-left-color: var(--sck-zloto); background: rgba(201, 162, 74, .16); color: var(--sck-atrament); }

/* ---------- blad i kryzys ---------- */
.sck-zdarzenie { text-align: center; }
.sck-zdarzenie > p { font-size: 1.125rem; line-height: 1.6; }
.sck-zdarzenie .sck-akcje { margin-top: 18px !important; }

/* ---------- animacje ---------- */
@keyframes sck-wejscie { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sck-tasuj-lewo { 0%, 100% { transform: translateX(0) rotate(0); } 45% { transform: translateX(-58%) rotate(-9deg); } 70% { transform: translateX(10%) rotate(2deg); } }
@keyframes sck-tasuj-prawo { 0%, 100% { transform: translateX(0) rotate(0); } 45% { transform: translateX(58%) rotate(9deg); } 70% { transform: translateX(-10%) rotate(-2deg); } }
@keyframes sck-rozdaj { from { opacity: 0; transform: translateY(-46%) rotate(calc(var(--sck-obrot) * -3)) scale(.78); } to { opacity: 1; transform: rotate(var(--sck-obrot)); } }
@keyframes sck-oddech { 0%, 100% { transform: rotate(var(--sck-obrot)) translateY(0); } 50% { transform: rotate(var(--sck-obrot)) translateY(-7px); } }
@keyframes sck-plomien { 0%, 100% { transform: scale(1, 1) skewX(0deg); } 22% { transform: scale(.94, 1.06) skewX(-3deg); } 48% { transform: scale(1.04, .95) skewX(2.5deg); } 74% { transform: scale(.97, 1.04) skewX(-1.5deg); } }
@keyframes sck-poswiata { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
@keyframes sck-dym { 0% { stroke-dashoffset: 0; opacity: 0; } 15% { opacity: .34; } 70% { opacity: .18; } 100% { stroke-dashoffset: -150; opacity: 0; } }
@keyframes sck-nitka { 0% { transform: translateX(-110%); } 100% { transform: translateX(290%); } }
@keyframes sck-karta-wchodzi { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- tryb testowy (0.2.2): przycisk zerowania licznika - w znaczniku tylko dla administratora sklepu ---------- */
.sck-test { position: fixed; left: 8px; bottom: 8px; z-index: 10000; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 16px); pointer-events: none; }
.sck .sck-test__przycisk { pointer-events: auto; flex: 0 0 auto; min-height: 44px; min-width: 44px; margin: 0; padding: 6px 12px; border: 1px dashed rgba(230, 199, 118, .75); border-radius: 8px; background: rgba(30, 10, 18, .86); color: var(--sck-zloto-jasne); font-family: var(--sck-tekst); font-size: .8125rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; box-shadow: none; cursor: pointer; }
.sck .sck-test__przycisk:hover { background: rgba(58, 22, 50, .95); }
.sck .sck-test__przycisk[disabled] { opacity: .6; cursor: default; }
.sck-test__wynik { min-width: 0; padding: 4px 8px; border-radius: 6px; background: rgba(30, 10, 18, .86); color: var(--sck-krem); font-size: .8125rem; line-height: 1.25; overflow-wrap: anywhere; }
.sck-test__wynik:empty { display: none; }

/* ---------- wieksze ekrany ---------- */
@media (min-width: 700px) {
	.sck { --sck-karta-w: 168px; padding: 44px 24px 64px; min-height: min(100vh, 900px); }
	.sck-tlo { background-image:
		radial-gradient(90% 80% at 50% 45%, rgba(30, 10, 18, 0) 0%, rgba(30, 10, 18, .3) 60%, rgba(30, 10, 18, .85) 100%),
		linear-gradient(180deg, rgba(30, 10, 18, .6) 0%, rgba(30, 10, 18, .12) 30%, rgba(30, 10, 18, .12) 72%, rgba(30, 10, 18, .7) 100%),
		var(--sck-stol-komputer); }
	.sck-karty { gap: 34px; }
	.sck-pergamin { padding: 30px 32px 26px; }
	.sck .sck-przycisk { flex: 0 1 auto; min-width: 240px; }
	.sck-akcje--kolumna { align-items: center; }
}
@media (min-width: 1000px) {
	.sck[data-stan="wrozba"] .sck-scena { max-width: 980px; }
	.sck-wynik { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
	.sck-wynik__karta { width: 300px; margin: 6px 0 0; position: sticky; top: 96px; }
	.sck-wynik__tekst { text-align: left; }
	.sck-pytanie { margin-left: 0 !important; max-width: 52ch; }
	.sck-pergamin.sck-tresc { padding: 34px 38px; }
	.sck-pozostale__karty figure { width: 132px; }
}

/* ---------- ograniczony ruch: bez ruchu, zostaja przejscia stanow (samo przenikanie) ---------- */
@media (prefers-reduced-motion: reduce) {
	.sck *, .sck *::before, .sck *::after { animation: none !important; transition-property: opacity !important; transition-duration: .2s !important; transition-delay: 0s !important; }
	.sck[data-stan="tasowanie"] .sck-karta { opacity: 0; }
	.sck .sck-karta, .sck[data-stan="wybor"] .sck-karta:not([disabled]):hover { transform: rotate(var(--sck-obrot)); }
	.sck[data-stan="odsloniecie"] .sck-karta.sck-karta--wybrana { transform: translateX(var(--sck-dx)) translateY(8px) scale(1.42); }
	.sck-karta__wnetrze { transform-style: flat; }
	.sck .sck-karta.sck-karta--odkryta .sck-karta__wnetrze { transform: none; }
	.sck-karta__awers { transform: none; opacity: 0; -webkit-backface-visibility: visible; backface-visibility: visible; }
	.sck .sck-karta.sck-karta--odkryta .sck-karta__awers { opacity: 1; }
	.sck-tresc p { opacity: 1; transform: none; }
	.sck-nazwa--stol { transform: none; }
	.sck-swieca__dym { opacity: .22; }
	.sck-nitka span { width: 100%; opacity: .7; }
}

/* ---------- 0.3.0: wrozba na e-mail pod gotowa wrozba (najpierw e-mail, potem pelna odpowiedz, potem kolejna karta) ---------- */
.sck-mail { margin-top: 26px; text-align: left; animation: sck-wejscie .8s ease both; }
.sck-mail__tytul { margin: 0 0 14px; font-family: var(--sck-naglowki); font-weight: 400; font-synthesis: none; font-size: clamp(1.375rem, 6vw, 1.625rem); line-height: 1.2; color: var(--sck-bordo); }
.sck-zgoda { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px !important; font-size: .9375rem; line-height: 1.45; color: var(--sck-atrament); }
.sck-zgoda label { padding-top: 10px; cursor: pointer; }
.sck .sck-zgoda input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	margin: 0;
	border: 0;
	border-radius: 8px;
	background: rgba(255, 255, 255, .55) center / 24px 24px no-repeat;
	box-shadow: inset 0 0 0 2px var(--sck-bordo);
	cursor: pointer;
}
.sck .sck-zgoda input[type="checkbox"]:checked {
	background-color: var(--sck-zloto);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%232B1418' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sck-akcje--mail { margin: 0 !important; }
.sck-mail__gotowe { margin: 0 !important; padding: 12px 14px; border-left: 4px solid var(--sck-zloto); border-radius: 4px; background: rgba(201, 162, 74, .16); color: var(--sck-atrament); font-weight: 700; line-height: 1.45; }
