/* ============================================================
   site.css — Better Bulgaria shared stylesheet
   All pages link this; page-specific rules go inline.
   ============================================================ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy:   #0B1B2B;
  --navy-2: #0f2439;
  --gold:   #D4AF37;
  --gold-2: #e7c75f;
  --text:   #E6EDF3;
  --muted:  #8BA3B8;
  --card:   #13283f;
  --border: rgba(212,175,55,.25);
  --danger: #f87171;
  --ok:     #4ade80;
  --warn:   #fbbf24;
}

/* ── Reset / Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── Header ────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  background: #0b1b2bd9;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  z-index: 2000;
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Logo */
.logo {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.logo span { color: var(--gold); }
.logo img  { border-radius: 6px; }

/* Language switcher */
.langs { display: flex; gap: 5px; }
.langs button {
  border: 1px solid var(--border);
  background: 0;
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  transition: .15s;
}
.langs button.active,
.langs button:hover { background: var(--gold); color: #0b1b2b; border-color: var(--gold); }

/* Lang + auth stacked group */
.nav-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

/* Auth nav */
.auth-nav { display: flex; align-items: center; gap: 7px; }
.auth-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: .15s;
  white-space: nowrap;
}
.auth-link:hover { color: var(--text); border-color: var(--gold); text-decoration: none; }
.auth-link-gold {
  background: var(--gold);
  color: #0b1b2b !important;
  border-color: var(--gold) !important;
  font-weight: 700;
}
.auth-link-gold:hover { background: var(--gold-2); }
.auth-btn-logout {
  font-size: 12px;
  color: var(--muted);
  background: 0;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: .15s;
}
.auth-btn-logout:hover { color: var(--danger); border-color: #f8717144; }

/* ── Music Player ──────────────────────────────────────── */
.player {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--navy-2);
}
.player-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  flex-wrap: nowrap;
}
.player-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding-top: 4px;
  border-top: 1px solid #1e364f;
  flex-wrap: nowrap;
}
.player button {
  background: 0;
  border: 0;
  color: var(--text);
  width: 24px;
  height: 24px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1;
}
.player button:hover { background: #ffffff14; }

/* Range inputs */
.player input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  background: transparent;
  cursor: pointer;
}
.player input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  background: #1e364f;
  border-radius: 2px;
  margin-top: 6px;
}
.player input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: -3.5px;
  border: 2px solid #0b1b2b;
}
.player input[type=range]::-moz-range-track {
  height: 4px;
  background: #1e364f;
  border-radius: 2px;
}
.player input[type=range]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #0b1b2b;
}
#progress { flex: 1; min-width: 60px; }
#volume   { width: 60px; }
.track-info {
  font-size: 10px;
  color: var(--muted);
  display: block;
  width: 130px;
  flex-shrink: 0;
  overflow: hidden;
  white-space: nowrap;
}
#lyrics-ticker {
  flex: 1;
  font-size: 13px;
  color: var(--gold);
  display: block;
  overflow: hidden;
  white-space: normal;
  word-break: break-word;
  opacity: 0;
  transition: opacity .4s;
  line-height: 1.4;
  font-style: italic;
  text-align: center;
  min-height: 1.4em;
}

/* Marquee scroll */
.track-info .mq-inner {
  display: inline-block;
  white-space: nowrap;
}
.track-info.mq-on .mq-inner {
  padding-left: 160px; /* push text off-screen to the right */
  animation: mq-float var(--mq-dur, 10s) linear infinite;
}
.track-info.mq-on:hover .mq-inner {
  animation-play-state: paused;
}
@keyframes mq-float {
  to { transform: translateX(-100%); }
}
.time {
  font-size: 10px;
  color: var(--muted);
  min-width: 76px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
/* Visualizer canvas */
.player canvas {
  width: 160px;
  height: 26px;
  background: #0a1926;
  border-radius: 4px;
  border: 1px solid #0f2a44;
  flex-shrink: 0;
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

/* ── Badges ────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.badge-user  { background: #1e364f; color: var(--muted); }
.badge-mod   { background: #1a3a2a; color: var(--ok); }
.badge-admin { background: #3a1a1a; color: var(--danger); }
.badge-pend  { background: #2a2a14; color: var(--warn); }
.badge-appr  { background: #1a3a2a; color: var(--ok); }
.badge-rej   { background: #3a1a1a; color: var(--danger); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: .15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-gold    { background: var(--gold); color: #0b1b2b; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-2); text-decoration: none; }
.btn-outline { background: 0; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.btn-danger  { background: 0; border-color: #ef444444; color: var(--danger); }
.btn-danger:hover { background: #ef444418; }
.btn-sm { padding: 5px 12px; font-size: 12px; }

/* ── Forms ─────────────────────────────────────────────── */
input[type=text],
input:not([type]),
input[type=email],
input[type=password],
textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0e2236;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
input[type=text]:focus,
input:not([type]):focus,
input[type=email]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 2px solid #d4af3755;
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 100px; }

/* ── Status messages ───────────────────────────────────── */
.msg { font-size: 13px; min-height: 1.2em; }
.msg.ok  { color: var(--ok); }
.msg.err { color: var(--danger); }

/* ── Breadcrumb ────────────────────────────────────────── */
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Empty state ───────────────────────────────────────── */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 16px;
}

