/* Photo Hunt — game-specific styles (shared multiplayer UI in ../mp.css) */

.hunt-area {
  display: flex;
  gap: 16px;
  align-items: stretch;
  position: relative;
  min-height: 0;
}

.hunt-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding-bottom: 8px;
}

.turn-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 26px;
  text-align: center;
  flex-shrink: 0;
}

.turn-label {
  color: var(--ink-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.item-name {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 8px 0 4px;
  color: var(--accent);
}

.attempts {
  color: var(--ink-soft);
  font-weight: 600;
  min-height: 1.3em;
}

.my-turn-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.camera-btn {
  cursor: pointer;
}

.photo-preview {
  max-width: min(100%, 340px);
  max-height: 34vh;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.submit-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.judging {
  font-weight: 700;
  color: var(--accent);
  animation: pulse-fade 1.2s ease infinite;
}

@keyframes pulse-fade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

#hostSkipRow {
  margin-top: 12px;
}

/* ---------- Feed ---------- */
.feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-entry {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}

.feed-entry .verdict-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feed-entry .feed-text {
  flex: 1;
  min-width: 0;
}

.feed-entry .feed-head {
  font-weight: 700;
}

.feed-entry .feed-seen {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9rem;
  font-style: italic;
}

.feed-entry img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

/* ---------- Score panel ---------- */
.hunt-panel {
  flex: 0 0 250px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  align-self: flex-start;
  max-height: 100%;
  overflow-y: auto;
}

.hunt-panel h2 {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.round-chip {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}

.score-row.current-turn .score-name::after {
  content: " 📸";
}

/* ---------- Narrow screens ---------- */
@media (max-width: 760px) {
  .hunt-area {
    flex-direction: column;
  }

  .hunt-panel {
    flex: 1 1 auto;
    width: 100%;
    max-height: none;
  }
}
