/* FELEROUS Database (FDB) Stylesheet */

/* --- Design Tokens --- */
:root {
  --fdb-bg-primary: #090d14;
  --fdb-bg-elevated: #1a1f2e;
  --fdb-bg-card: #151a27;
  --fdb-bg-hover: rgba(255,255,255,0.04);
  --fdb-text-primary: #e1e8f0;
  --fdb-text-secondary: #c6d4df;
  --fdb-text-muted: #8f98a0;
  --fdb-border: rgba(255,255,255,0.08);
  --fdb-accent: #4a9eff;
  --fdb-accent-hover: #66b3ff;
  --fdb-success: #2ecc71;
  --fdb-warning: #f1c40f;
  --fdb-danger: #e74c3c;
  --fdb-radius: 8px;
  --fdb-navbar-height: 56px;
}

body {
  background-color: var(--fdb-bg-primary);
  color: var(--fdb-text-secondary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* --- 1. Hero Header (.fdb-header) --- */
.fdb-header {
  position: relative;
  width: 100%;
  background-color: #0c1017;
  overflow: hidden;
  border-bottom: 1px solid var(--fdb-border);
}
.fdb-header::before {
  content: "";
  position: absolute;
  inset: -30px;
  background-image: var(--bg-art);
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.35);
  transform: scale(1.1);
  opacity: 0.75;
  z-index: 0;
  pointer-events: none;
}
.fdb-header-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 28px;
  padding: 32px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 979px) {
  .fdb-header-inner {
    grid-template-columns: 1fr;
  }
}
.fdb-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.fdb-title img {
  width: 32px;
  height: 32px;
  border-radius: var(--fdb-radius);
  object-fit: cover;
  background: #151a27;
  border: 1px solid var(--fdb-border);
}
.fdb-title h1 {
  margin: 0;
  font-size: 1.85rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}
.fdb-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.fdb-quick-links a {
  text-decoration: none;
  transition: all 0.2s;
}
.fdb-quick-links a:hover {
  transform: translateY(-1px);
}
.fdb-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 0.88rem;
}
.fdb-spec-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fdb-spec-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}
.fdb-spec-table .fdb-kv-key {
  width: 140px;
  color: var(--fdb-text-muted);
  font-weight: 500;
}
.fdb-spec-table .fdb-kv-value {
  color: var(--fdb-text-primary);
}
.fdb-hero-art {
  aspect-ratio: 324 / 151;
  border-radius: var(--fdb-radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: #151a27;
  border: 1px solid var(--fdb-border);
}
.fdb-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fdb-stat-cards {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.fdb-stat-card {
  flex: 1;
  background: var(--fdb-bg-elevated);
  padding: 16px;
  border-radius: var(--fdb-radius);
  border: 1px solid var(--fdb-border);
}
.fdb-stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 4px;
}
.fdb-stat-card span {
  font-size: 0.85rem;
  color: var(--fdb-text-muted);
}
.fdb-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fdb-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: var(--fdb-text-secondary);
}

/* --- 2. Tab Navigation (.fdb-tabs) --- */
.fdb-tabs {
  position: sticky;
  top: 56px;
  z-index: 99;
  background: rgba(9, 13, 20, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fdb-border);
}
.fdb-tab-bar {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.fdb-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--fdb-text-secondary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 13px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  outline: none;
}
.fdb-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.fdb-tab.selected {
  border-bottom: 2px solid var(--fdb-accent);
  color: var(--fdb-accent);
  font-weight: 700;
  background: rgba(74, 158, 255, 0.06);
}
.fdb-tab-locked {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.fdb-counter {
  display: inline-block;
  background: var(--fdb-border);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
  color: #fff;
}
.fdb-badge-soon {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}
.fdb-tab-icon {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

/* --- 3. Tab Content (.fdb-content) --- */
.fdb-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}
.fdb-pane {
  display: none;
}
.fdb-pane.active {
  display: block;
}

/* --- 4. Stat Band (.fdb-stat-band) --- */
.fdb-stat-band {
  display: flex;
  flex-direction: row;
  background: var(--fdb-bg-card);
  border: 1px solid var(--fdb-border);
  border-radius: var(--fdb-radius);
  margin-bottom: 24px;
}
.fdb-stat-band-item {
  flex: 1;
  padding: 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.fdb-stat-band-item + .fdb-stat-band-item {
  border-left: 1px solid var(--fdb-border);
}
.fdb-stat-band-item strong {
  display: block;
  font-size: 1.4rem;
  color: #fff;
}
.fdb-stat-band-item span {
  font-size: 0.8rem;
  color: var(--fdb-text-muted);
}
.fdb-stat-band-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .fdb-stat-band {
    flex-wrap: wrap;
  }
  .fdb-stat-band-item {
    width: 50%;
    flex: none;
  }
  .fdb-stat-band-item + .fdb-stat-band-item {
    border-left: none;
  }
  .fdb-stat-band-item:nth-child(n+3) {
    border-top: 1px solid var(--fdb-border);
  }
  .fdb-stat-band-item:nth-child(even) {
    border-left: 1px solid var(--fdb-border);
  }
}

/* --- 5. Charts Container (.fdb-chart-container) --- */
.fdb-chart-container {
  background: var(--fdb-bg-card);
  border: 1px solid var(--fdb-border);
  border-radius: var(--fdb-radius);
  padding: 16px;
  margin-bottom: 24px;
}
.fdb-chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.fdb-range-btns,
.fdb-range-group {
  display: flex;
  gap: 6px;
}
.fdb-range-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--fdb-border);
  color: var(--fdb-text-muted);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}