/* ── Article/news modal ────────────────────────────────── */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1000;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: min(740px, 93vw);
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: 0;
  border: 1px solid var(--border);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  line-height: 30px;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }

/* ── Full Player button pulse ──────────────────────────── */
@keyframes fp-glow-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,175,55,0); transform: scale(1); }
  40%  { box-shadow: 0 0 8px 5px rgba(212,175,55,.7); transform: scale(1.18); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); transform: scale(1); }
}
#open-full-player.fp-pulse {
  animation: fp-glow-pulse .9s ease-in-out 4;
  border-radius: 50%;
}

/* ── Full Player Modal ─────────────────────────────────── */
.full-player-content {
  width: min(800px, 95vw) !important;
  height: 80vh !important;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  background: var(--navy-2) !important;
  border: 1px solid var(--border) !important;
  overflow: hidden;
}

.fp-header {
  padding: 20px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.fp-visualizer-wrap {
  width: 100%;
  height: 80px;
  background: #000;
  position: relative;
}
#fp-visualizer {
  width: 100%;
  height: 100%;
  display: block;
}

.fp-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(11,27,43,1) 0%, rgba(11,27,43,0) 20%, rgba(11,27,43,0) 80%, rgba(11,27,43,1) 100%);
}

.karaoke-wheel {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 100%;
}

.karaoke-wheel-inner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transition: transform 0.6s cubic-bezier(0.075, 0.82, 0.165, 1); /* easeOutCirc-ish */
  will-change: transform;
}

.karaoke-line {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  text-align: center;
  font-size: 24px;
  color: var(--text);
  opacity: 0.3;
  transition: all 0.4s ease;
  transform: scale(0.9);
  user-select: none;
  cursor: grab;
}

.karaoke-line.active {
  opacity: 1;
  color: var(--gold);
  font-weight: 700;
  font-size: 32px;
  transform: scale(1.1);
}

/* Progressive gradient/fade for distant lines */
.karaoke-line.far { opacity: 0.1; }
.karaoke-line.very-far { opacity: 0.05; }

.karaoke-focus-guide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 90px;
  border-top: 1px solid rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
  pointer-events: none;
}

@media(max-width: 600px) {
  .fp-btn { width: 44px; height: 44px; font-size: 18px; }
  .fp-btn-main { width: 54px; height: 54px; font-size: 24px; }
  .karaoke-line { font-size: 18px; height: 60px; }
  .karaoke-line.active { font-size: 24px; }
  .karaoke-focus-guide { height: 70px; }
}

/* ── Player responsive collapse ───────────────────────── */
/* ≤768px: drop volume slider (saves ~67px) */
@media (max-width: 768px) {
  #volume { display: none; }
}
/* ≤600px: drop timecode too (saves ~83px more) */
@media (max-width: 600px) {
  #time { display: none; }
}
/* ≤440px: drop secondary buttons — shuffle / repeat / full-player */
@media (max-width: 440px) {
  #shuffle, #repeat, #open-full-player { display: none; }
}

/* ── Pinned article responsive image ─────────────────── */
/* On narrow screens stack image above text instead of floating beside it */
@media (max-width: 680px) {
  #pinned img, #pinned iframe {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    margin: 0 0 16px 0 !important;
    border-radius: 8px;
  }
}

/* ── Pagination ────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  transition: .15s;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.pagination .current { background: var(--gold); color: #0b1b2b; border-color: var(--gold); font-weight: 700; }
.pagination .disabled { opacity: .35; pointer-events: none; }

/* -- New -- */
/* Social Buttons Styling */
.share-bar { display: flex; align-items: center; gap: 10px; margin-top: 20px; border-top: 1px solid var(--border); padding-top: 15px; }
.share-btn { 
    background: #1a2e40; border: 1px solid var(--border); color: var(--text); 
    width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; 
    justify-content: center; cursor: pointer; transition: 0.2s; 
}
.share-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* Emoji Picker Popup */
.emoji-picker-popup { 
    position: absolute; bottom: 40px; left: 0; background: var(--navy-2); 
    border: 1px solid var(--gold); border-radius: 8px; padding: 10px; 
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; z-index: 100;
}
.emoji-picker-popup button { background: none; border: none; font-size: 20px; cursor: pointer; }

/* Container must have enough side padding to hold the buttons outside the cards */
.comments-carousel-container { 
    position: relative; 
    margin: 25px 0; 
    padding: 0 40px; /* This creates the "safe zone" for buttons */
}
/* Helper to hide carousel buttons */
/* Specifically target the comment nav IDs so we don't hide the news arrows */
#comm-prev.hidden, 
#comm-next.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.comments-track { 
    display: flex; 
    gap: 15px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    padding: 10px 0;
    width: 100%;
}
.comments-track::-webkit-scrollbar { display: none; }

.comment-card { 
    flex: 0 0 100%; /* Shows one full card at a time on mobile */
    scroll-snap-align: center; 
    background: rgba(255,255,255,0.03); 
    border: 1px solid var(--border); 
    border-radius: 12px; 
    padding: 15px; 
}

