/* Стили для кнопки лайка */
.like-container {
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
}

.like-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0px;
    padding-left: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 13px;
    color: #888;
}

.like-btn:hover:not(.disabled) {
    background: rgba(255, 68, 88, 0.1);
    transform: scale(1.05);
}

.like-btn.liked {
    color: #ff4458;
}

.like-btn.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.like-btn svg {
    transition: all 0.3s ease;
}

.like-btn:active:not(.disabled) svg {
    transform: scale(0.9);
}

.like-btn span {
    font-weight: 600;
}

/* Стили для статистики реплея */
.replay-stats-container {
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #888;
    font-size: 13px;
    transition: color 0.2s ease;
}

.stat-item:hover {
    color: #aaa;
}

.stat-item i {
    font-size: 16px;
}

.stat-item span {
    font-weight: 500;
}


.map-stat .stat .stat-text .name a.player-stats-link:hover,
.team-score .personal-data .header .name a.player-stats-link:hover {
  text-decoration: underline;
}

/* TODO: убрать когда окно статистики будет готово */
a.player-stats-link {
  pointer-events: none;
  cursor: default;
}

#anti-abuse-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
}

.anti-abuse-modal {
  background: #1f1f1f;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #ff4458;
  text-align: center;
  max-width: 600px;
  box-shadow: 0 0 30px rgba(255, 68, 88, 0.4);
  position: relative;
  overflow: hidden;
}

.anti-abuse-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 68, 88, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.anti-abuse-content { position: relative; z-index: 1; }
.anti-abuse-icon { margin-bottom: 20px; }
.anti-abuse-icon-svg { display: inline-block; }
.anti-abuse-title { color: #ff4458; margin-bottom: 15px; font-size: 28px; font-weight: bold; }
.anti-abuse-message { color: #ddd; margin-bottom: 25px; font-size: 16px; line-height: 1.6; }
.anti-abuse-donation { background: rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 20px; margin-bottom: 30px; }
.anti-abuse-donation-title { color: #fff; font-size: 18px; margin-bottom: 15px; font-weight: 500; }
.anti-abuse-donation-text { color: #b0b0b0; font-size: 14px; margin-bottom: 20px; }
.anti-abuse-donation-actions { display: flex; flex-direction: column; gap: 20px; align-items: center; width: 100%; }
.anti-abuse-yoomoney { width: 100%; display: flex; justify-content: center; }
.anti-abuse-yoomoney iframe { max-width: 100%; }
.anti-abuse-donation-actions a { max-width: 250px; }
.anti-abuse-timer-label { color: #888; font-size: 14px; margin-bottom: 5px; }
.anti-abuse-timer { font-size: 36px; font-weight: bold; color: #fff; font-variant-numeric: tabular-nums; }
.replay-download { display: flex; gap: 10px; }
#download-replay-btn, .replay-download .big-red-button[disabled] { display: flex; align-items: center; justify-content: center; }
.replay-download .big-red-button[disabled] { opacity: 0.55; cursor: not-allowed; white-space: nowrap; }
.replay-download-lock-icon { margin-right: 6px; }
#share-replay-btn { background: #4a5568; padding: 10px 20px; display: flex; align-items: center; justify-content: center; }
.private-download-link { margin: 12px 0 20px; padding: 12px 14px; border: 1px solid rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.08); border-radius: 6px; }
.private-download-link__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.private-download-link__body { min-width: 240px; flex: 1; }
.private-download-link__title { color: #fbbf24; font-weight: 600; margin-bottom: 4px; }
.private-download-link__url { color: #fcd34d; font-size: 12px; word-break: break-all; }
.private-download-link__hint { color: #c7a55a; font-size: 12px; margin-top: 4px; }
.private-download-link__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.private-download-link__actions .btn { padding: 7px 12px; }
.replay-meta-card { margin-top: 0.5rem; background: #14120e; padding: 20px; border-radius: 5px; }
.description-header { margin-bottom: 2rem; }
.description-header__main { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.description-header__stats { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.stat-item__inner { display: inline-flex; align-items: center; gap: 4px; }
.stat-item--download { gap: 12px; }
.stat-item__lock { font-size: 12px; color: #fbbf24; }
.description-edit-toggle { margin-top: 0.5rem; }
#edit-desc-btn { padding: 4px 12px; font-size: 13px; opacity: 0.8; }
.description-edit-form { margin-top: 10px; max-width: 600px; }
.description-edit-form[hidden] { display: none; }
#desc-input { width: 100%; padding: 8px; margin-bottom: 10px; background-color: #1f1f1f; border: 1px solid #444; color: #fff; border-radius: 4px; }
.description-edit-form__actions { display: flex; gap: 10px; }
#save-desc-btn, .video-links .big-red-button { padding: 5px 15px; font-size: 14px; }
.video-links { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.video-links__form-wrap { margin-top: 10px; max-width: 500px; }
.video-links__platform, .video-links__url { background: #1f1f1f; border: 1px solid #444; color: #fff; padding: 6px 10px; border-radius: 4px; }
.video-links__platform { width: 140px; }
.card-title { color: #c3c3c3; margin-bottom: 1rem; font-size: 1.75rem; font-weight: bold; margin-top: 1.5rem; }
.comments-divider { border-color: #333; }
.comment-form-wrapper { margin-top: 1.5rem; }
.comment-login-message { color: #ccc; }
.comment-list-wrapper { margin-top: 2rem; }
