/* Наша Лидерка — deviant_final_text layout */
.lb2-block {
  margin-top: 24px;
  width: 100%;
  max-width: none;
  background: rgba(17, 17, 21, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1;
}

.lb2-top {
  padding: 30px 40px;
  background: linear-gradient(180deg, rgba(255, 0, 60, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.lb2-auto-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--al-red, #ff003c);
  z-index: 5;
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.6);
}

.lb2-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.lb2-header svg {
  width: 28px;
  height: 28px;
  fill: var(--al-red, #ff003c);
  filter: drop-shadow(0 0 8px rgba(255, 0, 60, 0.5));
}

.lb2-title {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
}

.lb2-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.lb2-info-group {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.lb2-info {
  display: flex;
  gap: 50px;
  min-width: 250px;
  flex-wrap: wrap;
}

.lb2-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lb2-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--al-muted, #8e8e9f);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.lb2-value {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.lb2-value--faction {
  color: var(--al-red, #ff003c);
  text-shadow: 0 0 20px rgba(255, 0, 60, 0.5);
}

.lb2-play-btn {
  background: rgba(255, 0, 60, 0.1);
  color: #fff;
  border: 1px solid var(--al-red, #ff003c);
  padding: 15px 30px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lb2-play-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lb2-play-btn:hover {
  background: var(--al-red, #ff003c);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255, 0, 60, 0.6);
}

.lb2-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 40px;
}

.lb2-history-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #fff;
}

.lb2-history-title svg {
  width: 34px;
  height: 34px;
  fill: var(--al-red, #ff003c);
  filter: drop-shadow(0 0 8px rgba(255, 0, 60, 0.6));
  flex-shrink: 0;
}

.lb2-action-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  padding: 15px 50px;
  position: relative;
  flex-wrap: wrap;
}

.lb2-action-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 60, 0.6), transparent);
}

.lb2-action-panel::before {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 10px;
  background: radial-gradient(ellipse at bottom, rgba(255, 0, 60, 0.2), transparent 70%);
  pointer-events: none;
}

.lb2-line-date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.lb2-line-date-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--al-muted, #8e8e9f);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.lb2-line-date-label svg {
  width: 12px;
  height: 12px;
  fill: var(--al-red, #ff003c);
}

.lb2-line-date-val {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.lb2-line-sep {
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  position: relative;
}

.lb2-line-sep::after {
  content: '';
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 0;
  width: 100%;
  background: var(--al-red, #ff003c);
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.6);
  border-radius: 2px;
}

.lb2-premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(255, 0, 60, 0.08);
  border: 1px solid rgba(255, 0, 60, 0.5);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.1);
}

.lb2-premium-btn span {
  position: relative;
  z-index: 2;
  transition: 0.4s;
}

.lb2-premium-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  position: relative;
  z-index: 2;
  transition: transform 0.4s;
}

.lb2-premium-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--al-red, #ff003c);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.lb2-premium-btn:hover {
  border-color: var(--al-red, #ff003c);
  box-shadow: 0 0 25px rgba(255, 0, 60, 0.5);
  transform: translateY(-2px);
}

.lb2-premium-btn:hover::before {
  width: 100%;
}

.lb2-premium-btn:hover svg {
  transform: translateX(5px);
}

.lb2-premium-btn--static {
  opacity: 0.72;
  cursor: default;
}

.lb2-premium-btn--static:hover {
  transform: none;
}

.lb2-large-image {
  width: 100%;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #0a0a0c;
}

.lb2-large-image--empty {
  display: grid;
  place-items: center;
}

.lb2-photo-shell {
  position: absolute;
  inset: 0;
}

.lb2-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lb2-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  background: var(--al-red, #ff003c);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(255, 0, 60, 0.5);
}

.lb2-image-placeholder {
  padding: 24px;
  color: var(--al-muted, #8e8e9f);
  font-size: 13px;
  font-weight: 600;
}

.lb2-large-image .al-leader-tags {
  z-index: 3;
}

/* Modal */
.lb2-map-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.lb2-map-overlay.is-open {
  display: flex;
  animation: lb2-fade-in 0.3s ease-out;
}

.lb2-map-overlay[hidden] {
  display: none !important;
}

.lb2-map-modal {
  width: 100%;
  max-width: 800px;
  max-height: calc(100vh - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.lb2-map-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb2-map-close:hover {
  background: var(--al-red, #ff003c);
}

.lb2-map-close svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.lb2-map-canvas {
  width: 100%;
  height: min(450px, 48vh);
  flex-shrink: 0;
  position: relative;
  background: #000;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lb2-map-canvas--map {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.lb2-map-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.lb2-map-info {
  padding: 28px 32px 32px;
  text-align: center;
  background: #0c0c0e;
  flex-shrink: 0;
}

.lb2-mi-title {
  margin: 0 0 12px;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
}

.lb2-mi-title span {
  color: var(--al-red, #ff003c);
}

.lb2-mi-desc {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--al-muted, #8e8e9f);
  line-height: 1.6;
}

.lb2-mi-time-box {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 0, 60, 0.15) 50%, transparent 100%);
  border-top: 1px solid rgba(255, 0, 60, 0.3);
  border-bottom: 1px solid rgba(255, 0, 60, 0.3);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.lb2-mi-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--al-red, #ff003c);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.lb2-mi-date {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
}

@keyframes lb2-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 960px) {
  .lb2-top,
  .lb2-body {
    padding-left: 24px;
    padding-right: 24px;
  }

  .lb2-info-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .lb2-action-panel {
    padding: 15px 0;
    gap: 24px;
  }

  .lb2-large-image {
    height: clamp(240px, 58vw, 380px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lb2-auto-progress {
    animation: none !important;
  }

  .lb2-value {
    transition: none;
  }
}
