/* WNILife - Responsive BitLife Master Design (Desktop, Tablet, Mobile) */

:root {
  --bl-crimson: #a61c1c;
  --bl-crimson-dark: #871414;
  --bl-crimson-light: #c52828;
  --bl-green: #22c55e;
  --bl-green-dark: #16a34a;
  --bl-amber: #f59e0b;
  --bl-red: #ef4444;
  --bl-bg-dark: #0f172a;
  --bl-bg-feed: #f1f5f9;
  --bl-card-bg: #ffffff;
  --bl-border: #e2e8f0;
  --bl-border-dark: #334155;
  --bl-text-dark: #0f172a;
  --bl-text-muted: #64748b;
  --bl-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bl-font-display: 'Signika', 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bl-bg-dark);
  font-family: var(--bl-font);
  color: var(--bl-text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 1. APP WRAPPER (RESPONSIVE VIEWPORT) */
.bl-app-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

@media (min-width: 768px) {
  .bl-app-wrapper {
    padding: 20px 24px;
  }
}

.bl-responsive-container {
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .bl-responsive-container {
    max-width: 1140px;
    height: 92vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    border: 2px solid #334155;
  }
}

/* 2. TOP HEADER (BITLIFE CRIMSON BANNER) */
.bl-header {
  background: linear-gradient(180deg, var(--bl-crimson-light), var(--bl-crimson));
  color: #ffffff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 20;
  flex-shrink: 0;
  gap: 12px;
}

.bl-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.bl-icon-btn {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 9px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  padding: 0;
}

.bl-icon-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.bl-icon-btn:active {
  transform: translateY(0);
}

.bl-header-identity {
  min-width: 0;
  flex: 1 1 auto;
}

.bl-identity-title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}

.bl-flag-pill {
  background: #ffffff;
  color: var(--bl-crimson);
  font-size: 10px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  line-height: 1.2;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.bl-player-name {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 50px;
  flex: 0 1 auto;
}

.bl-badge-class {
  background-color: #fef08a;
  color: #854d0e;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.bl-identity-sub {
  font-size: 12px;
  color: #f1f5f9;
  opacity: 0.95;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-dot {
  opacity: 0.6;
}

.bl-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.bl-finance-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 8px;
  text-align: right;
  cursor: pointer;
  transition: background 0.15s ease;
}

.bl-finance-box:hover {
  background: rgba(0, 0, 0, 0.35);
}

.bl-finance-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  line-height: 1.25;
}

.bl-fin-lbl {
  font-size: 9px;
  font-weight: 800;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.bl-fin-money {
  font-size: 15px;
  font-weight: 900;
  font-family: var(--bl-font-display);
  color: #fef08a;
  letter-spacing: 0.2px;
}

.bl-fin-networth {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
}

@media (max-width: 480px) {
  .bl-header {
    padding: 6px 10px;
    gap: 8px;
    min-height: 52px;
  }
  .bl-player-name {
    max-width: 130px;
    font-size: 14px;
  }
  .bl-badge-class {
    font-size: 8px;
    padding: 1px 5px;
  }
  .bl-identity-sub {
    font-size: 10px;
    max-width: 170px;
  }
  .bl-finance-box {
    padding: 3px 6px;
  }
  .bl-fin-money {
    font-size: 12px;
  }
  .bl-fin-networth {
    font-size: 9px;
  }
  .bl-icon-btn {
    width: 32px;
    height: 32px;
  }
}

/* SVG ICON SYSTEM STYLES */
.bl-svg-icon {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 2;
  transition: transform 0.15s ease;
}

.bl-stat-svg-slot,
.bl-mob-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/* 3. DEBT BANNER */
.bl-debt-banner {
  background-color: #fee2e2;
  border-bottom: 1px solid #fca5a5;
  color: #991b1b;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

/* 4. MAIN GAMEPLAY WORKSPACE (RESPONSIVE GRID) */
.bl-main-grid {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
  background-color: var(--bl-bg-feed);
}

/* LEFT SIDEBAR (DESKTOP) */
.bl-sidebar {
  width: 100%;
  max-width: 380px;
  background-color: #ffffff;
  border-right: 1px solid var(--bl-border);
  display: flex;
  flex-direction: column;
  padding: 18px;
  gap: 16px;
  overflow-y: auto;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  /* On Mobile, sidebar is only shown when toggled or sections are modular */
  .bl-sidebar {
    display: none;
  }
}

.bl-profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: #f8fafc;
  border: 1px solid var(--bl-border);
  border-radius: 14px;
  padding: 12px 14px;
}

.bl-avatar-box {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.bl-avatar-info h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--bl-text-dark);
}

