.bfc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.theme-dark .bfc-card {
  background: #111827;
  border-color: #1f2937;
}

.bfc-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bfc-left {
  background: #f8fafc;
  padding: 40px;
  border-right: 1px solid #e2e8f0;
}

.theme-dark .bfc-left {
  background: #1f2937;
  border-right-color: #374151;
}

.bfc-right {
  background: #fff;
  padding: 40px;
}

.theme-dark .bfc-right {
  background: #111827;
}

.bfc-section-marker {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #64748b;
  margin-bottom: 32px;
}

.bfc-input-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 12px;
}

.theme-dark .bfc-input-label {
  color: #e2e8f0;
}

.bfc-input-group {
  margin-bottom: 28px;
}

.bfc-unit-nav {
  display: flex;
  background: #e2e8f0;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.theme-dark .bfc-unit-nav {
  background: #374151;
}

.bfc-unit-tab {
  flex: 1;
  padding: 8px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 2px;
}

.theme-dark .bfc-unit-tab {
  background: #1f2937;
}

.bfc-unit-active {
  background: #fff;
  color: #0d9488;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.theme-dark .bfc-unit-active {
  background: #4b5563;
  color: #2dd4bf;
}

.bfc-stepper-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 8px;
}

.theme-dark .bfc-stepper-box {
  background: #111827;
  border-color: #4b5563;
}

.bfc-btn-step {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-dark .bfc-btn-step {
  background: #374151;
  color: #f9fafb;
}

.bfc-btn-step:hover {
  background: #0d9488;
  color: #fff;
}

.bfc-val-view {
  text-align: center;
}

.bfc-val-big {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}

.theme-dark .bfc-val-big {
  color: #fff;
}

.bfc-val-sub {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.bfc-slider-wrap {
  padding: 0 11px;
}

.bfc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin: 16px 0;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  outline: none;
}

.theme-dark .bfc-slider {
  background: #374151;
}

.bfc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0d9488;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.bfc-type-rack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bfc-type-tile {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
}

.theme-dark .bfc-type-tile {
  background: #1f2937;
  border-color: #4b5563;
}

.bfc-type-active {
  background: #f0fdfa;
  border-color: #0d9488;
  color: #0f766e;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.1);
}

.theme-dark .bfc-type-active {
  background: rgba(13, 148, 136, 0.1);
  color: #2dd4bf;
  border-color: #2dd4bf;
}

.bfc-gauge-area {
  margin-top: 40px;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.theme-dark .bfc-gauge-area {
  background: #111827;
  border-color: #374151;
}

.bfc-gauge-viz {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.bfc-stomach-bubble {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 30% 30%, #5eead4 0%, #0d9488 100%);
  border-radius: 50%;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.2);
}

.bfc-visual-hint {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f766e;
  margin: 0;
}

.theme-dark .bfc-visual-hint {
  color: #2dd4bf;
}

.bfc-res-card-box {
  background: #f0fdfa;
  border-radius: 24px;
  padding: 32px 16px;
  text-align: center;
  margin-bottom: 24px;
}

.theme-dark .bfc-res-card-box {
  background: rgba(13, 148, 136, 0.05);
}

.bfc-res-main-val {
  display: block;
  font-size: 3.5rem;
  font-weight: 950;
  color: #0d9488;
  letter-spacing: -0.05em;
  line-height: 1;
}

.theme-dark .bfc-res-main-val {
  color: #2dd4bf;
}

.bfc-res-label {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
}

.bfc-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.bfc-stat-item {
  padding: 8px;
  border-bottom: 2px solid #f1f5f9;
}

.theme-dark .bfc-stat-item {
  border-bottom-color: #374151;
}

.bfc-stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.bfc-stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #334155;
}

.theme-dark .bfc-stat-value {
  color: #e2e8f0;
}

.bfc-behavior-sec {
  margin-top: 32px;
}

.bfc-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.bfc-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}

.bfc-pill-hunger {
  background: #fff7ed;
  color: #c2410c;
}

.theme-dark .bfc-pill-hunger {
  background: rgba(194, 65, 12, 0.1);
  color: #fdba74;
}

.bfc-pill-fullness {
  background: #f0fdf4;
  color: #15803d;
}

.theme-dark .bfc-pill-fullness {
  background: rgba(21, 128, 61, 0.1);
  color: #4ade80;
}

.bfc-hidden {
  display: none;
}

@media (max-width: 800px) {
  .bfc-main {
    grid-template-columns: 1fr;
  }

  .bfc-left {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 30px 20px;
  }

  .bfc-right {
    padding: 30px 20px;
  }
}