/* Desktop: Show smaller cards if you prefer 3-per-row */
@media (min-width: 768px) {
    .comment-card { flex: 0 0 calc(33.333% - 10px); }
}

.carousel-nav {
    position: relative; /* Keep them inline for the main page */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold); 
    color: #0b1b2b; 
    border: none; 
    width: 34px; 
    height: 34px; 
    border-radius: 50%; 
    cursor: pointer; 
    z-index: 10; 
    position: absolute; 
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: opacity 0.3s, transform 0.2s;
}

* 2. Specific override ONLY for the Comments Carousel inside the Modal */
.comments-carousel-container .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.carousel-nav:hover { background: var(--gold-2); transform: translateY(-50%) scale(1.1); }

/* Positioning buttons OUTSIDE the text area */
.comments-carousel-container .carousel-nav.prev { left: 0; }
.comments-carousel-container .carousel-nav.next { right: 0; }

/* Hide buttons when they are not needed */
/* 3. Strict hiding logic for Comment Nav only */
.comments-carousel-container .carousel-nav.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}
/* ── Share buttons ─────────────────────────────────────── */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}
.share-bar-label {
  font-size: 11px;
  color: var(--muted);
  margin-right: 2px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  transition: .15s;
  flex-shrink: 0;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.share-btn svg { width: 18px; height: 18px; display: block; flex-shrink: 0; }
.share-btn.copied { border-color: var(--ok); color: var(--ok); }

/* ── Emoji reactions ───────────────────────────────────── */
.reactions-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  margin-top: 6px;
  position: relative;
}
.reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--navy-2);
  font-size: 16px;
  cursor: pointer;
  transition: .15s;
  position: relative;
}
.reaction-chip:hover, .reaction-chip.mine { border-color: var(--gold); background: #1a2e40; }
.reaction-chip .rc-count { font-size: 12px; color: var(--muted); }
.reaction-chip .rc-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #0d1f30;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--text);
  white-space: normal;
  word-break: break-word;
  z-index: 200;
  pointer-events: none;
  width: max-content;
  max-width: 220px;
  line-height: 1.4;
}
.reaction-chip:hover .rc-tooltip { display: block; }
.react-add-btn {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px dashed var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: .15s;
}
.react-add-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Emoji picker */
.emoji-picker {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: #0d1f30;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  z-index: 300;
  width: 280px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.emoji-picker-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
}
.emoji-picker-grid button {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 2px;
  line-height: 1;
  transition: background .1s;
}
.emoji-picker-grid button:hover { background: #1a3a5a; }

/* ── Comments ──────────────────────────────────────────── */
.comments-section {
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 10px;
}
.comments-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  padding: 6px 14px;
  cursor: pointer;
  transition: .15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.comments-toggle:hover { border-color: var(--gold); color: var(--gold); }
.comments-list { margin: 10px 0; }
.comment-item {
  padding: 8px 0;
  border-bottom: 1px solid #0f2a44;
}
.comment-item:last-child { border-bottom: none; }
.comment-meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-pending { color: #f59e0b; font-size: 10px; }
.comment-ai { color: #a78bfa; font-size: 10px; }
.comment-body { font-size: 13px; color: var(--text); line-height: 1.5; }
.comment-form { margin-top: 10px; }
.comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0d1f30;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  padding: 8px 10px;
  resize: vertical;
  min-height: 70px;
  font-family: inherit;
}
.comment-form textarea:focus { outline: none; border-color: var(--gold); }
.comment-submit {
  margin-top: 6px;
  padding: 5px 18px;
  font-size: 13px;
}

/* ============================================================
   EMERGENCY OVERRIDE FOR CAROUSEL ARROWS
   Paste this at the very bottom of your 800-line file.
   ============================================================ */

/* 1. Ensure News Carousel arrows stay inline */
#news .carousel-nav {
    position: relative !important;
    display: inline-flex !important;
    top: auto !important;
    transform: none !important;
    margin: 10px 5px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 2. Ensure Comment Modal arrows stay centered and outside text */
.comments-carousel-container {
    position: relative !important;
    padding: 0 45px !important; /* Space for buttons */
}

.comments-carousel-container .carousel-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 9999 !important;
}

.comments-carousel-container .carousel-nav.prev { left: 0 !important; }
.comments-carousel-container .carousel-nav.next { right: 0 !important; }

/* 3. Logic to hide comment arrows when necessary */
.comments-carousel-container .carousel-nav.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ── User avatars in comments ─────────────────────────── */
.comment-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.comment-avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0d2035;
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Profile page avatar upload ───────────────────────── */
.profile-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0 18px;
  border-bottom: 1px solid #0f2336;
  flex-wrap: wrap;
}
.profile-avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d2035;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}
.profile-avatar-circle:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.18);
}
.profile-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-initial {
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  user-select: none;
}
.avatar-hint { font-size: 12px; color: var(--muted); line-height: 1.5; }
.avatar-hint strong { color: var(--text); display: block; margin-bottom: 2px; font-size: 13px; }