.fl-sub {
  opacity: 0.72;
  font-weight: 400;
  margin-left: 4px;
}

.fl-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.fl-pal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.fl-pal-btn:hover {
  border-color: var(--primary);
  color: var(--text);
}

.fl-pal-btn.is-active {
  border-color: var(--primary);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.fl-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #12110e;
  flex-shrink: 0;
}

.fl-cnt {
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.fl-cnt.is-done {
  background: rgba(110, 200, 160, 0.2);
  color: var(--accent);
}

.fl-cnt.is-err {
  background: rgba(224, 90, 90, 0.22);
  color: #ff9c9c;
}

.fl-board-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fl-stage {
  display: inline-block;
  user-select: none;
}

.fl-outer {
  display: inline-grid;
  grid-template-columns: 20px auto;
  gap: 3px;
  align-items: center;
  justify-items: center;
}

.fl-coord {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.fl-box {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 3px;
  border-radius: 10px;
  background: #14120f;
}

.fl-vine-svg {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  pointer-events: none;
  z-index: 2;
}

.fl-cell {
  padding: 0;
  border-radius: 7px;
  border: 1px solid #2b2620;
  background: #1e1b17;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.12s ease, opacity 0.14s ease;
}

.fl-cell:hover {
  border-color: var(--primary);
}

.fl-cell.is-rock {
  background: linear-gradient(145deg, #3c362e 0%, #28231e 100%);
  border-color: #4b4339;
}

.fl-cell.is-dimmed {
  opacity: 0.24;
}

.fl-flower {
  position: relative;
  z-index: 4;
  width: 74%;
  height: 74%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #12110e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.fl-sym-badge {
  font-size: 13px;
  line-height: 1;
}

.fl-compact .fl-sym-badge {
  font-size: 10px;
}