.fdb-range-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.fdb-range-btn.active {
  background: var(--fdb-accent);
  color: #fff;
  border-color: var(--fdb-accent);
  box-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
}
#fdb-chart-players {
  min-height: 350px;
}

/* --- 6. Heatmap (.fdb-heatmap) --- */
.fdb-heatmap {
  display: grid;
  grid-template-columns: repeat(25, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 3px;
  overflow-x: auto;
  padding: 4px;
}
.fdb-heatmap-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.15s;
  cursor: pointer;
}
.fdb-heatmap-cell:hover {
  color: #fff;
  transform: scale(1.15);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.fdb-heat-header {
  font-weight: 600;
  color: var(--fdb-text-muted) !important;
  background: transparent !important;
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
}
.fdb-heat-0 { background: transparent; }
.fdb-heat-1 { background: rgba(74, 158, 255, 0.08); }
.fdb-heat-2 { background: rgba(74, 158, 255, 0.16); }
.fdb-heat-3 { background: rgba(74, 158, 255, 0.24); }
.fdb-heat-4 { background: rgba(74, 158, 255, 0.32); }
.fdb-heat-5 { background: rgba(74, 158, 255, 0.40); }
.fdb-heat-6 { background: rgba(74, 158, 255, 0.50); }
.fdb-heat-7 { background: rgba(74, 158, 255, 0.60); }
.fdb-heat-8 { background: rgba(74, 158, 255, 0.70); }
.fdb-heat-9 { background: rgba(74, 158, 255, 0.80); }
.fdb-heat-10 { background: rgba(74, 158, 255, 0.90); }
.fdb-heatmap-cell.current {
  outline: 2px solid var(--fdb-accent);
  outline-offset: -2px;
}

/* --- 7. Key-Value Tables (.fdb-kv-table) --- */
.fdb-kv-table {
  width: 100%;
  border-collapse: collapse;
}
.fdb-kv-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--fdb-border);
}
.fdb-kv-key {
  width: 200px;
  color: var(--fdb-text-muted);
  font-weight: 500;
  vertical-align: top;
}
.fdb-kv-value {
  color: var(--fdb-text-primary);
}
.fdb-kv-table tr:hover {
  background: var(--fdb-bg-hover);
}
.fdb-info-tip {
  cursor: help;
  color: var(--fdb-text-muted);
  font-size: 13px;
  margin-left: 4px;
  display: inline-flex;
}

/* --- 8. Section Blocks (.fdb-block) --- */
.fdb-block {
  margin-bottom: 24px;
}
.fdb-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--fdb-bg-card);
  border: 1px solid var(--fdb-border);
  border-top-left-radius: var(--fdb-radius);
  border-top-right-radius: var(--fdb-radius);
}
.fdb-block-header h2 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.fdb-block-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  opacity: 0.7;
}
.fdb-block-body {
  background: var(--fdb-bg-card);
  border: 1px solid var(--fdb-border);
  border-top: none;
  border-bottom-left-radius: var(--fdb-radius);
  border-bottom-right-radius: var(--fdb-radius);
  padding: 16px;
}
.fdb-block-body.flush {
  padding: 0;
}

/* --- 9. Sortable Data Tables (.fdb-table) --- */
.fdb-table {
  width: 100%;
  border-collapse: collapse;
}
.fdb-table th {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--fdb-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--fdb-border);
  text-align: left;
}
.fdb-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--fdb-border);
  font-size: 0.85rem;
}
.fdb-table tr:hover td {
  background: var(--fdb-bg-hover);
}
.fdb-table-sortable th.sort-header {
  cursor: pointer;
  user-select: none;
  position: relative;
}
.fdb-table-sortable th.sort-header:hover {
  color: var(--fdb-text-primary);
}
.fdb-table-sortable th.sort-up::after {
  content: '↑';
  margin-left: 4px;
}
.fdb-table-sortable th.sort-down::after {
  content: '↓';
  margin-left: 4px;
}
.fdb-table td.num {
  font-variant-numeric: tabular-nums;
}

