/* home.css — spokojny dom „Dziś” */
.home-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 50% 20%, rgba(70, 45, 30, 0.45), transparent 55%),
    radial-gradient(ellipse at 50% 100%, #140f0c, #0a0806 70%);
  color: #f2ebe0;
  overflow: auto;
}
.home-screen[hidden] { display: none !important; }

.home-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: #e8cc96;
  margin: 0 0 8px;
  text-align: center;
}
.home-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.85rem;
  margin: 0 0 6px;
  text-align: center;
}
.home-sub {
  margin: 0 0 22px;
  text-align: center;
  color: rgba(242, 235, 224, 0.58);
  font-size: 0.92rem;
}

.home-card {
  width: min(400px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(232, 204, 150, 0.22);
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(0,0,0,0.2));
  padding: 16px 16px 14px;
  margin: 0 0 12px;
}
.home-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  margin: 0 0 10px;
  font-weight: 600;
}
.home-card ul {
  margin: 0;
  padding: 0 0 0 1.1em;
  color: rgba(242, 235, 224, 0.82);
  font-size: 0.88rem;
  line-height: 1.45;
}
.home-card li { margin: 0 0 6px; }

.home-main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(400px, 100%);
  padding: 16px 18px;
  margin: 0 0 10px;
  border: none;
  border-radius: 16px;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: #1a1410;
  background: linear-gradient(135deg, #f0d78a, #e8c070 45%, #d4a040);
  box-shadow: 0 10px 24px rgba(232, 204, 150, 0.22);
}
.home-main-btn.secondary {
  color: #f2ebe0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(232, 204, 150, 0.28);
  box-shadow: none;
  font-weight: 500;
}

.home-more {
  width: min(400px, 100%);
  margin-top: 6px;
}
.home-more summary {
  list-style: none;
  text-align: center;
  cursor: pointer;
  color: rgba(232, 204, 150, 0.85);
  font-size: 0.88rem;
  padding: 10px;
}
.home-more summary::-webkit-details-marker { display: none; }
.home-more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.home-more-grid a {
  text-align: center;
  text-decoration: none;
  color: #f2ebe0;
  font-size: 0.82rem;
  padding: 12px 8px;
  border-radius: 14px;
  border: 1px solid rgba(232, 204, 150, 0.2);
  background: rgba(0,0,0,0.25);
}
.home-more-grid a span { display: block; font-size: 1.15rem; margin-bottom: 4px; }

.home-footer {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(400px, 100%);
}
.home-footer button {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(242, 235, 224, 0.45);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 6px;
}

body.home-open { overflow: hidden; }
body.home-open #content { visibility: hidden; }



.home-reopen {
  position: fixed;
  left: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
  border: 1px solid rgba(232, 204, 150, 0.35);
  background: rgba(20, 16, 12, 0.88);
  color: rgba(245, 230, 192, 0.95);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
body.home-open .home-reopen { display: none; }
@media (max-width: 700px) {
  .home-reopen {
    left: 10px;
    bottom: max(168px, calc(env(safe-area-inset-bottom) + 156px));
  }
}

.home-more.is-open { margin-top: 8px; }
.home-more-label {
  text-align: center;
  color: rgba(232, 204, 150, 0.85);
  font-size: 0.88rem;
  margin: 0 0 8px;
}
.home-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  color: #1a1410;
  background: #e8a0b8;
}
.home-main-btn .home-badge { position: relative; top: -1px; }
