/* ===== PIŁKARSKI KALAMBURY ===== */
#page-kalambury { overflow-x: clip; }
#page-kalambury .container { max-width: 680px; }

.kb-emoji-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 20px 10px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  min-height: 90px;
  width: 100%;
}
.kb-emoji {
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  transition: transform 0.2s;
}
.kb-emoji:hover { transform: scale(1.1); }
.kb-plus {
  font-size: 20px;
  color: rgba(240,244,239,0.3);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.kb-input-wrap {
  width: 100%;
  position: relative;
  display: flex;
  gap: 8px;
}
.kb-input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 8px 16px;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.kb-input:focus { border-color: var(--gold); }
.kb-input::placeholder { color: rgba(240,244,239,0.3); font-size: 15px; font-weight: 400; }
.kb-input.kb-correct { color: #2ecc71; border-color: rgba(46,204,113,0.3); }
.kt-input-row .kb-input { flex: 1; width: auto; }
.kb-input.kb-wrong   { color: #e74c3c; border-color: rgba(231,76,60,0.3); }
@keyframes kbShake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  75% { transform: translateX(7px); }
}

.kb-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #0f2a18;
  border: 1.5px solid rgba(245,200,66,0.4);
  border-radius: 10px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.kb-drop-item:last-child { border-bottom: none; }
.kb-drop-item:hover, .kb-drop-item.kb-active {
  background: rgba(245,200,66,0.12);
  color: var(--gold);
}

/* Podpowiedzi */
.kb-hints {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kb-hint-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(240,244,239,0.5);
  transition: all 0.18s;
  width: 100%;
  text-align: left;
  letter-spacing: 0.5px;
}
.kb-hint-btn:hover:not(.kb-hint-used):not(.kb-hint-locked) {
  border-color: rgba(245,200,66,0.4);
  color: var(--gold);
  background: rgba(245,200,66,0.05);
}
.kb-hint-btn.kb-hint-used {
  border-color: rgba(245,200,66,0.25);
  background: rgba(245,200,66,0.06);
  cursor: default;
}
.kb-hint-btn.kb-hint-locked {
  opacity: 0.3;
  cursor: not-allowed;
}
.kb-hint-label {
  flex: 1;
}
.kb-hint-value {
  font-weight: 700;
  color: var(--gold);
  font-size: 15px;
}
.kb-hint-cost {
  font-size: 11px;
  color: rgba(231,76,60,0.7);
  letter-spacing: 1px;
}

/* Punkty za pytanie */
.kb-pts-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--gold);
  transition: color 0.3s;
}
.kb-pts-display.reduced { color: #e67e22; }
.kb-pts-display.min { color: #e74c3c; }
.kb-pts-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(240,244,239,0.35);
  text-transform: uppercase;
  text-align: center;
}

.kb-feedback {
  min-height: 20px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}
.kb-feedback.correct { color: #2ecc71; }
.kb-feedback.wrong   { color: #e74c3c; }

.kb-progress-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
}
.kb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.3s;
}
.kb-dot.done { background: #2ecc71; }
.kb-dot.current { background: var(--gold); transform: scale(1.3); }
.kb-dot.wrong-dot { background: #e74c3c; }