.bl-avatar-info p {
  font-size: 12px;
  color: var(--bl-text-muted);
  margin-top: 2px;
}

.bl-chip-list {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.bl-chip {
  font-size: 10px;
  font-weight: 700;
  background-color: #e2e8f0;
  color: #475569;
  padding: 2px 8px;
  border-radius: 10px;
}

/* AGE UP BUTTON (ACTION CENTER) */
.bl-action-center {
  display: flex;
}

.bl-age-btn {
  width: 100%;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: 1px solid #15803d;
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 5px 0 #15803d, 0 10px 22px rgba(22, 163, 74, 0.4);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
  user-select: none;
}

.bl-age-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 0 #15803d, 0 12px 26px rgba(22, 163, 74, 0.48);
}

.bl-age-btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #15803d, 0 4px 10px rgba(22, 163, 74, 0.25);
}

.bl-age-plus {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.bl-age-label {
  font-size: 18px;
  font-weight: 900;
  font-family: var(--bl-font-display);
  letter-spacing: 0.8px;
}

.bl-age-arrow {
  font-size: 14px;
  opacity: 0.9;
}

/* THE 4 STATS BARS */
.bl-stats-panel {
  background-color: #f8fafc;
  border: 1px solid var(--bl-border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bl-stat-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bl-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.bl-stat-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bl-stat-percent {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
}

.bl-bar-track {
  width: 100%;
  height: 10px;
  background-color: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.bl-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.3s ease, background 0.3s ease;
}

.fill-green { background: linear-gradient(90deg, #4ade80, #22c55e); }
.fill-amber { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.fill-red { background: linear-gradient(90deg, #f87171, #ef4444); }

/* SIDEBAR NAV TABS */
.bl-nav-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bl-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--bl-font);
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.bl-tab-btn:hover {
  background-color: #f1f5f9;
  color: var(--bl-crimson);
}

.bl-tab-btn.active {
  background-color: #fee2e2;
  color: var(--bl-crimson);
  border-color: #fca5a5;
}

.bl-tab-icon {
  font-size: 18px;
}

/* RIGHT MAIN CONTENT PANEL */
.bl-content-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--bl-bg-feed);
  min-width: 0;
}

.bl-view-pane {
  display: none;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.bl-view-pane.active {
  display: flex;
}

.bl-view-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--bl-border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.bl-view-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
}

.bl-meta-badge {
  background-color: #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

/* TIMELINE CONTROLS & FILTER BAR */
.bl-timeline-controls {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--bl-border);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.bl-timeline-top-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.bl-timeline-search {
  flex: 1;
  min-width: 180px;
  padding: 8px 14px;
  border: 1px solid var(--bl-border);
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background-color: #ffffff;
  color: #1e293b;
  transition: all 0.2s ease;
}

.bl-timeline-search:focus {
  border-color: var(--bl-crimson);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.bl-timeline-select {
  padding: 8px 12px;
  border: 1px solid var(--bl-border);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  background-color: #ffffff;
  cursor: pointer;
  outline: none;
}

.bl-filter-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.bl-filter-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.bl-filter-chips {
  display: inline-flex;
  gap: 6px;
  white-space: nowrap;
}

.bl-filter-chip {
  background-color: #ffffff;
  border: 1px solid var(--bl-border);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.bl-filter-chip:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.bl-filter-chip.active {
  background-color: var(--bl-crimson);
  color: #ffffff;
  border-color: var(--bl-crimson);
}

.bl-sort-btn {
  background-color: #ffffff;
  border: 1px solid var(--bl-border);
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.bl-sort-btn:hover {
  background-color: #f1f5f9;
}

/* TIMELINE FEED STREAM (SPACIOUS, LARGE READABLE FONT) */
.bl-feed-stream {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.bl-year-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  flex-shrink: 0; /* CRITICAL: Prevent flexbox from collapsing timeline cards into skeleton pills! */
  width: 100%;
  animation: fadeIn 0.25s ease;
}

.bl-year-header {
  background-color: #f8fafc;
  border-bottom: 2px solid #eef2f6;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.3px;
}

.bl-year-header .year-badge {
  background-color: #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 8px;
}

.bl-year-events {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bl-event-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
  color: #1e293b;
  word-break: break-word;
  flex-shrink: 0;
}

.bl-event-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.bl-event-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bl-event-category-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bl-event-cat-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 2px 8px;
  border-radius: 6px;
}

.cat-education { background-color: #dbeafe; color: #1e40af; }
.cat-career { background-color: #fef3c7; color: #92400e; }
.cat-financial { background-color: #dcfce7; color: #166534; }
.cat-relationship { background-color: #fce7f3; color: #9d174d; }
.cat-family { background-color: #e0e7ff; color: #3730a3; }
.cat-health { background-color: #fee2e2; color: #991b1b; }
.cat-politics { background-color: #ede9fe; color: #5b21b6; }
.cat-crime { background-color: #f3f4f6; color: #1f2937; border: 1px solid #d1d5db; }
.cat-major { background-color: #fef3c7; color: #b45309; border: 1px solid #fcd34d; font-weight: 800; }
.cat-underworld { background-color: #f3e8ff; color: #6b21a8; border: 1px solid #d8b4fe; font-weight: 800; }
.cat-disaster { background-color: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; font-weight: 800; }
.cat-general { background-color: #f1f5f9; color: #475569; }

.bl-event-item.is-major {
  background: linear-gradient(135deg, #fffdf5 0%, #ffffff 100%);
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
}

.bl-event-milestone-tag {
  background-color: #fef3c7;
  color: #92400e;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.bl-load-more-btn {
  background-color: #ffffff;
  border: 1px solid var(--bl-border);
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 12px;
  cursor: pointer;
  align-self: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.bl-load-more-btn:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

/* CAREER SUB-TABS & PROGRESSION STYLES */
.bl-career-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  background-color: #f1f5f9;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--bl-border);
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .bl-career-tabs {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
  }
}

.bl-career-tab-btn {
  height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  background: transparent;
  border: none;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  box-sizing: border-box;
}

.bl-career-tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: #0f172a;
}

.bl-career-tab-btn.active {
  background: var(--bl-crimson);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.35);
  font-weight: 800;
}

/* UNDERWORLD STYLES */
.bl-underworld-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  color: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4);
  border: 1px solid #312e81;
}

.bl-underworld-title {
  font-size: 16px;
  font-weight: 800;
  color: #c084fc;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.bl-underworld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.bl-uw-metric {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
}

.bl-uw-metric span {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
  display: block;
}

.bl-uw-metric strong {
  font-size: 15px;
  color: #ffffff;
}

.bl-heat-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.bl-heat-bar-bg {
  width: 100%;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.bl-heat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #eab308 0%, #ef4444 100%);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.bl-event-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.bl-event-text {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  line-height: 1.55;
}

.bl-event-meta-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  flex-wrap: wrap;
}

.bl-event-impact-pos { color: var(--bl-green-dark); }
.bl-event-impact-neg { color: var(--bl-red); }
.bl-event-impact-conseq { color: #6366f1; }

.bl-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
}

.bl-empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.bl-empty-state h3 {
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 6px;
}

.bl-empty-state p {
  font-size: 14px;
  color: #64748b;
}

/* DYNAMIC TAB SCROLLABLE PANE */
.bl-pane-scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bl-section-title {
  font-size: 14px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.bl-card {
  background-color: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--bl-border);
  padding: 16px 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.bl-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.bl-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 6px;
}

.bl-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* BUTTONS */
.bl-btn {
  font-family: var(--bl-font);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bl-btn:hover {
  transform: translateY(-1px);
}

.bl-btn-primary { background-color: var(--bl-crimson); color: #fff; }
.bl-btn-primary:hover { background-color: var(--bl-crimson-dark); }
.bl-btn-green { background-color: var(--bl-green-dark); color: #fff; }
.bl-btn-secondary { background-color: #e2e8f0; color: #334155; }
.bl-btn-secondary:hover { background-color: #cbd5e1; }
.bl-btn-danger { background-color: var(--bl-red); color: #fff; }
.bl-btn-outline { background: transparent; border: 1px solid #cbd5e1; color: #334155; }
.bl-btn-outline:hover { background: #f1f5f9; }
.bl-btn-sm { font-size: 12px; padding: 6px 12px; border-radius: 8px; }
.bl-btn-block { width: 100%; }

/* 5. MOBILE ACTION DOCK (STAT BARS + AGE BUTTON FOR MOBILE) */
.bl-mobile-dock {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--bl-border);
  padding: 8px 12px 6px 12px;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 767px) {
  .bl-mobile-dock {
    display: flex;
  }
}

.bl-mob-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}

.bl-mob-stat-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  background: #f8fafc;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.bl-mob-stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.bl-mob-stat-left {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}

.bl-mob-stat-icon svg {
  display: block;
}

.bl-mob-stat-num {
  font-weight: 800;
  color: #0f172a;
  font-size: 11px;
  flex-shrink: 0;
  margin-left: 4px;
}

.bl-mob-bar-track {
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.bl-mob-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.3s ease;
}

.bl-mob-age-box {
  width: 100%;
  margin-top: 2px;
}

.bl-age-btn-mobile {
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.8px;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  border: 1px solid #15803d;
  color: #ffffff;
  box-shadow: 0 5px 0 #15803d, 0 10px 22px rgba(22, 163, 74, 0.4);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
  user-select: none;
}

.bl-age-btn-mobile:hover {
  filter: brightness(1.05);
}

.bl-age-btn-mobile:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #15803d, 0 4px 10px rgba(22, 163, 74, 0.25);
}

/* 6. MOBILE BOTTOM NAVIGATION (ONLY VISIBLE ON SMALL SCREENS) */
.bl-mobile-bottom-nav {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--bl-border);
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
  justify-content: space-around;
  flex-shrink: 0;
  z-index: 15;
}

@media (max-width: 767px) {
  .bl-mobile-bottom-nav {
    display: flex;
  }
}

.bl-mob-btn {
  flex: 1;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #64748b;
  cursor: pointer;
  padding: 4px 2px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.bl-mob-btn.active {
  color: var(--bl-crimson);
  font-weight: 800;
}

.bl-mob-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}

.bl-mob-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* 7. SUBTAB HORIZONTAL SEGMENTED CONTROLS (STICKY & FULLY VISIBLE) */
/* 7. RESPONSIVE SEGMENTED SUBTAB GRID (ZERO HORIZONTAL SCROLL - PC & MOBILE FRIENDLY) */
.bl-subtab-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background-color: #f1f5f9;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--bl-border);
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 860px) {
  .bl-subtab-strip {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
  }
}

.bl-subtab-btn {
  height: 38px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  background: transparent;
  border: none;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  box-sizing: border-box;
}

.bl-subtab-btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: #0f172a;
}

.bl-subtab-btn.active {
  background: var(--bl-crimson);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.35);
  font-weight: 800;
}

.bl-subtab-btn svg {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.bl-subtab-btn svg {
  display: block;
  flex-shrink: 0;
}

/* CLEAN TYPOGRAPHY STYLES FOR CAREER & ASSETS (NO NORAK BACKGROUNDS) */
.bl-job-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.bl-job-main-title {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.bl-job-sector-text {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
}

.bl-job-salary-display {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 14px;
  color: #334155;
  white-space: nowrap;
}

.bl-salary-lbl {
  color: #64748b;
  font-weight: 600;
  font-size: 13px;
}

.bl-salary-val {
  font-size: 17px;
  font-weight: 900;
  color: #16a34a;
}

.bl-salary-unit {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.bl-subtle-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bl-subtle-tag.tag-low {
  border-color: #bae6fd;
  color: #0369a1;
  background: #f0f9ff;
}

.bl-subtle-tag.tag-gold {
  border-color: #fde68a;
  color: #92400e;
  background: #fffbeb;
}

.bl-subtle-tag.tag-stock {
  border-color: #bbf7d0;
  color: #15803d;
  background: #f0fdf4;
}

.bl-subtle-tag.tag-high {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fef2f2;
}

/* 8. CARDS FOR BUSINESS, TAXES, SUBSCRIPTIONS, JOBS */
.bl-item-card {
  background-color: #ffffff;
  border: 1px solid var(--bl-border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

.bl-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.bl-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.bl-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bl-card-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--bl-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.bl-card-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 10px;
}

.bl-card-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.bl-cstat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bl-cstat-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.bl-cstat-val {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

/* 6. MODALS & POPUPS */
.bl-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.bl-modal-backdrop.active {
  display: flex;
}

.bl-modal-card {
  width: 100%;
  max-width: 480px;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bl-card-badge-row {
  background-color: #f8fafc;
  padding: 14px 24px 8px 24px;
  text-align: center;
}

.bl-card-badge {
  background-color: #fee2e2;
  color: var(--bl-crimson);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.bl-card-header {
  padding: 10px 24px 4px 24px;
  text-align: center;
}

.bl-card-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.bl-card-body {
  padding: 14px 24px 18px 24px;
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
  text-align: center;
}

.bl-card-choices {
  padding: 10px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bl-row-choices {
  flex-direction: row;
  justify-content: flex-end;
}

.bl-choice-btn {
  background-color: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--bl-font);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.4;
}

.bl-choice-btn:hover {
  background-color: #e2e8f0;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.bl-choice-btn:active {
  transform: translateY(1px);
}

/* INPUT MODAL */
.bl-input-wrapper {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  padding: 8px 14px;
  margin: 14px 0;
}

.bl-input-prefix {
  font-size: 16px;
  font-weight: 800;
  color: #64748b;
  margin-right: 8px;
}

.bl-text-input {
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  width: 100%;
  outline: none;
  font-family: var(--bl-font-display);
}

.bl-preset-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.bl-chip-btn {
  background-color: #e2e8f0;
  border: none;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.bl-chip-btn:hover {
  background-color: #cbd5e1;
}

/* CATALOG MODAL */
.bl-catalog-card {
  max-width: 560px;
}

.bl-catalog-list {
  max-height: 55vh;
  overflow-y: auto;
  padding: 10px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bl-catalog-item {
  background-color: #f8fafc;
  border: 1px solid var(--bl-border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.bl-catalog-info h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.bl-catalog-info p {
  font-size: 13px;
  color: #64748b;
}

/* TOMBSTONE DEATH SCREEN */
.bl-tombstone-card {
  width: 100%;
  max-width: 440px;
  background: #334155;
  border-radius: 140px 140px 24px 24px;
  border: 5px solid #475569;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  color: #f8fafc;
  overflow: hidden;
  text-align: center;
  animation: popIn 0.3s ease;
}

.tomb-arch {
  background: #1e293b;
  padding: 40px 24px 20px 24px;
  border-bottom: 2px solid #475569;
}

.tomb-rip {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 5px;
  color: #cbd5e1;
  margin-bottom: 6px;
  font-family: var(--bl-font-display);
}

.tomb-arch h2 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
}

.tomb-dates {
  font-size: 14px;
  color: #94a3b8;
  margin-top: 6px;
}

.tomb-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tomb-ribbon {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #38bdf8;
}

.tomb-epitaph {
  font-size: 14px;
  color: #cbd5e1;
  font-style: italic;
  line-height: 1.6;
}

.tomb-stats {
  background-color: #1e293b;
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

.bl-btn-tombstone {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(22, 163, 74, 0.45);
}

/* MENU MODAL */
.bl-menu-list {
  padding: 14px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bl-menu-row {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bl-menu-row:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* TRANSACTION HISTORY & INVESTMENT LEDGER STYLES */
.bl-asset-summary-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  background-color: #f8fafc;
  border: 1px solid var(--bl-border);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.bl-asum-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.bl-asum-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-asum-val {
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-asum-val.val-green {
  color: #16a34a;
}

.bl-asum-val.val-gold {
  color: #d97706;
}

@media (min-width: 768px) {
  .bl-asset-summary-bar {
    grid-template-columns: repeat(4, 1fr);
    padding: 12px 18px;
  }
  .bl-asum-val {
    font-size: 15px;
  }
}

.text-profit { color: var(--bl-green-dark); }
.text-loss { color: var(--bl-red); }

.bl-tx-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--bl-border);
  border-radius: 12px;
  background-color: #ffffff;
}

.bl-tx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.bl-tx-table th {
  background-color: #f8fafc;
  padding: 10px 14px;
  font-weight: 800;
  color: #334155;
  border-bottom: 2px solid var(--bl-border);
  white-space: nowrap;
}

.bl-tx-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  white-space: nowrap;
}

.bl-tx-table tr:last-child td {
  border-bottom: none;
}

.bl-tx-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.tx-buy { background-color: #fee2e2; color: #991b1b; }
.tx-sell { background-color: #dcfce7; color: #166534; }
.tx-withdraw { background-color: #e0e7ff; color: #3730a3; }
.tx-deposit { background-color: #fef3c7; color: #92400e; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* 10. SOCIAL SHARE MODAL & LUXURY CITIZEN CARD */
.bl-share-modal {
  max-width: 460px;
  width: 95%;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bl-share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--bl-border);
  background: #ffffff;
}

.bl-share-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.bl-share-title svg {
  color: var(--bl-crimson);
}

/* LUXURY INDONESIAN CITIZEN CARD (KTP LIFE RECORD) */
.bl-ktp-card {
  background: linear-gradient(135deg, #090d16 0%, #1e1b4b 55%, #3b0764 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.bl-ktp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #3b82f6);
}

.bl-ktp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}

.bl-ktp-emblem {
  font-size: 11px;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 1px;
}

.bl-ktp-header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bl-ktp-nation {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.bl-ktp-type {
  font-size: 8px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.bl-ktp-chip {
  font-size: 9px;
  font-weight: 800;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

.bl-ktp-body {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.bl-ktp-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.bl-ktp-photo-box {
  width: 54px;
  height: 60px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.bl-ktp-photo-box svg {
  width: 32px;
  height: 32px;
}

.bl-ktp-class-pill {
  font-size: 9px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 1px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.bl-ktp-info-col {
  flex: 1;
  min-width: 0;
}

.bl-ktp-name {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-ktp-meta {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-ktp-job {
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-ktp-wealth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bl-ktp-wealth-cell {
  display: flex;
  flex-direction: column;
}

.bl-ktp-wealth-cell .lbl {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.bl-ktp-wealth-cell .val {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl-ktp-wealth-cell .val-green { color: #4ade80; }
.bl-ktp-wealth-cell .val-gold { color: #fbbf24; }

.bl-ktp-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-bottom: 10px;
}

.bl-ktp-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}

.bl-ktp-stat .lbl {
  width: 65px;
  color: #cbd5e1;
  font-weight: 600;
  flex-shrink: 0;
}

.bl-ktp-stat .bar-track {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.bl-ktp-stat .bar-fill {
  height: 100%;
  border-radius: 4px;
}

.fill-happy { background: #eab308; }
.fill-health { background: #ef4444; }
.fill-smarts { background: #3b82f6; }
.fill-looks { background: #ec4899; }

.bl-ktp-stat .val {
  font-weight: 800;
  color: #ffffff;
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

.bl-ktp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
}

.bl-ktp-hologram {
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 1px;
}

/* NATIVE-STYLE HORIZONTAL APP SHARE TRAY */
.bl-share-tray-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.bl-share-tray-title {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bl-share-apps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.bl-app-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 2px;
  border-radius: 12px;
  transition: transform 0.15s ease, background-color 0.15s ease;
  user-select: none;
}

.bl-app-btn:hover {
  transform: translateY(-2px);
  background-color: #f8fafc;
}

.bl-app-btn:active {
  transform: translateY(1px);
}

.bl-app-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.15s ease;
}

.bl-app-circle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.circle-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.circle-fb {
  background: linear-gradient(135deg, #1877F2, #0d5fc2);
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
}

.circle-threads {
  background: linear-gradient(135deg, #1f2937, #000000);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  border: 1px solid #374151;
}

.circle-dl {
  background: linear-gradient(135deg, #475569, #334155);
  box-shadow: 0 4px 10px rgba(71, 85, 105, 0.3);
}

.circle-copy {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  box-shadow: 0 4px 10px rgba(185, 28, 28, 0.3);
}

.bl-app-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  text-align: center;
  white-space: nowrap;
}
