@font-face { font-family: 'Patrick Hand'; font-display: swap; src: url(patrick-hand-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F; }
@font-face { font-family: 'Patrick Hand'; font-display: swap; src: url(patrick-hand-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2191, U+2193, U+2212; }
:root { color-scheme: light; --granat: #1c2c4c; --papier: #f4ead2; --tekst: #231f1a; --szary: #5d564a;
  --zielen: #1f4d36; --zloto: #d9b66a; --czerwien: #a8322a; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--tekst); padding-bottom: calc(110px + env(safe-area-inset-bottom));
  font: 19px/1.4 'Patrick Hand', system-ui, sans-serif; background: var(--granat)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)' opacity='.13'/%3E%3C/svg%3E"); }
header, main { max-width: 560px; margin: 0 auto; padding: 0 16px; }
header { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 10px;
  padding-top: 20px; text-align: center; color: var(--papier); }
header::before, header::after { content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 130px; height: 130px; top: -8px; background: url(galazka.webp) no-repeat top right / contain; }
header { isolation: isolate; }
header::before { left: -6px; transform: scaleX(-1); opacity: .85; }
header::after { right: -6px; opacity: .85; }
.ptak { width: 112px; height: auto; }
.tytul { flex: 1; max-width: 300px; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 400; }
.grupa { font-size: 25px; }
h1 { font-size: 42px; line-height: 1.02; text-shadow: 0 2px 0 #0d1730; }
.kiedy { margin: 12px 0 20px; padding: 6px 22px; font-size: 24px; color: var(--tekst);
  background: var(--zloto); border: 2px dashed #8a6a2c; border-radius: 8px; box-shadow: 0 0 0 4px var(--zloto), 0 6px 14px #0006; }
.kiedy b { font-weight: 400; white-space: nowrap; }
.info, .kartka, form { position: relative; background: var(--papier); border-radius: 4px 10px 5px 8px; box-shadow: 0 6px 16px #0007; }
.info { padding: 20px 18px 14px 34px; transform: rotate(-.6deg);
  background: radial-gradient(circle at 14px 12px, var(--granat) 5px, transparent 6px) 0 0 / 100% 26px, var(--papier); }
.info::before, .kartka::before, form::before { content: ''; position: absolute; top: -11px; left: 50%; width: 92px; height: 24px;
  margin-left: -46px; background: #2f6b4ae0; transform: rotate(-2deg); }
.info p { margin: 4px 0; }
.kartka { margin-top: 26px; padding: 16px 18px 70px; }
.kartka::before { background: #d9b66ae6; transform: rotate(2deg); }
.kartka::after { content: ''; position: absolute; right: -4px; bottom: -6px; width: 92px; height: 92px;
  background: url(kredki.webp) no-repeat bottom right / contain; }
h2 { font-size: 28px; color: var(--zielen); text-align: center; margin-bottom: 8px; }
ul { list-style: none; margin: 0; padding: 0; }
li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px dashed #b9a97f; overflow-wrap: anywhere; }
li::before { content: ''; position: absolute; left: 0; top: 10px; width: 21px; height: 21px;
  background: url(gwiazda.webp) no-repeat center / contain; }
li b { display: block; font-weight: 400; font-size: 21px; }
li span { color: var(--szary); }
.stan { color: var(--szary); text-align: center; }
.dziekujemy { margin-top: 18px; background: #dcefd9; color: var(--zielen); border-radius: 12px; padding: 12px 16px; text-align: center; font-size: 22px; }
.dol { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--granat) 40%); }
.przycisk { display: block; width: 100%; max-width: 520px; margin: 0 auto; min-height: 58px; cursor: pointer;
  border: 3px solid var(--zloto); border-radius: 999px; background: var(--zielen); color: #fbefc9;
  font: 26px/1.1 'Patrick Hand', system-ui, sans-serif; box-shadow: 0 5px 14px #0007; }
.przycisk:disabled { opacity: .6; cursor: default; }
.wroc { min-height: 44px; padding: 0 18px; margin-bottom: 20px; background: var(--papier); border: 0;
  border-radius: 4px 12px 5px 10px; font: inherit; color: inherit; cursor: pointer; box-shadow: 0 4px 10px #0006; transform: rotate(-1deg); }
form { padding: 24px 16px 18px; }
label { display: block; font-size: 22px; margin: 0 0 4px; }
label span { color: var(--szary); font-size: 17px; }
input, textarea { display: block; width: 100%; margin-bottom: 16px; padding: 11px 12px; font: 20px/1.3 'Patrick Hand', system-ui, sans-serif;
  color: inherit; background: #fffaec; border: 2px solid #4a4134; border-radius: 6px 10px 7px 11px; }
::placeholder { color: #8c8371; }
textarea { resize: vertical; }
form .przycisk { margin-top: 4px; }
.blad { color: var(--czerwien); font-size: 20px; margin-bottom: 10px; }
.testowy { margin: 0; padding: 6px; text-align: center; font-size: 15px; background: #fff4d6; }
:focus-visible { outline: 3px solid #6ea8ff; outline-offset: 2px; }
