.fr-lb-section {
  padding: 7rem 1.5rem 3rem;
  display: flex;
  justify-content: center;
  background: var(--black);
  font-family: var(--font-body);
}

.fr-lb-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fr-lb-controls .fr-custom-dd {
  width: 170px;
}

.fr-lb-controls .fr-dd-menu {
  right: 0;
  left: auto;
  width: 100%;
  min-width: 170px;
}

.fr-lb-topbar {
  display: flex; 
  align-items: flex-end; 
  justify-content: space-between;
  gap: 1rem; 
  flex-wrap: wrap;
}

.fr-lb-header h1 {
  font-family: var(--font-display);
  font-size: 24px; 
  font-weight: 700;
  color: var(--white); 
  margin: 0;
}

.fr-lb-header p {
  font-size: 14px; 
  color: rgba(244, 247, 242, 0.4); 
  margin: 4px 0 0;
}

.fr-lb-controls { 
  display: flex; 
  gap: 10px; 
  align-items: center; 
}

.fr-lb-search,
.fr-lb-sort {
  height: 42px;
  box-sizing: border-box;
  background: rgba(20, 32, 26, 0.4);
  border: 1px solid rgba(244, 247, 242, 0.08);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.fr-lb-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.fr-lb-search iconify-icon {
  color: rgba(244, 247, 242, 0.4);
  font-size: 18px;
  flex-shrink: 0;
}

.fr-lb-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  width: 160px;
  padding: 0;
  margin: 0;
}

.fr-lb-search input::placeholder {
  color: rgba(244, 247, 242, 0.4); 
}

.fr-lb-sort {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0 36px 0 14px; 
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(244, 247, 242, 0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.fr-lb-search:focus-within,
.fr-lb-sort:focus {
  border-color: rgba(240, 169, 58, 0.4);
  background: rgba(20, 32, 26, 0.6);
}

.fr-lb-sort option {
  background: #111a15;
  color: var(--white);
  padding: 10px;
}

.fr-lb-tabs {
  display: flex; 
  gap: 6px;
  background: rgba(20, 32, 26, 0.4);
  border: 1px solid rgba(244, 247, 242, 0.06);
  border-radius: 12px; 
  padding: 5px;
}

.fr-lb-tab {
  flex: 1; 
  padding: 12px; 
  border: none; 
  border-radius: 8px;
  background: transparent; 
  cursor: pointer;
  font-family: var(--font-display); 
  font-weight: 600; 
  font-size: 14px;
  color: rgba(244, 247, 242, 0.5); 
  transition: all 0.15s ease;
}

.fr-lb-tab:hover { 
  color: var(--white); 
}

.fr-lb-tab.is-active { 
  background: rgba(240, 169, 58, 0.14); 
  color: var(--yellow); 
}

.fr-lb-me-wrap { 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
}

.fr-lb-me-label {
  font-family: var(--font-display); 
  font-size: 11px; 
  font-weight: 600;
  text-transform: uppercase; 
  letter-spacing: 0.5px;
  color: var(--yellow); 
  padding-left: 4px;
}

.fr-st-card {
  position: relative;
  background: rgba(20, 32, 26, 0.4);
  border: 1px solid rgba(244, 247, 242, 0.06);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  min-height: 450px;
}

.fr-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  padding: 4px;
  box-sizing: border-box;
  background: linear-gradient(120deg, var(--c1, var(--yellow)) 0 50%, var(--c2, var(--black)) 50% 100%);
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,.75);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 247, 242, 0.15);
  flex-shrink: 0;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.fr-avatar img {
  width: 100%; 
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.5));
}

.fr-avatar:hover { 
  filter: brightness(1.08); 
  transform: translateY(-1px); 
}

.fr-lb-pct {
  display: block; 
  font-style: normal; 
  font-size: 11px;
  color: rgba(244, 247, 242, 0.35); 
  margin-top: 2px;
}

tr.is-me { 
  background: rgba(240, 169, 58, 0.08) !important; 
}

.fr-lb-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 21, 18, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.2s ease;
}

.fr-lb-overlay[hidden] { 
  display: none !important; 
}

.fr-lb-overlay-logo {
  width: 80px; 
  height: auto;
  max-height: 80px;
  object-fit: contain;
  animation: frLbPulse 1s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

@keyframes frLbPulse {
  0%, 100% { 
    opacity: 0.4; 
    transform: scale(0.92); 
  }
  50% { 
    opacity: 1; 
    transform: scale(1.08); 
  }
}

.fr-lb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 400px;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
}

.fr-lb-empty[hidden] {
  display: none !important;
}

.fr-empty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
}

.fr-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(244, 247, 242, 0.03);
  border: 1px solid rgba(244, 247, 242, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.fr-empty-icon iconify-icon {
  font-size: 32px;
  color: rgba(244, 247, 242, 0.35);
}

.fr-empty-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.fr-empty-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(244, 247, 242, 0.4);
  margin: 0;
  line-height: 1.5;
}

.fr-standings-table thead th {
  position: sticky;
  top: 0;
  background: #111a15;
  z-index: 10;
}