/* Strona Przytulaczków: przewijając, schodzi się z nieba przez trawę do ziemi pod wyspą. */
:root {
  --sky-top: #5cb8f5;
  --sky: #bfe6ff;
  --cloud: #fffdf8;
  --grass: #7cc55a;
  --meadow: #eaf7dc;
  --sun: #ffd84d;
  --sun-deep: #f2b705;
  --pink: #ff7fae;
  --ink: #33244f;
  --ink-soft: #5b4c78;
  --soil: #6b4a35;
  --soil-deep: #3f2b1f;
  --soil-text: #fbeedd;
  --radius-big: 32px;
  --radius: 20px;
  --head: 'Grandstander', 'Baloo 2', system-ui, sans-serif;
  --body: 'Lexend', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soil-deep);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; text-align: center; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.5rem; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; border-radius: 12px; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--cloud); padding: 8px 14px; border-radius: 12px; z-index: 10; }
.skip:focus { top: 12px; }

/* przyciski jak w grze: wypukłe, z cieniem pod spodem */
.play, .ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font: 800 1.2rem/1 var(--head); text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.play { background: var(--sun); color: var(--ink); box-shadow: 0 6px 0 var(--sun-deep); }
.ghost { background: var(--cloud); color: var(--ink); box-shadow: 0 6px 0 #c9d9ea; }
.play:active, .ghost:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--sun-deep); }
.play.small { min-height: 44px; padding: 0 20px; font-size: 1rem; box-shadow: 0 4px 0 var(--sun-deep); }

