/* ═══════════════════════════════════════════════════════════════════════════
   PACK 5 — Language switcher + review photos
   Uses existing theme tokens from app.css (:root)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Language switch (RU / MD pill group) ───────────────────────────────── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(18, 18, 31, .7);
  backdrop-filter: blur(4px);
}

.lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 5px 10px;
  font-family: var(--fd);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted);
  border-radius: 18px;
  line-height: 1;
  transition: color .2s, background .2s, box-shadow .2s;
  white-space: nowrap;
}

.lang-opt:hover {
  color: var(--text);
  background: rgba(132, 204, 22, .10);
}

.lang-opt--active {
  color: #07120a;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  box-shadow: 0 0 14px rgba(132, 204, 22, .45);
}
.lang-opt--active:hover {
  color: #07120a;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
}

/* Mobile variant — full-width row at the top of the slide-down menu */
.lang-switch--mobile {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px;
  border-radius: 26px;
}
.lang-switch--mobile .lang-opt {
  flex: 1;
  padding: 10px 0;
  font-size: .8rem;
}

/* On phones the desktop plate is hidden — the menu plate is used instead,
   keeping the header row from overflowing. */
@media (max-width: 768px) {
  .header-right > .lang-switch { display: none; }
}

/* ── Review photos (entry detail comments) ──────────────────────────────── */
.comment-photo-link {
  display: inline-block;
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--deep);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  max-width: 240px;
}
.comment-photo-link:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(132, 204, 22, .22);
}
.comment-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .comment-photo-link { max-width: 100%; }
  .comment-photo { max-height: 320px; }
}