/* --- 10. Responsive Table Cards (.fdb-table-responsive) --- */
@media (max-width: 979px) {
  .fdb-table-responsive thead {
    display: none;
  }
  .fdb-table-responsive table,
  .fdb-table-responsive tbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 0;
  }
  .fdb-table-responsive tr {
    display: flex;
    flex-flow: row wrap;
    border: 1px solid var(--fdb-border);
    border-radius: 8px;
    overflow: hidden;
  }
  .fdb-table-responsive td {
    width: 100%;
    border: 0;
    padding: 6px 12px;
  }
  .fdb-table-responsive td:empty {
    display: none;
  }
  .fdb-table-responsive td:first-child {
    padding-top: 12px;
    font-weight: 700;
  }
  .fdb-table-responsive td:last-child {
    padding-bottom: 12px;
  }
}

/* --- 11. Badges & Pills (.fdb-badge) --- */
.fdb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--fdb-text-secondary);
  text-decoration: none;
  line-height: 1.2;
}
.fdb-badge-success {
  background: rgba(46, 204, 113, 0.15);
  border-color: #2ecc71;
  color: #2ecc71;
}
.fdb-badge-warning {
  background: rgba(241, 196, 15, 0.15);
  border-color: #f1c40f;
  color: #f1c40f;
}
.fdb-badge-danger {
  background: rgba(231, 76, 60, 0.15);
  border-color: #e74c3c;
  color: #e74c3c;
}
.fdb-badge-accent {
  background: rgba(74, 158, 255, 0.15);
  border-color: #4a9eff;
  color: #4a9eff;
}

/* --- 12. KPI Stat Cards Grid (.fdb-kpi-grid) --- */
.fdb-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.fdb-kpi-card {
  background: var(--fdb-bg-card);
  border: 1px solid var(--fdb-border);
  border-radius: var(--fdb-radius);
  padding: 16px 20px;
}
.fdb-kpi-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  color: var(--fdb-text-muted);
  margin-bottom: 4px;
}
.fdb-kpi-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.fdb-kpi-sub {
  font-size: 0.75rem;
  color: var(--fdb-text-muted);
  margin-top: 4px;
}
.fdb-kpi-delta-up {
  color: var(--fdb-success);
  font-size: 0.75rem;
}
.fdb-kpi-delta-down {
  color: var(--fdb-danger);
  font-size: 0.75rem;
}

/* --- 13. Gallery Grid (.fdb-gallery) --- */
.fdb-gallery {
  display: flex;
  flex-wrap: wrap;
  background: #000;
  border-radius: var(--fdb-radius);
  overflow: hidden;
}
.fdb-gallery > * {
  display: flex;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  width: 50%;
}
@media (max-width: 600px) {
  .fdb-gallery > * {
    width: 100%;
  }
}
.fdb-gallery > *:first-child {
  /* If it's a video, hero width */
  width: 100%;
}
.fdb-gallery img, .fdb-gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.fdb-gallery img:hover {
  transform: scale(1.03);
}