/* pasek u góry */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 20px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(92, 184, 245, 0.92);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.5rem/1 var(--head); }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.top nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.lang {
  min-width: 48px; min-height: 44px; border: 0; border-radius: 999px;
  background: var(--cloud); color: var(--ink); font: 700 1rem/1 var(--body); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.lang:hover { text-decoration: underline; }

/* ---------- niebo ---------- */
.sky {
  position: relative; overflow: hidden;
  background: linear-gradient(var(--sky-top), var(--sky) 55%, #e3f4ff);
  padding: clamp(24px, 6vw, 72px) clamp(16px, 4vw, 48px) 40px;
}
.cloud {
  position: absolute; background: var(--cloud); border-radius: 999px; opacity: 0.9;
  width: 180px; height: 56px;
}
.cloud::before, .cloud::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 90px; height: 90px; left: 26px; top: -44px; }
.cloud::after { width: 64px; height: 64px; left: 96px; top: -28px; }
.c1 { top: 60px; left: -40px; }
.c2 { top: 150px; right: 6%; transform: scale(0.8); }
.c3 { bottom: 120px; left: 40%; transform: scale(0.6); opacity: 0.7; }

.hero {
  position: relative; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 24px;
}
.hero h1 {
  font-size: clamp(3rem, 7.5vw, 6.2rem); font-weight: 800; letter-spacing: -0.01em;
  color: var(--cloud);
  /* napis wygląda jak dmuchane litery z gry */
  text-shadow: 0 4px 0 var(--ink), 0 10px 0 rgba(51, 36, 79, 0.25);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 34ch; margin-top: 22px; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.promises { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; list-style: none; }
.promises li { background: var(--cloud); padding: 6px 14px 6px 34px; border-radius: 999px; font-weight: 700; position: relative; }
.promises li::before {
  content: ''; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%; background: var(--grass); box-shadow: inset 0 -3px 0 #4f9a3a;
}
.island { width: 100%; filter: drop-shadow(0 30px 30px rgba(51, 36, 79, 0.18)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

.section-lead { text-align: center; max-width: 52ch; margin: 14px auto 0; color: var(--ink-soft); }

/* zwierzaki: można je stuknąć */
.pets { background: #e3f4ff; padding: 56px clamp(16px, 4vw, 48px) 24px; }
.pet-row {
  list-style: none; padding: 0; margin: 36px auto 0; max-width: 1240px;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
}
.pet {
  width: 100%; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; font: inherit;
}
.pet img { width: 100%; max-width: 200px; }
.pet strong { font: 800 1.35rem/1.1 var(--head); margin-top: 4px; }
.pet span { font-size: 0.95rem; color: var(--ink-soft); }
.pet.hop img { animation: hop 0.5s ease; }
@keyframes hop { 40% { transform: translateY(-26px) scale(1.04, 0.96); } 70% { transform: translateY(0) scale(1.05, 0.94); } }

/* dorastanie: prawdziwa kolejność, więc strzałki między etapami */
.grow { background: linear-gradient(#e3f4ff, #f1f9ff); padding: 56px clamp(16px, 4vw, 48px) 120px; }
.stages {
  list-style: none; padding: 0; margin: 36px auto 0; max-width: 1100px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 8px;
}
.stages li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stages li + li::before {
  content: ''; position: absolute; left: -10px; bottom: 74px; width: 18px; height: 18px;
  border-top: 5px solid var(--pink); border-right: 5px solid var(--pink); border-radius: 3px;
  transform: rotate(45deg);
}
.stages img { width: 100%; max-width: 190px; }
.stages strong { font: 800 1.3rem/1.1 var(--head); }
.stages span { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- trawa ---------- */
.grass {
  position: relative; background: var(--meadow);
  padding: 40px clamp(16px, 4vw, 48px) 64px;
}
/* falisty brzeg trawy jak krawędź wyspy */
.grass::before, .soil::before {
  content: ''; position: absolute; left: 0; right: 0; top: -59px; height: 60px;
  background: radial-gradient(42px 34px at 50% 100%, var(--fill) 98%, transparent 100%) 0 0 / 84px 60px repeat-x;
}
.grass::before { --fill: var(--grass); }
.grass { border-top: 18px solid var(--grass); }
.grass h2 { margin-bottom: 24px; }

.feature {
  max-width: 1000px; margin: 48px auto 0;
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 6vw, 72px);
}
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.feature.flip .phone { order: 2; }
.feature p { max-width: 46ch; color: var(--ink-soft); }
.phone {
  margin: 0; border: 10px solid var(--ink); border-radius: 40px; overflow: hidden;
  background: var(--ink); box-shadow: 0 18px 0 rgba(51, 36, 79, 0.12);
  max-width: 300px; justify-self: center;
}
.feature:nth-of-type(odd) .phone { transform: rotate(-2deg); }
.feature:nth-of-type(even) .phone { transform: rotate(2deg); }

.games { max-width: 1000px; margin: 72px auto 0; text-align: center; }
.games ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.games li { background: var(--cloud); border: 3px solid var(--grass); border-radius: 999px; padding: 8px 18px; font-weight: 700; }

/* ---------- ziemia ---------- */
.soil {
  position: relative; background: var(--soil); color: var(--soil-text);
  padding: 40px clamp(16px, 4vw, 48px) 80px;
}
.soil::before { --fill: var(--soil); }
.facts {
  max-width: 1100px; margin: 40px auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px;
}
.facts div { border-left: 6px solid var(--sun); padding-left: 18px; }
.facts dt { font: 800 1.35rem/1.2 var(--head); color: #fff; }
.facts dd { margin: 6px 0 0; }

.faq-title { margin-top: 80px; }
.faq { max-width: 760px; margin: 28px auto 0; }
.faq details { border-bottom: 2px solid rgba(251, 238, 221, 0.25); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font: 700 1.2rem/1.3 var(--body); color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 800 1.8rem/1 var(--head); color: var(--sun);
}
.faq details[open] summary::after { content: '–'; }
.faq p { padding: 0 0 20px; max-width: 60ch; }

.bottom {
  background: var(--soil-deep); color: var(--soil-text); text-align: center;
  padding: 64px 16px 40px; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.bottom img { width: 240px; height: 170px; object-fit: cover; object-position: 50% 88%; margin-bottom: -10px; animation: wobble 3s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wobble { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-7deg); } 86% { transform: rotate(6deg); } 94% { transform: rotate(-3deg); } }
.footer-call { font: 800 clamp(2rem, 5vw, 3rem)/1.1 var(--head); color: #fff; }
.small-print { font-size: 0.9rem; opacity: 0.75; margin-top: 24px; }

/* ---------- telefon i tablet ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .actions, .promises { justify-content: center; }
  .island { max-width: 560px; margin: 0 auto; }
  .pet-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .top { gap: 10px; }
  /* na telefonie menu to przewijany rząd pod logo */
  .top { flex-wrap: wrap; row-gap: 6px; }
  .top nav { order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; padding-bottom: 4px; white-space: nowrap; }
  .top nav { scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
  .lang { margin-left: auto; }
  .top .play.small { padding: 0 14px; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 1.15rem; }
  .brand span { font-size: 1.3rem; }
  /* na telefonie etapy idą z góry na dół */
  .stages { grid-template-columns: 1fr; gap: 18px; max-width: 320px; }
  .stages li { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 16px; text-align: left; }
  .stages img { grid-row: span 2; width: 96px; height: 110px; object-fit: cover; object-position: 50% 80%; }
  .stages strong { align-self: end; }
  .stages span { align-self: start; }
  .stages li + li::before { left: 40px; top: -16px; bottom: auto; transform: rotate(135deg); width: 12px; height: 12px; border-width: 4px; }
  .feature, .feature.flip { grid-template-columns: 1fr; text-align: center; }
  .feature.flip .phone { order: 0; }
  .feature p { margin: 0 auto; }
  .phone { max-width: 240px; }
  .facts { grid-template-columns: 1fr; }
  .play, .ghost { width: 100%; max-width: 360px; }
  .play.small { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .island, .bottom img, .pet.hop img { animation: none; }
}

/* ---------- podstrony ---------- */
.top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.page-sky { background: linear-gradient(var(--sky-top), var(--sky)); padding: 32px clamp(16px, 4vw, 48px) 0; overflow: hidden; }
.page-hero { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: end; gap: 24px; }
.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; color: var(--cloud);
  -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink);
}
.page-hero .lead { margin: 14px 0 36px; max-width: 46ch; }
.page-hero img { width: 220px; margin-bottom: -16px; }
.page-body {
  position: relative; background: var(--meadow); border-top: 18px solid var(--grass);
  padding: 48px clamp(16px, 4vw, 48px) 96px;
}
.page-body > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); text-align: left; margin: 40px 0 12px; }
.prose > h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; color: var(--ink-soft); max-width: 66ch; }
.prose strong { color: var(--ink); }
.steps { padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 10px 0 10px 52px; color: var(--ink-soft); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 8px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 3px 0 var(--sun-deep); color: var(--ink);
  font: 800 1.1rem/36px var(--head); text-align: center;
}
.ticks { padding: 0; margin: 0 0 14px; list-style: none; }
.ticks li { position: relative; padding: 6px 0 6px 30px; color: var(--ink-soft); }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--grass); box-shadow: inset 0 -3px 0 #4f9a3a; }
.split { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: center; margin: 40px auto; }
.split.flip { grid-template-columns: minmax(0, 1fr) 220px; }
.split.flip .phone { order: 2; }
.small-phone { max-width: 220px; border-width: 8px; border-radius: 30px; }
.news { display: grid; gap: 20px; }
.news-item { background: #fff; border-radius: var(--radius); padding: 22px 24px; border: 3px solid #d7efc4; }
.news-item h2 { text-align: left; font-size: 1.5rem; margin: 4px 0 10px; }
.news-item p { color: var(--ink-soft); }
.news-date { font-weight: 600; color: #4f9a3a; font-size: 0.95rem; }
.faq.light details { border-bottom-color: #cfe6bd; }
.faq.light summary { color: var(--ink); }
.faq.light summary::after { color: #4f9a3a; }
.faq.light p { color: var(--ink-soft); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; }
.footer-nav a { color: var(--soil-text); font-weight: 600; text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 640px) {
  .page-hero { grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; }
  .page-hero img { width: 110px; }
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .phone { order: 0; }
  .small-phone { justify-self: center; }
}

/* zapowiedź nowości na stronie głównej, wciąż na trawie */
.news-teaser { background: var(--meadow); padding: 0 clamp(16px, 4vw, 48px) 140px; text-align: center; }
.news-teaser ul { list-style: none; padding: 0; margin: 28px auto; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.news-teaser a:not(.ghost) { display: flex; flex-direction: column; gap: 6px; height: 100%; background: #fff; border: 3px solid #d7efc4; border-radius: var(--radius); padding: 18px 20px; text-decoration: none; }
.news-teaser strong { font: 800 1.2rem/1.2 var(--head); }
.news-teaser span { color: var(--ink-soft); font-size: 0.98rem; }
.news-teaser a:not(.ghost):hover { border-color: var(--grass); }
@media (max-width: 900px) { .news-teaser ul { grid-template-columns: 1fr; } }

/* ---------- konto ---------- */
.login { font-weight: 700; text-decoration: none; padding: 10px 14px; border-radius: 999px; background: var(--cloud); white-space: nowrap; }
.login:hover { text-decoration: underline; }
.account { max-width: 900px; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.account-form { background: #fff; border: 3px solid #d7efc4; border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.account-form h2 { text-align: left; font-size: 1.7rem; }
.account-form p { color: var(--ink-soft); font-size: 0.98rem; }
.account-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.account-form input[type=email], .account-form input[type=password], .account-form input[type=text] {
  font: inherit; padding: 12px 14px; border-radius: 14px; border: 2px solid #c9bfe0; background: #fbfaff; color: var(--ink);
}
.account-form input:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 1px; }
.account-form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 0.95rem; }
.account-form .check input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.account-form .hint { font-size: 0.88rem; margin-top: -6px; }
.account-form button { border: 0; cursor: pointer; }
.account-form button:disabled { opacity: 0.6; }
.form-msg { color: #b3261e; font-weight: 600; min-height: 1.2em; }
.account-hello h2 { text-align: left; }
.account-hello p, .account-note, .account-empty { color: var(--ink-soft); }
.account h3 { font-size: 1.5rem; margin: 28px 0 12px; }
.pet-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pet-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 3px solid #d7efc4; border-radius: var(--radius); padding: 14px 16px; }
.pet-card.main { border-color: var(--sun); }
.pet-card-icon { font-size: 40px; }
.pet-card strong { display: block; font: 800 1.3rem/1.1 var(--head); }
.pet-card span { color: var(--ink-soft); font-size: 0.95rem; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.stat { background: #fff; border-radius: var(--radius); padding: 14px; text-align: center; border: 3px solid #d7efc4; }
.stat strong { display: block; font: 800 1.5rem/1.2 var(--head); }
.stat span { color: var(--ink-soft); font-size: 0.9rem; }
.progress { margin-bottom: 14px; }
.progress-top { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 6px; }
.progress-track { height: 16px; border-radius: 999px; background: #d7efc4; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--grass), #a8e07f); border-radius: 999px; min-width: 6px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.account-note { margin: 14px 0 0; }
.start-card {
  display: flex; align-items: center; gap: 24px; padding: 24px 28px; border-radius: var(--radius-big);
  background: linear-gradient(135deg, #ffe58a, #ffc8de 55%, #bfe6ff); border: 4px solid #fff; box-shadow: 0 6px 0 #e6c45c;
}
.start-card h2 { text-align: left; margin: 0 0 6px; }
.start-card p { margin: 0 0 16px; font-weight: 600; color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 760px) { .start-card { flex-direction: column; text-align: center; } .start-card h2 { text-align: center; } }
.account-actions .ghost { border: 0; cursor: pointer; }
.account-delete { margin-top: 36px; }
.account-delete summary { cursor: pointer; color: var(--ink-soft); font-weight: 600; }
.account-delete .account-form { margin-top: 12px; max-width: 420px; }
.danger { background: #b3261e; color: #fff; border-radius: 999px; min-height: 48px; font: 700 1rem/1 var(--body); }

/* profil gracza: zwierzak, poziom, liczniki i album */
.account { max-width: 1040px; }
.profile {
  display: flex; align-items: center; gap: 24px; padding: 24px 28px;
  border-radius: var(--radius-big); color: var(--ink);
  background: linear-gradient(135deg, #ffe58a, #ffc8de 55%, #bfe6ff);
  border: 4px solid #fff; box-shadow: 0 6px 0 #e6c45c;
}
.profile-avatar {
  flex: none; width: 116px; height: 116px; display: grid; place-items: center;
  font-size: 68px; line-height: 1; border-radius: 50%; background: #fff;
  box-shadow: inset 0 -6px 0 #f3e6ff, 0 4px 0 rgba(51, 36, 79, 0.15);
}
.profile-text { flex: 1; min-width: 0; }
.profile-text h2 { text-align: left; margin: 0; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.profile-pet { margin: 2px 0 12px; font-weight: 600; color: var(--ink-soft); }
.profile-level { display: flex; align-items: center; gap: 14px; }
.level-badge {
  flex: none; width: 58px; height: 58px; display: grid; place-items: center;
  font: 800 1.6rem/1 var(--head); color: #fff; background: #7a4fd6;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.level-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.level-label { font-weight: 700; font-size: 0.95rem; }
.progress-track.gold { background: rgba(255, 255, 255, 0.7); height: 18px; }
.progress-track.gold .progress-fill { background: linear-gradient(90deg, #7a4fd6, #b48bff); }
.progress-track.big { height: 22px; }
.stat-row.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.code-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px;
  padding: 16px 20px; border-radius: var(--radius); background: #fff; border: 3px dashed #c9bfe0;
}
.code-card strong { display: block; font: 800 1.2rem/1.2 var(--head); }
.code-card span { color: var(--ink-soft); font-size: 0.95rem; }
.code-value { font: 800 1.8rem/1 var(--head); letter-spacing: 0.08em; padding: 10px 16px; border-radius: 14px; background: #f3e6ff; color: #5a2fb8; white-space: nowrap; }

.tabs { margin-top: 28px; }
.tab-bar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.tab-bar::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 1rem/1 var(--body); color: var(--ink); background: #fff; box-shadow: 0 3px 0 #d7efc4;
}
.tab[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 3px 0 #1d1430; }
.tab:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; }
.tab-body { margin-top: 18px; }
.tab-body h3 { margin: 22px 0 10px; }
.album-head { display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: var(--radius); padding: 16px 20px; border: 3px solid #d7efc4; }
.album-head strong { font: 800 1.4rem/1.2 var(--head); }
.album-head span, .album-head-line { color: var(--ink-soft); font-weight: 600; }
.sets { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.set { background: #fff; border-radius: var(--radius); padding: 14px 16px 12px; border: 3px solid #d7efc4; display: flex; flex-direction: column; gap: 10px; }
.set.done { border-color: var(--sun); background: #fffbe8; }
.set.locked { opacity: 0.6; }
.set-top { display: flex; align-items: center; gap: 10px; }
.set-icon { font-size: 30px; line-height: 1; }
.set-top h3 { margin: 0; flex: 1; font-size: 1.2rem; text-align: left; }
.set-count { font-weight: 700; color: var(--ink-soft); }
.set-prize { margin: 0; font-size: 0.92rem; color: var(--ink-soft); font-weight: 600; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  aspect-ratio: 1; padding: 4px; border-radius: 14px; background: #f4fbee; border: 2px solid #d7efc4; text-align: center;
}
.tile.r2 { background: #eef6ff; border-color: #8cc4f5; }
.tile.r3 { background: #fff6d6; border-color: var(--sun-deep); }
.tile.missing { background: #f2f0f6; border: 2px dashed #cfc8dc; }
.tile-icon { font-size: 30px; line-height: 1; }
.tile.missing .tile-icon { font: 800 1.4rem/1 var(--head); color: #b1a8c2; }
.tile-name { font-size: 0.7rem; line-height: 1.15; color: var(--ink-soft); overflow-wrap: anywhere; }
.tile.missing .tile-name { color: #b1a8c2; }
.tile-count { position: absolute; top: -6px; right: -6px; min-width: 26px; padding: 2px 6px; border-radius: 999px; background: var(--pink); color: #fff; font: 700 0.75rem/1.3 var(--body); }
.medals { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.medal { background: #fff; border-radius: var(--radius); padding: 14px; border: 3px solid var(--sun); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.medal.missing { border: 3px dashed #cfc8dc; opacity: 0.75; }
.medal-icon { font-size: 38px; line-height: 1.1; }
.medal strong { font: 800 1.05rem/1.2 var(--head); }
.medal span { font-size: 0.88rem; color: var(--ink-soft); }
.word-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 12px; }
.word-group { background: #fff; border-radius: var(--radius); padding: 14px 16px; border: 3px solid #d7efc4; }
.word-list { margin: 8px 0 0; font-size: 0.88rem; color: var(--ink-soft); word-spacing: 0.15em; }
.friend-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.friend-list li { background: #fff; border-radius: 999px; padding: 8px 14px; border: 3px solid #d7efc4; font-weight: 600; }

@media (max-width: 760px) {
  .account-grid { grid-template-columns: 1fr; }
  .stat-row, .stat-row.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile { flex-direction: column; text-align: center; padding: 20px 16px; }
  .profile-text h2 { text-align: center; }
  .profile-avatar { width: 96px; height: 96px; font-size: 56px; }
  .code-card { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .tab { transition: none; } }
@media (max-width: 640px) {
  .login { padding: 8px 10px; font-size: 0.9rem; }
  .top .lang { margin-left: 0; }
  .top .login { margin-left: auto; }
}

/* ---------- panel admina ---------- */
.admin-form { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.admin-form h2 { text-align: left; font-size: 1.7rem; margin-top: 12px; }
.toggles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.toggle { display: flex; align-items: center; gap: 14px; background: #fff; border: 3px solid #d7efc4; border-radius: var(--radius); padding: 14px 16px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-switch { flex: none; width: 52px; height: 30px; border-radius: 999px; background: #cfc8de; position: relative; transition: background 0.15s ease; }
.toggle-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(51, 36, 79, 0.3); transition: transform 0.15s ease; }
.toggle input:checked + .toggle-switch { background: var(--grass); }
.toggle input:checked + .toggle-switch::after { transform: translateX(22px); }
.toggle input:focus-visible + .toggle-switch { outline: 3px solid var(--ink); outline-offset: 2px; }
.toggle-text strong { display: block; font-weight: 700; }
.toggle-text small { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.35; display: block; }
.notice-label { display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); }
.notice-label textarea { font: inherit; padding: 12px 14px; border-radius: 14px; border: 2px solid #c9bfe0; background: #fff; color: var(--ink); resize: vertical; }
.admin-form > .play { align-self: flex-start; border: 0; cursor: pointer; }
.form-ok { color: #2e7d32; font-weight: 700; }
@media (max-width: 760px) { .toggles { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .toggle-switch, .toggle-switch::after { transition: none; } }

/* ---------- Klub Przytulaczków (konto po zalogowaniu): menu z boku, działy obok ---------- */
.club {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 70vh;
  width: 100%; background: var(--meadow); border-top: 18px solid var(--grass);
}
.club-side { background: #fff7e6; border-right: 3px solid #f1e2bf; display: flex; flex-direction: column; padding: 24px 0 20px; }
.club-me { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 16px 20px; border-bottom: 2px solid #f1e2bf; }
.club-avatar { width: 84px; height: 84px; display: grid; place-items: center; font-size: 50px; border-radius: 50%; background: #fff; box-shadow: 0 4px 0 #f1e2bf; }
.club-me strong { font: 800 1.3rem/1.1 var(--head); }
.club-stars { font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #fff0b3; }
.club-nav { display: flex; flex-direction: column; }
.club-nav a { display: flex; gap: 10px; align-items: center; padding: 13px 22px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid #f1e2bf; }
.club-nav a:hover { background: #fff0cc; }
.club-nav a[aria-current="page"] { background: #fff; box-shadow: inset 5px 0 0 var(--sun-deep); font-weight: 700; }
.club-nav a span { font-size: 1.25rem; width: 1.6em; text-align: center; }
.club-out { margin: auto 22px 0; min-height: 44px; border: 0; border-radius: 999px; background: #fff; color: var(--ink-soft); font: 700 0.95rem/1 var(--body); cursor: pointer; box-shadow: 0 3px 0 #f1e2bf; }
.club-main { padding: 28px clamp(16px, 3vw, 48px) 56px; min-width: 0; }
.club-main > .account > :first-child, .club-main > .news > :first-child { margin-top: 0; }
.club-title { font: 800 clamp(1.8rem, 3.5vw, 2.4rem)/1.1 var(--head); margin: 0 0 20px; color: var(--ink); text-align: left; }
.club-main .account { max-width: none; }
.club-head { margin: 30px 0 14px; display: flex; flex-direction: column; gap: 4px; }
.club-head h2 { margin: 0; text-align: left; font-size: 1.5rem; }
.club-head p { margin: 0; color: var(--ink-soft); }
.club-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.club-card { background: #fff; border-radius: var(--radius); border: 3px solid #d7efc4; padding: 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.club-card h3 { margin: 0; font-size: 1.3rem; }
.club-card p { margin: 0; color: var(--ink-soft); }
.club-card-icon { font-size: 40px; line-height: 1; }
.club-card .play, .reward-buy, .path-claim { border: 0; cursor: pointer; }
.club-card .play:disabled, .reward-buy:disabled { opacity: 0.5; cursor: default; }
.club-card.wheel-card { align-items: center; text-align: center; }
.wheel-wrap { position: relative; width: 220px; height: 220px; margin: 6px 0; }
.wheel { position: absolute; inset: 0; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 4px var(--ink), 0 6px 0 4px #1d1430; overflow: hidden; }
.wheel-label { position: absolute; left: 50%; top: 50%; width: 60px; margin: -12px 0 0 -30px; height: 24px; text-align: center; font: 800 0.95rem/24px var(--head); transform-origin: 50% 50%; }
.wheel-pin { position: absolute; left: 50%; top: -14px; transform: translateX(-50%); z-index: 2; font-size: 28px; color: var(--pink); text-shadow: 0 2px 0 #fff; }
.club-path { background: #fff; border-radius: var(--radius); border: 3px solid #e3d4ff; padding: 4px 20px 18px; margin-top: 20px; position: relative; }
.club-path .club-head { margin-top: 14px; }
.path-line { height: 12px; border-radius: 999px; background: #efe7ff; overflow: hidden; margin: 8px 0 -6px; }
.path-fill { height: 100%; background: linear-gradient(90deg, #7a4fd6, #b48bff); border-radius: 999px; }
.path-track { list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.path-step { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; background: #f7f3ff; text-align: center; }
.path-step.ready { background: #fff0b3; box-shadow: 0 0 0 3px var(--sun-deep); }
.path-step.claimed { opacity: 0.55; }
.path-prize { font-size: 28px; }
.path-what { font-size: 0.8rem; font-weight: 700; }
.path-need { font-size: 0.8rem; color: var(--ink-soft); }
.path-claim { margin-top: 4px; padding: 6px 10px; border-radius: 999px; background: var(--grass); color: #fff; font: 700 0.8rem/1 var(--body); }
.path-done { color: var(--grass); font-weight: 800; }
.stars-banner { display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: var(--radius-big); background: linear-gradient(135deg, #fff0b3, #ffe0ef); border: 4px solid #fff; box-shadow: 0 5px 0 #e6c45c; }
.stars-banner strong { font: 800 2.6rem/1 var(--head); white-space: nowrap; }
.stars-banner span { color: var(--ink-soft); font-weight: 600; }
.reward-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.reward { background: linear-gradient(#e3f4ff, #fff 60%); border-radius: var(--radius); border: 3px solid #bfe6ff; padding: 16px 12px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.reward.empty { opacity: 0.6; }
.reward-icon { font-size: 52px; line-height: 1.1; }
.reward strong { font: 800 1.05rem/1.2 var(--head); }
.reward-left { font-size: 0.82rem; color: var(--ink-soft); }
.reward-buy { margin-top: 6px; width: 100%; min-height: 44px; border-radius: 999px; background: var(--grass); color: #fff; font: 800 1.05rem/1 var(--head); box-shadow: 0 3px 0 #4f9a33; }
.club-waiting { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: #fff; border: 3px dashed var(--pink); font-weight: 600; }
.club-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; margin: 0; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); max-width: calc(100% - 32px); text-align: center; }
.club-toast.bad { background: #b3261e; }
.trade-view { display: flex; align-items: flex-start; gap: 24px; margin-top: 14px; flex-wrap: wrap; }
.trade-canvas, .player-canvas { width: min(360px, 100%); height: auto; border-radius: 24px; box-shadow: 0 6px 0 rgba(51, 36, 79, 0.15); }
.trade-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; font-weight: 700; }
.stat-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.code-form { max-width: 420px; }
.code-form input { text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 860px) {
  .club { grid-template-columns: minmax(0, 1fr); }
  .club-side { min-width: 0; }
  .club-side { border-right: 0; border-bottom: 3px solid #f1e2bf; padding: 16px 0 0; }
  .club-me { flex-direction: row; justify-content: center; padding-bottom: 12px; }
  .club-avatar { width: 52px; height: 52px; font-size: 30px; }
  .club-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .club-nav::-webkit-scrollbar { display: none; }
  .club-nav a { flex: none; border-bottom: 0; padding: 12px 14px; white-space: nowrap; }
  .club-nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--sun-deep); }
  .club-out { margin: 10px auto 12px; padding: 0 20px; }
  .club-row { grid-template-columns: 1fr; }
  .path-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-row.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stars-banner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .wheel { transition: none !important; } }
.code-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.code-fields label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.code-fields label.wide { grid-column: 1 / -1; }
.code-fields input { font: inherit; padding: 10px 12px; border-radius: 12px; border: 2px solid #c9bfe0; background: #fff; }
.code-table { width: 100%; margin-top: 18px; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.code-table th, .code-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eee6f7; }
.code-table tr.expired { opacity: 0.5; }
.small-btn { min-height: 36px; padding: 0 14px; border: 0; cursor: pointer; }
@media (max-width: 640px) { .code-fields { grid-template-columns: 1fr 1fr; } .code-table { font-size: 0.85rem; } }

/* ---------- Klub: weselsza oprawa (kolorowe kafelki, promienie, droga nagród) ---------- */
.club-main {
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 255, 255, 0.75) 2.5px, transparent 3.5px) 0 0 / 36px 36px,
    linear-gradient(180deg, #d8efff 0%, #eef8ff 30%, #f3fbe8 100%);
}
.club-main > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.club-side { background: linear-gradient(180deg, #fff3d6, #ffe9f2); border-right: 0; box-shadow: 4px 0 0 #f6d98c; }
.club-avatar { background: #fff; box-shadow: 0 0 0 5px #ffd84d, 0 0 0 9px #ff9fc4, 0 6px 0 9px rgba(51, 36, 79, 0.12); }
.club-nav { padding: 12px 12px 0; gap: 6px; }
.club-nav a { border: 0; border-radius: 16px; padding: 12px 14px; }
.club-nav a:hover { background: rgba(255, 255, 255, 0.7); }
.club-nav a[aria-current="page"] { background: #fff; box-shadow: 0 4px 0 #f2b705; }
.club-stars { background: #fff; box-shadow: 0 3px 0 #f2b705; }

/* nagłówek działu: tytuł na środku z liniami po bokach */
.club-head { align-items: center; text-align: center; margin: 40px auto 18px; }
.club-head h2 { display: flex; align-items: center; gap: 16px; width: 100%; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.club-head h2::before, .club-head h2::after { content: ''; flex: 1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, #c9b3ff); }
.club-head h2::after { background: linear-gradient(90deg, #c9b3ff, transparent); }
.club-head p { max-width: 60ch; font-weight: 600; }

.club-card { border: 0; border-radius: 28px; padding: 22px; box-shadow: 0 8px 0 rgba(122, 79, 214, 0.18), 0 18px 34px rgba(51, 36, 79, 0.08); }
.club-card h3 { font-size: 1.45rem; }
.club-card p { font-weight: 600; }
.big-btn { min-height: 54px; font-size: 1.1rem; padding: 0 28px; }

/* gwiazdki dnia: tydzień */
.club-card.daily { background: linear-gradient(160deg, #fff4c2, #ffe0ee); }
.week { list-style: none; margin: 10px 0 6px; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 2px; border-radius: 18px; background: rgba(255, 255, 255, 0.8); box-shadow: 0 4px 0 rgba(242, 183, 5, 0.35); }
.day-n { font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); }
.day-icon { font-size: 1.7rem; line-height: 1.2; }
.day-stars { font: 800 0.95rem/1 var(--head); }
.day.got { background: #d8f5c6; box-shadow: 0 4px 0 #7cc55a; }
.day.today { background: #fff; box-shadow: 0 0 0 3px var(--sun-deep), 0 4px 0 3px #c99700; animation: day-glow 1.6s ease-in-out infinite; }
.day.big { background: linear-gradient(160deg, #ffe58a, #ffc8de); }
@keyframes day-glow { 50% { transform: translateY(-3px); } }

/* koło */
.club-card.wheel-card { background: linear-gradient(160deg, #d6efff, #ece2ff); }
.wheel-wrap { width: 250px; height: 250px; }
.wheel-label { font-size: 1rem; }

/* ścieżka gwiazdek: droga z prezentami */
.club-path { border: 0; border-radius: 28px; padding: 22px 24px 26px; background: linear-gradient(135deg, #ffb3d1, #ffd9ea 45%, #d4c4ff); box-shadow: 0 8px 0 #e48ab0, 0 18px 34px rgba(51, 36, 79, 0.1); }
.path-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.path-top h3 { margin: 0; font-size: 1.45rem; }
.path-badge { padding: 8px 16px; border-radius: 999px; background: #fff; font-weight: 700; box-shadow: 0 4px 0 #e48ab0; }
.path-road { position: relative; margin-top: 22px; padding: 0 4px; }
.path-road::before { content: ''; position: absolute; left: 4%; right: 4%; top: 38px; height: 16px; border-radius: 999px; background: #7d5aa8; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2); }
.path-road .path-fill { position: absolute; left: 4%; top: 38px; height: 16px; max-width: 92%; border-radius: 999px; background: linear-gradient(90deg, #ffd84d, #ffb703); z-index: 1; }
.path-track { position: relative; z-index: 2; padding: 0; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.path-step { background: none; padding: 0; gap: 4px; }
.path-prize { width: 92px; max-width: 100%; aspect-ratio: 1; display: grid; place-items: center; font-size: 40px; border-radius: 50%; background: #fff; box-shadow: 0 6px 0 rgba(125, 90, 168, 0.45); }
.path-step.ready .path-prize { background: repeating-conic-gradient(#ffd84d 0 15deg, #ffe99a 15deg 30deg); box-shadow: 0 0 0 5px #fff, 0 8px 0 5px #c99700; animation: day-glow 1.4s ease-in-out infinite; }
.path-step.ready { box-shadow: none; }
.path-step.claimed { opacity: 1; }
.path-step.claimed .path-prize { background: #d8f5c6; }
.path-what { font: 800 0.95rem/1.1 var(--head); }
.path-need { font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, 0.75); border-radius: 999px; padding: 2px 10px; }
.path-claim { box-shadow: 0 3px 0 #4f9a33; font-size: 0.9rem; padding: 8px 14px; }

/* nagrody za gwiazdki: kafelki z promieniami */
.stars-banner { border: 0; background: radial-gradient(circle at 60px 50%, #fff7c2 0 40px, transparent 41px), linear-gradient(135deg, #ffe066, #ffb3d1); box-shadow: 0 8px 0 #e0a800, 0 18px 34px rgba(51, 36, 79, 0.1); padding: 22px 28px; }
.stars-banner strong { font-size: 3rem; text-shadow: 0 3px 0 #fff; }
.stars-banner span { color: var(--ink); }
.reward-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.reward { padding: 0 0 14px; border: 0; border-radius: 24px; background: #fff; overflow: hidden; gap: 8px; box-shadow: 0 7px 0 #8fc9ef, 0 16px 30px rgba(51, 36, 79, 0.08); }
.reward-top { position: relative; width: 100%; height: 140px; display: grid; place-items: center; background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 26%, transparent 60%), repeating-conic-gradient(from 0deg at 50% 50%, #5fc0ff 0 10deg, #8fd6ff 10deg 20deg); }
.reward-icon { font-size: 66px; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.15)); }
.reward-left { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px; background: rgba(255, 255, 255, 0.85); font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.reward strong { padding: 0 10px; font-size: 1.1rem; }
.reward-buy { width: calc(100% - 24px); margin: auto 12px 0; min-height: 48px; font-size: 1.2rem; background: linear-gradient(#5fd34a, #3eaa2c); box-shadow: 0 5px 0 #2c7d1e; }
.reward-buy:disabled { background: #cfe9c3; box-shadow: 0 5px 0 #a9cf98; color: #5b7a52; opacity: 1; }
.reward.empty .reward-top { filter: grayscale(0.7); }
.club-waiting { background: linear-gradient(90deg, #fff, #ffe9f2); border: 0; box-shadow: 0 5px 0 #ff9fc4; }

/* liczniki w kolorach */
.stat { border: 0; box-shadow: 0 6px 0 rgba(51, 36, 79, 0.1); }
.stat-row > .stat:nth-child(5n+1) { background: #fff3c4; }
.stat-row > .stat:nth-child(5n+2) { background: #ffe1ee; }
.stat-row > .stat:nth-child(5n+3) { background: #dcf1ff; }
.stat-row > .stat:nth-child(5n+4) { background: #e2f6d4; }
.stat-row > .stat:nth-child(5n+5) { background: #ece2ff; }
.set, .medal, .word-group, .album-head, .code-card, .pet-card { box-shadow: 0 6px 0 rgba(51, 36, 79, 0.08); }

/* karta gracza */
.card-stage { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 36px; align-items: start; }
.card-left { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px; border-radius: 32px; background: repeating-conic-gradient(from 0deg at 50% 40%, #ffe8a3 0 10deg, #fff3c9 10deg 20deg); box-shadow: 0 8px 0 #f2b705; }
.player-canvas { width: 100%; max-width: 360px; transform: rotate(-2deg); box-shadow: 0 10px 0 rgba(51, 36, 79, 0.18), 0 22px 40px rgba(51, 36, 79, 0.2); }
.card-right .tab-body { margin-top: 0; }
.card-right h3:first-child { margin-top: 0; }

/* kody: bilet */
.ticket { display: grid; grid-template-columns: 200px minmax(0, 1fr); max-width: 820px; margin: 10px auto 0; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 8px 0 #f08a3c, 0 20px 36px rgba(51, 36, 79, 0.12); }
.ticket-art { display: grid; place-items: center; font-size: 96px; background: repeating-conic-gradient(from 0deg at 50% 50%, #ffb347 0 12deg, #ffcd7a 12deg 24deg); border-right: 6px dashed #fff; }
.ticket-art span { filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.15)); transform: rotate(-12deg); }
.ticket-body { padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.ticket-body h3 { margin: 0; font-size: 1.7rem; }
.ticket-body p { margin: 0; color: var(--ink-soft); font-weight: 600; }
.code-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: none; }
.code-form input { flex: 1; min-width: 180px; min-height: 54px; padding: 0 18px; border-radius: 16px; border: 3px solid #ffcd7a; font: 800 1.3rem/1 var(--head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.code-form input:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; }
.code-form .play { border: 0; cursor: pointer; min-height: 54px; }
.how-steps { list-style: none; padding: 0; margin: 28px auto 0; max-width: 820px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: how; }
.how-steps li { counter-increment: how; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 18px 12px; border-radius: 22px; background: #fff; font-weight: 700; box-shadow: 0 6px 0 rgba(51, 36, 79, 0.08); }
.how-icon { font-size: 40px; }
.how-steps li::before { content: counter(how); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font: 800 0.95rem/1 var(--head); }

@media (max-width: 860px) {
  .card-stage, .ticket { grid-template-columns: 1fr; }
  .ticket-art { border-right: 0; border-bottom: 6px dashed #fff; height: 140px; font-size: 72px; }
  .how-steps { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .path-road::before, .path-road .path-fill { display: none; }
  .path-track { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
  .path-prize { width: 64px; font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .day.today, .path-step.ready .path-prize { animation: none; } }
.path-step.ready { background: none; }
.club-card.daily { justify-content: space-between; }
.club-card.daily .week { margin: auto 0; }
.club-card.daily .big-btn { align-self: center; margin-top: 12px; }
.pet-card-icon { font-size: 44px; }

/* dziewięć zwierzaków: rzędy wyśrodkowane, na telefonie 3×3 */
.pet-row { display: flex; flex-wrap: wrap; justify-content: center; }
.pet-row > li { flex: 0 0 calc((100% - 48px) / 5); }
@media (max-width: 900px) { .pet-row > li { flex-basis: calc((100% - 24px) / 3); } }

/* pytanie o statystyki: dwa równorzędne przyciski, nie zasłania strony */
.consent {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 20px;
  background: var(--cloud); color: var(--ink); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(51, 36, 79, 0.28);
}
.consent p { margin: 0; flex: 1 1 320px; font-size: 0.95rem; line-height: 1.5; }
.consent div { display: flex; gap: 10px; flex: 1 0 auto; justify-content: flex-end; }
.consent button { min-height: 44px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: 700 0.95rem/1 var(--body); cursor: pointer; }
.consent button:hover, .consent button:focus-visible { background: var(--sun); }