/* --- 14. Lightbox (.fdb-lightbox) --- */
.fdb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: none;
  background: rgba(0, 0, 0, 0.95);
}
.fdb-lightbox.active {
  display: grid;
  grid-template-rows: min-content 1fr;
}
.fdb-lightbox-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 12px 16px;
  align-items: center;
}
.fdb-lightbox-header span:first-child {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: #fff;
}
.fdb-lightbox-header span:nth-child(2) {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fdb-lightbox-header span:last-child {
  text-align: right;
}
.fdb-lightbox-viewport {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  cursor: pointer;
}
.fdb-lightbox-index {
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.fdb-lb-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.fdb-lb-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.fdb-lb-btn-danger {
  background: rgba(231, 76, 60, 0.3);
}
.fdb-lb-btn-danger:hover {
  background: rgba(231, 76, 60, 0.5);
}
@media (max-width: 979px) {
  .fdb-lightbox-header {
    grid-template-columns: repeat(2, 1fr);
  }
  .fdb-lightbox-header span:first-child {
    grid-column: span 2;
    text-align: center;
    margin-bottom: 8px;
  }
}
body.fdb-lightbox-open {
  overflow: hidden;
  overscroll-behavior: none;
}

/* --- 15. Changelog (.fdb-changelog) --- */
.fdb-changelog-entry {
  background: var(--fdb-bg-card);
  border: 1px solid var(--fdb-border);
  border-radius: var(--fdb-radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.fdb-changelog-header {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--fdb-border);
}
.fdb-changelog-time {
  color: var(--fdb-text-muted);
  font-size: 0.8rem;
}
.fdb-changelog-diff {
  list-style: none;
  padding: 12px 16px;
  margin: 0;
}
.fdb-diff-added {
  color: var(--fdb-success);
}
.fdb-diff-added ins, .fdb-diff-modified ins {
  background: rgba(46, 204, 113, 0.1);
  text-decoration: none;
  padding: 1px 4px;
  border-radius: 3px;
  color: var(--fdb-success);
}
.fdb-diff-removed {
  color: var(--fdb-danger);
}
.fdb-diff-removed del, .fdb-diff-modified del {
  background: rgba(231, 76, 60, 0.1);
  text-decoration: line-through;
  padding: 1px 4px;
  border-radius: 3px;
  color: var(--fdb-danger);
}
.fdb-diff-category {
  font-weight: 600;
  margin-bottom: 8px;
  padding-top: 8px;
  color: var(--fdb-text-primary);
}
.fdb-changelog-diff ul {
  padding-left: 20px;
  margin: 4px 0;
}

/* --- 16. Community Items Locked (.fdb-locked-pane) --- */
.fdb-locked-pane {
  text-align: center;
  padding: 80px 20px;
}
.fdb-locked-icon {
  font-size: 4rem;
  opacity: 0.3;
  margin-bottom: 16px;
}
.fdb-locked-title {
  font-size: 1.2rem;
  color: var(--fdb-text-secondary);
  margin-bottom: 8px;
}
.fdb-locked-desc {
  color: var(--fdb-text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- 17. Loading & Empty States --- */
.fdb-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--fdb-text-muted);
}
.fdb-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--fdb-border);
  border-top-color: var(--fdb-accent);
  border-radius: 50%;
  animation: fdb-spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes fdb-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.fdb-empty {
  text-align: center;
  padding: 40px;
  color: var(--fdb-text-muted);
  font-style: italic;
}

/* --- 18. Donut chart container --- */
#fdb-chart-platform {
  min-height: 280px;
}

/* --- 19. Drop-off bar chart --- */
#fdb-chart-dropoff {
  min-height: 300px;
}

/* --- 20. Utilities --- */
.fdb-mono {
  font-family: monospace;
}
.fdb-muted {
  color: var(--fdb-text-muted);
}
.fdb-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fdb-flex {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fdb-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .fdb-grid-2 {
    grid-template-columns: 1fr;
  }
}
.fdb-mt {
  margin-top: 16px;
}
.fdb-mb {
  margin-bottom: 16px;
}

/* --- 21. Achievements Modülü (.fdb-achievements) --- */
.fdb-ach-filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.fdb-input-search,
.fdb-select {
  background: var(--fdb-bg-elevated);
  border: 1px solid var(--fdb-border);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}
.fdb-input-search:focus,
.fdb-select:focus {
  border-color: var(--fdb-accent);
}
.fdb-achievements-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fdb-achievement-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--fdb-bg-elevated);
  background: linear-gradient(90deg, rgba(74, 158, 255, 0.12) var(--ach-progress, 0%), var(--fdb-bg-elevated) var(--ach-progress, 0%));
  border: 1px solid var(--fdb-border);
  border-radius: var(--fdb-radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.fdb-achievement-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(2px);
}
.fdb-ach-icon {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.fdb-ach-info {
  flex: 1;
  min-width: 0;
}
.fdb-ach-title {
  font-weight: 700;
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fdb-ach-desc {
  color: var(--fdb-text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
.fdb-ach-meta {
  text-align: right;
  flex-shrink: 0;
  min-width: 90px;
}
.fdb-ach-percent {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.fdb-ach-status {
  font-size: 0.75rem;
  color: var(--fdb-text-muted);
  margin-top: 2px;
}
.fdb-achievement-card.fdb-ach-unlocked {
  border-left: 4px solid var(--fdb-success);
}
.fdb-achievement-card.fdb-ach-rare-gold {
  border-color: rgba(250, 204, 21, 0.45);
  box-shadow: inset 0 0 16px rgba(250, 204, 21, 0.06);
}
.fdb-achievement-card.fdb-ach-rare-silver {
  border-color: rgba(148, 163, 184, 0.45);
}
.fdb-ach-spoiler .fdb-ach-desc {
  filter: blur(5px);
  cursor: pointer;
  user-select: none;
  transition: filter 0.2s;
}
.fdb-ach-spoiler:hover .fdb-ach-desc,
.fdb-ach-spoiler.revealed .fdb-ach-desc {
  filter: none;
}
